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. Getting a lot of banding when playing video with a QGraphicsViewItem
Forum Updated to NodeBB v4.3 + New Features

Getting a lot of banding when playing video with a QGraphicsViewItem

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 743 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.
  • Z Offline
    Z Offline
    Zapfyr
    wrote on last edited by
    #1

    I have been playing around a bit with the QGraphicsVideoItem in QT 5.1.0 in Windows 8. And for some reason I get a lot of banding in every video I play. When rendering an image with a gradient no banding occurs, which should mean that the issue is not with the scene or view but with the actual rendering/decoding of the video.

    My test scene, where I render one 720p H264 coded video as a background, an image (the gradient) and the trailer of The Hobbit (1080p H264).
    !http://tux.servegame.org/~zapfyr/Screenshot_banding.png(Test scene)!

    How one of the videos looks when played in VLC.
    !http://tux.servegame.org/~zapfyr/Screenshot_non-banding.png(Video played in VLC)!

    Some movies works better than others I have tried a bunch of different coded movies. Where Theora does not work at all (black) while MPEG4 and H264 gives a lot of banding and in some cases just blinks and produce some artifacts. The only video I could render without problems where a video coded with Microsoft MPEG-4 4.2.

    Does it use Windows Media Foundation? And if so how do I add better codecs to it? I want to be able to play as many different coded movies as possible, but it would be fine if H264 or MPEG4 worked well.

    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