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.
- On the Makito X-DVI, the encoder ID is 0, 1, 2, or 3.
- On the Makito X-SDI, the encoder ID is 0, 1, 2, 3, 4, 5, 6, or 7.
For details, see Configuring Audio Encoders.
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, stats, 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 |
---|---|---|
| Analog | The Audio Input for the encoder. The available values depend on your Makito X device. For Makito X DVI devices:
For Makito X SDI devices:
|
| 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:
| |
| 6 | The maximum analog Audio Input level from +5dBU up to +20dBU. Note Only applies to Analog Audio Input. |
| stereo | The number and type of audio channels to encode.
|
| [mpeg2]adts | The audio compression algorithm:
|
| 128 kbps | The Audio Bitrate for the encoder. Note The available bitrate range depends on the current mode.
|
| Auto | Selects the video input from which the audio STC (System Time Clock) is derived. The available values depend on your Makito X device. For Makito X DVI devices:
For Makito X SDI devices:
Note When configuring the audio, in some cases, it may be necessary to specify the video input from which to derive the audio clock. An example would be if both SDI and Analog audio inputs are connected and you create two streams that share video input but each stream uses a different audio input. For more information, see System Time Clock Interface (Video Input Selection) below. |
System Time Clock Interface (Video Input Selection)
When configuring the audio, you have to specify the video input from which to derive the audio clock so that it “runs” in lockstep with the video input and its STC (System Time Clock) moves forward at the same rate. This helps decoders with the playback and lip sync.
When audio encoders are configured to use an SDI input (SDI1chx or SDI2chy), it is expected and recommended that the source of the video for that encoder is the exact same SDI input. However, when audio encoders are configured to use an Analog input, the encoder has no way to know from which video input this particular audio encoder should derive its clock and STC.
When you set stcif to Auto selection of the STC source, when a new stream is created or started, if the stream contains audio and is using Analog for an input, the encoder checks if the stream also has video. If it does, it checks the currently configured input for that video encoder and sets the STC source of the audio encoder to match it.
Examples
# audenc 0 set input=SDI1CH1+2 For Makito X SDI, sets the Audio Input to SDI1CH1+2 |
# audenc 0 set input=DVICH12 For Makito X DVI, sets the Audio Input to DVICH1+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 status information for the encoder, such as: Encoder ID : 0 |