Answer the question
In order to leave comments, you need to log in
How to create video files from several folders with photos in ffmpeg for each folder?
Please tell me how you can create a video from several folders with photos with division into each folder.
I try the code:
@echo off
for /r %%i in (*.mp4) do (ffmpeg -f image2 -r 3 -i "%%~dpni_img%%03d.jpg" -y -an -r 24 -vcodec mpeg4 out.avi )
Answer the question
In order to leave comments, you need to log in
I use Windows os
1) Create folder Your_files and folder Result in directory with ffmpeg.exe 2) Put png files with similar name out001.png out002.png out003.png in folder Your_files ...
for %%a in ("Your_files\out%%03d.png") do ffmpeg -y -f image2 -r 3 -i "%%a" "Result\video.mp4"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question