<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Getting a lot of banding when playing video with a QGraphicsViewItem]]></title><description><![CDATA[<p dir="auto">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.</p>
<p dir="auto">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).<br />
!<a href="http://tux.servegame.org/~zapfyr/Screenshot_banding.png" target="_blank" rel="noopener noreferrer nofollow ugc">http://tux.servegame.org/~zapfyr/Screenshot_banding.png</a>(Test scene)!</p>
<p dir="auto">How one of the videos looks when played in VLC.<br />
!<a href="http://tux.servegame.org/~zapfyr/Screenshot_non-banding.png" target="_blank" rel="noopener noreferrer nofollow ugc">http://tux.servegame.org/~zapfyr/Screenshot_non-banding.png</a>(Video played in VLC)!</p>
<p dir="auto">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.</p>
<p dir="auto">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.</p>
]]></description><link>https://forum.qt.io/topic/29778/getting-a-lot-of-banding-when-playing-video-with-a-qgraphicsviewitem</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 01:33:22 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/29778.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 23 Jul 2013 08:59:56 GMT</pubDate><ttl>60</ttl></channel></rss>