我创建了我的自定义 WM 编码器配置文件。我需要自定义的非标准 WM 配置文件的原因是我需要视频分辨率必须与输入视频流相同。我创建了下面的配置文件,但在我用它编码我的视频和音频后,加载时的 WMP 说未找到 WMV1 编解码器并提示我下载 WM 编码器编解码器。安装它们后,问题仍然存在。
<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>