<?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[QMediaPlayer&#x2F;QGraphicsVideoItem memory leak and crash]]></title><description><![CDATA[<p dir="auto">Hi there…<br />
I’m creating my own app to play different videos in parallel in the same widget.<br />
I’ve started using Qt example “videographicsitem” and so my code looks like this:<br />
@<br />
videoItem = new QGraphicsVideoItem;</p>
<pre><code>QGraphicsScene *scene = new QGraphicsScene(this);
QGraphicsView *graphicsView = new QGraphicsView(scene);
graphicsView-&gt;setViewport(new QGLWidget());
scene-&gt;addItem(videoItem);

QBoxLayout *layout = new QVBoxLayout;
layout-&gt;addWidget(graphicsView);
setLayout(layout);
mediaPlayer.setVideoOutput(videoItem);
</code></pre>
<p dir="auto">@</p>
<h2>My videos runs in loop using QMediaPlaylist and depending on video's weight, I receive different error and moreover I always see a  growing memory that results in a complete stuck and crash:</h2>
<p dir="auto">handleSessionEvent: serious error =  -2147024882<br />
session close time out!<br />
....<br />
createDIB: CreateDIBSection failed.<br />
DXGI WARNING: Process is terminating. Using simple reporting. Please call ReportLiveObjects() at runtime for standard reporting. [ STATE_CREATION WARNING #0: ]<br />
DXGI WARNING: Live Producer at 0x048F6920, Refcount: 2. [ STATE_CREATION WARNING #0: ]<br />
DXGI WARNING:  Live Object at 0x00AD9360, Refcount: 2. [ STATE_CREATION WARNING #0: ]<br />
DXGI WARNING: Live                         Object :      1 [ STATE_CREATION WARNING #0: ]</p>
<p dir="auto">Some times problem during compressing buffer</p>
<p dir="auto">thanks in advance<br />
Gianni</p>
]]></description><link>https://forum.qt.io/topic/30370/qmediaplayer-qgraphicsvideoitem-memory-leak-and-crash</link><generator>RSS for Node</generator><lastBuildDate>Mon, 04 May 2026 19:09:26 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/30370.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 06 Aug 2013 14:52:23 GMT</pubDate><ttl>60</ttl></channel></rss>