[FFmpeg-devel] [PATCH] avfilter/af_amerge: add reorder_inputs option to be able to turn off reordering

Michael Niedermayer michael at niedermayer.cc
Mon Sep 5 22:36:41 EEST 2016

On Mon, Sep 05, 2016 at 04:43:02PM +0200, Nicolas George wrote:
> Le decadi 20 fructidor, an CCXXIV, Marton Balint a écrit :
> > The order of the channels to remain unchanged regardless of the input
> > channel layout (which is often guessed only). Filtering in ffmpeg is
> > unfortunately forcing you to use channel layouts, even if you don't want to,
> > even if you only want to say: this track has 2 channels, that stream track
> > has 1 channels. Don't assume anything else.
> I feel Carl Eugen has the right of it.

> libavfilter can work with streams with unknown layouts, but some individual
> filters may not. To make them work is relatively easy. First, make sure they
> do not use the channel layout: most filters from the fork will use the
> channel layout to know the number of channels, we have a separated field for
> that. Then declare accordingly the list of formats in query formats.

is there some easy way to identify test for filters that require
the layout unneccessary ?
"git grep av_get_channel_layout_nb_channels" and manual checking ?

I might be interrested to help fixing these ...


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Never trust a computer, one day, it may think you are the virus. -- Compn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160905/7779ce05/attachment.sig>

More information about the ffmpeg-devel mailing list