[FFmpeg-devel] avcodec/prores_aw : add support for alpha encoding

Reto Kromer lists at reto.ch
Sun Oct 21 19:59:19 EEST 2018


Martin Vignali wrote:

>prores_ks take care about alpha data size, for yuv encoding (in
>other word reduce quality of yuv data if there is alpha), but
>it's seems that this is not the case of the official encoder

No, it isn't.

>So for prores_aw, i choose to separate yuv encoding and alpha
>encoding.

In my opinion, this is indeed the way to go.

>I only choose to support 16b alpha (not the 8 bit version (and
>don't plan to add it))

I agree. More important than 8-bit alpha would be 12-bit Y'CbCr
which is generated by many modern cameras (and the the same
sensors are used in some film scanners as well).

Hope this is helpful! Reto



More information about the ffmpeg-devel mailing list