[Ffmpeg-devel] -vcodec copy h264 from mp4 to avi weirdness

Måns Rullgård mru
Sun Jun 18 23:38:13 CEST 2006


Something strange happens when copying h264 video from mp4 format to
avi.  The output file simply will not decode with ffmpeg if lavf is
used for demuxing.  Instead, lots of errors are printed:

[h264 @ 0xb7ecf188]top block unavailable for requested intra mode at 4 0
[h264 @ 0xb7ecf188]error while decoding MB 4 0, bytestream (3093)
[h264 @ 0xb7ecf188]top block unavailable for requested intra mode at 33 5
[h264 @ 0xb7ecf188]error while decoding MB 33 5, bytestream (12960)
[h264 @ 0xb7ecf188]top block unavailable for requested intra4x4 mode -1 at 20 5
[h264 @ 0xb7ecf188]error while decoding MB 20 5, bytestream (3311)
[h264 @ 0xb7ecf188]top block unavailable for requested intra mode at 32 5
[h264 @ 0xb7ecf188]error while decoding MB 32 5, bytestream (1717)
... lots more of the same stuff...

TCVP and xine both play the file properly with their native avi
demuxers.  TCVP with lavf fails.

This happens with every sample I've tried.  NeroAVC.mp4 in the mplayer
samples collection is one of them.  Copying the video to a new mp4
file works fine.

Does anyone have an idea what could be causing this?

-- 
M?ns Rullg?rd
mru at inprovide.com




More information about the ffmpeg-devel mailing list