[mythtv-users] Commercial Flagging and generating cutlist

datheh erygre smarrt_v at yahoo.com
Mon Sep 18 04:50:58 UTC 2006

Hi ,
  I have n't got the options --nopercentage and --getskiplist available with mythcommflag.How to upgrade my myth to those options.
  Actually what my plan is that I want to schedule recordings and set a "user job" so that it will automatically remove commercials from recordings so that I can watch them afterwards I don't wanna do that from frontend and even I don't want any manual intervention in doing so.
 Yeah,I want to use that script ouside of myth and that to as user job.Whenever I try mythcommflag it showing file not found in database,though it is recorded previously!

jack snodgrass <mrlinuxgroups at gmail.com> wrote: On 9/16/06, datheh erygre  wrote:
> Hi,
>  got some issues with remopving commercials from my Myth recordings.I
> downloaded the removecommercial script from HOWTO and saved that in
> /etc/cron.daily/
>   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  
>  linux:/etc/cron.daily #
>  Then I tried executing the commands in the script manual to found out the
> error.
>  when I run the command
>  linux:~ # mythcommflag --gencutlist -f
> /mnt/store/1003_20060916124500.mpg
>  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:
> localhost
>  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.
>  Jack.
>  ________________________________
> Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small
> Business.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

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.
I get:
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.

mythtv-users mailing list
mythtv-users at mythtv.org

Do you Yahoo!?
 Get on board. You're invited to try the new Yahoo! Mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20060917/6456c011/attachment-0001.htm 

More information about the mythtv-users mailing list