[mythtv-users] Seek table wrong up after transcoding, --rebuild doesn't fix

Patrick Quinn inkieminstrel at gmail.com
Fri Sep 28 22:45:38 UTC 2007

I'm trying to transcode files in order to remove their commercial cut
list, but when I view them after doing this, pressing skip+ or skip-
often skips way more than it should.  Oddly, skip+ and skip- often
jump to exactly the point where I cut out a commercial.

This is the sequence of calls I made (based on

$ mythtranscode --honorcutlist --showprogress -m -b -c 1004 -s
20070523210000 -o /multimedia/recordings/1004_20070523210000.mpg.tmp
$ mv /multimedia/recordings/1004_20070523210000.mpg
$ mv /multimedia/recordings/1004_20070523210000.mpg.tmp
$ mythcommflag -f /multimedia/recordings/1004_20070523210000.mpg --rebuild
$ mythcommflag --clearcutlist -f /multimedia/recordings/1004_20070523210000.mpg

and then some sql which correctly updated the file size and set
"cutlist" to "0" (see above script)

1004_20070523210000.tmp.map is sitting in my recordings directory
containing what looks like seek tables.

Below is the output from using mythcommflag --rebuild.  Any help would
be greatly appreciated.  Thanks in advance:

$ mythcommflag -c 1004 -s 20070523210000 --rebuild
2007-09-28 18:12:13.092 Using runtime prefix = /usr/local
2007-09-28 18:12:13.104 New DB connection, total: 1
2007-09-28 18:12:13.114 mythcommflag version: 0.20.20070821-1 www.mythtv.org
2007-09-28 18:12:13.114 Enabled verbose msgs: important

MythTV Commercial Flagger, started at Fri Sep 28 18:12:13 2007
Rebuilding SeekTable(s) for:
ChanID  Start Time      Title                                      Status
------  --------------  -----------------------------------------  ------
2007-09-28 18:12:13.119 New DB connection, total: 2
1004    20070523210000  Lost
2007-09-28 18:12:13.147 Using protocol version 31
0: start_time: 0.034 duration: 448.633
1: start_time: 0.032 duration: 448.593
stream: start_time: 0.360 duration: 4984.828 bitrate=4959 kb/s
100%/ 2219fps2007-09-28 18:13:21.700
RingBuf(/multimedia/recordings/1004_20070523210000.mpg): Waited 1.0
seconds for data to become available...
2007-09-28 18:13:22.724
RingBuf(/multimedia/recordings/1004_20070523210000.mpg): Waited 2.0
seconds for data to become available...

Finished commercial break flagging at Fri Sep 28 18:13:24 2007

More information about the mythtv-users mailing list