[Libav-user] Repeating frame while encoding using ffmpeg api
brado at bighillsoftware.com
Mon Sep 29 17:26:43 CEST 2014
On Sep 29, 2014, at 8:13 AM, Nicolas George <george at nsup.org> wrote:
> Le quintidi 5 vendémiaire, an CCXXIII, Bradley O'Hearne a écrit :
>> Over months of testing, the behavior I have seen is that whatever the
>> time_base.den value is set on your codec, that number of frames per second
>> absolutely has to be fed to the encoder, or else playback of the video
>> will be out of sync.
> That is not true, but a number of things can be wrong in your program and
> explain that it does not seem to work.
As soon as an actual working code sample emerges which proves that you can feed varying FPS to the encoder, I’ll be thrilled to implement it in my own code. But I have never come across an example which demonstrates this, nor when I posted source to this list which demonstrated the problem, was any solution given. So until that time, I have to stick with code that works….not the theory, which I’d highly prefer, but unfortunately I cannot seem to realize in an implementation.
As this is relevant to Pradeep’s original question…Pradeep, if you are able to get this to work, if you can post a code sample to the mailing list, it would be much appreciated.
More information about the Libav-user