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

Slow Video and Camera Rendering in Multimedia Examples

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.7.3
    • Device Creation, Multimedia
    • Qt Version: 6.7.3

      Device: Toradex Apalis iMX8QM

      OS: Boot2Qt 6.7.3

      Qt Creator version: Qt creator 14.0.2

      Host Computer: macOS version 13.6 
    • Other

    Description

      Description: When deploying the Qt Multimedia examples (both Media Player and Camera) on the Toradex Apalis iMX8QM, video rendering and camera capture performance are very slow. It seems that VPU hardware acceleration is not being utilized, leading to high latency and excessive dropped frames.

      Steps to Reproduce:

      1. Deploy the Qt Multimedia Media Player and Camera examples on the Toradex Apalis iMX8QM (Boot2Qt 6.7.3).
      2. Attempt to play a video or start the camera preview.
      3. Observe the performance and console log output.

       

      Error Logs:

      Could not change state of "playerPipeline" to PAUSED ASYNC
      qt.multimedia.player: Unable to set the pipeline to the paused state.
      Could not change state of "playerPipeline" to PLAYING ASYNC
      
      Could not open kernel file: /tmp/g2d_opencl_kernel.bin buildBinarySize = 59327
      
      ====== AIUR: 4.7.2 build on Sep  1 2022 09:49:28. ======
        Core: MPEG4PARSER_06.20.10  build on Oct 19 2022 08:20:52
      file: /usr/lib/imx-mm/parser/lib_mp4_parser_arm_elinux.so.3.2
      Track 00 [video_0] Enabled
        Duration: 0:00:19.033333000
        Language: eng
      Mime:
        video/x-h264, parsed=(boolean)true, alignment=(string)au,
      stream-format=(string)avc, width=(int)1920, height=(int)1080,
      framerate=(fraction)60/1, codec_data=(buffer)014d402affe10015674d402a95900780227e5c04400000fa000075302101000468eb8f20
      
      ====== V4L2DEC: 1.20.3 build on Sep 15 2022 02:27:06. ======
      qt.multimedia.player: Warning: A lot of buffers are being dropped.
      (../git/libs/gst/base/gstbasesink.c(3143): gst_base_sink_is_too_late ():
      /GstPipeline:playerPipeline/GstBin:videoOutput/GstBin:videoSinkBin/QGstVideoRendererSink:qgstvideorenderersink1:
      There may be a timestamping problem, or this computer is too slow.) 

      Environment:
      Qt Version: 6.7.3

      Device: Toradex Apalis iMX8QM

      OS: Boot2Qt 6.7.3

      Qt Creator version: Qt creator 14.0.2

      Host Computer: macOS version 13.6 

      Attachments

        Issue Links

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

          Activity

            People

              qtmultimediateam Qt Multimedia Team
              alrizwan Alber Rizwan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes