WAV Custom Settings 1.1

From Aviberry API

Jump to: navigation, search

Contents
Other formats
Still have a question?


Contents

AudioCodec

AudioCodec - audio codec.
Can possess the following values:

Value Description
10 Windows Media Audio Voice 9
353 Windows Media Audio 9.2
354 Windows Media Audio 10 Professional

Frequency

Frequency - audio sample rate.
Default value - 8000 kHz.

Can possess the following values: 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000 kHz.

Channels

Channels - number of channels.

Can possess the following values:

Value Description
1 Mono
2 Stereo

Bitrate

Bitrate - audio bitrate. The measurement unit is bit/s.

PeakBitrate

PeakBitrate - maximal bitrate value. The measurement unit is bit/s. Is used only if VBRMode=1.

PeakBuffer

PeakBuffer - maximal delay between receiving and displaying the stream. The measurement unit is ms. Is used only if VBRMode=1.

VBRMode

VBRMode - using variable audio bitrate.
Can possess the following values:

Value Description
0 Use constant bitrate
1 Use variable bitrate (supported by Windows Media Audio Voice 9.2 codec only)

VBRQuality

VBRQuality - affects audio quality. The higher the value is, the better the quality is, but the lower the conversion speed is. Is used only if VBRMode=1. Can possess values from 1 to 100.

Passes

Passes - number of passes used when encoding.
Currently, only Passes=1 is supported.

IsAV

IsAV - it's recommended to always set IsAV=0 for audio files.

Parameter Combinations

When converting to WMV and WMA formats, you should remember that not every parameter combination will be correct.
Supported combinations can vary depending on selected audio codec.
For more information, please check Parameter combinations for WMV and WMA

Examples

XML-RPC

<member> <name>format_id</name> <value><string>16512</string></value> </member> <member> <name>preset_id</name> <value><string>-2</string></value> </member> <member> <name>preset_data</name> <value><string> { "AudioCodec":"353", "Frequency":"48000", "Channels":"1", "Bitrate":"64000", "PeakBitrate":"0", "PeakBuffer":"0", "VBRMode":"0", "VBRQuality":"100", "Passes":"1", "IsAV":"0" } </string></value> </member>

JSON-RPC

"preset":[ { "format_id":"16512", "preset_id":"-2", "preset_data":" { \"AudioCodec\":\"353\", \"Frequency\":\"48000\", \"Channels\":\"1\", \"Bitrate\":\"64000\", \"PeakBitrate\":\"0\", \"PeakBuffer\":\"0\", \"VBRMode\":\"0\", \"VBRQuality\":\"100\", \"Passes\":\"1\", \"IsAV\":\"0\" }" }]



Contents
Other formats
Still have a question?

Views
Personal tools