[mythtv-users] mythburn.py with cutlist: ERR: Cannot jump to chapter 7 of title 1, only 6 exist

Will Dormann wdormann at gmail.com
Wed Mar 5 15:42:35 UTC 2014

Hi John,

On 3/5/14, 9:53 AM, John Pilkington wrote:
> Sorry, the format there got screwed up.  But maybe your logs do have
> 'Extracting thumbnail images from...'  which would show where the
> chapters are and if they are as intended - ie, affected by the cutlist.

Ok, I think you're on to something there!  In the log file for both the
cut and the non-cut versions is:

Video length is 21 seconds. Each chapter will be 2 seconds
Extracting thumbnail images from:
/var/lib/mytharchive/temp/work/1/stream.m2v - at 0,2,4,6,8,10,12,14

But in the version that has cuts, the video is only 10 seconds long.
And if I look in the work/1 directory, there are only 5 thumbnails
(0,2,4,6,8) present.

getLengthOfVideo() is parsing streaminfo.xml to determine the video
length, and streaminfo.xml does not reflect the post-cut size:
<file duration="21" cutduration="21" type="mpeg"

I may track down why this is the case, but I'm guessing that you're much
more familiar with the code and may beat me to it.  :)


More information about the mythtv-users mailing list