Skip to main content

audenc

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. You can specify a range or a comma-separated list of IDs for the operation, as shown in the examples that follow.

The Makito X1 supports up to 4 audio encoders, the encoder ID numbers are 0-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. Options are:
  • Analog
  • 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

(Analog Input only) Adjusts the maximum analog Audio Input signal level (0 dBfs).

Level range: -6dBu to 0dBu

modestereo

The number and type of audio channels to encode.

  • mono (left)
  • monoright
  • stereo (2.0)
  • 3 ch (3.0)
  • 4 ch (4.0)
  • 5 ch (5.0)
  • 6 ch (5.1)
  • 7 ch 

    Note

    7ch mode is available only when the algorithm is set to 16BitPassThrough. 

  • 8 ch (7.1)

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.
  • 16BitPassThrough - 16 bit Audio PCM data is passed through the encoder without compression.
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 (Available for Analog Input 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. Overall range: 4...2016

Note

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


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 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.