[FFmpeg-devel] [PATCH 2/2] avformat/mov: Support parsing of still AVIF Alpha Channel

Anton Khirnov anton at khirnov.net
Tue Jul 5 19:53:58 EEST 2022


Quoting Vignesh Venkatasubramanian (2022-07-02 23:15:35)
> > As for encoding, not fully sure how it should be integrated, if any
> > encoders actually at this moment do proper alpha coding, or do all API
> > clients have to separately encode with one context the primary image,
> > and the alpha with another?
> 
> I am not sure about other codecs, but in the case of AVIF/AV1, the
> encoder does not understand/support alpha channels. The only way to do
> it is to use two separate encoders.

Can this not be handled in our encoder wrapper?

We should strive as much as possible to shield our callers from
codec-specific implementation details.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list