Hi Talgorn,
I found a way to make it work but dont really know why this is the case. The original example had emit one intra frame every frame at most, with c->gop_size = 12. I changed that to 1, and everything seems to work just fine. Also, I have a bitmap image of each frame. I convert each image to YUV format which I verify with yuvplayer. Since the change above seems to have made it all work out, this is probably what needed to be done. But I would appreciate it if somebody could give me a brief explanation or point me to one. 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:[email protected]> mailto:[email protected] <http://www.vki.com/> http://www.vki.com From: Libav-user [mailto:[email protected]] On Behalf Of Talgorn François-Xavier Sent: Tuesday, September 01, 2015 2:06 PM To: This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter. <[email protected]> Subject: Re: [Libav-user] avcodec_encode_video2 usage question Hi, Based on what you describe, it seems that you proceed the right way. I understood that you encode from a set of YUV file, right ? How do you read these images before encoding them ? muxing.c
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
