[Ffmpeg-devel] Recover from MPEG4 header damaged (f_code=0)

swalton75 at cox.net swalton75
Thu Mar 9 16:48:53 CET 2006


Hello,

Could someone tell me how to recover from the following error when decoding CODEC_ID_MPEG4 video?

[mpeg4 @ 0x84378e8]Error, header damaged or not MPEG4 header (f_code=0)

I have tried avcodec_flush_buffers(), but it doesn't help.  When this happens, I can never get out of this state, the above error keeps repeating over and over...

Thanks.

Shane





More information about the ffmpeg-devel mailing list