[Libav-user] avcodec_encode_video2 usage question
muller at vki.com
Wed Sep 2 00:05:50 CEST 2015
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
Visual Kinematics, Inc.
14395 Saratoga Avenue, Suite 110
Saratoga, CA 95070
(408) 867-6285 (voice)
(408) 867-7218 (fax)
<mailto:muller at vki.com> mailto:muller at vki.com
From: Libav-user [mailto:libav-user-bounces at ffmpeg.org] On Behalf Of Talgorn
Sent: Tuesday, September 01, 2015 2:06 PM
To: This list is about using libavcodec, libavformat, libavutil, libavdevice
and libavfilter. <libav-user at ffmpeg.org>
Subject: Re: [Libav-user] avcodec_encode_video2 usage question
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 ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user