Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Help. About QMediaPlayer performance
Qt 6.11 is out! See what's new in the release blog

Help. About QMediaPlayer performance

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    JoeHsu
    wrote on last edited by
    #1

    I am a qt5 newbie (a qt newbie actually). I took a QMediaPlayer example from internet, built it and ran, and it really decoded a H264 1080p video sample in my PC. But its performance is not good and it consumes too much CPU power--over 120%. Ah..Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz is the CPU in my PC and ubuntu 13.10 is the operating system.

    I guess I could improve the performance in two ways. First, I do the video decoding/rendering part using other libraries/APIs myself, such as using libav/vaapi/xvideo extension. Second, try to "improve" the mediaservice plugin and its dependent libraries(gstreamer related).
    
    Now I prefer the second way. Any opinions would be appreciated. Thank you very much.
    
    1 Reply Last reply
    0
    • M Offline
      M Offline
      maximus
      wrote on last edited by
      #2

      Hey,

      Have a look at
      http://projects.tano.si/vlc-qt

      it's a really good video player (VLC) that can be embedded in a Widget.
      Not too hard to set up, work the same on all machine and I get good performance

      Good luck


      Free Indoor Cycling Software - https://maximumtrainer.com

      1 Reply Last reply
      0
      • J Offline
        J Offline
        JoeHsu
        wrote on last edited by
        #3

        Hello:
        Thanks...That is a great solution.

        [quote author="maximus" date="1383237123"]Hey,

        Have a look at
        http://projects.tano.si/vlc-qt

        it's a really good video player (VLC) that can be embedded in a Widget.
        Not too hard to set up, work the same on all machine and I get good performance

        Good luck[/quote]

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved