Functions¶
|
|
|
|
|
Details¶
- GstTranscoder.transcoder_error_get_name(error)¶
- Parameters:
error (
GstTranscoder.TranscoderError) – aGstTranscoder.TranscoderError- Returns:
a string with the given error.
- Return type:
Gets a string representing the given error.
- GstTranscoder.transcoder_message_get_name(message)¶
- Parameters:
message (
GstTranscoder.TranscoderMessage) – aGstTranscoder.TranscoderMessage- Return type:
Returns (transfer none): The message name
New in version 1.20.
- GstTranscoder.transcoder_message_parse_duration(msg)¶
- Parameters:
msg (
Gst.Message) – AGst.Message- Returns:
the resulting duration
- Return type:
duration:
int
Parse the given duration msg and extract the corresponding #GstClockTime
New in version 1.20.
- GstTranscoder.transcoder_message_parse_error(msg)¶
- Parameters:
msg (
Gst.Message) – AGst.Message- Returns:
- error:
the resulting error
- details:
(transfer full): A
Gst.Structurecontaining extra details about the error
- Return type:
(error:
GLib.Error, details:Gst.Structure)
Parse the given error msg and extract the corresponding
GLib.ErrorNew in version 1.20.
- GstTranscoder.transcoder_message_parse_position(msg)¶
- Parameters:
msg (
Gst.Message) – AGst.Message- Returns:
the resulting position
- Return type:
position:
int
Parse the given position msg and extract the corresponding #GstClockTime
New in version 1.20.
- GstTranscoder.transcoder_message_parse_state(msg)¶
- Parameters:
msg (
Gst.Message) – AGst.Message- Returns:
the resulting state
- Return type:
Parse the given state msg and extract the corresponding
GstTranscoder.TranscoderStateNew in version 1.20.
- GstTranscoder.transcoder_message_parse_warning(msg)¶
- Parameters:
msg (
Gst.Message) – AGst.Message- Returns:
- error:
the resulting warning
- details:
(transfer full): A
Gst.Structurecontaining extra details about the warning
- Return type:
(error:
GLib.Error, details:Gst.Structure)
Parse the given error msg and extract the corresponding
GLib.ErrorwarningNew in version 1.20.
- GstTranscoder.transcoder_state_get_name(state)¶
- Parameters:
state (
GstTranscoder.TranscoderState) – aGstTranscoder.TranscoderState- Returns:
a string with the name of the state.
- Return type:
Gets a string representing the given state.
New in version 1.20.