2006-09-28, 07:36
Nice idea. Here are my embellishments.
You need quotes to deal with filenames with spaces:
And here is one for recursively doing directories:
You need quotes to deal with filenames with spaces:
Code:
for %i in (*.avi) do ffmpeg -i "%i" -f mjpeg -t 0.001 -ss 5 -y "%~ni.tbn"
And here is one for recursively doing directories:
Code:
for /r %i in (*.avi) do ffmpeg -i "%i" -f mjpeg -t 0.001 -ss 5 -y "%~di%~pi%~ni.tbn"