This article describes how to control video decoding using the Wowza Streaming Engine™ media server software Transcoder. Users with advanced decoding knowledge can log all available video decoding parameters and their current values. You can use this information to adjust the transcoding parameters for transcoded streams.
Contents
Logging available video decoding parameters
Configuring video decoding parameters
More resources
Logging available video decoding parameters
When using Transcoder, you can log all available video decoding parameters with their current values for the <Decode> block to the wowzastreamingengine_access.log file.
To do this, open the Transcoder template in a text editor. You can find Transcoder templates at this location ([install-dir]/transcoder/templates) in your Wowza Streaming Engine installation. Add the following property to the <Properties> container in the <Decode> block in the template:
<Property> <Name>logVideoDecodingParameters</Name> <Value>true</Value> <Type>Boolean</Type> </Property>
A section of the data logged in the wowzastreamingengine_access.log file may look like this:
# long: deinterlaceDoubleRate: 0:single rate (default), 1:double rate
default.deinterlaceDoubleRate: 0
You can then use this information to adjust the transcoded with the available video decoding parameters that are logged.
Configuring video decoding parameters
You must use a text editor to configure video parameters in the transcoder template files ([install-dir]/transcoder/templates) in your Wowza Streaming Engine installation. They can't be configured using Wowza Streaming Engine Manager.
Open the Transcoder template in a text editor and add a <Parameter> section to the <Video>/<Parameters> container in the <Decode> block, as shown in the following example configuration. Then restart Wowza Streaming Engine for the changes to take effect.
Example configuration
Let's take this deinterlace rate method video parameter defined as available and in use in the wowzastreamingengine_access.log file:
# long: deinterlaceDoubleRate: 0:single rate (default), 1:double rate
default.deinterlaceDoubleRate: 0
You can use this information to change the deinterlace rate method being utilized by adding the following <Parameter> section to the <Video>/<Parameters> container in the <Decode> block in the template.
<Parameter> <!-- 0:single rate (default), 1:double rate --> <Name>default.deinterlaceDoubleRate</Name> <Value>0</Value> <Type>Long</Type> </Parameter>
Note: Logs do not report a warning or error for invalid parameter values. If you specify an invalid value, the Transcoder uses the default value for the parameter instead, which is reflected in the logs.