[Ffmpeg-devel] h264 stream decoding problem

Francois Oligny-Lemieux eucloid
Fri Feb 23 22:32:22 CET 2007


Hi,

On 2/23/07, Gonzalo Berdeal <gonberdeal at hotmail.com> wrote:
>
>
> Hello,
>
> I think that all the non-keyframes that arrive to the
> avcodec_decode_video() function are discarded by this function automatically
> and the function will begin working when one keyframe arrives. So you don't
> need to worry if the first frame arriving to avcodec_decode_video() function
> is keyframe or not.


no not true.

There is a need to start on a key frame (at least in h264.c). Otherwise it
shows motion over empty picture.

Francois O.L.




More information about the ffmpeg-devel mailing list