Page 1 of 1

ffmpeg with multiple frame rates

Posted: Tue Oct 20, 2009 10:35 pm
by RossFabricant
If I have different frame rates for alarmed and non-alarmed frames, what is the best way to make a video or videos with the correct frame rate? I believe that for an event with alarm frames I can find the first and last alarm frames with a simple query, and make 3 calls to ffmpeg, 1 for the frames before the alarm, one for the alarm frames, and one afterwards. Is there a simpler way to do this, though?

Posted: Wed Oct 28, 2009 12:53 pm
by RossFabricant
In case anyone else has this issue, the best way I found was in fact to generate separate videos for each different frame rate, and join them together with mencoder: mencoder -oac copy -ovc copy -o combined.flv first.flv second.flv third.flv