[FFmpeg-devel] [PATCH v2 1/5] fftools/ffmpeg_demux: honor -ch_layout options for overriding input stream channel layout
Anton Khirnov
anton at khirnov.net
Sat May 25 22:20:14 EEST 2024
Quoting Marton Balint (2024-05-25 18:57:32)
>
>
> On Sun, 19 May 2024, Marton Balint wrote:
>
> > The code only set the channel layout of the AVFormatContext, so the user could
> > not override the channel layout if the demuxer did not have such parameter.
> >
> > This used to work via the respective AVCodecContext option, but since
> > 639c2f00497257cb60ecaeeac1aacfa80df3be06 it no longer gets passed to the
> > decoders. It is actually better if we set it manually, instead of using the
> > codec option because that way we can also override it on the stream level, so
> > it will also work for stream copy or bitstream filtering.
> >
> > We don't allow changing the number of channels, because that can cause
> > unexpected results. We disable layout guessing, if a channel layout is
> > specified.
> >
> > Fixes ticket #11016.
>
> Will apply the series.
Could you please wait a few days?
I'm just freshly back from a vacation and didn't have time to look at
this in detail yet.
--
Anton Khirnov
More information about the ffmpeg-devel
mailing list