Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML Video Object does not use alpha channel of video
QtWS25 Last Chance

QML Video Object does not use alpha channel of video

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 1.4k Views
  • 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.
  • O Offline
    O Offline
    oneWonders
    wrote on last edited by
    #1

    I have a video with an alpha channel that i would like to overlay onto other elements (another video).

    However, qt doesn't seem to respect the alpha channel, and instead ignores it so that i get a huge black background instead. As you can imagine, this is not ideal.

    My platform is Windows 7, running under the MinGW compiler, if this makes a difference? (though in all honesty, it is just a qml file i am running with the scene-viewer).

    Is this a bug report that needs filing? and if so, how do i go about doing that / what section is it relevant for?

    Thanks!

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jsprenkle
      wrote on last edited by
      #2

      I would bet this was done for performance reasons and they don't consider it a bug. It's much slower to have to transfer data pixel by pixel checking the alpha channel than just a bulk memory copy.

      1 Reply Last reply
      0
      • O Offline
        O Offline
        oneWonders
        wrote on last edited by
        #3

        Well surely they could have an optional flag that you can set to use the alpha channel, so that if you don't want it then you still have the improved speed?

        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