Channels carry meaning
An audio stream isn't just 'audio' — it has a channel layout. Mono (1 ch), stereo (2 ch L/R), 5.1 (6 ch FL/FR/C/LFE/SL/SR), 7.1 (8 ch). Each channel is a speaker assignment. Mismatched layouts cause silent channels, doubled center, or worse.
Three operations you'll need
- Downmix — 5.1 → stereo, stereo → mono. Use
-ac 2or-ac 1. FFmpeg's default downmix coefficients are sensible. - Force layout —
-channel_layout stereowhen the source has wrong metadata. - Pan — re-route specific channels with the
panfilter. Useful when the source has voiceover only on the left channel.