a new #GstTranscoder instance The URI of the media stream to transcode The URI of the destination of the transcoded stream The serialized #GstEncodingProfile defining the output format. Have a look at the #GstEncodingProfile documentation to find more about the serialization format. a new #GstTranscoder instance The URI of the media stream to transcode The URI of the destination of the transcoded stream The #GstEncodingProfile defining the output format have a look at the #GstEncodingProfile documentation to find more about the serialization format. A #gboolean indicating whether the passes message represents a #GstTranscoder message or not. A #GstMessage %TRUE if the transcoder tries to avoid reencoding streams where reencoding is not strictly needed, %FALSE otherwise. The #GstTranscoder to check whether reencoding is avoided or not. Gets the URI of the destination of the transcoded stream. a string containing the URI of the destination of the transcoded stream. g_free() after usage. #GstTranscoder instance Retrieves the duration of the media stream that self represents. the duration of the transcoding media stream, in nanoseconds. #GstTranscoder instance GstTranscoder API exposes a #GstBus instance which purpose is to provide data structures representing transcoder-internal events in form of #GstMessage-s of type GST_MESSAGE_APPLICATION. Each message carries a "transcoder-message" field of type #GstTranscoderMessage. Further fields of the message data are specific to each possible value of that enumeration. Applications can consume the messages asynchronously within their own event-loop / UI-thread etc. Note that in case the application does not consume the messages, the bus will accumulate these internally and eventually fill memory. To avoid that, the bus has to be set "flushing". The transcoder message bus instance #GstTranscoder instance The internal uritranscodebin instance #GstTranscoder instance the absolute position time, in nanoseconds, of the transcoding stream. #GstTranscoder instance current position update interval in milliseconds #GstTranscoder instance Gets the #GstTranscoderSignalAdapter attached to @self if it is attached to the right #GMainContext. If no #GstTranscoderSignalAdapter has been created yet, it will be created and returned, other calls will return that same adapter until it is destroyed, at which point, a new one can be attached the same way. The #GstTranscoderSignalAdapter to connect signal handlers to. #GstTranscoder instance to emit signals for. A #GMainContext on which the main-loop will process transcoder bus messages on. Can be NULL (thread-default context will be used then). Gets the URI of the currently-transcoding stream. a string containing the URI of the source stream. g_free() after usage. #GstTranscoder instance Gets the #GstTranscoderSignalAdapter attached to @self to emit signals from its thread of emission. The #GstTranscoderSignalAdapter to connect signal handlers to. #GstTranscoder instance to emit signals synchronously for. Run the transcoder task synchonously. You can connect to the 'position' signal to get information about the progress of the transcoding. The GstTranscoder to run Run the transcoder task asynchronously. You should connect to the 'done' signal to be notified about when the transcoding is done, and to the 'error' signal to be notified about any error. The GstTranscoder to run The #GstTranscoder to set whether reencoding should be avoided or not. %TRUE if the transcoder should try to avoid reencoding streams where * reencoding is not strictly needed, %FALSE otherwise. Sets @cpu_usage as target percentage CPU usage of the process running the transcoding task. It will modulate the transcoding speed to reach that target usage. The GstTranscoder to limit CPU usage on. The percentage of the CPU the process running the transcoder should try to use. It takes into account the number of cores available. Set interval in milliseconds between two position-updated signals. Pass 0 to stop updating the position. #GstTranscoder instance interval in ms See #encodebin:avoid-reencoding generic error. Gets a string representing the given error. a string with the given error. a #GstTranscoderError Types of messages that will be posted on the transcoder API bus. See also #gst_transcoder_get_message_bus() Sink position changed Duration of stream changed Pipeline state changed Transcoding is done Message contains an error Message contains an error Returns (transfer none): The message name a #GstTranscoderMessage Parse the given duration @msg and extract the corresponding #GstClockTime A #GstMessage the resulting duration Parse the given error @msg and extract the corresponding #GError A #GstMessage the resulting error (transfer full): A GstStructure containing extra details about the error Parse the given position @msg and extract the corresponding #GstClockTime A #GstMessage the resulting position Parse the given state @msg and extract the corresponding #GstTranscoderState A #GstMessage the resulting state Parse the given error @msg and extract the corresponding #GError warning A #GstMessage the resulting warning (transfer full): A GstStructure containing extra details about the warning Transforms #GstTranscoder bus messages to signals from the adapter object. The #GstTranscoder @self is tracking The #GstTranscoderSignalAdapter The #GstTranscoder tracked by the adapter. High level representation of the transcoder pipeline state. the transcoder is stopped. the transcoder is paused. the transcoder is currently transcoding a stream. Gets a string representing the given state. a string with the name of the state. a #GstTranscoderState Gets a string representing the given error. a string with the given error. a #GstTranscoderError Returns (transfer none): The message name a #GstTranscoderMessage Parse the given duration @msg and extract the corresponding #GstClockTime A #GstMessage the resulting duration Parse the given error @msg and extract the corresponding #GError A #GstMessage the resulting error (transfer full): A GstStructure containing extra details about the error Parse the given position @msg and extract the corresponding #GstClockTime A #GstMessage the resulting position Parse the given state @msg and extract the corresponding #GstTranscoderState A #GstMessage the resulting state Parse the given error @msg and extract the corresponding #GError warning A #GstMessage the resulting warning (transfer full): A GstStructure containing extra details about the warning Gets a string representing the given state. a string with the name of the state. a #GstTranscoderState