Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-68779

Output video stream directly to AVCaptureVideoPreviewLayer from QCamera on macOS

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • P2: Important
    • 5.15
    • 5.14
    • Multimedia
    • None
    • macOS

    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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Youw Ihor Dutchak
            Youw Ihor Dutchak
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes