Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. [Solved]QML Video Accelaration
Forum Updated to NodeBB v4.3 + New Features

[Solved]QML Video Accelaration

Scheduled Pinned Locked Moved 3rd Party Software
5 Posts 3 Posters 3.8k 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.
  • H Offline
    H Offline
    hpollak
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • B Offline
      B Offline
      bjanuario
      wrote on last edited by
      #2

      I think some guys trying to to the same thing
      Check this "http://thebugfreeblog.blogspot.pt/2013/01/custom-qml-component-for-hardware.html":http://thebugfreeblog.blogspot.pt/2013/01/custom-qml-component-for-hardware.html

      Hope this can help you

      1 Reply Last reply
      0
      • H Offline
        H Offline
        hpollak
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • H Offline
          H Offline
          hpollak
          wrote on last edited by
          #4

          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.

          1 Reply Last reply
          0
          • P Offline
            P Offline
            piyushverma
            wrote on last edited by
            #5

            [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 ?

            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