QVideoSink doesn't handle alpha channel
-
I've a WebM (VP9) video with alpha channel on it. I can open correctly the video on OBS and it shows as intended, but if I try to use it in
QVideoSinkusingvideoFrameChangedto show video frame by frame it shows a black background instead of transparent.Here ffmpeg file info :

PixelFormatof eachQVideoFrameisFormat_BGRA8888, when converted toQImagebecomesFormat_ARGB32_Premultiplied, all of them has an alpha channel so why my video show transparency as a black pixel?EDIT: If I check alpha channel with
hasAlpha()onframe.image()is true,QPixmap::fromImage(frame.image)returns false! -
Hi,
Please don't post the same question in multiple sub forums. One is enough.
Closing this one