Here is mpeg2fix-0.9
it should fix the blockiness Cory reported, and a frame-corruption
issue I found, and has some other minor fixes, but I don't think it'll
fix anyone else's crashing or infinite-loop problems. Unfortunately,
I'm mostly shooting in the dark on those, as I haven't been able to
reproduce them yet.
http://www.pblue.org/myth/mpeg2fix-0.9.tgz
Blockiness fixed, sorta... I think. Something still seems funny,
though... when I compare the resulting stream frame-by-frame to the
original, I see some differences. It would appear that the first three
frames in the output are I-frames... the first is the same as the
originals' first frame. The second is presumably generated by mpeg2fix.
The third is from the original... 7400 frames down the line.
The second I-frame looks blockier than the B-frame it was
generated from. Also, the third I-frame (which should be the same as the
original 7400) look different and more blocky. Wrong header that gets
inherited? By the next GOP, things have cleared up.
Orig (from the beginning):
PTS: 16022 dts: 13019
pos: 0x0 PIC-HEADER I-Frame #: 0 length: 22994 crc: 15a977ee
pos: 0x0 PIC-HEADER P-Frame #: 3 length: 18116 crc: 7e565498
PTS: 16022
pos: 0x0 PIC-HEADER B-Frame #: 1 length: 11140 crc: e7a64f89
pos: 0x0 PIC-HEADER B-Frame #: 2 length: 10896 crc: 8078dce2
PTS: 24662
Orig (from the 7400th frame onward)
PTS: 22188422
pos: 0x0 PIC-HEADER B-Frame #: 4 length: 11132 crc: 16d7601b
PTS: 22197062
pos: 0x0 PIC-HEADER P-Frame #: 8 length: 18084 crc: c28d9c79
pos: 0x0 PIC-HEADER B-Frame #: 6 length: 11412 crc: d76eb7fb
pos: 0x0 PIC-HEADER B-Frame #: 7 length: 11156 crc: fb0bb330
PTS: 22203542
pos: 0x0 PIC-HEADER P-Frame #: 11 length: 16680 crc: 058ac701
pos: 0x0 PIC-HEADER B-Frame #: 9 length: 11188 crc: 6f413a13
Copy (from the beginning of the file told to cut 0-7400):
PTS: 32400 dts: 29397
PTS: 35403 dts: 32400
pos: 0x0 PIC-HEADER I-Frame #: 0 length: 22994 crc: 15a977ee
PTS: 38406 dts: 35403
pos: 0x0 PIC-HEADER I-Frame #: 7 length: 31878 crc: 00e9c291
PTS: 47415 dts: 38406
pos: 0x0 PIC-HEADER I-Frame #: 8 length: 33701 crc: fa7a8478
PTS: 41409
pos: 0x0 PIC-HEADER P-Frame #: 11 length: 16680 crc: 058ac701
PTS: 44412
pos: 0x0 PIC-HEADER B-Frame #: 9 length: 11188 crc: 6f413a13
The bad heuristic still present:
"Need to insert 7394 frames > max allowed: 20"
-Cory
--
*************************************************************************
* Cory Papenfuss *
* Electrical Engineering candidate Ph.D. graduate student *
* Virginia Polytechnic Institute and State University *
*************************************************************************
_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev