[mythtv] New MPEG2 commercial-cut code ready for testing

Aran Cox spin667 at mchsi.com
Mon Nov 21 12:26:14 EST 2005


On Sun, Nov 20, 2005 at 03:42:46PM -0800, Geoffrey Hausheer wrote:
> Well the new transcoding stuff is in SVN now.  It is likely horribly
> broken, as a lot of changes were needed for the merge.  Besides
> updating some of the logging, there are no additional bug fixes from
> 0.15.  I had to remove all the 'assert' lines, so for those of you who
> were seeing them, hoepfully the code still errors out correctly.
> 
> The code can still be used standalone as well:
> http://www.pblue.org/myth/mpeg2fix-0.15.tgz
> The only real difference is the Makefile (and the command line
> inerface is completely different)
> 

I've tried a variety of versions of mpeg2fix.  0.14 is the first one
that worked for me.  Previous versions shows some corruption (green
blocky flashes) right after the cuts.  0.14 worked perfectly as far as
I can tell, but produced 600k+ lines of output with no debugging
enabled on a 1.5 hour show.  Mostly they messages were:


Found invalid audio PTS (off by 0)
and
Found invalid PTS (off by 0) at frame 0

It's also incredibly slow. To the best of my knowledge there is
nothing wrong with my recordings.  (They're all made with a PVR-250
and a recent ivtv.)  Are these messages indicative of a problem or
just 0.14 being overly verbose?

When I try 0.l5 it's much faster, less verbose but ends with a
reported deadlock.  I'm not at home to check out the recording created
by 0.15 but the file looks to be a tiny bit shorter.  Both 0.14 and
0.15 report the following a number of times:

Warning, QMAT_SHIFT is larger then 21, overflows possible

I'll attach a snippet of the output from 0.14 and the whole run from
0.15.  If you want me to run 0.15 with debug turned on, let me know.




-------------- next part --------------
LD_LIBRARY_PATH=/home/spin/mythtv/mythtv/libs/libavcodec:/home/spin/mythtv/mythtv/libs/libavformat:/home/spin/mythtv/mythtv/libs/libmpeg2:/home/spin/mythtv/mythtv/libs/libavutil /home/spin/src/mpeg2fix-0.14/mpeg2fix -i /var/video/1042_20051002010000_20051002023000.nuv -o /var/video/germany-0.14.mpg -c "20081 - 23704" -c "33097 - 37167" -c "43095 - 47163" -c "57500 - 62020" -c "74645 - 78719" -c "87897 - 91965" -c "102221 - 106742" -c "117926 - 121549" -c "128955 - 133024" -c "147297 - 149839" 
Input #0, mpeg, from '/var/video/1042_20051002010000_20051002023000.nuv':
  Duration: N/A, bitrate: N/A
  Stream #0.0[0x1e0], 29.97 fps: Video: mpeg2video, yuv420p, 640x480, 8000 kb/s
  Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 384 kb/s
Opening /var/video/1042_20051002010000_20051002023000.nuv
#0 PTS:36036 Delta: 0.000000ms queue: 9
#1 PTS:34366 Delta: 18.555556ms queue: 2
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid PTS (off by 0) at frame 0
Found invalid PTS (off by 0) at frame 1
Found invalid PTS (off by 0) at frame 2
Found invalid PTS (off by 0) at frame 3
Found invalid PTS (off by 0) at frame 4
Found invalid PTS (off by 0) at frame 5
Found invalid PTS (off by 0) at frame 6
Found invalid PTS (off by 0) at frame 7
Found invalid PTS (off by 0) at frame 8
Found invalid PTS (off by 0) at frame 9
Found invalid PTS (off by 0) at frame 10
Found invalid PTS (off by 0) at frame 11
Found invalid PTS (off by 0) at frame 12
Found invalid PTS (off by 0) at frame 13
Found invalid PTS (off by 0) at frame 14
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid PTS (off by 0) at frame 15
Found invalid PTS (off by 0) at frame 16
Found invalid PTS (off by 0) at frame 17
Found invalid PTS (off by 0) at frame 18
Found invalid PTS (off by 0) at frame 19
Found invalid PTS (off by 0) at frame 20
Found invalid PTS (off by 0) at frame 21
Found invalid PTS (off by 0) at frame 22
Found invalid PTS (off by 0) at frame 23
Found invalid PTS (off by 0) at frame 24
Found invalid PTS (off by 0) at frame 25
Found invalid PTS (off by 0) at frame 26
Found invalid PTS (off by 0) at frame 27
Found invalid PTS (off by 0) at frame 28
Found invalid PTS (off by 0) at frame 29
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
Found invalid audio PTS (off by 0)
-------------- next part --------------
LD_LIBRARY_PATH=/home/spin/mythtv/mythtv/libs/libavcodec:/home/spin/mythtv/mythtv/libs/libavformat:/home/spin/mythtv/mythtv/libs/libmpeg2:/home/spin/mythtv/mythtv/libs/libavutil /home/spin/src/mpeg2fix-0.15/mpeg2fix -i /var/video/1042_20051002010000_20051002023000.nuv -o /var/video/mythvideo/germany-0.15.mpg -c "20081 - 23704" -c "33097 - 37167" -c "43095 - 47163" -c "57500 - 62020" -c "74645 - 78719" -c "87897 - 91965" -c "102221 - 106742" -c "117926 - 121549" -c "128955 - 133024" -c "147297 - 149839" 
Opening /var/video/1042_20051002010000_20051002023000.nuv
Input #0, mpeg, from '/var/video/1042_20051002010000_20051002023000.nuv':
  Duration: N/A, bitrate: N/A
  Stream #0.0[0x1e0], 29.97 fps: Video: mpeg2video, yuv420p, 640x480, 8000 kb/s
  Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 384 kb/s
#0 PTS:00:00:00.400 Delta: 0.0ms queue: 9
#1 PTS:00:00:00.381 Delta: 18.5556ms queue: 2
Mux rate: 8.52 Mbit/s
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 9 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 10 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 11 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 3 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 4 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 5 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 6 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 7 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 8 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 12 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 13 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 14 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 3 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 4 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 5 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 3 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 4 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 5 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 9 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 10 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 11 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 3 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 4 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 5 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 12 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 13 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 14 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 0 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 1 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 9 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 10 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 11 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 9 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 10 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 11 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 3 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 4 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 5 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 3 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 4 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 5 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 3 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 4 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Converting frame 5 to an I-frame ()
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #14 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #15 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #16 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #17 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #18 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #19 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #20 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #21 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #22 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #23 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #24 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #25 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #26 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #27 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #28 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #29 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #30 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #31 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #32 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #33 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #34 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #35 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #36 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #37 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #38 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #39 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #40 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #41 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #42 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #43 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #44 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #45 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #46 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #47 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #48 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #49 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #50 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #51 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #52 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #53 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #54 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #55 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #56 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #57 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #58 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #59 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #60 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #61 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #62 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #63 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #64 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #65 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #66 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #67 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #68 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #69 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #70 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #71 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #72 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #73 
Warning, QMAT_SHIFT is larger then 21, overflows possible
Inserting 2 I-Frames after #74 
Deadlock detected.  One buffer is full when
the other is empty!  Aborting


More information about the mythtv-dev mailing list