I need help to make multiple task of that on MacOS:
ffmpeg -i file.mp4 -r 0.1 output_%04d.jpgI have basically 200 video files to do that action and I want to create a single code that I can send to ffmpeg at once. I have tried with & in the end but it didn't work.
please help! Gabriel
1 Answer
You can process multiple videos in a single command:
ffmpeg -i video0.mp4 -i video1.mp4 -i video2.mp4 -i video3.mp4 -map 0:v -r 0.1 video0_%04d.jpg -map 1:v -r 0.1 video1_%04d.jpg -map 2:v -r 0.1 video2_%04d.jpg -map 3:v -r 0.1 video3_%04d.jpgI am not sure how many you can do at once.
5