[mythtv-users] removing cutlist and ffwd/rev

Michael T. Dean mtdean at thirdcontact.com
Tue Jan 27 19:19:49 UTC 2009


On 01/27/2009 01:06 PM, Brad DerManouelian wrote:
> On Jan 27, 2009, at 9:59 AM, Johan Reinalda wrote:
>> We have a large number of recordings with lots of extra space before
>> and after shows (due to irregular starttimes on a FTA channel.)  We
>> hand-create cutlists for these show to not show the extra recorded
>> sections. However, now diskspace is starting to fill up with this
>> extra space (currently in the order of 75GB, due to the large number
>> of most kids shows that we keep)
>>
>> I wrote a script to find those programs with cutlists, and remove
>> these sections from the underlying mpg files to save drive space,
>> using the following commands (mostly copied from the wiki entries at
>> http://www.mythtv.org/wiki/index.php/Removing_Commercials)
>>
>> mythtranscode -c <chan> -s <starttime> --showprogress --mpeg2
>> --honorcutlist -k
>> <move temp files around>
>> mythcommflag -c <chan> -s <starttime> --rebuild
>> mythcommflag -c <chan> -s <starttime> --clearcutlist
>> <set database recorded entry to proper file size>
>>
>> The shows now play perfectly (if you let them play), but
>> forward/backward behaves strangely. Eg. On a 10 min. recording,
>> pressing fwd (set for 60 secs) most of the time goes to the end of
>> the program. Sometimes only goes forward a few seconds (seems to be
>> in the first minute only)
>>
>> While this is not a huge thing, I wonder if anyone has any ideas what
>> I am missing? My guess is, something in the 'recorded' table that
>> still needs to be adjusted ?
> Try rebuilding the seektable again. I have a feeling --clearcutlist
> might have mucked with it and it's out of sorts. 

Not to mention that you need to read the page on rebuilding the
seektable, as mythcommflag --rebuild is definitely not what you want to
use.  http://www.mythtv.org/wiki/Repairing_the_Seektable

Note, also, that mythtranscode should clear the cutlist for you when it
finishes.

Mike


More information about the mythtv-users mailing list