Try -vframes number_of_frames

Saludos
Jaime

El lun, 29 de dic de 2025, 01:00, Meino Cramer via ffmpeg-user <
[email protected]> escribió:

> Hi,
>
> While using Blender to create animations, Blender creates a lot of
> images - one per frame. Currently there are 36000 of those.
> Blender is able to create videos directly, but then - if something
> needs to be corrected - you need to create the whole thing again
> instead of just correcting a couple of frames.
>
> To create a video from those images,which are named like so:
> <frame-number>.<jpg>, I use this command line:
> ffmpeg -y -loglevel 16 -r 25 -f image2 -s 960x960 -start_number $1 -i
> %04d.jpg -vcodec libx264 -crf 25 -pix_fmt yuv420p $2
>
> where $1 is the number of the frame to start with and $2 is the filename
> of the video to create.
>
> Is there any simple way to specifiy the number of the frame to stop the
> process - even if there are more available?
>
> _______________________________________________
> ffmpeg-user mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
>
_______________________________________________
ffmpeg-user mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to