Skip to content

Instantly share code, notes, and snippets.

@r-k-b
Last active September 30, 2024 23:22
Show Gist options
  • Save r-k-b/27ae0da9418c254677d4f37c2748e36c to your computer and use it in GitHub Desktop.
Save r-k-b/27ae0da9418c254677d4f37c2748e36c to your computer and use it in GitHub Desktop.
Change a video from unbalanced stereo to mono

in case you have a wonky mic where the left channel sounds much louder than the right; here's an ffmpeg command to keep only the left channel in a video file, converting it from stereo to mono:

ffmpeg -i in.mp4 -af "pan=mono| c0=FL" -c:v copy out.mp4

alternatively, EasyEffects makes it simple to set up the stereo→mono mix once, then have it applied on every boot: https://github.com/wwmm/easyeffects (has nifty effects, too)

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