gpt4 book ai didi

c++ - 自定义 WM 配置文件 - 编解码器问题

转载 作者:可可西里 更新时间:2023-11-01 10:51:26 24 4
gpt4 key购买 nike

我创建了我的自定义 WM 编码器配置文件。我需要定制的原因,非标准 WM 配置文件是我需要视频分辨率必须是与输入视频流相同。我创建了以下个人资料,但在我之后用它编码我的视频和音频,加载时的 WMP 说未找到 WMV1 编解码器并提示我下载 WM 编码器编解码器。安装后,问题依然存在。

<profile version="589824" 
storageformat="1"
name="mReplay Hi-End profile; WM Format 9; Audio &amp;
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>

最佳答案

您的媒体子类型的 guid 不正确:31564D57-0000-0010-8000-00AA00389B71 是 Windows Media 7(又名 WMV1)。

安装 Windows Media Encoder 9 .它带有一个配置文件编辑器,因此您只需双击 .prx 文件,或加载它并创建一个新的配置文件。

关于c++ - 自定义 WM 配置文件 - 编解码器问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1519889/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com