[FFmpeg-devel] [PATCH] avfilter/af_pan: ignore named channels not in current layout

Ricardo Constantino wiiaboo at gmail.com
Thu May 11 13:52:20 EEST 2017

On 11 May 2017 at 08:49, Nicolas George <george at nsup.org> wrote:

> Le duodi 22 floréal, an CCXXV, Marton Balint a écrit :
> > You still have to use a different command line for stereo and 7.1, so I
> > don't quite see how this simplifies your use case. Even if your use case
> > were justified, I'd still think the current behaviour should be
> preserved as
> > a default.
> I agree. Bailing on unknown channels also means catching trivial user
> mistakes. Furthermore, mixing from different channel layouts requires
> different coefficients, otherwise the volume will be too low.
> This use case seems too specific to be the default.

Sure. The hard part in the script is already done anyway so it's not like I
banking on this being merged anyway.

Making a different codepath or a whole new filter just to do easy audio
is way too much sand for my truck, so disregard the patch.

More information about the ffmpeg-devel mailing list