Custom WM profile - issues with codec
Posted
by dominolog
on Stack Overflow
See other posts from Stack Overflow
or by dominolog
Published on 2009-10-05T12:47:27Z
Indexed on
2010/04/20
15:03 UTC
Read the original article
Hit count: 221
Hello I create my custom WM encoder profile. The reason I need a custom, non standard WM profile is that I need that the video resolution must be the same as input video stream. I created below profile but after I encode my video and audio with it, the WMP while loading says that the WMV1 codec is not found and prompts me for downloading WM encoder codecs. After installing them, the problem still exists.
<profile version="589824"
storageformat="1"
name="mReplay Hi-End profile; WM Format 9; Audio &
Video"
description="Streams: 1 audio 1 video">
<streamconfig
majortype="{73647561-0000-0010-8000-00AA00389B71}"
streamnumber="1"
streamname="Audio Stream"
inputname="Audio409"
bitrate="320008"
bufferwindow="-1"
reliabletransport="0"
decodercomplexity=""
rfc1766langid="en-us"
>
<wmmediatype
subtype="{00000161-0000-0010-8000-00AA00389B71}"
bfixedsizesamples="1"
btemporalcompression="0"
lsamplesize="14861">
<waveformatex wFormatTag="353"
nChannels="2"
nSamplesPerSec="44100"
nAvgBytesPerSec="40001"
nBlockAlign="14861"
wBitsPerSample="16"
codecdata="008800000F0035E80000"/>
</wmmediatype>
</streamconfig>
<streamconfig
majortype="{73646976-0000-0010-8000-00AA00389B71}"
streamnumber="2"
streamname="Video Stream"
inputname="Video409"
bitrate="100000"
bufferwindow="-1"
reliabletransport="0"
decodercomplexity="AU"
rfc1766langid="en-us"
vbrenabled="1"
vbrquality="95"
bitratemax="0"
bufferwindowmax="0">
<videomediaprops maxkeyframespacing="80000000"
quality="100"/>
<wmmediatype
subtype="{31564D57-0000-0010-8000-00AA00389B71}"
bfixedsizesamples="0"
btemporalcompression="1"
lsamplesize="0">
<videoinfoheader dwbitrate="100000"
dwbiterrorrate="0"
avgtimeperframe="400000">
<rcsource left="0"
top="0"
right="0"
bottom="0"/>
<rctarget left="0"
top="0"
right="0"
bottom="0"/>
<bitmapinfoheader biwidth="0"
biheight="0"
biplanes="1"
bibitcount="24"
bicompression="WMV1"
bisizeimage="0"
bixpelspermeter="0"
biypelspermeter="0"
biclrused="0"
biclrimportant="0"/>
</videoinfoheader>
</wmmediatype>
</streamconfig>
<streamprioritization>
<stream number="1" mandatory="0"/>
<stream number="2" mandatory="0"/>
</streamprioritization>
</profile>
© Stack Overflow or respective owner