[FFmpeg-devel] [PATCH] Support for Ambisonics and OpusProjection* API.

Vittorio Giovara vittorio.giovara at gmail.com
Thu Jul 26 17:57:57 EEST 2018


On Thu, Jul 26, 2018 at 4:15 PM, Rostislav Pehlivanov <atomnuker at gmail.com>
wrote:

> Hey,
>
> As of now, the ambisonics API is enabled by default in libopus. We still
> don't have a way to signal ambisonics yet.
> We still have plenty of bits left in libavutil/channel_layout.h to signal
> many orders of ambisonics but some people have had opinions against
> extending that API. We could instead extend AVMatrixEncoding but I don't
> think that's entirely appropriate.
> What opinions do people have on this?
>

I had been working on a new API that would encompass ambisonic ordering
(see
https://github.com/kodabb/libav/commit/98d9b0a7b28525b29e40ae4c564e51e7c94449eb).
The downside is that it requires updating the whole channel layout API (see
https://github.com/kodabb/libav/commit/c023b553e6ad6da5af6d0d4ff067ff844b2fcfac
)
I got it mostly working but ran into issues during backward compatibility,
and didn't have time to debug and fix it.

If anyone wants to finish the set, backport it, and add the missing lswr
part it would be easy work. I'm available to help in the process just to
get this completed.
The full branch is available at https://github.com/kodabb/libav/commits/chl
(I hope this will be a mature discussion even though the patches belong to
another tree).
-- 
Vittorio


More information about the ffmpeg-devel mailing list