[Ffmpeg-devel] packetized mpeg4 video decode error

Ronald S. Bultje rbultje
Thu Jul 21 10:18:41 CEST 2005


Hi,

On Thu, 21 Jul 2005, mike lee wrote:
>    I am now trying to stream the mpeg4 video only data though internet
> with rtp_mode on in AVCodecContext. The result video is fine but crash
> blocks appear randomly.  Here are the errors. Does anybody know what's
> wrong with the video data?
>
> [mpeg4 @ 0xd0c330]Slice mismatch at MB: 88
[..]

Are you using an AVParser to parse the individual frames before you decode
them? If you don't do that, you will get the above errors, which basically
imply that incomplete frames, data not indicating the start of a frame, or
otherwise corrupt individual units were provided to the decoder. Using an
AVParser will solve all that.

Ronald





More information about the ffmpeg-devel mailing list