What's the preferred method for controlling the timing of individual frames? This list previously recommended the concat demuxer with a control file (thread "[FFmpeg-user] concatenate png files for different durations?"). Unfortunately, that failed to control the timing as advertised: A toy example played "duration 6" in less than 1 second followed by 5 seconds for a frame at "duration 1". (I want to mate frames with audio timed to hundreths of a second.) I've not been able to control the times even if all frames have officially the same time. Other posts suggest that I'm not the only person with this problem. It looks to me like there is a bug in the FFmpeg concat demuxer. However, another question asked about keyframes. Researching that led me to documentation saying that, "forcing too many keyframes is very harmful for the lookahead algorithms of certain encoders: using fixed-GOP options or similar would be more efficient." (http://ffmpeg.org/ffmpeg.html) Suggestions? Thanks, Spencer
On 3/20/2014 12:29 PM, Spencer Graves wrote:
What's the preferred method for controlling the timing of individual frames?
This list previously recommended the concat demuxer with a control file (thread "[FFmpeg-user] concatenate png files for different durations?"). Unfortunately, that failed to control the timing as advertised: A toy example played "duration 6" in less than 1 second followed by 5 seconds for a frame at "duration 1". (I want to mate frames with audio timed to hundreths of a second.) I've not been able to control the times even if all frames have officially the same time. Other posts suggest that I'm not the only person with this problem.
It looks to me like there is a bug in the FFmpeg concat demuxer. However, another question asked about keyframes. Researching that led me to documentation saying that, "forcing too many keyframes is very harmful for the lookahead algorithms of certain encoders: using fixed-GOP options or similar would be more efficient." (http://ffmpeg.org/ffmpeg.html)
I just submitted FFmpeg bug Ticket #3484 with the toy example previously described. Thanks to all who have taken (and will take) the time to think about this problem. Spencer
Suggestions? Thanks, Spencer _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
participants (1)
-
Spencer Graves