Skip to content

Instantly share code, notes, and snippets.

View JohannesMerkt's full-sized avatar

JohannesMerkt

View GitHub Profile
@glen-cheney
glen-cheney / encoding-video.md
Last active November 24, 2024 10:09
Encoding video for the web

Encoding Video

Installing

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
@akissu
akissu / 10-gpu.conf
Created April 1, 2019 20:25
Basic switchable eGPU X11 config that supports hotplugging
#startx
Section "ServerLayout"
Identifier "layout"
Screen 0 "intel"
Inactive "nvidia"
EndSection
#startx -- -layout egpu
Section "ServerLayout"
Identifier "egpu"