[FFmpeg-user] Batch extracting frames from multiple videos

Joseph Zaki joseph at loko.ai
Tue Sep 17 13:14:01 EEST 2019


Hi everyone,

I'm new to ffmpeg and having some issues batching a process. I have several
dozen videos that I need to extract images every 2 seconds from.

I tried this script: for %%a in ("*.mp4") do ffmpeg -i %%a -vf fps=2
"%%~na.%%06d.png

But kept getting an error: Output file is empty, nothing was encoded (check
-ss / -t / -frames parameters if used)

Can anyone point me in the right direction on how to fix this?

Cheers,
JZ


More information about the ffmpeg-user mailing list