I am trying to convert 20+ .avi files in a batch using ffmpeg.
I've got the following
@echo off. for file in *.avi do ffmpeg -i "$file" -s 640x480 -vcodec msmpeg4v2 "'basename "$file" .avi'.mpg'; done
in my .bat file but it does not work. How can I make it work under Windows OS. Oh, and yes all the files are in the same folder.
The error message I get:
File was unexpected at this time