[FFmpeg-user] Extract all audio regardless of stream/channel count

Carles Vila cvilad at gmail.com
Fri Feb 10 13:40:29 EET 2017


Hi,
I'd like to know if there is a simple way (script) to extract all audios
individually from a video. The video could have N stereo streams (normally
up to 16), M mono streams (up to 16),
or a combination of both. Now I have to write the -map structure manually
after probing the input. Ideally I need to end up with as many mono wavs as
individual channels.
If you could give me a starting point, I could probably figure out.
Thank you!


More information about the ffmpeg-user mailing list