[Ffmpeg-devel] problem decoding frames when first frame is B

rkmr.em at gmail.com rkmr.em
Fri Apr 20 19:31:38 CEST 2007

I have a valid MPEG-2 video stream in which the first two frames are
B-frames. ffmpeg is not able to decode those two frames:

                        avcodec_decode_video( m_vDec, m_decodedPicture,
&got_picture, (uint8_t*) samplePtr, sampleLength );

got_picture is 0 for the first two frames. Is this a know problem?

More information about the ffmpeg-devel mailing list