REM mp4 (H.264 / AAC) "c:\program files\ffmpeg\bin\ffmpeg.exe" -y -i %1 -threads 0 -vcodec libx264 -b:v 1500k -acodec libvo_aacenc -b:a 96k -maxrate 1500k -bufsize 1000k -preset fast %~n1.mp4 REM webm (VP8 / Vorbis) "c:\program files\ffmpeg\bin\ffmpeg.exe" -y -i %1 -threads 0 -vcodec libvpx -b:v 1500k -acodec libvorbis -b:a 96k -maxrate 1500k -bufsize 1000k -quality good %~n1.webm REM ogv (Theora / Vorbis) "c:\program files\ffmpeg\bin\ffmpeg.exe" -y -i %1 -threads 0 -vcodec libtheora -b:v 3000k -acodec libvorbis -b:a 96k -maxrate 3000k -bufsize 1000k %~n1.ogv REM wmv (MPEG4 / WMA) "c:\program files\ffmpeg\bin\ffmpeg.exe" -y -i %1 -threads 0 -vcodec msmpeg4 -b:v 1500k -acodec wmav2 -b:a 96k %~n1.wmv REM mov (H.264 / AAC) "c:\program files\ffmpeg\bin\ffmpeg.exe" -y -i %1 -threads 0 -vcodec libx264 -b:v 1500k -acodec libvo_aacenc -b:a 96k -maxrate 1500k -bufsize 1000k -vprofile high -preset fast -movflags faststart %~n1.mov REM -i %1 = Drag and drop input file onto the batch. REM -y = Overwrite output files without asking. REM -threads 0 = uses all cpu cores
Replies
Here's the .BAT file I use, I just drag-n-drop my source AVI onto it. But if you want to convert a sequence then go here:
http://en.wikibooks.org/wiki/FFMPEG_An_Intermediate_Guide/image_sequence