<div dir="ltr">Dear community,<div><br></div><div>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.</div><div><br></div><div>Now, I want to add an alpha channel to my resulting video. Can you help me with that?</div><div><br></div><div>- 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.</div><div><br></div><div>Best</div><div>Davood Falahati</div><div><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr">______________________________________________________<div><br></div></div></div></div></div></div>
</div></div>