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

Joel Means means.joel at gmail.com
Thu Sep 27 20:47:42 UTC 2012

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.

More information about the mythtv-users mailing list