Missing plugins
Functions to create, recognise and parse missing-plugins messages for applications and elements.
Missing-plugin messages are posted on the bus by elements like decodebin or playbin if they can't find an appropriate source element or decoder element. The application can use these messages for two things:
-
concise error/problem reporting to the user mentioning what exactly is missing, see gst_missing_plugin_message_get_description
-
initiate installation of missing plugins, see gst_missing_plugin_message_get_installer_detail and gst_install_plugins_async
Applications may also create missing-plugin messages themselves to install required elements that are missing, using the install mechanism mentioned above.
Functions
gst_is_missing_plugin_message
gboolean gst_is_missing_plugin_message (GstMessage * msg)
Checks whether msg is a missing plugins message.
Parameters:
msg
–
GstPbutils.prototype.is_missing_plugin_message
function GstPbutils.prototype.is_missing_plugin_message(msg: Gst.Message): {
// javascript wrapper for 'gst_is_missing_plugin_message'
}
Checks whether msg is a missing plugins message.
Parameters:
GstPbutils.is_missing_plugin_message
def GstPbutils.is_missing_plugin_message (msg):
#python wrapper for 'gst_is_missing_plugin_message'
Checks whether msg is a missing plugins message.
Parameters:
gst_missing_decoder_installer_detail_new
gchar * gst_missing_decoder_installer_detail_new (const GstCaps * decode_caps)
Returns an opaque string containing all the details about the missing element to be passed to an external installer called via gst_install_plugins_async or gst_install_plugins_sync.
This function is mainly for applications that call external plugin installation mechanisms using one of the two above-mentioned functions in the case where the application knows exactly what kind of plugin it is missing.
Parameters:
decode_caps
–
the (fixed) caps for which a decoder element is needed
a newly-allocated detail string. Free string with g_free when not needed any longer.
GstPbutils.prototype.missing_decoder_installer_detail_new
function GstPbutils.prototype.missing_decoder_installer_detail_new(decode_caps: Gst.Caps): {
// javascript wrapper for 'gst_missing_decoder_installer_detail_new'
}
Returns an opaque string containing all the details about the missing element to be passed to an external installer called via GstPbutils.prototype.install_plugins_async or GstPbutils.prototype.install_plugins_sync.
This function is mainly for applications that call external plugin installation mechanisms using one of the two above-mentioned functions in the case where the application knows exactly what kind of plugin it is missing.
Parameters:
the (fixed) caps for which a decoder element is needed
a newly-allocated detail string. Free string with GLib.prototype.free when not needed any longer.
GstPbutils.missing_decoder_installer_detail_new
def GstPbutils.missing_decoder_installer_detail_new (decode_caps):
#python wrapper for 'gst_missing_decoder_installer_detail_new'
Returns an opaque string containing all the details about the missing element to be passed to an external installer called via GstPbutils.install_plugins_async or GstPbutils.install_plugins_sync.
This function is mainly for applications that call external plugin installation mechanisms using one of the two above-mentioned functions in the case where the application knows exactly what kind of plugin it is missing.
Parameters:
the (fixed) caps for which a decoder element is needed
gst_missing_decoder_message_new
GstMessage * gst_missing_decoder_message_new (GstElement * element, const GstCaps * decode_caps)
Creates a missing-plugin message for element to notify the application that a decoder element for a particular set of (fixed) caps is missing. This function is mainly for use in plugins.
Parameters:
element
–
the GstElement posting the message
decode_caps
–
the (fixed) caps for which a decoder element is needed
a new GstMessage
GstPbutils.prototype.missing_decoder_message_new
function GstPbutils.prototype.missing_decoder_message_new(element: Gst.Element, decode_caps: Gst.Caps): {
// javascript wrapper for 'gst_missing_decoder_message_new'
}
Creates a missing-plugin message for element to notify the application that a decoder element for a particular set of (fixed) caps is missing. This function is mainly for use in plugins.
Parameters:
the Gst.Element posting the message
the (fixed) caps for which a decoder element is needed
a new Gst.Message
GstPbutils.missing_decoder_message_new
def GstPbutils.missing_decoder_message_new (element, decode_caps):
#python wrapper for 'gst_missing_decoder_message_new'
Creates a missing-plugin message for element to notify the application that a decoder element for a particular set of (fixed) caps is missing. This function is mainly for use in plugins.
Parameters:
the Gst.Element posting the message
the (fixed) caps for which a decoder element is needed
a new Gst.Message
gst_missing_element_installer_detail_new
gchar * gst_missing_element_installer_detail_new (const gchar * factory_name)
Returns an opaque string containing all the details about the missing element to be passed to an external installer called via gst_install_plugins_async or gst_install_plugins_sync.
This function is mainly for applications that call external plugin installation mechanisms using one of the two above-mentioned functions in the case where the application knows exactly what kind of plugin it is missing.
Parameters:
factory_name
–
the name of the missing element (element factory), e.g. "videoscale" or "cdparanoiasrc"
a newly-allocated detail string. Free string with g_free when not needed any longer.
GstPbutils.prototype.missing_element_installer_detail_new
function GstPbutils.prototype.missing_element_installer_detail_new(factory_name: String): {
// javascript wrapper for 'gst_missing_element_installer_detail_new'
}
Returns an opaque string containing all the details about the missing element to be passed to an external installer called via GstPbutils.prototype.install_plugins_async or GstPbutils.prototype.install_plugins_sync.
This function is mainly for applications that call external plugin installation mechanisms using one of the two above-mentioned functions in the case where the application knows exactly what kind of plugin it is missing.
Parameters:
the name of the missing element (element factory), e.g. "videoscale" or "cdparanoiasrc"
a newly-allocated detail string. Free string with GLib.prototype.free when not needed any longer.
GstPbutils.missing_element_installer_detail_new
def GstPbutils.missing_element_installer_detail_new (factory_name):
#python wrapper for 'gst_missing_element_installer_detail_new'
Returns an opaque string containing all the details about the missing element to be passed to an external installer called via GstPbutils.install_plugins_async or GstPbutils.install_plugins_sync.
This function is mainly for applications that call external plugin installation mechanisms using one of the two above-mentioned functions in the case where the application knows exactly what kind of plugin it is missing.
Parameters:
the name of the missing element (element factory), e.g. "videoscale" or "cdparanoiasrc"
gst_missing_element_message_new
GstMessage * gst_missing_element_message_new (GstElement * element, const gchar * factory_name)
Creates a missing-plugin message for element to notify the application that a certain required element is missing. This function is mainly for use in plugins.
Parameters:
element
–
the GstElement posting the message
factory_name
–
the name of the missing element (element factory), e.g. "videoscale" or "cdparanoiasrc"
a new GstMessage
GstPbutils.prototype.missing_element_message_new
function GstPbutils.prototype.missing_element_message_new(element: Gst.Element, factory_name: String): {
// javascript wrapper for 'gst_missing_element_message_new'
}
Creates a missing-plugin message for element to notify the application that a certain required element is missing. This function is mainly for use in plugins.
Parameters:
the Gst.Element posting the message
the name of the missing element (element factory), e.g. "videoscale" or "cdparanoiasrc"
a new Gst.Message
GstPbutils.missing_element_message_new
def GstPbutils.missing_element_message_new (element, factory_name):
#python wrapper for 'gst_missing_element_message_new'
Creates a missing-plugin message for element to notify the application that a certain required element is missing. This function is mainly for use in plugins.
Parameters:
the Gst.Element posting the message
the name of the missing element (element factory), e.g. "videoscale" or "cdparanoiasrc"
a new Gst.Message
gst_missing_encoder_installer_detail_new
gchar * gst_missing_encoder_installer_detail_new (const GstCaps * encode_caps)
Returns an opaque string containing all the details about the missing element to be passed to an external installer called via gst_install_plugins_async or gst_install_plugins_sync.
This function is mainly for applications that call external plugin installation mechanisms using one of the two above-mentioned functions in the case where the application knows exactly what kind of plugin it is missing.
Parameters:
encode_caps
–
the (fixed) caps for which an encoder element is needed
a newly-allocated detail string. Free string with g_free when not needed any longer.
GstPbutils.prototype.missing_encoder_installer_detail_new
function GstPbutils.prototype.missing_encoder_installer_detail_new(encode_caps: Gst.Caps): {
// javascript wrapper for 'gst_missing_encoder_installer_detail_new'
}
Returns an opaque string containing all the details about the missing element to be passed to an external installer called via GstPbutils.prototype.install_plugins_async or GstPbutils.prototype.install_plugins_sync.
This function is mainly for applications that call external plugin installation mechanisms using one of the two above-mentioned functions in the case where the application knows exactly what kind of plugin it is missing.
Parameters:
the (fixed) caps for which an encoder element is needed
a newly-allocated detail string. Free string with GLib.prototype.free when not needed any longer.
GstPbutils.missing_encoder_installer_detail_new
def GstPbutils.missing_encoder_installer_detail_new (encode_caps):
#python wrapper for 'gst_missing_encoder_installer_detail_new'
Returns an opaque string containing all the details about the missing element to be passed to an external installer called via GstPbutils.install_plugins_async or GstPbutils.install_plugins_sync.
This function is mainly for applications that call external plugin installation mechanisms using one of the two above-mentioned functions in the case where the application knows exactly what kind of plugin it is missing.
Parameters:
the (fixed) caps for which an encoder element is needed
gst_missing_encoder_message_new
GstMessage * gst_missing_encoder_message_new (GstElement * element, const GstCaps * encode_caps)
Creates a missing-plugin message for element to notify the application that an encoder element for a particular set of (fixed) caps is missing. This function is mainly for use in plugins.
Parameters:
element
–
the GstElement posting the message
encode_caps
–
the (fixed) caps for which an encoder element is needed
a new GstMessage
GstPbutils.prototype.missing_encoder_message_new
function GstPbutils.prototype.missing_encoder_message_new(element: Gst.Element, encode_caps: Gst.Caps): {
// javascript wrapper for 'gst_missing_encoder_message_new'
}
Creates a missing-plugin message for element to notify the application that an encoder element for a particular set of (fixed) caps is missing. This function is mainly for use in plugins.
Parameters:
the Gst.Element posting the message
the (fixed) caps for which an encoder element is needed
a new Gst.Message
GstPbutils.missing_encoder_message_new
def GstPbutils.missing_encoder_message_new (element, encode_caps):
#python wrapper for 'gst_missing_encoder_message_new'
Creates a missing-plugin message for element to notify the application that an encoder element for a particular set of (fixed) caps is missing. This function is mainly for use in plugins.
Parameters:
the Gst.Element posting the message
the (fixed) caps for which an encoder element is needed
a new Gst.Message
gst_missing_plugin_message_get_description
gchar * gst_missing_plugin_message_get_description (GstMessage * msg)
Returns a localised string describing the missing feature, for use in error dialogs and the like. Should never return NULL unless msg is not a valid missing-plugin message.
This function is mainly for applications that need a human-readable string describing a missing plugin, given a previously collected missing-plugin message
Parameters:
msg
–
a missing-plugin GstMessage of type GST_MESSAGE_ELEMENT
a newly-allocated description string. Free string with g_free when not needed any longer.
GstPbutils.prototype.missing_plugin_message_get_description
function GstPbutils.prototype.missing_plugin_message_get_description(msg: Gst.Message): {
// javascript wrapper for 'gst_missing_plugin_message_get_description'
}
Returns a localised string describing the missing feature, for use in error dialogs and the like. Should never return NULL unless msg is not a valid missing-plugin message.
This function is mainly for applications that need a human-readable string describing a missing plugin, given a previously collected missing-plugin message
Parameters:
a missing-plugin Gst.Message of type Gst.MessageType.ELEMENT
a newly-allocated description string. Free string with GLib.prototype.free when not needed any longer.
GstPbutils.missing_plugin_message_get_description
def GstPbutils.missing_plugin_message_get_description (msg):
#python wrapper for 'gst_missing_plugin_message_get_description'
Returns a localised string describing the missing feature, for use in error dialogs and the like. Should never return NULL unless msg is not a valid missing-plugin message.
This function is mainly for applications that need a human-readable string describing a missing plugin, given a previously collected missing-plugin message
Parameters:
a missing-plugin Gst.Message of type Gst.MessageType.ELEMENT
gst_missing_plugin_message_get_installer_detail
gchar * gst_missing_plugin_message_get_installer_detail (GstMessage * msg)
Returns an opaque string containing all the details about the missing element to be passed to an external installer called via gst_install_plugins_async or gst_install_plugins_sync.
This function is mainly for applications that call external plugin installation mechanisms using one of the two above-mentioned functions.
Parameters:
msg
–
a missing-plugin GstMessage of type GST_MESSAGE_ELEMENT
a newly-allocated detail string, or NULL on error. Free string with g_free when not needed any longer.
GstPbutils.prototype.missing_plugin_message_get_installer_detail
function GstPbutils.prototype.missing_plugin_message_get_installer_detail(msg: Gst.Message): {
// javascript wrapper for 'gst_missing_plugin_message_get_installer_detail'
}
Returns an opaque string containing all the details about the missing element to be passed to an external installer called via GstPbutils.prototype.install_plugins_async or GstPbutils.prototype.install_plugins_sync.
This function is mainly for applications that call external plugin installation mechanisms using one of the two above-mentioned functions.
Parameters:
a missing-plugin Gst.Message of type Gst.MessageType.ELEMENT
a newly-allocated detail string, or NULL on error. Free string with GLib.prototype.free when not needed any longer.
GstPbutils.missing_plugin_message_get_installer_detail
def GstPbutils.missing_plugin_message_get_installer_detail (msg):
#python wrapper for 'gst_missing_plugin_message_get_installer_detail'
Returns an opaque string containing all the details about the missing element to be passed to an external installer called via GstPbutils.install_plugins_async or GstPbutils.install_plugins_sync.
This function is mainly for applications that call external plugin installation mechanisms using one of the two above-mentioned functions.
Parameters:
a missing-plugin Gst.Message of type Gst.MessageType.ELEMENT
gst_missing_plugin_message_get_stream_id
const gchar * gst_missing_plugin_message_get_stream_id (GstMessage * msg)
Get the stream-id of the stream for which an element is missing.
Parameters:
msg
–
A missing-plugin GstMessage of type GST_MESSAGE_ELEMENT
The stream-id or NULL if none is specified.
Since : 1.26
GstPbutils.prototype.missing_plugin_message_get_stream_id
function GstPbutils.prototype.missing_plugin_message_get_stream_id(msg: Gst.Message): {
// javascript wrapper for 'gst_missing_plugin_message_get_stream_id'
}
Get the stream-id of the stream for which an element is missing.
Parameters:
A missing-plugin Gst.Message of type Gst.MessageType.ELEMENT
Since : 1.26
GstPbutils.missing_plugin_message_get_stream_id
def GstPbutils.missing_plugin_message_get_stream_id (msg):
#python wrapper for 'gst_missing_plugin_message_get_stream_id'
Get the stream-id of the stream for which an element is missing.
Parameters:
A missing-plugin Gst.Message of type Gst.MessageType.ELEMENT
Since : 1.26
gst_missing_plugin_message_set_stream_id
gst_missing_plugin_message_set_stream_id (GstMessage * msg, const gchar * stream_id)
Set the stream-id of the stream for which an element is missing.
Parameters:
msg
–
A missing-plugin GstMessage of type GST_MESSAGE_ELEMENT
stream_id
–
The stream id for which an element is missing
Since : 1.26
GstPbutils.prototype.missing_plugin_message_set_stream_id
function GstPbutils.prototype.missing_plugin_message_set_stream_id(msg: Gst.Message, stream_id: String): {
// javascript wrapper for 'gst_missing_plugin_message_set_stream_id'
}
Set the stream-id of the stream for which an element is missing.
Parameters:
A missing-plugin Gst.Message of type Gst.MessageType.ELEMENT
The stream id for which an element is missing
Since : 1.26
GstPbutils.missing_plugin_message_set_stream_id
def GstPbutils.missing_plugin_message_set_stream_id (msg, stream_id):
#python wrapper for 'gst_missing_plugin_message_set_stream_id'
Set the stream-id of the stream for which an element is missing.
Parameters:
A missing-plugin Gst.Message of type Gst.MessageType.ELEMENT
The stream id for which an element is missing
Since : 1.26
gst_missing_uri_sink_installer_detail_new
gchar * gst_missing_uri_sink_installer_detail_new (const gchar * protocol)
Returns an opaque string containing all the details about the missing element to be passed to an external installer called via gst_install_plugins_async or gst_install_plugins_sync.
This function is mainly for applications that call external plugin installation mechanisms using one of the two above-mentioned functions in the case where the application knows exactly what kind of plugin it is missing.
Parameters:
protocol
–
the URI protocol the missing source needs to implement, e.g. "http" or "mms"
a newly-allocated detail string. Free string with g_free when not needed any longer.
GstPbutils.prototype.missing_uri_sink_installer_detail_new
function GstPbutils.prototype.missing_uri_sink_installer_detail_new(protocol: String): {
// javascript wrapper for 'gst_missing_uri_sink_installer_detail_new'
}
Returns an opaque string containing all the details about the missing element to be passed to an external installer called via GstPbutils.prototype.install_plugins_async or GstPbutils.prototype.install_plugins_sync.
This function is mainly for applications that call external plugin installation mechanisms using one of the two above-mentioned functions in the case where the application knows exactly what kind of plugin it is missing.
Parameters:
the URI protocol the missing source needs to implement, e.g. "http" or "mms"
a newly-allocated detail string. Free string with GLib.prototype.free when not needed any longer.
GstPbutils.missing_uri_sink_installer_detail_new
def GstPbutils.missing_uri_sink_installer_detail_new (protocol):
#python wrapper for 'gst_missing_uri_sink_installer_detail_new'
Returns an opaque string containing all the details about the missing element to be passed to an external installer called via GstPbutils.install_plugins_async or GstPbutils.install_plugins_sync.
This function is mainly for applications that call external plugin installation mechanisms using one of the two above-mentioned functions in the case where the application knows exactly what kind of plugin it is missing.
Parameters:
the URI protocol the missing source needs to implement, e.g. "http" or "mms"
gst_missing_uri_sink_message_new
GstMessage * gst_missing_uri_sink_message_new (GstElement * element, const gchar * protocol)
Creates a missing-plugin message for element to notify the application that a sink element for a particular URI protocol is missing. This function is mainly for use in plugins.
Parameters:
element
–
the GstElement posting the message
protocol
–
the URI protocol the missing sink needs to implement, e.g. "http" or "smb"
a new GstMessage
GstPbutils.prototype.missing_uri_sink_message_new
function GstPbutils.prototype.missing_uri_sink_message_new(element: Gst.Element, protocol: String): {
// javascript wrapper for 'gst_missing_uri_sink_message_new'
}
Creates a missing-plugin message for element to notify the application that a sink element for a particular URI protocol is missing. This function is mainly for use in plugins.
Parameters:
the Gst.Element posting the message
the URI protocol the missing sink needs to implement, e.g. "http" or "smb"
a new Gst.Message
GstPbutils.missing_uri_sink_message_new
def GstPbutils.missing_uri_sink_message_new (element, protocol):
#python wrapper for 'gst_missing_uri_sink_message_new'
Creates a missing-plugin message for element to notify the application that a sink element for a particular URI protocol is missing. This function is mainly for use in plugins.
Parameters:
the Gst.Element posting the message
the URI protocol the missing sink needs to implement, e.g. "http" or "smb"
a new Gst.Message
gst_missing_uri_source_installer_detail_new
gchar * gst_missing_uri_source_installer_detail_new (const gchar * protocol)
Returns an opaque string containing all the details about the missing element to be passed to an external installer called via gst_install_plugins_async or gst_install_plugins_sync.
This function is mainly for applications that call external plugin installation mechanisms using one of the two above-mentioned functions in the case where the application knows exactly what kind of plugin it is missing.
Parameters:
protocol
–
the URI protocol the missing source needs to implement, e.g. "http" or "mms"
a newly-allocated detail string. Free string with g_free when not needed any longer.
GstPbutils.prototype.missing_uri_source_installer_detail_new
function GstPbutils.prototype.missing_uri_source_installer_detail_new(protocol: String): {
// javascript wrapper for 'gst_missing_uri_source_installer_detail_new'
}
Returns an opaque string containing all the details about the missing element to be passed to an external installer called via GstPbutils.prototype.install_plugins_async or GstPbutils.prototype.install_plugins_sync.
This function is mainly for applications that call external plugin installation mechanisms using one of the two above-mentioned functions in the case where the application knows exactly what kind of plugin it is missing.
Parameters:
the URI protocol the missing source needs to implement, e.g. "http" or "mms"
a newly-allocated detail string. Free string with GLib.prototype.free when not needed any longer.
GstPbutils.missing_uri_source_installer_detail_new
def GstPbutils.missing_uri_source_installer_detail_new (protocol):
#python wrapper for 'gst_missing_uri_source_installer_detail_new'
Returns an opaque string containing all the details about the missing element to be passed to an external installer called via GstPbutils.install_plugins_async or GstPbutils.install_plugins_sync.
This function is mainly for applications that call external plugin installation mechanisms using one of the two above-mentioned functions in the case where the application knows exactly what kind of plugin it is missing.
Parameters:
the URI protocol the missing source needs to implement, e.g. "http" or "mms"
gst_missing_uri_source_message_new
GstMessage * gst_missing_uri_source_message_new (GstElement * element, const gchar * protocol)
Creates a missing-plugin message for element to notify the application that a source element for a particular URI protocol is missing. This function is mainly for use in plugins.
Parameters:
element
–
the GstElement posting the message
protocol
–
the URI protocol the missing source needs to implement, e.g. "http" or "mms"
a new GstMessage
GstPbutils.prototype.missing_uri_source_message_new
function GstPbutils.prototype.missing_uri_source_message_new(element: Gst.Element, protocol: String): {
// javascript wrapper for 'gst_missing_uri_source_message_new'
}
Creates a missing-plugin message for element to notify the application that a source element for a particular URI protocol is missing. This function is mainly for use in plugins.
Parameters:
the Gst.Element posting the message
the URI protocol the missing source needs to implement, e.g. "http" or "mms"
a new Gst.Message
GstPbutils.missing_uri_source_message_new
def GstPbutils.missing_uri_source_message_new (element, protocol):
#python wrapper for 'gst_missing_uri_source_message_new'
Creates a missing-plugin message for element to notify the application that a source element for a particular URI protocol is missing. This function is mainly for use in plugins.
Parameters:
the Gst.Element posting the message
the URI protocol the missing source needs to implement, e.g. "http" or "mms"
a new Gst.Message
The results of the search are