Created
April 26, 2017 04:43
-
-
Save thejoltjoker/30a1232e472b6828082b25e34527f03e to your computer and use it in GitHub Desktop.
An ffmpeg command to encode a video for Youtube based on their recommended settings.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use ffmpeg to encode an input to a video with settings suggested by youtube. | |
# Read more at https://support.google.com/youtube/answer/1722171?hl=en | |
ffmpeg -i input.%04d.dpx -c:v libx264 -movflags faststart -crf 0 -pix_fmt yuv420p -r 24 -g 12 -bf 2 -c:a libfdk_aac -b:a 384k -ar 48000 output.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment