[mythtv-users] Commercial Flagging and generating cutlist
mrlinuxgroups at gmail.com
Sat Sep 16 11:18:27 UTC 2006
On 9/16/06, datheh erygre <smarrt_v at yahoo.com> wrote:
> got some issues with remopving commercials from my Myth recordings.I
> downloaded the removecommercial script from HOWTO and saved that in
> when I tested that in my myth recording it shown me the following output
> and coming out of the loop....
> linux:/etc/cron.daily # sh removecommercial /mnt/store/exorcist.mpg
> Usage: removecommercial <VideoDirectory> <FileName>
> linux:/etc/cron.daily #
> Then I tried executing the commands in the script manual to found out the
> when I run the command
> linux:~ # mythcommflag --gencutlist -f
> 2006-09-16 12:48:58.863 Using runtime prefix = /usr
> 2006-09-16 12:48:58.881 New DB connection, total: 1
> 2006-09-16 12:48:58.888 Connected to database 'mythconverg' at host:
> 2006-09-16 12:48:58.894 New DB connection, total: 2
> linux:~ #
> What does this mean?
> Any one doing commercial removal successfully?If so please lemme know the
> procedure they followed.
> My Build :
> on Suse 10.0 using rpms
> hauppauge pvr 150
> DVB -Zenega CD-1004S
> Scanned the channels to composite 0.I am from India and haven't set the IR
> blaster completely yet!I am working on that.
> Is this information enough?
> Lemme know if any further datails required.
> Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small
> mythtv-users mailing list
> mythtv-users at mythtv.org
I have a script that does this: ... assuming the file I pass it is
mythcommflag -c 1014 -s 20060913190000 --nopercentage
mythcommflag -c 1014 -s 20060913190000 --gencutlist
mythtranscode -c 1014 -s 20060913190000 --honorcutlist --mpeg2
mv -f /mnt/store/1014_20060913190000.mpg /mnt/store/1014_20060913190000.mpg.orig
mv -f /mnt/store/1014_20060913190000.mpg.tmp /mnt/store/1014_20060913190000.mpg
.... looks like your running --gencutlist first that assumes a you've
got a commerical cut list. If you don't it won't do anything. You can
mythcommflag --getskiplist -f /path/to/file
to see if there is a commercial list already generated.
mythcommflag --getskiplist -f /mnt/store/1014_20060913190000.mpg
2006-09-16 06:17:30.101 Using runtime prefix = /tmp/mythtv-install
2006-09-16 06:17:30.238 New DB connection, total: 1
2006-09-16 06:17:30.248 New DB connection, total: 2
Commercial Skip List:
when I run it.
the last myth command I run in my script uses the cut list to do a
loss-less re-encode but it removes the commericals from the data.
More information about the mythtv-users