Details
-
Task
-
Resolution: Fixed
-
P2: Important
-
5.14
-
None
Description
When using QMediaPlayer to output video on QVideoWidget, Qt uses AVFoundation to handle the entire video stream, and just embeds AVPlayerLayer to its widget tree.
In the same way QCamera may use AVCaptureVideoPreviewLayer to output camera stream on the screen.
Current implementation uses Qt's own per-frame renderer, which is quite inefficient on CPU usage, specially noticeable when using QCamera with QVideoWidget with high resolution, high FPS Webcams.