[Libav-user] avcodec_encode_video2 usage question
Arthur Muller
muller at vki.com
Tue Sep 1 21:44:36 CEST 2015
Hello,
I'm new to FFMPEG. I starting from the muxing.c example and modified it to
generate a mp4 video - with no audio - of an animation.
I'm encoding 29 frames, all sized 320x200 pixels. I even have a yuv file for
all frames.
When I play the file I notice that not all frames get displayed, and I
suspect the problem is coming about from avcodec_encode_video2; the last
argument - got_packet - often comes back as zero. As a result, that
particular frame is not written.
Is there anything in particular I need to do to make sure that all frames
are properly displayed?
Thanks.
Arthur Muller
Visual Kinematics, Inc.
14395 Saratoga Avenue, Suite 110
Saratoga, CA 95070
(408) 867-6285 (voice)
(408) 867-7218 (fax)
Skype: vki-arthur
<mailto:muller at vki.com> mailto:muller at vki.com
<http://www.vki.com/> http://www.vki.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20150901/561e74ef/attachment.html>
More information about the Libav-user
mailing list