> Here's another one: > http://www.pblue.org/myth/mpeg2fix-0.10.tgz > > Should fix: > Cory's problem with an abort that looked like: > Need to insert 139 frames > max allowed: 20 > > Bryan's problem with an infinite loop (or a failed assert) > > Sort of fixes: > Cory's blockiness. Basically I just forced the quality to be at level 2. Makes it better, but doesn't necessarily fix the underlying > problem. There may be other contols that can be sent to the encoder. you can play with the line that says 'c->qmax =' to try different values, lower is better (and bigger) with '1' being the smallest allowed. qmax must be >= qmin. largest allowed size is 31 > > > Possibly fixes: > Robin's hang. Assuming it is the same issue Bryan was having. > > The crash in avcdec_encode, if it was due to an alignment issue (I have applied the relevant alignment requested earlier) > > Let me know how it goes. >
Works for me now - the infinte loop appears to have gone (I've tried different cut point to check this!!) This is the output from the processing of a 1 hour show with 3 breaks being edited out. I still get the odd QMAT_SHIFT warnings (whatever they mean). One question Geoff - is the whitespace required around the dash in the cutpoint frame number range? Guess I'll have to try it :-) ./mpeg2fix -i /mnt/store/2056_20051101113000.mpg -o /mnt/tmp/xxx.mpg -c "28378 - 30050" -c "60121 - 61919" -c "87697 - 89795" -f mpeg2 Opening /mnt/store/2056_20051101113000.mpg Input #0, mpeg, from '/mnt/store/2056_20051101113000.mpg': Duration: N/A, bitrate: N/A Stream #0.0[0x1e0], 25.00 fps: Video: mpeg2video, yuv420p, 480x480, 8000 kb/s Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 256 kb/s #0 PTS:36037 Delta: 0.000000ms queue: 21 #1 PTS:35649 Delta: 4.311111ms queue: 2 Mux rate: 8.39 Mbit/s Warning, QMAT_SHIFT is larger then 21, overflows possible Converting frame 9 to an I-frame ((null)) Warning, QMAT_SHIFT is larger then 21, overflows possible Converting frame 10 to an I-frame ((null)) Warning, QMAT_SHIFT is larger then 21, overflows possible Converting frame 11 to an I-frame ((null)) Warning, QMAT_SHIFT is larger then 21, overflows possible Converting frame 0 to an I-frame ((null)) Warning, QMAT_SHIFT is larger then 21, overflows possible Converting frame 1 to an I-frame ((null)) Warning, QMAT_SHIFT is larger then 21, overflows possible Converting frame 9 to an I-frame ((null)) Warning, QMAT_SHIFT is larger then 21, overflows possible Converting frame 10 to an I-frame ((null)) Warning, QMAT_SHIFT is larger then 21, overflows possible Converting frame 11 to an I-frame ((null)) Warning, QMAT_SHIFT is larger then 21, overflows possible Converting frame 0 to an I-frame ((null)) Warning, QMAT_SHIFT is larger then 21, overflows possible Converting frame 1 to an I-frame ((null)) Warning, QMAT_SHIFT is larger then 21, overflows possible Converting frame 9 to an I-frame ((null)) Warning, QMAT_SHIFT is larger then 21, overflows possible Converting frame 10 to an I-frame ((null)) Warning, QMAT_SHIFT is larger then 21, overflows possible Converting frame 11 to an I-frame ((null)) -- Robin Gilks _______________________________________________ mythtv-dev mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
