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

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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

You Might Also Like