Answer the question
In order to leave comments, you need to log in
How to directly convert AVFrame to QVideoFrame?
Greetings!
I get a decoded AVFrame in YUV420P format, I need to put it in QVideoFrame
I found how to do it through sw_scale and QImage, but there is a conversion first to RGB32, which in my opinion is overkill, because QVideoFrame itself supports the YUV420P format. Can you please tell me how to convert?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question