[Libav-user] Adding alpha channel to h264 encoder

Davood Falahati falahati.davood at gmail.com
Tue Sep 12 14:00:43 EEST 2017

Dear community,

I have a opevCV Mat frame, call it mask. I decode frames into AVFrame,
convert AVFrame to openCV Mat and encode them into AVPacket again.

Now, I want to add an alpha channel to my resulting video. Can you help me
with that?

- FYI, I tried to add alpha channel to openCV Mat and convert it to
AVFrame. But it fades whole the video and it mars the color distribution.

Davood Falahati
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20170912/7db98c1a/attachment.html>

More information about the Libav-user mailing list