I have been searching for a way to convert multiple video files (from avi to mp4) using a command line batch file.
I am looking for it to be completely automated, I just want to specify what directory the existing avi files are in and where I would like the new mp4 files to be put.
I have the following batch script as a starting point:
Code: Select all
vlc "input_filename" :sout="#transcode{vcodec=mp4v, vb=512, acodec=mp4a, ab=128, channels=2, audio-sync}:std{access=file, mux=mp4,url="output_filename"}" --sout-transcode-width=320 --sout-transcode-height=240 --aspect-ratio=width:height
I am using windows xp pro sp2, and just installed vlc 0.8.5.
I have looked all over for an answer and haven't seen any reference for using wildcards for the filename or using a blank directory for file output.
Any help would be greatly appreciated.
Thank you.