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

Anton Khirnov anton at khirnov.net
Tue Dec 14 11:30:18 EET 2021


Quoting Marton Balint (2021-12-13 23:47:22)
> On Sun, 12 Dec 2021, Anton Khirnov wrote:
> >
> > So what are you proposing? In my view, such higher level information
> > should live at a higher level - e.g. in the side data. You can then
> > have a filter that reads this side data and gets you the group you want.
> 
> Does not look that simple to use side data for everything, because when 
> you have a frame in a filter, you already should have configured the 
> output channel layout... So unless you pass side data to filters somehow 
> before initialization, it does not help you.

I don't see a big problem in adding stream (i.e. link-)-level side data
to avfilter. We already do this for hwcontexts (which btw need to be
better integrated into format negotiation).

It also seems to me that video properties like stereo3D or spherical
mapping are analogous to your MXF use case and they exist in side data.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list