audenc
Tip
Starting with release 1.5, you can specify a comma-separated list of IDs as well as a range of IDs for the operation, for example, auden
c 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, you can specify a range or a comma-separated list of IDs for the operation, as shown in the examples that follow.
The Makito X4 and the Makito X4 Single Channel both support up to 32 audio encoders, the encoder ID numbers are 0-31.
Synopsis
audenc ID start |
Actions
Action | Description |
---|---|
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 |
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 |
clear | Clears the encoder’s statistics. |
help | Displays usage information for the audenc command |
Parameters
Parameter | Default | Description/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+2 | The Audio Input for the encoder. This determines the SDI input interface and the input channel.
Note For Surround Sound audio, the input determines the input channel pair where the audio encoding begins. The last channel to encode will be determined by the mode (i.e. the number of channels used in the channel mode). For example: If the mode is set to 5.1 (6 channels), and the input is set to SDI1Ch3+4, the start channel will be channel 3 and the end channel will channel 8 (3 to 8 inclusive = 6 channels). An exception is 5.0 mode which uses 3 channel pairs (6 channels), but skips the 4th channel of the set. This means that only 5 channels are encoded, but the audio encoding still ends at the 6th channel. |
language | n/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:
|
level | 6 | (Applicable only to the Makito X4 Rugged with an Analog Input) Adjusts the maximum analog Audio Input signal level (0 dBfs):
|
algorithm | [mpeg2]adts | The audio compression algorithm:
|
mode | stereo | The number and type of audio channels to encode.
|
sample rate | 48 kHz | The number of audio samples per second taken from the incoming signal.
Note See |
bitrate | 128 kbps | The Audio Bitrate for the encoder 4...2016. The available bitrate range depends on the current Note This parameter is unused when the codec is 16 bit Pass-Through, instead, the bitrate is a fixed number determined by the number of channel pairs carried. 48 kHz sample rate:
16 kHz sample rate: (analog only):
|
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 |
# audenc 0 get stats Returns audio statistics for the encoder, such as: Encoder ID : 0 |
# audenc 0 get stats Returns audio statistics for a Rugged encoder configured for Analog Input, such as: Encoder ID : 0 |
Related Topics