On Nov 30, 2011, at 6:12, "Basha, Asif" <[email protected]> wrote:

> Hi,
>  
>     I am facing problem while decoding H264 first Frame(I Frame) by using 
> FFMPEG avcodec_decode_video() If avcodec_decode_video() called twice then 
> it’s working fine. Can you please suggest me regarding this issue. 
>  
> Regards,
> Asif

Asif, since ffmpeg now uses multi threading, there's a one 'frame' delay in 
delivering frames. This impacts the start of playback, where the first decode 
won't return a frame (it starts decoding on one or more threads), and the end 
of a file, where you need to keep decoding a few times to flush frames out. 

That may be what you're seeing. It's 'normal'. 

Bruce 
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to