Skip to content

Instantly share code, notes, and snippets.

@todun
Forked from clayton/ffmpeg-install.sh
Last active August 1, 2018 19:55
Show Gist options
  • Save todun/28349d171c37cce8786c694039b23bc8 to your computer and use it in GitHub Desktop.
Save todun/28349d171c37cce8786c694039b23bc8 to your computer and use it in GitHub Desktop.
Install FFMPEG on OS X with HomeBrew
# Installation
brew install ffmpeg $(brew options ffmpeg | grep -vE '\s' | grep -- '--with-' | tr '\n' ' ')
# to convert Mp4 to WebM
## ffmpeg -i video.mp4 video.webm
## ffmpeg -i input.mkv -vn audio_only.ogg
## ffmpeg -i input.mkv output.gif # make gif out of a video
# Reference
## brew install ffmpeg with all options
## https://gist.github.com/Piasy/b5dfd5c048eb69d1b91719988c0325d8#gistcomment-2571754
## https://trac.ffmpeg.org/wiki/CompilationGuide/macOS
## https://opensource.com/article/17/6/ffmpeg-convert-media-file-formats
@todun
Copy link
Author

todun commented Aug 1, 2018

added examples and references

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment