Clapper.AudioStream¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/en |
|||
r/en |
|||
r/en |
|||
r/en |
|||
r/en |
|||
r/en |
|||
r/en |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Clapper.AudioStream(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Represents an audio stream within media.
- get_channels()¶
- Returns:
the number of audio channels.
- Return type:
Get number of audio channels in self.
- get_codec()¶
-
Get codec used to encode self.
- get_lang_code()¶
-
Get an ISO-639 language code of the self.
- get_lang_name()¶
-
Get language name of the self.
This function will try to return a translated string into current locale if possible, with a fallback to a name extracted from tags.
- get_sample_format()¶
-
Get sample format of audio self.
Property Details¶
- Clapper.AudioStream.props.bitrate¶
- Name:
bitrate
- Type:
- Default Value:
0
- Flags:
Stream bitrate.
- Clapper.AudioStream.props.channels¶
- Name:
channels
- Type:
- Default Value:
0
- Flags:
Stream number of audio channels.
- Clapper.AudioStream.props.codec¶
- Name:
codec
- Type:
- Default Value:
- Flags:
Stream codec.
- Clapper.AudioStream.props.lang_code¶
- Name:
lang-code
- Type:
- Default Value:
- Flags:
Stream language code in ISO-639 format.
- Clapper.AudioStream.props.lang_name¶
- Name:
lang-name
- Type:
- Default Value:
- Flags:
Stream language name.
- Clapper.AudioStream.props.sample_format¶
- Name:
sample-format
- Type:
- Default Value:
- Flags:
Stream sample format.
- Clapper.AudioStream.props.sample_rate¶
- Name:
sample-rate
- Type:
- Default Value:
0
- Flags:
Stream sample rate (in Hz).