[mythtv-users] Removing commercials

Michael Rice mikerice1969 at gmail.com
Fri Nov 9 21:01:57 UTC 2007

On 11/9/07, Emery Guevremont <emery.guevremont at gmail.com> wrote:
> Hello everyone,
> I've been using mythtv for well over a year now and I've been trying to
> get mythcommflag and mythtranscode to completely remove commercials (not
> skip) from my recordings but I haven't been to do so.
> Right now I'm using the /usr/share/mythtv/contrib/removecommercials.sh
> script to do this, but it hasn't been working. By looking at the logs, I
> see that the script detects several breaks in my recordings, but when I
> come to watch the transcoded mpg file, all the commercials are still
> there. Basically here is what this script does:
> mythcommflag -f $VIDEODIR/$FILENAME
> mythcommflag --gencutlist -f $VIDEODIR/$FILENAME
> mythtranscode --mpeg2 --honorcutlist --showprogress -i

Try using the -c and -s options to mythtranscode instead of -i.  That
seemed to work for me.

The page below mentions putting --honorcutlist after -i <filename> but
I don't know if that works or not.


More information about the mythtv-users mailing list