[FFmpeg-devel] [PATCH 000/279] New channel layout API

Nicolas George george at nsup.org
Wed Dec 15 12:53:35 EET 2021


James Almer (12021-12-14):
> You have a stream with four channels, you set up a custom order layout where
> you pick any four unused ids and call them OboeFL, OboeFR, PianoFL, PianoFR
> in u.map[], then split the streams (retaining strings and ids), pass them to
> channelmap using channelmap=map=OboeFL-FL|OboeFR-FR once support is added an
> so on. Or am i missing something?

You are thinking too small. You are letting the users fend for
themselves, while we could make sure that everything is automatic. If we
can, then we should.

What I want is this: if the demuxer knows the label, then the user can
write:
	pan='stereo=0.3*.oboe+0.7*.piano'
and the system automatically pick the channels from the oboe and the
piano and figure out the matrix (if the oboe is recorded in mono for
example).

Regards,

-- 
  Nicolas George


More information about the ffmpeg-devel mailing list