<?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[Streamvorschau]]></title><description><![CDATA[<p>Hi Leute,</p>
<p>ich versuche gerade ein Script von Windows Media Encoder umzusetzen.<br />
Ich möchte hier die Vorschau für einen Stream realisieren.<br />
Im Augenblick muß ich wohl ein Videoobjekt einfügen und es mit dem Code verbinden. Kann mir einer dabei helfen? Ich weiß echt nicht welche Komponente ich dort benötigen.<br />
Im Code sieht es so aus:</p>
<pre><code>// Retrieve a pointer to a preview object.
    if ( SUCCEEDED( hr ) )
    {
        hr = CoCreateInstance( CLSID_WMEncPreview,
            NULL,
            CLSCTX_INPROC_SERVER,
            IID_IWMEncDataView,
            (void**)&amp;pPreview);
    }

    // Retrieve the preview collection.
    if ( SUCCEEDED( hr ) )
    {
        hr = pSrcVid-&gt;get_PreviewCollection( &amp;pPreviewColl );
    }

    // Add the postiew object to the data view collection. If you set the
    // cookie to -1, the encoder engine automatically generates a unique cookie.
    long lCookie = -1;
    if ( SUCCEEDED( hr ) )
    {
        hr = pPreviewColl-&gt;Add( pPreview, &amp;lCookie);
    }
</code></pre>
<p>c.u.<br />
Trikor</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/54227/streamvorschau</link><generator>RSS for Node</generator><lastBuildDate>Mon, 01 Jun 2026 16:49:08 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/54227.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 05 Nov 2003 14:50:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Streamvorschau on Wed, 05 Nov 2003 14:50:07 GMT]]></title><description><![CDATA[<p>Hi Leute,</p>
<p>ich versuche gerade ein Script von Windows Media Encoder umzusetzen.<br />
Ich möchte hier die Vorschau für einen Stream realisieren.<br />
Im Augenblick muß ich wohl ein Videoobjekt einfügen und es mit dem Code verbinden. Kann mir einer dabei helfen? Ich weiß echt nicht welche Komponente ich dort benötigen.<br />
Im Code sieht es so aus:</p>
<pre><code>// Retrieve a pointer to a preview object.
    if ( SUCCEEDED( hr ) )
    {
        hr = CoCreateInstance( CLSID_WMEncPreview,
            NULL,
            CLSCTX_INPROC_SERVER,
            IID_IWMEncDataView,
            (void**)&amp;pPreview);
    }

    // Retrieve the preview collection.
    if ( SUCCEEDED( hr ) )
    {
        hr = pSrcVid-&gt;get_PreviewCollection( &amp;pPreviewColl );
    }

    // Add the postiew object to the data view collection. If you set the
    // cookie to -1, the encoder engine automatically generates a unique cookie.
    long lCookie = -1;
    if ( SUCCEEDED( hr ) )
    {
        hr = pPreviewColl-&gt;Add( pPreview, &amp;lCookie);
    }
</code></pre>
<p>c.u.<br />
Trikor</p>
]]></description><link>https://www.c-plusplus.net/forum/post/387328</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/387328</guid><dc:creator><![CDATA[Trikor]]></dc:creator><pubDate>Wed, 05 Nov 2003 14:50:07 GMT</pubDate></item><item><title><![CDATA[Reply to Streamvorschau on Fri, 07 Nov 2003 09:55:31 GMT]]></title><description><![CDATA[<p>Bitte nicht vergessen. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/388696</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/388696</guid><dc:creator><![CDATA[Trikor]]></dc:creator><pubDate>Fri, 07 Nov 2003 09:55:31 GMT</pubDate></item></channel></rss>