Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Entertainment » microsoft.public.windowsmedia.sdk
Thread: Creating WMV file

HTVi
TV Discussion Newsgroups

Creating WMV file
Adarsh 5/11/2007 4:43:01 AM
Hi All,

I would like to create an activeX control using VC++ MFC.In side the
activeX control i like to create wmv file from the rgb buffer,which contains
the bits that is used to paint ActiveX GUI.

Please anyone suggest me how can i create Windows Media file from the
buffer?I will appreciate if sample code could be given!

Thank YOu
Adarsh
Re: Creating WMV file
"Alessandro Angeli" <nobody[ at ]nowhere.in.the.net> 5/11/2007 5:37:11 AM
From: "Adarsh"

[Quoted Text]
> I would like to create an activeX control using
> VC++ MFC.In side the activeX control i like to create wmv
> file from the rgb buffer,which contains the bits that is
> used to paint ActiveX GUI.
>
> Please anyone suggest me how can i create Windows Media
> file from the buffer?I will appreciate if sample code
> could be given!

The UncompAVIToWMV sample in the WMF SDK creates WMV files
from RGB buffers read from an AVI file: just replace the AVI
reading part with your bitmap grabbing code.


--
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// mvpnews at riseoftheants dot com
// http://www.riseoftheants.com/mmx/faq.htm


Re: Creating WMV file
Adarsh 5/11/2007 6:46:00 AM
Hi ,
Thank you for giving me some idea.
but my problem continous...

I am copying the header files one bye one form WMSDK to ../vc98/include/
directory.But after copying the shtypes.h its giving some error.How can i
solve this?

Please help me....

Regards
Adarsh

"Alessandro Angeli" wrote:

[Quoted Text]
> From: "Adarsh"
>
> > I would like to create an activeX control using
> > VC++ MFC.In side the activeX control i like to create wmv
> > file from the rgb buffer,which contains the bits that is
> > used to paint ActiveX GUI.
> >
> > Please anyone suggest me how can i create Windows Media
> > file from the buffer?I will appreciate if sample code
> > could be given!
>
> The UncompAVIToWMV sample in the WMF SDK creates WMV files
> from RGB buffers read from an AVI file: just replace the AVI
> reading part with your bitmap grabbing code.
>
>
> --
> // Alessandro Angeli
> // MVP :: DirectShow / MediaFoundation
> // mvpnews at riseoftheants dot com
> // http://www.riseoftheants.com/mmx/faq.htm
>
>
>
Re: Creating WMV file
"Alessandro Angeli" <nobody[ at ]nowhere.in.the.net> 5/11/2007 3:34:52 PM
From: "Adarsh"

[Quoted Text]
> I am copying the header files one bye one form WMSDK to
> ../vc98/include/ directory.But after copying the
> shtypes.h its giving some error.How can i solve this?

The WMF 11 SDK is incompatible with older PSDKs. Either you
upgrade the PSDK to the Windows SDK for Vista (the name is
misleading: it should be "Platform SDK for Windows up to
Vista") or you downgrade to the WMF 9.5 SDK (I suggest the
latter solution). In any case, why are you moving the WMF
SDK's files instead of simply setting the correct
include/lib directories in the compiler's settings?


--
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// mvpnews at riseoftheants dot com
// http://www.riseoftheants.com/mmx/faq.htm


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen