<?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[Videolänge]]></title><description><![CDATA[<p>Gibt es eine Funktion, mit der man die Länge eines Videos (mpg, avi) rauskriegt? Ich würde nähmlich gerne einen neuen Dialog starten, den Film abspielen und dann wieder schliessenv (...den Dialog).</p>
<p>mfg Thomas</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/109573/videolänge</link><generator>RSS for Node</generator><lastBuildDate>Tue, 30 Jun 2026 16:40:48 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/109573.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 11 May 2005 12:00:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Videolänge on Wed, 11 May 2005 12:00:14 GMT]]></title><description><![CDATA[<p>Gibt es eine Funktion, mit der man die Länge eines Videos (mpg, avi) rauskriegt? Ich würde nähmlich gerne einen neuen Dialog starten, den Film abspielen und dann wieder schliessenv (...den Dialog).</p>
<p>mfg Thomas</p>
]]></description><link>https://www.c-plusplus.net/forum/post/786486</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/786486</guid><dc:creator><![CDATA[black_sheep_thomas]]></dc:creator><pubDate>Wed, 11 May 2005 12:00:14 GMT</pubDate></item><item><title><![CDATA[Reply to Videolänge on Wed, 11 May 2005 14:07:15 GMT]]></title><description><![CDATA[<p>ich würde ne DirectShow graph aufbauen und dann den MediaStream nach der speilzeit fragen, geht ungefähr so:</p>
<pre><code class="language-cpp">AMMultiMediaStream *pAMStream=NULL;
CoCreateInstance(CLSID_AMMultiMediaStream, NULL, 
                 CLSCTX_INPROC_SERVER, IID_IAMMultiMediaStream, 
                 (void **)&amp;pAMStream);
//..
pAMStream-&gt;OpenFile(filename);
//..
IMultiMediaStream *pmmStream=NULL;
pAMStream-&gt;QueryInterface(IID_IMultiMediaStream, (void**)&amp;pmmStream);
//..
pmmStream-&gt;GetDuration(); // &lt;--
//..
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/786628</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/786628</guid><dc:creator><![CDATA[CMatt]]></dc:creator><pubDate>Wed, 11 May 2005 14:07:15 GMT</pubDate></item><item><title><![CDATA[Reply to Videolänge on Fri, 13 May 2005 19:42:56 GMT]]></title><description><![CDATA[<p>wird sofort ausprobiert.<br />
thx</p>
]]></description><link>https://www.c-plusplus.net/forum/post/788170</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/788170</guid><dc:creator><![CDATA[black_sheep_thomas]]></dc:creator><pubDate>Fri, 13 May 2005 19:42:56 GMT</pubDate></item></channel></rss>