[Libav-user] LRe: H264 encoding

Gonzalo Garramuno ggarra13 at gmail.com
Wed May 14 23:28:37 CEST 2014

On 14/05/14 15:06, Anshul wrote:

> It looks like end frames are cached inside, you might need to call avcodec_video_encode2 till u recieve all buffered frames.
> -Anshul
Thanks.  I figured it out by myself after I sent the mail.  I call 
avcodec_video_encode2 with a NULL pointer.
I am now having a similar problem with MP3 audio, where the last 200 
frames are not saved in the movie file (albeit they are processed).

More information about the Libav-user mailing list