[mythtv-users] Removing commercials

Michael Rice mikerice1969 at gmail.com
Sat Nov 10 04:13:45 UTC 2007


On Nov 9, 2007 7:47 PM, Emery Guévremont <emery.guevremont at gmail.com> wrote:
> mythtranscode --mpeg2 --honorcutlist --showprogress -i $VIDEODIR/$FILENAME -o $VIDEODIR/$FILENAME.tmp

Change that line to:
mythtranscode --honorcutlist -c $CHANID -s $STARTTIME --showprogress
-o $VIDEODIR/$FILENAME.tmp

Add these near the top of the script:
CHANID=$3
STARTTIME=$4

And in mythtv-setup change your job to:
/usr/share/mythtv/contrib/removecommercials.sh %DIR% %FILE% %CHANID% %STARTTIME%


More information about the mythtv-users mailing list