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

Big CPU load at using the Camera view

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • None
    • 5.12.4
    • Multimedia
    • None
    • * Linux BSP (yocto) for imx6
      * Gstreamer 1.0
      * Video source: v4l2
    • Linux/Other display system

    Description

      When I use this simple QML example:

          VideoOutput {
              anchors.fill: parent
              source: Camera {
                  id: camera
                  viewfinder {
                      maximumFrameRate: 30
                      minimumFrameRate: 30
                  }
              }
          }
      

      I got the CPU load ~25% (where even the resolution is 640x480).

      But when I use this direct gst-launch pipeline:

      gst-launch-1.0 v4l2src ! image/jpeg,width=1920,height=1080,framerate=30/1 ! imxvpudec ! imxipuvideosink
      

      I got 6-8 % CPU load (with 1920x1080 resolution).

      Seems, that QtMM use non-optimal pipeline, and, even, there are impossible to configure the QtMM to use a desired pipeline (at least I did not found it in Qt documentation).

      Attachments

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

        Activity

          People

            valentyn.doroshchuk Valentyn Doroshchuk
            kuzulis Denis Shienkov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes