ffmpeg -framerate 30 -i %1d.png -c:v libx264 -profile:v high -crf 10 -pix_fmt yuv420p test.mp4
Hi,
I have a folder with a bunch of png images: 0.png, 1.png, 2.png ... Using the above code, I can convert all the images in the directory into one video. What I want to do is only convert a percentage of all the images into a video. Is there any way I can specify to ffmpeg to only convert the first 20% of images into a video? For example if there is 50 images, ffmpeg in this case would only use the first 10 images to form a video.
-vframes 10
. – Gyan