Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save gonejack/b21902c31b235b8c077e1db824c0279f to your computer and use it in GitHub Desktop.

Select an option

Save gonejack/b21902c31b235b8c077e1db824c0279f to your computer and use it in GitHub Desktop.

Revisions

  1. gonejack revised this gist Nov 30, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Install ffmpeg with x265 support
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@ 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
    brew install ffmpeg --with-fdk-aac --with-sdl2 --with-freetype --with-libass --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
  2. @bbuyukkahraman bbuyukkahraman created this gist Jun 18, 2016.
    14 changes: 14 additions & 0 deletions Install ffmpeg with x265 support
    Original 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)"