[Solved]QML Video Accelaration



  • Hy!

    I like to play more Videos in my QML2-Application on Linux 64 bit.
    I'm using 5.1.0 Beta but I allso tried QT 5.0.1

    As far i kno QML uses the GStreamer.

    It seams the Video-Component does not use the VAAPI.
    I try to play 6 Videos at the same time ( no problem wirh vlc on my computer ).

    But in my application the Video doesn't real play and the CPU is nearly 95% on all cores.

    My Enviroment:

    QT 5.1.0Beta
    Opensuse 12.3
    GStreamer 0.10 & 1.0
    Gstreamer VAAPI - Plugin

    vainfo found the init function of the fglrx_drv_video
    and supports H264 profile

    I use the MediaPlayer and the VideoOutput Component as shown in the samples.

    Is there any Propertie to set which anables HW-Accalaration?





  • Now I have seen there is allready a bug-report about this topic:

    "QtMultimedia 5.0.0: Missing video frames while playing mp4 video using sample QtMultimedia application":https://bugreports.qt-project.org/browse/QTBUG-30328

    It seams like this is the same problem that i have.



  • I installed kubunt instead of OpenSuse now it works, but i think it is no matter of the distribution. I think the problem was that GStreamer VAAPI plugin ob opensuse was only available for GSTreamer 0.10 and not for 1.0 but my QML-Program was using GStreamer 1.0.



  • [quote author="hpollak" date="1371449350"]I installed kubunt instead of OpenSuse now it works, but i think it is no matter of the distribution. I think the problem was that GStreamer VAAPI plugin ob opensuse was only available for GSTreamer 0.10 and not for 1.0 but my QML-Program was using GStreamer 1.0.[/quote]

    Nice to know it's working for you.
    Could u please tell us what ubuntu distro you are using and what package u install to make VAAPI workign with qml ?


Log in to reply
 

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