[Libav-user] H264 encoding

Anshul anshul.ffmpeg at gmail.com
Wed May 14 20:06:52 CEST 2014

On May 14, 2014 8:34:42 PM IST, Gonzalo Garramuno <ggarra13 at gmail.com> wrote:
>> I tried modifying muxing.c and that works without problems.
>> Any help or ideas are welcome.
>Ok.  Some more info.  The avcodec_video_encode2 returns got_packet
>for 18 frames at the beginning.  This seems to happen also in muxing.c.
>My video is very short (40 frames).  And 19 frames are the ones missing
>(albeit from the end of the video not the beginning.

It looks like end frames are cached inside, you might need to call avcodec_video_encode2 till u recieve all buffered frames.


Sent from my Android device with K-9 Mail. Please excuse my brevity.

More information about the Libav-user mailing list