[MEncoder-users] Need help fixing/decoding a recovered h264 file
Marc MERLIN
marc_mplayer at merlins.org
Fri Feb 26 17:29:10 CET 2010
On Thu, Feb 25, 2010 at 08:05:29PM -0800, RC wrote:
> On Wed, 24 Feb 2010 07:06:56 -0800
> Marc MERLIN <marc_mplayer at merlins.org> wrote:
>
> > Is there a way to get more debugging out of mplayer/mencoder to see
> > where it's looking for headers and which one it's missing?
>
> As many repetitions of '-v' as you can stand to read through...
I missed the other -v levels.
Ok. Bad:
Playing sd.mov.
get_path('sub/') -> '/home/merlin/.mplayer/sub/'
[file] File size is 629145600 bytes
STREAM: [file] sd.mov
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
seek to 0x0
s->pos=0 newpos=0 new_bufpos=0 buflen=0
LAVF_check: QuickTime/MPEG-4/Motion JPEG 2000 format
libavformat file format detected.
seek to 0x0
mp_seek(0xa0d57a0, 0, 65536)
32768=mp_read(0xa0d57a0, 0xa0d6db4, 32768), eof:0
32768=mp_read(0xa0d57a0, 0xa0d6db4, 32768), eof:0
32768=mp_read(0xa0d57a0, 0xa0d6db4, 32768), eof:0
mp_seek(0xa0d57a0, 175849, 0)
seek to 0x2AEE9
s->pos=18000 newpos=2A800 new_bufpos=2AEE9 buflen=0
32768=mp_read(0xa0d57a0, 0xa0d6db4, 32768), eof:0
mp_seek(0xa0d57a0, 327680, 0)
seek to 0x50000
s->pos=33000 newpos=50000 new_bufpos=50000 buflen=0
32768=mp_read(0xa0d57a0, 0xa0d6db4, 32768), eof:0
mp_seek(0xa0d57a0, 629145600, 0)
seek to 0x25800000
s->pos=58000 newpos=25800000 new_bufpos=25800000 buflen=0
stream_seek: WARNING! Can't seek to 0x25800000 !
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
seek to 0x58000
s->pos=0 newpos=58000 new_bufpos=58000 buflen=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xa0df9d0]Could not find codec parameters (Video: h264, 1920x1080)
This seems to show that I have at least one page of data that is incorrect.
I suppose fixing it from here would not be trivial :-/
And for comparison, good:
[file] File size is 11541980 bytes
STREAM: [file] /var/www/Pix/new/GOPR0001_rca_goodvid_10s.MP4
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
seek to 0x0
s->pos=0 newpos=0 new_bufpos=0 buflen=0
LAVF_check: QuickTime/MPEG-4/Motion JPEG 2000 format
libavformat file format detected.
seek to 0x0
mp_seek(0x9fd37d0, 0, 65536)
32768=mp_read(0x9fd37d0, 0x9fd4de4, 32768), eof:0
32768=mp_read(0x9fd37d0, 0x9fd4de4, 32768), eof:0
32768=mp_read(0x9fd37d0, 0x9fd4de4, 32768), eof:0
32768=mp_read(0x9fd37d0, 0x9fd4de4, 32768), eof:0
32768=mp_read(0x9fd37d0, 0x9fd4de4, 32768), eof:0
32768=mp_read(0x9fd37d0, 0x9fd4de4, 32768), eof:0
32768=mp_read(0x9fd37d0, 0x9fd4de4, 32768), eof:0
32768=mp_read(0x9fd37d0, 0x9fd4de4, 32768), eof:0
32768=mp_read(0x9fd37d0, 0x9fd4de4, 32768), eof:0
32768=mp_read(0x9fd37d0, 0x9fd4de4, 32768), eof:0
32768=mp_read(0x9fd37d0, 0x9fd4de4, 32768), eof:0
mp_seek(0x9fd37d0, 360448, 0)
seek to 0x58000
s->pos=58000 newpos=58000 new_bufpos=58000 buflen=0
32768=mp_read(0x9fd37d0, 0x9fd4de4, 32768), eof:0
mp_seek(0x9fd37d0, 11541980, 0)
seek to 0xB01DDC
s->pos=60000 newpos=B01800 new_bufpos=B01DDC buflen=0
mp_seek(0x9fd37d0, 360456, 0)
seek to 0x58008
s->pos=B01DDC newpos=58000 new_bufpos=58008 buflen=0
187532=mp_read(0x9fd37d0, 0xb4fe4020, 187532), eof:0
mp_seek(0x9fd37d0, 547988, 0)
seek to 0x85C94
32768=mp_read(0x9fd37d0, 0x9fd4de4, 32768), eof:0
32768=mp_read(0x9fd37d0, 0x9fd4de4, 32768), eof:0
84426=mp_read(0x9fd37d0, 0xa022562, 84426), eof:0
mp_seek(0x9fd37d0, 697950, 0)
seek to 0xAA65E
32768=mp_read(0x9fd37d0, 0x9fd4de4, 32768), eof:0
123448=mp_read(0x9fd37d0, 0xb4f08dc4, 123448), eof:0
mp_seek(0x9fd37d0, 854166, 0)
seek to 0xD0896
32768=mp_read(0x9fd37d0, 0x9fd4de4, 32768), eof:0
32768=mp_read(0x9fd37d0, 0x9fd4de4, 32768), eof:0
32768=mp_read(0x9fd37d0, 0x9fd4de4, 32768), eof:0
32768=mp_read(0x9fd37d0, 0x9fd4de4, 32768), eof:0
32768=mp_read(0x9fd37d0, 0x9fd4de4, 32768), eof:0
190898=mp_read(0x9fd37d0, 0xb4ed22b6, 190898), eof:0
mp_seek(0x9fd37d0, 1208904, 0)
seek to 0x127248
32768=mp_read(0x9fd37d0, 0x9fd4de4, 32768), eof:0
167346=mp_read(0x9fd37d0, 0xb4ea3d76, 167346), eof:0
mp_seek(0x9fd37d0, 1409018, 0)
seek to 0x157FFA
32768=mp_read(0x9fd37d0, 0x9fd4de4, 32768), eof:0
32768=mp_read(0x9fd37d0, 0x9fd4de4, 32768), eof:0
32768=mp_read(0x9fd37d0, 0x9fd4de4, 32768), eof:0
32768=mp_read(0x9fd37d0, 0x9fd4de4, 32768), eof:0
mp_seek(0x9fd37d0, 0, 65536)
==> Found video stream: 0
[lavf] Video stream found, -vid 0
aspect= 1920*0/(1080*1)
======= VIDEO Format ======
biSize 103
biWidth 1920
biHeight 1080
biPlanes 0
biBitCount 24
biCompression 828601953='avc1'
biSizeImage 6220800
Unknown extra header dump: [1] [4d] [0] [28] [ff] [e1] [0] [30] [27] [4d] [0] [28] [9a] [62] [80] [f0] [4] [4f] [cb] [80] [88] [0] [0] [1f] [48] [0] [7] [53] [7] [43] [0] [5] [b8] [e0] [0] [19] [bf] [d5] [de] [5c] [68] [60] [0] [b7] [1c] [0] [3] [37] [fa] [bb] [cb] [87] [c2] [21] [14] [58] [1] [0] [4] [28] [ee] [3c] [80]
--
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
.... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/
More information about the MEncoder-users
mailing list