[mythtv-users] Convert mythcommflag info into 'chapters' (was: Commerical skipping thru PS3)

Joel Means means.joel at gmail.com
Thu Sep 27 23:00:10 UTC 2012


On Thu, Sep 27, 2012 at 3:03 PM, Nick Rout <nick.rout at gmail.com> wrote:
>
> On Sep 28, 2012 8:48 AM, "Joel Means" <means.joel at gmail.com> wrote:
>>
>> On Thu, Sep 27, 2012 at 1:44 PM, Nick Rout <nick.rout at gmail.com> wrote:
>>
>> >
>> > I am not sure that you would need to transcode. Could be that you just
>> > need to remux the file to mkv with mkvmerge and a chapter file. The
>> > format of a simple chapter file is:
>> >
>> >            CHAPTER01=00:00:00.000
>> >            CHAPTER01NAME=Intro
>> >            CHAPTER02=00:02:30.000
>> >            CHAPTER02NAME=Baby prepares to rock
>> >            CHAPTER03=00:02:42.300
>> >            CHAPTER03NAME=Baby rocks the house
>> >
>> > (sorry for the puerile example, it is from the mkvmerge man page!)
>> >
>> > The timing should be calculable from the frame number given in the
>> > database table.
>> >
>>
>> That's a good point.  The script I wrote could easily be modified to
>> just roll up the original mpeg file or do a lossless transcode and
>> then mux it into an mkv with the chapter file.  I may have to look
>> into that sometime.
>
> I assume that in the lossless transcode you get rid of the ads anyway? In
> which case the OP's  problem is solved.
>
>
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>

I just modified the script to allow either a lossless transcode to get
rid of the commercials (requires a cutlist) and then pack that into an
mkv with the chapters marked or to pack the original mpeg into an mkv
with chapter markers at the beginning and end of commercials based on
either the cutlist or the commskip list.  I would love for someone to
try it out and let me know how it works for you.

Joel


More information about the mythtv-users mailing list