Adding WEB stream into ASF file
- From: "garkushan" <garkusha.nikolay@xxxxxxxxx>
- Date: 26 Dec 2006 12:46:16 -0800
Hello guys.
I have a problem when I trying to create a wmv file with
one web stream. I genereted profile by GenProfile.exe
utility from Windows Media Format SDK 9.5
Here is example of the profile:
<profile version="589824"
storageformat="1"
name="WEB"
description="Streams: 1 web">
<streamconfig
majortype="{D9E47579-930E-4427-ADFC-AD80F290E470}"
streamnumber="1"
streamname="Web1"
inputname=""
bitrate="50000"
bufferwindow="3000"
reliabletransport="1"
decodercomplexity=""
rfc1766langid="ru"
<wmmediatype
subtype="{776257D4-C627-41CB-8F81-7AC7FF1C40CC}"
bfixedsizesamples="0"
btemporalcompression="1"
lsamplesize="0">
<webstreamformat cbSize="8"
cbSampleHeaderFixedData="10"
wVersion="1" />
</wmmediatype>
</streamconfig>
</profile>
For initialization profile in my project I choose LoadProfileByData
function, and it work fine, but when I call:
WMCreateWriter(NULL,&m_pWriter);
hr = m_pWriter->SetProfile(m_pProfile);
SetProfile return 0xc00d0bc6(The profile is invalid).
It's strange, because another profiles genereted by GenProfile.exe
utility work fine with Writer object.
Could anybody help me with this problem,
or show me the correct way to add the web stream into ASF file?
Thanks.
.
- Follow-Ups:
- Re: Adding WEB stream into ASF file
- From: sasha
- Re: Adding WEB stream into ASF file
- Prev by Date: Re: MPEG4 elementary stream to *.asf
- Next by Date: Re: WMP 10 SDK: How the *bleep* does it decide what pixel format t
- Previous by thread: MPEG4 elementary stream to *.asf
- Next by thread: Re: Adding WEB stream into ASF file
- Index(es):
Relevant Pages
|
Loading