gsttranscoder

GstTranscoder

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstTranscoder

Class structure

GstTranscoderClass


GstTranscoder.TranscoderClass


GstTranscoder.TranscoderClass


GstTranscoder

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstTranscoder

GstTranscoder

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstTranscoder

Constructors

gst_transcoder_new

GstTranscoder *
gst_transcoder_new (const gchar * source_uri,
                    const gchar * dest_uri,
                    const gchar * encoding_profile)

Parameters:

source_uri

The URI of the media stream to transcode

dest_uri

The URI of the destination of the transcoded stream

encoding_profile

The serialized GstEncodingProfile defining the output format. Have a look at the GstEncodingProfile documentation to find more about the serialization format.

Returns

a new GstTranscoder instance


GstTranscoder.Transcoder.prototype.new

function GstTranscoder.Transcoder.prototype.new(source_uri: utf8, dest_uri: utf8, encoding_profile: utf8): {
    // javascript wrapper for 'gst_transcoder_new'
}

Parameters:

source_uri ( utf8 ) –

The URI of the media stream to transcode

dest_uri ( utf8 ) –

The URI of the destination of the transcoded stream

encoding_profile ( utf8 ) –

The serialized GstPbutils.EncodingProfile defining the output format. Have a look at the GstPbutils.EncodingProfile documentation to find more about the serialization format.

Returns ( GstTranscoder.Transcoder ) –

a new GstTranscoder.Transcoder instance


GstTranscoder.Transcoder.new

def GstTranscoder.Transcoder.new (source_uri, dest_uri, encoding_profile):
    #python wrapper for 'gst_transcoder_new'

Parameters:

source_uri ( utf8 ) –

The URI of the media stream to transcode

dest_uri ( utf8 ) –

The URI of the destination of the transcoded stream

encoding_profile ( utf8 ) –

The serialized GstPbutils.EncodingProfile defining the output format. Have a look at the GstPbutils.EncodingProfile documentation to find more about the serialization format.

Returns ( GstTranscoder.Transcoder ) –

a new GstTranscoder.Transcoder instance


gst_transcoder_new_full

GstTranscoder *
gst_transcoder_new_full (const gchar * source_uri,
                         const gchar * dest_uri,
                         GstEncodingProfile * profile,
                         GstTranscoderSignalDispatcher * signal_dispatcher)

Parameters:

source_uri

The URI of the media stream to transcode

dest_uri

The URI of the destination of the transcoded stream

profile

The GstEncodingProfile defining the output format have a look at the GstEncodingProfile documentation to find more about the serialization format.

signal_dispatcher

The GstTranscoderSignalDispatcher to be used to dispatch the various signals.

Returns

a new GstTranscoder instance


GstTranscoder.Transcoder.prototype.new_full

function GstTranscoder.Transcoder.prototype.new_full(source_uri: utf8, dest_uri: utf8, profile: GstPbutils.EncodingProfile, signal_dispatcher: GstTranscoder.TranscoderSignalDispatcher): {
    // javascript wrapper for 'gst_transcoder_new_full'
}

Parameters:

source_uri ( utf8 ) –

The URI of the media stream to transcode

dest_uri ( utf8 ) –

The URI of the destination of the transcoded stream

profile ( GstPbutils.EncodingProfile ) –

The GstPbutils.EncodingProfile defining the output format have a look at the GstPbutils.EncodingProfile documentation to find more about the serialization format.

signal_dispatcher ( GstTranscoder.TranscoderSignalDispatcher ) –

The GstTranscoder.TranscoderSignalDispatcher to be used to dispatch the various signals.

Returns ( GstTranscoder.Transcoder ) –

a new GstTranscoder.Transcoder instance


GstTranscoder.Transcoder.new_full

def GstTranscoder.Transcoder.new_full (source_uri, dest_uri, profile, signal_dispatcher):
    #python wrapper for 'gst_transcoder_new_full'

Parameters:

source_uri ( utf8 ) –

The URI of the media stream to transcode

dest_uri ( utf8 ) –

The URI of the destination of the transcoded stream

profile ( GstPbutils.EncodingProfile ) –

The GstPbutils.EncodingProfile defining the output format have a look at the GstPbutils.EncodingProfile documentation to find more about the serialization format.

signal_dispatcher ( GstTranscoder.TranscoderSignalDispatcher ) –

The GstTranscoder.TranscoderSignalDispatcher to be used to dispatch the various signals.

Returns ( GstTranscoder.Transcoder ) –

a new GstTranscoder.Transcoder instance


Methods

gst_transcoder_get_avoid_reencoding

gboolean
gst_transcoder_get_avoid_reencoding (GstTranscoder * self)

Parameters:

self

The GstTranscoder to check whether reencoding is avoided or not.

Returns

TRUE if the transcoder tries to avoid reencoding streams where reencoding is not strictly needed, FALSE otherwise.


GstTranscoder.Transcoder.prototype.get_avoid_reencoding

function GstTranscoder.Transcoder.prototype.get_avoid_reencoding(): {
    // javascript wrapper for 'gst_transcoder_get_avoid_reencoding'
}

Parameters:

The GstTranscoder.Transcoder to check whether reencoding is avoided or not.

Returns ( gboolean ) –

TRUE (not introspectable) if the transcoder tries to avoid reencoding streams where reencoding is not strictly needed, FALSE (not introspectable) otherwise.


GstTranscoder.Transcoder.get_avoid_reencoding

def GstTranscoder.Transcoder.get_avoid_reencoding (self):
    #python wrapper for 'gst_transcoder_get_avoid_reencoding'

Parameters:

The GstTranscoder.Transcoder to check whether reencoding is avoided or not.

Returns ( gboolean ) –

TRUE (not introspectable) if the transcoder tries to avoid reencoding streams where reencoding is not strictly needed, FALSE (not introspectable) otherwise.


gst_transcoder_get_dest_uri

gchar *
gst_transcoder_get_dest_uri (GstTranscoder * self)

Gets the URI of the destination of the transcoded stream.

Parameters:

self

GstTranscoder instance

Returns ( [transfer: full] ) –

a string containing the URI of the destination of the transcoded stream. g_free after usage.


GstTranscoder.Transcoder.prototype.get_dest_uri

function GstTranscoder.Transcoder.prototype.get_dest_uri(): {
    // javascript wrapper for 'gst_transcoder_get_dest_uri'
}

Gets the URI of the destination of the transcoded stream.

Parameters:

Returns ( utf8 ) –

a string containing the URI of the destination of the transcoded stream. GLib.prototype.free after usage.


GstTranscoder.Transcoder.get_dest_uri

def GstTranscoder.Transcoder.get_dest_uri (self):
    #python wrapper for 'gst_transcoder_get_dest_uri'

Gets the URI of the destination of the transcoded stream.

Parameters:

Returns ( utf8 ) –

a string containing the URI of the destination of the transcoded stream. GLib.free after usage.


gst_transcoder_get_duration

GstClockTime
gst_transcoder_get_duration (GstTranscoder * self)

Retrieves the duration of the media stream that self represents.

Parameters:

self

GstTranscoder instance

Returns

the duration of the transcoding media stream, in nanoseconds.


GstTranscoder.Transcoder.prototype.get_duration

function GstTranscoder.Transcoder.prototype.get_duration(): {
    // javascript wrapper for 'gst_transcoder_get_duration'
}

Retrieves the duration of the media stream that self represents.

Parameters:

Returns ( Gst.ClockTime ) –

the duration of the transcoding media stream, in nanoseconds.


GstTranscoder.Transcoder.get_duration

def GstTranscoder.Transcoder.get_duration (self):
    #python wrapper for 'gst_transcoder_get_duration'

Retrieves the duration of the media stream that self represents.

Parameters:

Returns ( Gst.ClockTime ) –

the duration of the transcoding media stream, in nanoseconds.


gst_transcoder_get_pipeline

GstElement *
gst_transcoder_get_pipeline (GstTranscoder * self)

Parameters:

self

GstTranscoder instance

Returns ( [transfer: full] ) –

The internal uritranscodebin instance


GstTranscoder.Transcoder.prototype.get_pipeline

function GstTranscoder.Transcoder.prototype.get_pipeline(): {
    // javascript wrapper for 'gst_transcoder_get_pipeline'
}

Parameters:

Returns ( Gst.Element ) –

The internal uritranscodebin instance


GstTranscoder.Transcoder.get_pipeline

def GstTranscoder.Transcoder.get_pipeline (self):
    #python wrapper for 'gst_transcoder_get_pipeline'

Parameters:

Returns ( Gst.Element ) –

The internal uritranscodebin instance


gst_transcoder_get_position

GstClockTime
gst_transcoder_get_position (GstTranscoder * self)

Parameters:

self

GstTranscoder instance

Returns

the absolute position time, in nanoseconds, of the transcoding stream.


GstTranscoder.Transcoder.prototype.get_position

function GstTranscoder.Transcoder.prototype.get_position(): {
    // javascript wrapper for 'gst_transcoder_get_position'
}

Parameters:

Returns ( Gst.ClockTime ) –

the absolute position time, in nanoseconds, of the transcoding stream.


GstTranscoder.Transcoder.get_position

def GstTranscoder.Transcoder.get_position (self):
    #python wrapper for 'gst_transcoder_get_position'

Parameters:

Returns ( Gst.ClockTime ) –

the absolute position time, in nanoseconds, of the transcoding stream.


gst_transcoder_get_position_update_interval

guint
gst_transcoder_get_position_update_interval (GstTranscoder * self)

Parameters:

self

GstTranscoder instance

Returns

current position update interval in milliseconds


GstTranscoder.Transcoder.prototype.get_position_update_interval

function GstTranscoder.Transcoder.prototype.get_position_update_interval(): {
    // javascript wrapper for 'gst_transcoder_get_position_update_interval'
}

Parameters:

Returns ( guint ) –

current position update interval in milliseconds


GstTranscoder.Transcoder.get_position_update_interval

def GstTranscoder.Transcoder.get_position_update_interval (self):
    #python wrapper for 'gst_transcoder_get_position_update_interval'

Parameters:

Returns ( guint ) –

current position update interval in milliseconds


gst_transcoder_get_source_uri

gchar *
gst_transcoder_get_source_uri (GstTranscoder * self)

Gets the URI of the currently-transcoding stream.

Parameters:

self

GstTranscoder instance

Returns ( [transfer: full] ) –

a string containing the URI of the source stream. g_free after usage.


GstTranscoder.Transcoder.prototype.get_source_uri

function GstTranscoder.Transcoder.prototype.get_source_uri(): {
    // javascript wrapper for 'gst_transcoder_get_source_uri'
}

Gets the URI of the currently-transcoding stream.

Parameters:

Returns ( utf8 ) –

a string containing the URI of the source stream. GLib.prototype.free after usage.


GstTranscoder.Transcoder.get_source_uri

def GstTranscoder.Transcoder.get_source_uri (self):
    #python wrapper for 'gst_transcoder_get_source_uri'

Gets the URI of the currently-transcoding stream.

Parameters:

Returns ( utf8 ) –

a string containing the URI of the source stream. GLib.free after usage.


gst_transcoder_run

gboolean
gst_transcoder_run (GstTranscoder * self,
                    GError ** error)

Run the transcoder task synchonously. You can connect to the 'position' signal to get information about the progress of the transcoding.

Parameters:

self

The GstTranscoder to run

error ( [allow-none] ) –

An error to be set if transcoding fails

Returns
No description available

GstTranscoder.Transcoder.prototype.run

function GstTranscoder.Transcoder.prototype.run(): {
    // javascript wrapper for 'gst_transcoder_run'
}

Run the transcoder task synchonously. You can connect to the 'position' signal to get information about the progress of the transcoding.

Parameters:

The GstTranscoder to run

Returns ( gboolean ) –
No description available

GstTranscoder.Transcoder.run

@raises(GLib.GError)
def GstTranscoder.Transcoder.run (self):
    #python wrapper for 'gst_transcoder_run'

Run the transcoder task synchonously. You can connect to the 'position' signal to get information about the progress of the transcoding.

Parameters:

The GstTranscoder to run

Returns ( gboolean ) –
No description available

gst_transcoder_run_async

gst_transcoder_run_async (GstTranscoder * self)

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.

Parameters:

self

The GstTranscoder to run


GstTranscoder.Transcoder.prototype.run_async

function GstTranscoder.Transcoder.prototype.run_async(): {
    // javascript wrapper for 'gst_transcoder_run_async'
}

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.

Parameters:

The GstTranscoder to run


GstTranscoder.Transcoder.run_async

def GstTranscoder.Transcoder.run_async (self):
    #python wrapper for 'gst_transcoder_run_async'

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.

Parameters:

The GstTranscoder to run


gst_transcoder_set_avoid_reencoding

gst_transcoder_set_avoid_reencoding (GstTranscoder * self,
                                     gboolean avoid_reencoding)

Parameters:

self

The GstTranscoder to set whether reencoding should be avoided or not.

avoid_reencoding

TRUE if the transcoder should try to avoid reencoding streams where * reencoding is not strictly needed, FALSE otherwise.


GstTranscoder.Transcoder.prototype.set_avoid_reencoding

function GstTranscoder.Transcoder.prototype.set_avoid_reencoding(avoid_reencoding: gboolean): {
    // javascript wrapper for 'gst_transcoder_set_avoid_reencoding'
}

Parameters:

The GstTranscoder.Transcoder to set whether reencoding should be avoided or not.

avoid_reencoding ( gboolean ) –

TRUE (not introspectable) if the transcoder should try to avoid reencoding streams where * reencoding is not strictly needed, FALSE (not introspectable) otherwise.


GstTranscoder.Transcoder.set_avoid_reencoding

def GstTranscoder.Transcoder.set_avoid_reencoding (self, avoid_reencoding):
    #python wrapper for 'gst_transcoder_set_avoid_reencoding'

Parameters:

The GstTranscoder.Transcoder to set whether reencoding should be avoided or not.

avoid_reencoding ( gboolean ) –

TRUE (not introspectable) if the transcoder should try to avoid reencoding streams where * reencoding is not strictly needed, FALSE (not introspectable) otherwise.


gst_transcoder_set_cpu_usage

gst_transcoder_set_cpu_usage (GstTranscoder * self,
                              gint cpu_usage)

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.

Parameters:

self

The GstTranscoder to limit CPU usage on.

cpu_usage

The percentage of the CPU the process running the transcoder should try to use. It takes into account the number of cores available.


GstTranscoder.Transcoder.prototype.set_cpu_usage

function GstTranscoder.Transcoder.prototype.set_cpu_usage(cpu_usage: gint): {
    // javascript wrapper for 'gst_transcoder_set_cpu_usage'
}

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.

Parameters:

The GstTranscoder to limit CPU usage on.

cpu_usage ( gint ) –

The percentage of the CPU the process running the transcoder should try to use. It takes into account the number of cores available.


GstTranscoder.Transcoder.set_cpu_usage

def GstTranscoder.Transcoder.set_cpu_usage (self, cpu_usage):
    #python wrapper for 'gst_transcoder_set_cpu_usage'

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.

Parameters:

The GstTranscoder to limit CPU usage on.

cpu_usage ( gint ) –

The percentage of the CPU the process running the transcoder should try to use. It takes into account the number of cores available.


gst_transcoder_set_position_update_interval

gst_transcoder_set_position_update_interval (GstTranscoder * self,
                                             guint interval)

Set interval in milliseconds between two position-updated signals. Pass 0 to stop updating the position.

Parameters:

self

GstTranscoder instance

interval

interval in ms


GstTranscoder.Transcoder.prototype.set_position_update_interval

function GstTranscoder.Transcoder.prototype.set_position_update_interval(interval: guint): {
    // javascript wrapper for 'gst_transcoder_set_position_update_interval'
}

Set interval in milliseconds between two position-updated signals. Pass 0 to stop updating the position.

Parameters:

interval ( guint ) –

interval in ms


GstTranscoder.Transcoder.set_position_update_interval

def GstTranscoder.Transcoder.set_position_update_interval (self, interval):
    #python wrapper for 'gst_transcoder_set_position_update_interval'

Set interval in milliseconds between two position-updated signals. Pass 0 to stop updating the position.

Parameters:

interval ( guint ) –

interval in ms


Signals

done

done_callback (GstTranscoder * self,
               gpointer user_data)

Parameters:

self
No description available
user_data
No description available

Flags: Run Last / No Hooks


done

function done_callback(self: GstTranscoder.Transcoder, user_data: gpointer): {
    // javascript callback for the 'done' signal
}

Parameters:

No description available
user_data ( gpointer ) –
No description available

Flags: Run Last / No Hooks


done

def done_callback (self, *user_data):
    #python callback for the 'done' signal

Parameters:

No description available
user_data ( variadic ) –
No description available

Flags: Run Last / No Hooks


duration-changed

duration_changed_callback (GstTranscoder * self,
                           guint64 object,
                           gpointer user_data)

Parameters:

self
No description available
object
No description available
user_data
No description available

Flags: Run Last / No Hooks


duration-changed

function duration_changed_callback(self: GstTranscoder.Transcoder, object: guint64, user_data: gpointer): {
    // javascript callback for the 'duration-changed' signal
}

Parameters:

No description available
object ( guint64 ) –
No description available
user_data ( gpointer ) –
No description available

Flags: Run Last / No Hooks


duration-changed

def duration_changed_callback (self, object, *user_data):
    #python callback for the 'duration-changed' signal

Parameters:

No description available
object ( guint64 ) –
No description available
user_data ( variadic ) –
No description available

Flags: Run Last / No Hooks


error

error_callback (GstTranscoder * self,
                GError * object,
                GstStructure * p0,
                gpointer user_data)

Parameters:

self
No description available
object
No description available
p0
No description available
user_data
No description available

Flags: Run Last / No Hooks


error

function error_callback(self: GstTranscoder.Transcoder, object: GLib.Error, p0: Gst.Structure, user_data: gpointer): {
    // javascript callback for the 'error' signal
}

Parameters:

No description available
object ( GLib.Error ) –
No description available
p0 ( Gst.Structure ) –
No description available
user_data ( gpointer ) –
No description available

Flags: Run Last / No Hooks


error

def error_callback (self, object, p0, *user_data):
    #python callback for the 'error' signal

Parameters:

No description available
object ( GLib.Error ) –
No description available
p0 ( Gst.Structure ) –
No description available
user_data ( variadic ) –
No description available

Flags: Run Last / No Hooks


position-updated

position_updated_callback (GstTranscoder * self,
                           guint64 object,
                           gpointer user_data)

Parameters:

self
No description available
object
No description available
user_data
No description available

Flags: Run Last / No Hooks


position-updated

function position_updated_callback(self: GstTranscoder.Transcoder, object: guint64, user_data: gpointer): {
    // javascript callback for the 'position-updated' signal
}

Parameters:

No description available
object ( guint64 ) –
No description available
user_data ( gpointer ) –
No description available

Flags: Run Last / No Hooks


position-updated

def position_updated_callback (self, object, *user_data):
    #python callback for the 'position-updated' signal

Parameters:

No description available
object ( guint64 ) –
No description available
user_data ( variadic ) –
No description available

Flags: Run Last / No Hooks


warning

warning_callback (GstTranscoder * self,
                  GError * object,
                  GstStructure * p0,
                  gpointer user_data)

Parameters:

self
No description available
object
No description available
p0
No description available
user_data
No description available

Flags: Run Last / No Hooks


warning

function warning_callback(self: GstTranscoder.Transcoder, object: GLib.Error, p0: Gst.Structure, user_data: gpointer): {
    // javascript callback for the 'warning' signal
}

Parameters:

No description available
object ( GLib.Error ) –
No description available
p0 ( Gst.Structure ) –
No description available
user_data ( gpointer ) –
No description available

Flags: Run Last / No Hooks


warning

def warning_callback (self, object, p0, *user_data):
    #python callback for the 'warning' signal

Parameters:

No description available
object ( GLib.Error ) –
No description available
p0 ( Gst.Structure ) –
No description available
user_data ( variadic ) –
No description available

Flags: Run Last / No Hooks


Properties

avoid-reencoding

“avoid-reencoding” gboolean

See avoid-reencoding

Flags : Read / Write


avoid-reencoding

“avoid-reencoding” gboolean

See avoid-reencoding (not introspectable)

Flags : Read / Write


avoid_reencoding

“self.props.avoid_reencoding” gboolean

See avoid-reencoding (not introspectable)

Flags : Read / Write


dest-uri

“dest-uri” gchar *

Flags : Read / Write / Construct Only


dest-uri

“dest-uri” utf8

Flags : Read / Write / Construct Only


dest_uri

“self.props.dest_uri” utf8

Flags : Read / Write / Construct Only


duration

“duration” guint64

Flags : Read


duration

“duration” guint64

Flags : Read


duration

“self.props.duration” guint64

Flags : Read


pipeline

“pipeline” GstElement *

Flags : Read


pipeline

“pipeline” Gst.Element

Flags : Read


pipeline

“self.props.pipeline” Gst.Element

Flags : Read


position

“position” guint64

Flags : Read


position

“position” guint64

Flags : Read


position

“self.props.position” guint64

Flags : Read


position-update-interval

“position-update-interval” guint

Flags : Read / Write


position-update-interval

“position-update-interval” guint

Flags : Read / Write


position_update_interval

“self.props.position_update_interval” guint

Flags : Read / Write


profile

“profile” GstEncodingProfile *

Flags : Read / Write / Construct Only


profile

“profile” GstPbutils.EncodingProfile

Flags : Read / Write / Construct Only


profile

“self.props.profile” GstPbutils.EncodingProfile

Flags : Read / Write / Construct Only


signal-dispatcher

“signal-dispatcher” GstTranscoderSignalDispatcher *

Flags : Read / Write / Construct Only


signal-dispatcher

“signal-dispatcher” GstTranscoder.TranscoderSignalDispatcher

Flags : Read / Write / Construct Only


signal_dispatcher

“self.props.signal_dispatcher” GstTranscoder.TranscoderSignalDispatcher

Flags : Read / Write / Construct Only


src-uri

“src-uri” gchar *

Flags : Read / Write / Construct Only


src-uri

“src-uri” utf8

Flags : Read / Write / Construct Only


src_uri

“self.props.src_uri” utf8

Flags : Read / Write / Construct Only


GstTranscoderGMainContextSignalDispatcher

GObject
    ╰──GstTranscoderGMainContextSignalDispatcher

Class structure

GstTranscoderGMainContextSignalDispatcherClass


GstTranscoder.TranscoderGMainContextSignalDispatcherClass


GstTranscoder.TranscoderGMainContextSignalDispatcherClass


GstTranscoderGMainContextSignalDispatcher

GObject
    ╰──GstTranscoderGMainContextSignalDispatcher

GstTranscoderGMainContextSignalDispatcher

GObject
    ╰──GstTranscoderGMainContextSignalDispatcher

Functions

gst_transcoder_g_main_context_signal_dispatcher_new

GstTranscoderSignalDispatcher *
gst_transcoder_g_main_context_signal_dispatcher_new (GMainContext * application_context)

Parameters:

application_context ( [allow-none] ) –

GMainContext to use or NULL

Returns

(transfer full):


GstTranscoder.TranscoderGMainContextSignalDispatcher.prototype.new

function GstTranscoder.TranscoderGMainContextSignalDispatcher.prototype.new(application_context: GLib.MainContext): {
    // javascript wrapper for 'gst_transcoder_g_main_context_signal_dispatcher_new'
}

Parameters:

application_context ( GLib.MainContext ) –

GMainContext to use or NULL (not introspectable)

(transfer full):


GstTranscoder.TranscoderGMainContextSignalDispatcher.new

def GstTranscoder.TranscoderGMainContextSignalDispatcher.new (application_context):
    #python wrapper for 'gst_transcoder_g_main_context_signal_dispatcher_new'

Parameters:

application_context ( GLib.MainContext ) –

GMainContext to use or NULL (not introspectable)

(transfer full):


Properties

application-context

“application-context” GMainContext *

Flags : Read / Write / Construct Only


application-context

“application-context” GLib.MainContext

Flags : Read / Write / Construct Only


application_context

“self.props.application_context” GLib.MainContext

Flags : Read / Write / Construct Only


GstTranscoderSignalDispatcher


GstTranscoder.TranscoderSignalDispatcher


GstTranscoder.TranscoderSignalDispatcher


Virtual Methods

dispatch

dispatch (GstTranscoderSignalDispatcher * self,
          GstTranscoder * transcoder,
          gpointer * emitter,
          gpointer data,
          GDestroyNotify destroy)

Parameters:

self
No description available
transcoder
No description available
emitter
No description available
data
No description available
destroy
No description available

vfunc_dispatch

function vfunc_dispatch(self: GstTranscoder.TranscoderSignalDispatcher, transcoder: GstTranscoder.Transcoder, emitter: gpointer, data: gpointer, destroy: GLib.DestroyNotify): {
    // javascript implementation of the 'dispatch' virtual method
}

Parameters:

No description available
transcoder ( GstTranscoder.Transcoder ) –
No description available
emitter ( gpointer ) –
No description available
data ( gpointer ) –
No description available
destroy ( GLib.DestroyNotify ) –
No description available

do_dispatch

def do_dispatch (self, transcoder, emitter, data, destroy):
    #python implementation of the 'dispatch' virtual method

Parameters:

No description available
transcoder ( GstTranscoder.Transcoder ) –
No description available
emitter ( gpointer ) –
No description available
data ( gpointer ) –
No description available
destroy ( GLib.DestroyNotify ) –
No description available

Functions

gst_transcoder_error_get_name

const gchar *
gst_transcoder_error_get_name (GstTranscoderError error)

Gets a string representing the given error.

Parameters:

error

a GstTranscoderError

Returns ( [transfer: none] ) –

a string with the given error.


GstTranscoder.TranscoderError.prototype.get_name

function GstTranscoder.TranscoderError.prototype.get_name(error: GstTranscoder.TranscoderError): {
    // javascript wrapper for 'gst_transcoder_error_get_name'
}

Gets a string representing the given error.

Returns ( utf8 ) –

a string with the given error.


GstTranscoder.TranscoderError.get_name

def GstTranscoder.TranscoderError.get_name (error):
    #python wrapper for 'gst_transcoder_error_get_name'

Gets a string representing the given error.

Returns ( utf8 ) –

a string with the given error.


gst_transcoder_error_quark

GQuark
gst_transcoder_error_quark ()
Returns
No description available

GstTranscoder.TranscoderError.prototype.quark

function GstTranscoder.TranscoderError.prototype.quark(): {
    // javascript wrapper for 'gst_transcoder_error_quark'
}
Returns ( GLib.Quark ) –
No description available

GstTranscoder.TranscoderError.quark

def GstTranscoder.TranscoderError.quark ():
    #python wrapper for 'gst_transcoder_error_quark'
Returns ( GLib.Quark ) –
No description available

Function Macros

GST_IS_TRANSCODER

#define GST_IS_TRANSCODER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_TRANSCODER))

GST_IS_TRANSCODER_CLASS

#define GST_IS_TRANSCODER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_TRANSCODER))

GST_IS_TRANSCODER_G_MAIN_CONTEXT_SIGNAL_DISPATCHER

#define GST_IS_TRANSCODER_G_MAIN_CONTEXT_SIGNAL_DISPATCHER(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_TRANSCODER_G_MAIN_CONTEXT_SIGNAL_DISPATCHER))

GST_IS_TRANSCODER_G_MAIN_CONTEXT_SIGNAL_DISPATCHER_CLASS

#define GST_IS_TRANSCODER_G_MAIN_CONTEXT_SIGNAL_DISPATCHER_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_TRANSCODER_G_MAIN_CONTEXT_SIGNAL_DISPATCHER))

GST_IS_TRANSCODER_SIGNAL_DISPATCHER

#define GST_IS_TRANSCODER_SIGNAL_DISPATCHER(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_TRANSCODER_SIGNAL_DISPATCHER))

GST_TRANSCODER

#define GST_TRANSCODER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_TRANSCODER, GstTranscoder))

GST_TRANSCODER_CLASS

#define GST_TRANSCODER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_TRANSCODER, GstTranscoderClass))

GST_TRANSCODER_GET_CLASS

#define GST_TRANSCODER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_TRANSCODER, GstTranscoderClass))

GST_TRANSCODER_G_MAIN_CONTEXT_SIGNAL_DISPATCHER

#define GST_TRANSCODER_G_MAIN_CONTEXT_SIGNAL_DISPATCHER(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_TRANSCODER_G_MAIN_CONTEXT_SIGNAL_DISPATCHER, GstTranscoderGMainContextSignalDispatcher))

GST_TRANSCODER_G_MAIN_CONTEXT_SIGNAL_DISPATCHER_CAST

#define GST_TRANSCODER_G_MAIN_CONTEXT_SIGNAL_DISPATCHER_CAST(obj)        ((GstTranscoderGMainContextSignalDispatcher*)(obj))

GST_TRANSCODER_G_MAIN_CONTEXT_SIGNAL_DISPATCHER_CLASS

#define GST_TRANSCODER_G_MAIN_CONTEXT_SIGNAL_DISPATCHER_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_TRANSCODER_G_MAIN_CONTEXT_SIGNAL_DISPATCHER, GstTranscoderGMainContextSignalDispatcherClass))

GST_TRANSCODER_G_MAIN_CONTEXT_SIGNAL_DISPATCHER_GET_CLASS

#define GST_TRANSCODER_G_MAIN_CONTEXT_SIGNAL_DISPATCHER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_TRANSCODER_G_MAIN_CONTEXT_SIGNAL_DISPATCHER, GstTranscoderGMainContextSignalDispatcherClass))

GST_TRANSCODER_SIGNAL_DISPATCHER

#define GST_TRANSCODER_SIGNAL_DISPATCHER(obj)                (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_TRANSCODER_SIGNAL_DISPATCHER, GstTranscoderSignalDispatcher))

GST_TRANSCODER_SIGNAL_DISPATCHER_GET_INTERFACE

#define GST_TRANSCODER_SIGNAL_DISPATCHER_GET_INTERFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GST_TYPE_TRANSCODER_SIGNAL_DISPATCHER, GstTranscoderSignalDispatcherInterface))

Enumerations

GstTranscoderError

Members

GST_TRANSCODER_ERROR_FAILED (0) –

generic error.


GstTranscoder.TranscoderError

Members

GstTranscoder.TranscoderError.FAILED (0) –

generic error.


GstTranscoder.TranscoderError

Members

GstTranscoder.TranscoderError.FAILED (0) –

generic error.


Constants

GST_TRANSCODER_ERROR

#define GST_TRANSCODER_ERROR                         (gst_transcoder_error_quark ())

GST_TYPE_TRANSCODER

#define GST_TYPE_TRANSCODER (gst_transcoder_get_type ())

GST_TYPE_TRANSCODER_ERROR

#define GST_TYPE_TRANSCODER_ERROR                    (gst_transcoder_error_get_type ())

GST_TYPE_TRANSCODER_G_MAIN_CONTEXT_SIGNAL_DISPATCHER

#define GST_TYPE_TRANSCODER_G_MAIN_CONTEXT_SIGNAL_DISPATCHER             (gst_transcoder_g_main_context_signal_dispatcher_get_type ())

GST_TYPE_TRANSCODER_SIGNAL_DISPATCHER

#define GST_TYPE_TRANSCODER_SIGNAL_DISPATCHER                (gst_transcoder_signal_dispatcher_get_type ())

The results of the search are