AudioSelector class
Selector for Audio
Constructors
-
AudioSelector({String? customLanguageCode, AudioDefaultSelection? defaultSelection, String? externalAudioFileInput, LanguageCode? languageCode, int? offset, List<
int> ? pids, int? programSelection, RemixSettings? remixSettings, AudioSelectorType? selectorType, List<int> ? tracks}) -
AudioSelector.fromJson(Map<
String, dynamic> json) -
factory
Properties
- customLanguageCode → String?
-
Selects a specific language code from within an audio source, using the ISO
639-2 or ISO 639-3 three-letter language code
final
- defaultSelection → AudioDefaultSelection?
-
Enable this setting on one audio selector to set it as the default for the
job. The service uses this default for outputs where it can't find the
specified input audio. If you don't set a default, those outputs have no
audio.
final
- externalAudioFileInput → String?
-
Specifies audio data from an external file source.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- languageCode → LanguageCode?
-
Selects a specific language code from within an audio source.
final
- offset → int?
-
Specifies a time delta in milliseconds to offset the audio from the input
video.
final
-
pids
→ List<
int> ? -
Selects a specific PID from within an audio source (e.g. 257 selects PID
0x101).
final
- programSelection → int?
-
Use this setting for input streams that contain Dolby E, to have the service
extract specific program data from the track. To select multiple programs,
create multiple selectors with the same Track and different Program numbers.
In the console, this setting is visible when you set Selector type to Track.
Choose the program number from the dropdown list. If you are sending a JSON
file, provide the program ID, which is part of the audio metadata. If your
input file has incorrect metadata, you can choose All channels instead of a
program number to have the service ignore the program IDs and include all
the programs in the track.
final
- remixSettings → RemixSettings?
-
Use these settings to reorder the audio channels of one input to match those
of another input. This allows you to combine the two files into a single
output, one after the other.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectorType → AudioSelectorType?
-
Specifies the type of the audio selector.
final
-
tracks
→ List<
int> ? -
Identify a track from the input audio to include in this selector by
entering the track index number. To include several tracks in a single audio
selector, specify multiple tracks as follows. Using the console, enter a
comma-separated list. For examle, type "1,2,3" to include tracks 1 through
3. Specifying directly in your JSON job file, provide the track numbers in
an array. For example, "tracks":
1,2,3
.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited