1
Fork 0
mirror of https://github.com/RealOrangeOne/notes.git synced 2024-11-17 04:59:07 +00:00
notes/content/shell/ffmpeg-downmixing-audio.md

431 B

title tags emoji link
Downmixing audio channels
Media
🎵 https://trac.ffmpeg.org/wiki/AudioChannelManipulation
ls -1 *.mp4 | xargs -I{} ffmpeg -y -i {} -ac 2 -c:v copy /path/to/out/{}

Downmixes multi-channel audio into stereo. Reduces the chances of weird things happening during playback.

-c:v copy is important for performance as it means the video isn't re-encoded (10x improvement in speed).