MP3 Custom Settings 1.1

From Aviberry API

Jump to: navigation, search

Contents
Other formats
Still have a question?


Contents

Frequency

Frequency - audio sample rate.
Can possess the following values: 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000 kHz.
The special value 0 is used for automatic frequency selection.

Default value - 0 (automatic frequency selection).

Channels

Channels - number of channels.
Default value - 0.

Can possess the following values:

Value Description
0 The same as input
1 Mono
2 Stereo

Bitrate

Bitrate - audio bitrate.
Default value - 24 kbit/s.
Can possess the following values: 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320 kbit/s.

StereoMode

StereoMode - stereo mode. Is used only if Channels=0 or Channels=2.
Default value - 1.

Value Description
1 Joint stereo
2 Two channels

VBR

VBR - using variable bitrate.

Can possess values from 0 to 9.
The special value VBR=-1 - don't use variable bitrate.

Default value - -1.

Examples

XML-RPC

<member> <name>format_id</name> <value><string>16511</string></value> </member> <member> <name>preset_id</name> <value><string>-2</string></value> </member> <member> <name>preset_data</name> <value><string> { "Frequency":0, "Channels":0, "Bitrate":192, "StereoMode":2, "VBR":-1 } </string></value> </member>

JSON-RPC

"preset":[ { "format_id":"16511", "preset_id":"-2", "preset_data":" { \"Frequency\":\"0\", \"Channels\":\"0\", \"Bitrate\":\"192\", \"StereoMode\":\"2\", \"VBR\":\"-1\" }" }]



Contents
Other formats
Still have a question?

Views
Personal tools