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

High CPU usage while streaming from camera to screen

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.7.2, 6.8
    • Multimedia
    • None
    • Linux/X11

    Description

      We are seeing quite heavy CPU load when running Qt's widget (and QML) camera example to view a camera stream on the screen without recording. This only happens when using jpeg camera format. Lower resolution gives less cpu load, different framerates doesn't.

      Here's an overview of average cpu usage for camera app process with different camera formats. 100% usage equals full use of 1 cpu core.

      camera format cpu usage
      jpeg 2560x1440 30 fps 87 %
      jpeg 2560x1440 15 fps 87 %
      jpeg 1920x1080 30 fps 60 %
      jpeg 640x360 30 fps 18 %
      YUYV 640x360 30 fps 2 %

      Test equipment: Linux X11, 3.50 GHz Intel Xeon, NVIDIA GeForce GTX 1060 6GB,  Camera: Exibel QHD 2560*1440

      Attachments

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

        Activity

          People

            qtmultimediateam Qt Multimedia Team
            lars.sutterud Lars Sutterud
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes