Archives du mot-clé quick

ffmpeg : video to pictures + directories

using a bat file, creates a folder from video filenames and adds a preview file in the created directory and then extract each individual frame to a jpg file using q:v 5  (jpeg quality, ranges from 1 to 31, 31 being worst quality);
Probably not the most aesthetic way to do this but it works smoothly.
(scripts runs correctly in Win7 environment)

for %%i in (*.avi) do md _%%i
for %%i in (*.avi) do ffmpeg -i "%%i" -f image2 -ss 00:00:02 -y "_%%i/%%~ni.png"
for %%A IN (*.avi) DO ffmpeg -i "%%A" -q:v 5 "_%%A/%%5d.jpg"
pause