Skip to main content

audenc

Tip

Starting release 1.2, you can specify a comma-separated list of IDs as well as a range of IDs for the operation, for example, audenc 3,2,0 start or audenc 3-0 stop.

The audenc command is used to manage encoder audio acquisition settings. The audenc start and audenc stop commands can be used to start and stop encoding of the audio input. ID is either the encoder ID or all. As of Makito X4 v1.5, Makito X1 v1.2, and Makito FX v1.0 you can specify a range or a comma-separated list of IDs for the operation, as shown in the examples that follow.

The number of encoders varies with the hardware platform: 

Makito X4

encoder ID is a number between 0 and 31.

Makito X4 Single Channel encoder ID is a number between 0 and 31.
Makito X1encoder ID is a number between 0 and 3.
Makito FX encoder ID is a number between 0 and 3. 


Synopsis

audenc ID start
audenc ID stop
audenc ID mute
audenc ID unmute
audenc ID set parameter=value [parameter=value...]
audenc ID get [config, stats, all]
audenc ID clear

Actions

ActionDescription

start

Activates encoding of the audio input.

stop

Stops encoding of the audio input.

mute

Mutes encoding of the audio input (i.e., causes the encoder to encode silence instead of the selected audio input.)

Tip

This may be used when you do not wish to encode the audio but the decoder being used does not support decoding of video-only streams.

unmute

Resumes encoding of the audio input (when muted)

set

Configures encoder audio parameters. A series of one or more parameter=value pairs can be specified at once. See Parameters below.

get

Displays encoder audio status information. You can specify configuration, statistics, or all audio information.

Tip

To display a summary of all the encoders in a table format, you can use audenc all get table.

clear

Clears the encoder’s statistics.

help

Displays usage information for the audenc command

Parameters

ParameterDefaultDescription/Values
name

Audio Encoder 0, 1, 2...

A unique descriptive name of up to 63  characters. Using 'none' will revert the audio encoder's name to the default. 
input
SDI1CH1+2The Audio Input for the encoder.

The available inputs for Makito X4 devices:

  • Analog (Makito X4 Rugged only)
  • SDI1CH1+2, SDI1CH3+4, SDI1CH5+6, SDI1CH7+8, SDI1CH9+10, SDI1CH11+12, SDI1CH13+14, SDI1CH15+16
  • SDI2CH1+2, SDI2CH3+4, SDI2CH5+6, SDI2CH7+8, SDI2CH9+10, SDI2CH11+12, SDI2CH13+14, SDI2CH15+16

  • SDI3CH1+2, SDI3CH3+4, SDI3CH5+6, SDI3CH7+8, SDI3CH9+10, SDI3CH11+12, SDI3CH13+14, SDI3CH15+16
  • SDI4CH1+2, SDI4CH3+4, SDI4CH5+6, SDI4CH7+8, SDI4CH9+10, SDI4CH11+12, SDI4CH13+14, SDI4CH15+16

SDI1CH1+2

The available inputs for Makito X1 devices:

  • Analog, SDI1CH1+2, SDI1CH3+4, SDI1CH5+6, SDI1CH7+8, SDI1CH9+10, SDI1CH11+12, SDI1CH13+14, SDI1CH15+16
HDMICh1+2 

The available inputs for Makito FX devices: 

  • HDMI1Ch1+2
  • SDI1Ch1+2, SDI1Ch3+4, SDI1Ch5+6, SDI1Ch7+8, SDI1Ch9+10, SDI1Ch11+12, SDI1Ch13+14, SDI1Ch15+16
languagen/a

The language used for input. Enter a 3-character long ISO639-2 code or none.

If you don't know the code for a language, you can directly enter one of the languages below in full or abbreviated form:

  • Albanian, Arabic, Armenian, Bulgarian, Chinese, Croatian, Czech,
  • Danish, Dutch, English, Estonian, Finnish, French, German, Greek,
  • Hebrew, Hindi, Hungarian, Indonesian, Irish, Icelandic, Italian,
  • Japanese, Khmer, Korean, Latvian, Lithuanian, Malay, Maltese,
  • Mongolian, Norwegian, Punjabi, Persian, Polish, Portuguese,
  • Romanian, Russian, Slovak, Slovenian, Spanish, Swahili, Swedish,
  • Turkish, Ukrainian, Vietnamese.
level6

(Makito X1 and Makito X4 Rugged, Analog Input only) Adjusts the maximum analog Audio Input signal level (0 dBfs):

  • Makito X4 Rugged: from 0 to +6dBU
  • Makito X1: from -6 to 0dBU
modestereo

The number and type of audio channels to encode.

  • mono (left)
  • monoright
  • stereo
algorithm[mpeg2]adts

The audio compression algorithm:

  • [mpeg2]adts - Encodes audio using the ISO/IEC 13818-7 MPEG-2 AAC-LC algorithm with an ADTS header.
  • loas - Encodes audio using the ISO/IEC 14496-3 MPEG-4 AAC-LC algorithm with a LOAS/LATM header.
sample rate48 kHz

The number of audio samples per second taken from the incoming signal. 

  • 48 kHz (SDI audio is always sampled at 48 kHz)
  • 16 kHz (Analog Input, Makito X1 and Makito X4 Rugged only)  

Note

See bitrate (below) since the allowed bitrate ranges for 16 kHz sample rate are different than what was previously available for 48 kHz.

bitrate128 kbps

The Audio Bitrate for the encoder. 4..576

Note

The available bitrate range depends on the current mode and sample rate

As of v1.4, the Makito X4 allows lower audio encoding bitrates (intended for very limited bandwidth streaming situations), as well as higher quality audio encoding at higher bitrates.

48 KHz sample rate:

  • For mono, the bitrate range is 12 to 288 kbps.
  • For stereo, the bitrate range is 14 to 576 kbps.

16 KHz sample rate: (analog only):

  • For mono, the bitrate range is 4 to 96 kbps.
  • For stereo, the bitrate range is 5 to 192 kbps.

Examples

# audenc 0,2,3 start

Starts audio encoders 0, 2 and 3. You will receive the following confirmation:

3 audio encoders started successfully.
# audenc 0-3 stop

Stops audio encoders 0, 1, 2 and 3. 

4 audio encoders stopped successfully.
# audenc 0,2,4-6 stop

Stops audio encoders 0, 2, 4, 5 and 6

5 audio encoders stopped successfully.
# audenc 0 set input=SDI1CH1+2

Sets the Audio Input to SDI1CH1+2

# audenc 0 set bitrate=128

Sets the Audio Bitrate to 128. You will receive the following confirmation:

Audio encoder configured successfully
# audenc 0 get

or

# audenc 0 get config

Returns audio configuration information for the encoder, such as:

Encoder ID              : 0
Name : "Audio Encoder 0"
Configuration:
Audio Input : SDI1CH1+2
  Audio Language        : (None)
Audio Bitrate : 128 kbps
Audio Samplerate : 48 KHz
Audio Mode : Stereo
Audio Algorithm : MPEG2-ADTS
# audenc 0 get stats

Returns audio status information for the encoder, such as:

Encoder ID           : 0
Name : "Audio Encoder 0"
Statistics:
State : WORKING
Encoded Frames : 881,906
Encoded Bytes : 301,024,128
Encoded Bitrate : 128 kbps
Encoder Errors : 0
Encoder PTS : 0x06503e698
STC Source Interface : BNC-1
# audenc 0 get stats

Returns audio configuration information for a Rugged encoder configured for Analog Input, such as:

Encoder ID           : 0
Name                : "Audio Encoder 0"
Configuration:
Audio Input           : Analog
Audio Language        : (None)
Audio Bitrate         : 5 kbps
Audio Samplerate      : 16 kHz
Audio Mode            : Stereo
Audio Algorithm       : MPEG2-ADTS
  Audio Input Level     : 6 dBu

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.