[mythtv-users] how to remove commercials from recording (mpeg file)?

Kevin Kuphal kuphal at dls.net
Fri Jul 28 13:57:37 UTC 2006


samir ghodasara wrote:
> Hi,
> i want to ask
> Is there a  way to obtain MPEG files from
> MythTV recordings, such that the commercials are already removed from
> them? or how to completely  remove commercials in mpeg file through 
> command line?
First, run mythcommflag on them to flag commericals.  Then run 
mythcommflag again with the --gencutlist (check --help for syntax and 
you may be able to combine these two steps into one) option which will 
turn the flagged commercials into a cutlist.  You can also create the 
cutlist in the mythfronend by editing the recording while watching it 
and inserting your own cutpoints. 

Then, run mythtranscode using the lossless command-line option and tell 
it to use a cutlist (see --help for options) and it will create the 
MPEG-2 file without commercials without re-encoding.

Kevin


More information about the mythtv-users mailing list