I'm totally a newbie to FFmpeg and programming stuff, so the question might be too stupid... I have a video and want to crop it into small pieces and render out each one, so I'm trying to use a FOR loop:
FOR /l %x IN (0,40,1000) DO ffmpeg -i sample.avi -filter:v "crop=20:20:x:x" outx.avi; done
What I got is: [NULL @ 0000000002624220] Unable to find a suitable output format for 'outx.avi;' outx.avi;: Invalid argument
Anyone can help this out?