Skip to content

Instantly share code, notes, and snippets.

@goncha
Created July 19, 2014 05:20
Show Gist options
  • Save goncha/c71e464a50b7dac2365f to your computer and use it in GitHub Desktop.
Save goncha/c71e464a50b7dac2365f to your computer and use it in GitHub Desktop.
ffmpeg video conversion
@echo off
D:\ffmpeg\bin\ffmpeg.exe -i %1 -f mp4 -c:v mpeg4 -b:v 2000k -g 300 -bf 2 -pass 1 -an -f rawvideo -y NUL
D:\ffmpeg\bin\ffmpeg.exe -i %1 -f mp4 -c:v mpeg4 -b:v 2000k -g 300 -bf 2 -pass 2 -c:a copy %2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment