Forked from bbuyukkahraman/Install ffmpeg with x265 support
Created
February 23, 2018 22:15
-
-
Save diego-castillo/a25516aa60687a54e69cc8273e965c16 to your computer and use it in GitHub Desktop.
Revisions
-
bbuyukkahraman created this gist
Jun 18, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ Install Homebrew OS X package manager: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" Install ffmpeg with x265 support: brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-libass --with-libquvi --with-libvorbis --with-libvpx --with-opus --with-x265 Convert video to x265: ffmpeg -i input -c:v libx265 -preset medium -crf 28 -c:a aac -b:a 128k output.mp4 Uninstall ffmpeg: brew uninstall ffmpeg Uninstall homebrew: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"