2
I am trying to encode several BMPs\JPEG into a movie file using:
ffmpeg -f image2 -i a%d.jpg output.mpg
The thing is that I want the frame rate of the movie to be 10, and it seems to be 25 (as a default I guess). How can I tell it what framerate to use?
I am using Windows 7, 64-bit (DELL).
Perhaps the documentation should be made more clear since by default images will have an input frame rate of 25. Adding
-r 10
as an output option will cause ffmpeg to drop frames, but using it as an input option will use all frames. – llogan – 2012-10-14T18:06:56.560Ah, interesting. So probably better specifying
-r 10 -i …
then for the above use case? – slhck – 2012-10-14T18:21:51.663For the OP's use case I think it would probably be best as an input option. Unfortunately, I doubt .mpg can support 10 fps (yet another reason for your MP4 recommendation). Different
-r
values can be used for input and output, but that will lead to dupes or drops which may be hardly noticeable or really ugly. – llogan – 2012-10-14T19:37:00.977