Ffmpeg Multiple Task for Converting Video to Image Sequence for Macos

Ffmpeg Multiple Task for Converting Video to Image Sequence for Macos

I need help to make multiple task of that on MacOS:

ffmpeg -i file.mp4 -r 0.1 output_%04d.jpg

I 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.jpg

I am not sure how many you can do at once.

5

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Alexander Ross
Author

Alexander Ross

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.