[mythtv-users] Commerical Marking on uploaded mpg's?

Ken Mandelberg km at mathcs.emory.edu
Sun Feb 18 00:37:02 UTC 2007


Kevin Kuphal wrote:

 >Ken Mandelberg wrote:
 >> I sometimes upload an mpeg2 copy of a program and play it on a 
 >frontend
 >> machine from the command line as "mythtv tv.mpg". All the mythtv
 >> controls work, and it even will save my place if asked.
 >>
 >> I would like to preprocess it and have the commercials marked by the
 >> same criteria as the mythtv recorded programs. Can I initiiate this 
 >from
 >> the command line on the frontend machine where the mpg resides, 
 >before I
 >> do the playback?
 >>
 >I'd suggest using myth.rebuilddatabase.pl in the contrib folder which
 >will import "orphan" files into your database so you can watch them >from
 >the Watch Recordings screen.  You can also then run mythcommflag on it
 >from the commandline to flag commercials and build a seektable.
 >
 >Kevin

I tried that, seemed to take long enough (about 35 minutes), but when I 
go to watch it I'm told its "unflagged".

This is the importing/flagging output

Unknown file /mnt/store/bstar.mpg found.
Do you want to import? [y]: y
Enter channel [1670]:
... title [bstar]:
... subtitle:
Description [Recovered file bstar.mpg]:
... start time (YYYY-MM-DD HH:MM:SS) [2007-02-17 18:43:17]:
... duration (in minutes) [60]:
Building a seek table should improve FF/RW and JUMP functions when 
watching this video
Do you want to build a seek table for this file? [y]:
2007-02-17 18:47:52.530 Using runtime prefix = /usr/local
2007-02-17 18:47:52.701 New DB connection, total: 1
2007-02-17 18:47:52.734 mythcommflag version: 0.20.20061004-2 www.mythtv.org
2007-02-17 18:47:52.735 Enabled verbose msgs: important

MythTV Commercial Flagger, started at Sat Feb 17 18:47:52 2007
Building seek table for: /mnt/store/1670_20070217184317.mpg
2007-02-17 18:47:54.104 RingBuf(/mnt/store/1670_20070217184317.mpg): 
Waited 1.0 seconds for data to become available...
2007-02-17 18:47:55.138 RingBuf(/mnt/store/1670_20070217184317.mpg): 
Waited 2.0 seconds for data to become available...
0: start_time: 0.048 duration: 324.024
1: start_time: 0.049 duration: -9223372036854.775
stream: start_time: 0.534 duration: 3600.263 bitrate=13838 kb/s
  92%/   48fps2007-02-17 19:22:13.641 
RingBuf(/mnt/store/1670_20070217184317.mpg): Waited 1.0 seconds for data 
to become available...
2007-02-17 19:22:14.673 RingBuf(/mnt/store/1670_20070217184317.mpg): 
Waited 2.0 seconds for data to become available...
Rebuilt

Finished commercial break flagging at Sat Feb 17 19:22:15 2007





More information about the mythtv-users mailing list