Help. About QMediaPlayer performance



  • 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.


  • 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



  • 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]


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.