Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.
brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aac --with-opus
#startx | |
Section "ServerLayout" | |
Identifier "layout" | |
Screen 0 "intel" | |
Inactive "nvidia" | |
EndSection | |
#startx -- -layout egpu | |
Section "ServerLayout" | |
Identifier "egpu" |