AudioStream(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Audio stream resource. .. attribute:: codec
The codec for this audio stream. The default is "aac"
.
Supported audio codecs:
- 'aac'
- 'aac-he'
- 'aac-he-v2'
- 'mp3'
- 'ac3'
'eac3'
:type: str
Attributes | |
---|---|
Name | Description |
bitrate_bps |
int
Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000. |
channel_count |
int
Number of audio channels. Must be between 1 and 6. The default is 2. |
channel_layout |
Sequence[str]
A list of channel names specifying layout of the audio channels. This only affects the metadata embedded in the container headers, if supported by the specified format. The default is ["fl", "fr"] .
Supported channel names:
- 'fl' - Front left channel
- 'fr' - Front right channel
- 'sl' - Side left channel
- 'sr' - Side right channel
- 'fc' - Front center channel
- 'lfe' - Low frequency
|
mapping |
Sequence[google.cloud.video.transcoder_v1beta1.types.AudioStream.AudioAtom]
The mapping for the Job.edit_list atoms with audio
EditAtom.inputs .
|
sample_rate_hertz |
int
The audio sample rate in Hertz. The default is 48000 Hertz. |
Classes
AudioAtom
AudioAtom(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The mapping for the Job.edit_list
atoms with audio
EditAtom.inputs
.