Last active
May 19, 2016 03:28
-
-
Save Skylark95/821fabb4b5152c8a0f507ce15a2c105a to your computer and use it in GitHub Desktop.
Encoding videos for YouTube with FFMpeg
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
# Source: | |
# Encoding videos for YouTube with FFMpeg | |
# https://www.virag.si/2015/06/encoding-videos-for-youtube-with-ffmpeg/ | |
ffmpeg -i <input file> -codec:v libx264 -crf 21 -bf 2 -flags +cgop -pix_fmt yuv420p -codec:a aac -strict -2 -b:a 384k -r:a 48000 -movflags faststart <output_name>.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment