Functions

transcoder_error_get_name (error)

transcoder_error_quark ()

transcoder_message_get_name (message)

transcoder_message_parse_duration (msg)

transcoder_message_parse_error (msg)

transcoder_message_parse_position (msg)

transcoder_message_parse_state (msg)

transcoder_message_parse_warning (msg)

transcoder_state_get_name (state)

Details

GstTranscoder.transcoder_error_get_name(error)
Parameters:

error (GstTranscoder.TranscoderError) – a GstTranscoder.TranscoderError

Returns:

a string with the given error.

Return type:

str

Gets a string representing the given error.

GstTranscoder.transcoder_error_quark()
Return type:

int

GstTranscoder.transcoder_message_get_name(message)
Parameters:

message (GstTranscoder.TranscoderMessage) – a GstTranscoder.TranscoderMessage

Return type:

str

Returns (transfer none): The message name

New in version 1.20.

GstTranscoder.transcoder_message_parse_duration(msg)
Parameters:

msg (Gst.Message) – A Gst.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) – A Gst.Message

Returns:

error:

the resulting error

details:

(transfer full): A Gst.Structure containing extra details about the error

Return type:

(error: GLib.Error, details: Gst.Structure)

Parse the given error msg and extract the corresponding GLib.Error

New in version 1.20.

GstTranscoder.transcoder_message_parse_position(msg)
Parameters:

msg (Gst.Message) – A Gst.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) – A Gst.Message

Returns:

the resulting state

Return type:

state: GstTranscoder.TranscoderState

Parse the given state msg and extract the corresponding GstTranscoder.TranscoderState

New in version 1.20.

GstTranscoder.transcoder_message_parse_warning(msg)
Parameters:

msg (Gst.Message) – A Gst.Message

Returns:

error:

the resulting warning

details:

(transfer full): A Gst.Structure containing extra details about the warning

Return type:

(error: GLib.Error, details: Gst.Structure)

Parse the given error msg and extract the corresponding GLib.Error warning

New in version 1.20.

GstTranscoder.transcoder_state_get_name(state)
Parameters:

state (GstTranscoder.TranscoderState) – a GstTranscoder.TranscoderState

Returns:

a string with the name of the state.

Return type:

str

Gets a string representing the given state.

New in version 1.20.