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

Multi-channel video playback FPS is not as high as Android's native, video refreshing freezes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P2: Important
    • None
    • 5.15.2
    • Multimedia
    • None
    • Rockchips rk3566 android 11
      (可能不限于此平台)
    • Android

    Description

      English:

      environment: QT5.15.2 Rockchips rk3566 Android 11

       

      When running the qmediaplayer of qml on Rockchips rk3566 platform, when playing 20 360P videos, the playback effect of my software is not as good as that of andorid. Reflected in my software, the FPS can only reach about 42, and you can see the playback freeze. But the android native software runs on the Rockchips rk3566 platform, and when 20 360P videos are played, its FPS can reach 60, and the playback is very smooth. The Android native software uses surfaceview+mediaplayer.

      In response to the above problem, there are two supplements below:
      1. We found that as long as it is on the Android device, it is not limited to Rockchips rk3566. When playing multiple videos, its playback effect is not as good as the native Android software. And with the increase in the number of videos, FPS has been declining.
      2. The operating platform I am referring to, such as rk3566, can support smooth playback of 20 360P videos with sufficient memory.

      3. I used QQuickPaintedItem to print the time interval of paint for FPS.

       

      See the attachment for the code to run the demo.

       

      中文:

      环境:QT5.15.2   Rockchips rk3566 Android 11 

       

      将qml的qmediaplayer运行在Rockchips rk3566平台上,当播放20个360P视频,我的软件的播放效果没有andorid原生的效果好。体现在我的软件的FPS只能达到42左右,可以看到播放卡顿。但是android原生的软件运行在Rockchips rk3566平台上,也播放20个360P视频时,它的FPS可以达到60,播放很流畅。android原生的软件使用的是surfaceview+mediaplayer。

      针对上面的问题,有下面2点补充:
      1、我们发现只要是在android设备上,不限于Rockchips rk3566,当播放多个视频时候,他的播放效果没有android原生的软件好。并且随着视频数量的增多,FPS在一直下降。
      2、我所指的运行平台,例如rk3566,他本身是能够支持20个360P视频流畅播放的,且内存充裕。

      3、得出的FPS我是利用QQuickPaintedItem打印了paint的时间间隔。

       

      运行demo的代码见附件。

      Attachments

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

        Activity

          People

            qtmultimediateam Qt Multimedia Team
            qht Q HT
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes