[Libav-user] Repeating frame while encoding using ffmpeg api
george at nsup.org
Thu Oct 2 19:44:41 CEST 2014
L'octidi 8 vendémiaire, an CCXXIII, Bradley O'Hearne a écrit :
> As soon as an actual working code sample emerges which proves that you can
> feed varying FPS to the encoder
There is no need for it to emerge, it already exists. Look at ffmpeg.c. You
can see for yourself:
ffmpeg -lavfi \
-avoid_negative_ts 0 -r 1000 -y test.mkv
You can see the variable timestamps using ffprobe on the output file, and
you can see that MPlayer and ffplay both respect it.
You just did something wrong in your program.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 819 bytes
Desc: Digital signature
More information about the Libav-user