I have a video in mp4 with frame rate of .33 (i frame for 3 seconds). I want to increase the frame rate to 5 frames/sec. I have tried the below command but it does not do any thing...

ffmpeg -i <input.mp4> -r 5 <output.mp4>

Any idea why ffmpeg is ignoring -r option.

thank you

link|improve this question
feedback

migrated from stackoverflow.com Aug 7 '11 at 8:40

This question came from our site for professional and enthusiast programmers.

1 Answer

If the input file doesn't have a valid frame rate you might have to set it explicitly

ffmpeg -r 1 -i input.mp4 -r 24 output.mp4
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.