Skip to content

Instantly share code, notes, and snippets.

@muratgozel
Last active March 18, 2025 22:26
Show Gist options
  • Save muratgozel/6263e8e6c758ae2d27478517d7547821 to your computer and use it in GitHub Desktop.
Save muratgozel/6263e8e6c758ae2d27478517d7547821 to your computer and use it in GitHub Desktop.
1. Install ffmpeg:
brew install ffmpeg --with-vpx --with-vorbis --with-libvorbis --with-vpx --with-vorbis --with-theora --with-libogg --with-libvorbis --with-gpl --with-version3 --with-nonfree --with-postproc --with-libaacplus --with-libass --with-libcelt --with-libfaac --with-libfdk-aac --with-libfreetype --with-libmp3lame --with-libopencore-amrnb --with-libopencore-amrwb --with-libopenjpeg --with-openssl --with-libopus --with-libschroedinger --with-libspeex --with-libtheora --with-libvo-aacenc --with-libvorbis --with-libvpx --with-libx264 --with-libxvid
2. Convert:
ffmpeg -i input-file.mp4 -c:v libvpx -crf 10 -b:v 1M -c:a libvorbis output-file.webm
@rcoleman612
Copy link

The switches don't seem to work on brew install in Sequoia.

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