Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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