Uncategorized

Some script to decompress videos

Just some little script using ffmeg / windows to decompress video into jpgs with a generated thumbnail

for %%i in (*.avi) do ffmpeg -i “%%i” -f image2 -ss 00:00:00.200 -y -s 150×120 “%%~ni.png”

pause

for %%i in (*.avi) do md _%%i
for %%A IN (*.avi) DO ffmpeg -i “%%A” -q:v 5 “_%%A/%%5d.jpg”
pause