流媒体技术世界——分享技术,增值服务
如何调整Wowza Transcoder的解码参数?
每一个转码模板都有一个唯一的Decode设置,你可以在转码模板的中的中添加以下参数,这样可以在Log中打印一些更详细的解码参数信息。

<Property>
	<Name>logVideoDecodingParameters</Name>
	<Value>true</Value>
	<Type>Boolean</Type>
</Property>

输出的日志信息位于wowzastreamingengine_access.log文件中,看起来应该是下面的样子:

TranscoderWorkerVideoDecoder.setupDecoder[_defaultVHost_:live/_definst_/myStream: decodeIterations:0]: Video decoding parameters
# long: dpb_size: Set DPB size option
mainconcept.dpb_size: 0
# long: deinterlaceDoubleRate: 0:single rate (default), 1:double rate
default.deinterlaceDoubleRate: 0
# long: optCPUNum: Sets number of logical CPUs, which can be used in specified SMP mode by the optSMPMode command
mainconcept.optCPUNum: 4
# long: optACCMode: Hardware acceleration mode: 0:ACC_MODE_NONE, 1:ACC_MODE_DXVA1, 2:ACC_MODE_DXVA2, 3:ACC_MODE_NVCUVID
mainconcept.optACCMode: -1
# long: output_8bit: Allow only 8bit output image option: 0:off, 1:on
mainconcept.output_8bit: 0
# long: deinterlace: 1=default (field interpolation top),256=field interpolation top, 768=field interpolation bottom, 512=vertical smoothing (add 2048 to reorder fields)
default.deinterlace: 0
# long: optSMPMode: Sets symmetric multiprocessing (SMP) mode of decoding: 0:SMP_NONE, 1:SMP_BY_PICTURES, 2:SMP_BY_SLICES
mainconcept.optSMPMode: 1
# long: maxTemporalLayer: Set maximum layer to be decode (default is 8)
mainconcept.maxTemporalLayer: 0
# long: ec: Set Error concealemnt modes (bitmask): 0:NONE, 1:SHOW_BASE_LAYER (SVC only), 2:CONCEAL_ERROR_FRAMES, 4:TEMPORAL_FOR_INTRA, 8:ERRORLESS_REF_ONLY
mainconcept.ec: 0
# long: loop_filter: Set loop filter mode option: 0:off, 1:on
mainconcept.loop_filter: 1
# long: mv_precision: Limits precision of motion vectors option: 0:PRECISION_QUARTER, 1:H264VD_MV_PRECISION_HALF, 2:H264VD_MV_PRECISION_FULL
mainconcept.mv_precision: 0

根据这些信息,你可以在转码模板的<Decode>部分的Video下的<Parameters>中添加这些一个Parameter参数,将参数设置为你希望的值。

举个例子:

比如下面这个日志:
# long: deinterlaceDoubleRate: 0:single rate (default), 1:double rate
default.deinterlaceDoubleRate: 0

我们可以用下面的配置来修改deinterlaceDoubleRate的设置:
<Parameter>
	<!-- 0:single rate (default), 1:double rate -->
	<Name>default.deinterlaceDoubleRate</Name>
	<Value>0</Value>
	<Type>Long</Type>
</Parameter>
	
匿名用户
评论

我们的地址


北京市朝阳区管庄西里建基商务楼423室


邮编:100024

关于我们


北京联方信科信息技术有限责任公司


官网:www.ttstream.com

联系我们


王经理:phone


柳经理:phone

京ICP备14033868号-2