[FFmpeg-user] How to Use FFmpeg Decode Libraries

Roger Pack rogerdpack2 at gmail.com
Tue Sep 11 18:54:44 CEST 2012


>  I want to use FFmpeg decode libraries to decode an h.264 video stream. I found the libavcodec/api-example.c is a test example can decode MPEG1VIDEO format video streams. Now I use CODEC_ID_H264 instead of CODEC_ID_MPEG1VIDEO and build it, then add an argument (h.264 encode video stream) when ran the test case, there an error occurs. Below is the error log:
>
>  #Video decoding
> #[h264 @ 0x8937020]error while decoding MB 14 7, bytestream (-23)
> #[h264 @ 0x8937020]concealing 955 DC, 955 AC, 955 MV errors
> #[h264 @ 0x8937020]no frame!
> #Error while decoding frame 0

You may get better support from the libav-user group (bottom of
http://ffmpeg.org/trac/ffmpeg/wiki/Using%20libav* )


More information about the ffmpeg-user mailing list