I have ~3k images of about 2.3 megs each, all jpgs. I want to make a
video using them. I very seldom use ffmpeg so I always forget the
settings. I found a command line on stackexchange that seemed as if it
would do the job. Output is below.
I perhaps naively thought that 3k input frames would produce the same
number of output frames and then at 30fps playback I'd have 100 seconds
of video. That would be fine.
What I did was wait a really long time while ffmpeg displayed a frame
count in excess of 10K, almost 20K and turned out a video clip of 112
megs. This doesn't seem reasonable. Can anyone who is able to interpret
the output below make a suggestion? I only want a simple video. The max
number of frames would be 16,000 - a day's worth at one every 5
seconds. I thought that many frames would make a 10 minute video which
--------------- ffmpeg run time output -------------------
On 6/8/2020 3:59 PM, John Van Ostrand wrote:
> Instead of using -r 30 try -vf "fps30"
Rate setting can be tricky, with multiple options and filters. Some
searching of the the list archive should give examples of how to do this.
Part of the confusions come with setting input rate vs output rate, and how
to translate between them.
Please use a modern version of ffmpeg, if you don't want to build it
yourself, get last night's build (links from the ffmpeg site).
On Tue, 9 Jun 2020 00:06:08 +0100
Kieran O Leary <[hidden email]> wrote:
> How about:
> ffmpeg -framerate 30 -start_number 2 -i
> ofoutdoorcapturesDecember112016/smokey%04d.jpg -c:v libx264 -pix_fmt
> yuv420p out.mp4
> I don't think you need to use -r or John's suggestion of video
> filters to set framerates.
> Also your ffmpeg version is super old - we are now up to 4:2:2, with
> 4:3 about to be released.
yes. lovely, just what I wanted, simple and fast. I'll update to the
4.2.2 release. Thanks to all who answered.