[mythtv-users] Auto generate a cutlist?

rod crimson.blue.2 at gmail.com
Fri Aug 14 19:35:42 UTC 2009


I was thinking mythcommflag from the command line looked promising:

http://www.mythtv.org/wiki/Mythcommflag

with the switch:
--setcutlist CUTLIST         Set a new cutlist.  CUTLIST is of the form:
                             #-#[,#-#]...  (ie, 1-100,1520-3012,4091-5094)


Are the number in the explanation frames?  It would be nice to now how
many frames the entire program has so I could back off the correct
amount (from the end).  In my particular case it won't matter, all the
shows should have a very similar total frame count.

. . . or maybe the numbers are seconds?



I may look into what is contain in the mysql tables.





On Fri, Aug 14, 2009 at 2:22 PM, Raymond Wagner<raymond at wagnerrp.com> wrote:
> rod wrote:
>>
>> I have upwards of 100 recordings that I would like to trim off a few
>> minutes from the begining and the ending prior to converting them with
>> nuvexport.
>>
>> What sort of tools sould I use the auto-generate cutlist(s)?
>>
>
> A bit of scripting and mysql knowledge could do this.  Grab a list of shows
> from recorded (http://www.mythtv.org/wiki/Recorded_table), searching by
> fields 'chanid' and 'title'. Create a cutlist for one of the recordings, and
> then lookup and duplicate the corresponding lines in recordedmarkup
> (http://www.mythtv.org/wiki/Recordedmarkup_table) onto the other shows.
>  Start adding lines into jobqueue
> (http://www.mythtv.org/wiki/Jobqueue_table) and you can automatically spawn
> off transcode jobs to do the commercial clipping.  As always, run this on
> dummy recordings until you confirm it works.
>


More information about the mythtv-users mailing list