Skip to content

Instantly share code, notes, and snippets.

@JPEGtheDev
Created October 5, 2015 22:37
Show Gist options
  • Save JPEGtheDev/8be613d08171cbbdc7ab to your computer and use it in GitHub Desktop.
Save JPEGtheDev/8be613d08171cbbdc7ab to your computer and use it in GitHub Desktop.
ffmpeg -y -r 60 -f image2 -i ./capture/%d.png -c:v libx264 -preset placebo -b:v 75185.7K -pass 1 -f mp4 /dev/null && ffmpeg -y -r 60 -f image2 -i ./capture/%d.png -c:v libx264 -preset placebo -b:v 75185.7K -pass 2 -f mp4 /dev/null && ffmpeg -y -r 60 -f image2 -i ./capture/%d.png -c:v libx264 -preset placebo -b:v 75185.7K -pass 3 -f mp4 /dev/null && ffmpeg -r 60 -f image2 -i ./capture/%d.png -c:v libx264 -preset placebo -b:v 75185.7K -pass 4 output.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment