As directly to convert the AVFrame to QVideoFrame?

Get the decoded AVFrame is in YUV420P format, you need to put it in QVideoFrame
Found how to make using sw_scale and QImage, but there is a first conversion to RGB32, which in my opinion is overkill, because QVideoFrame itself supports the format YUV420P. Please tell me how to convert?
June 10th 19 at 14:28
0 answer

Find more questions by tags QtFFmpeg