Back to Seed Clases

Gst


Classes

Interfaces

Structs

Unions

Enums

Class Gst.Element

Import line: Gst = imports.gi.Gst;
GIR File: Gst-0.10.gir
C documentation: GstElement
Class : Element
Extends: Gst.Object
  Show / Hide Inherited methods, properties and signals
gst_element_set_state() and gst_element_get_state() the element is in the correct state. GST_STATE_VOID_PENDING if the element is in the correct state parent element or the application. A GstPipeline has a bus of its own. element by the toplevel GstPipeline. PLAYING. Subtracting base_time from the current clock time in the PLAYING state will yield the running_time against the clock. GStreamer element abstract base class.
Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
Events - usage syntax: this.signals.EVENTNAME.connect( Function )
Event Defined By
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gst
Method
Gst.parse_bin_from_description (String bin_description, Boolean ghost_unlinked_pads) : Gst.Element
This is a convenience wrapper around gst_parse_launch() to create a GstBin from a gst-launch-style pipeline description.
Gst
Method
Gst.parse_bin_from_description_full (String bin_description, Boolean ghost_unlinked_pads, ParseContext context, ParseFlags flags) : Gst.Element
This is a convenience wrapper around gst_parse_launch() to create a GstBin from a gst-launch-style pipeline description.
Gst
Method
Gst.parse_launch (String pipeline_description) : Gst.Element
Create a new pipeline based on command line syntax.
Gst
Method
Gst.parse_launch_full (String pipeline_description, ParseContext context, ParseFlags flags) : Gst.Element
Create a new pipeline based on command line syntax.
Gst
Method
Gst.parse_launchv (Array argv) : Gst.Element
Create a new element based on command line syntax.
Gst
Method
Gst.parse_launchv_full (Array argv, ParseContext context, ParseFlags flags) : Gst.Element
Create a new element based on command line syntax.
Gst
Method
Gst.print_element_args (String buf, Number indent, Element element) : none
Print the element argument in a human readable format in the given GString.
Gst.Bin
Signal
element_added (Bin self, Element element) : none
Will be emitted after the element was added to the bin.
Gst.Bin
Signal
element_removed (Bin self, Element element) : none
Will be emitted after the element was removed from the bin.
Gst.Bin
Method
add (Element element) : Boolean
Adds the given element to the bin.
Gst.Bin
Method
remove (Element element) : Boolean
Removes the element from the bin, unparenting it as well.
Gst.Bin
Method
get_by_name (String name) : Gst.Element
Gets the element with the given name from a bin.
Gst.Bin
Method
get_by_name_recurse_up (String name) : Gst.Element
Gets the element with the given name from this bin.
Gst.Bin
Method
get_by_interface (Number iface) : Gst.Element
Looks for an element inside the bin that implements the given interface.
Gst.ElementFactory
Method
Gst.ElementFactory.make (String factoryname, String name) : Gst.Element
Create a new element of the type defined by the given element factory.
Gst.ElementFactory
Method
create (String name) : Gst.Element
Create a new element of the type defined by the given elementfactory.
Gst.Message
Method
new Gst.Message.structure_change (Object src, StructureChangeType type, Element owner, Boolean busy) : Gst.Message
Create a new Gst.Message
Gst.Message
Method
new Gst.Message.stream_status (Object src, StreamStatusType type, Element owner) : Gst.Message
Create a new Gst.Message
Gst.Message
Method
parse_structure_change (StructureChangeType type, Element owner) : Boolean
completed Extracts the change type and completion status from the GstMessage.
Gst.Message
Method
parse_stream_status (StreamStatusType type, Element owner) : none
Extracts the stream status type and owner the GstMessage.
Gst.Pad
Method
get_parent_element () : Gst.Element
Gets the parent of pad, cast to a GstElement.
Gst.XML
Method
Gst.XML.write (Element element) : libxml2.Doc
Converts the given element into an XML presentation.
Gst.XML
Method
Gst.XML.make_element (Node cur, Object parent) : Gst.Element
Load the element from the XML description
Gst.XML
Method
get_element (String name) : Gst.Element
This function is used to get a pointer to the GstElement corresponding to name in the pipeline description.
GstCheck
Method
GstCheck.buffer_straw_get_buffer (Element bin, Pad pad) : Gst.Buffer
Get one buffer from pad.
GstCheck
Method
GstCheck.buffer_straw_start_pipeline (Element bin, Pad pad) : none
Sets up a pipeline for buffer sucking.
GstCheck
Method
GstCheck.buffer_straw_stop_pipeline (Element bin, Pad pad) : none
Set bin to GST_STATE_NULL and release resource allocated in gst_buffer_straw_start_pipeline().
GstCheck
Method
GstCheck.setup_element (String factory) : Gst.Element
GstCheck
Method
GstCheck.setup_sink_pad (Element element, StaticPadTemplate template, Caps caps) : Gst.Pad
GstCheck
Method
GstCheck.setup_sink_pad_by_name (Element element, StaticPadTemplate template, String name) : Gst.Pad
GstCheck
Method
GstCheck.setup_src_pad (Element element, StaticPadTemplate template, Caps caps) : Gst.Pad
GstCheck
Method
GstCheck.setup_src_pad_by_name (Element element, StaticPadTemplate template, String name) : Gst.Pad
GstCheck
Method
GstCheck.teardown_element (Element element) : none
GstCheck
Method
GstCheck.teardown_pad_by_name (Element element, String name) : none
GstCheck
Method
GstCheck.teardown_sink_pad (Element element) : none
GstCheck
Method
GstCheck.teardown_src_pad (Element element) : none
GstPbutils
Method
GstPbutils.missing_decoder_message_new (Element element, Caps decode_caps) : Gst.Message
Creates a missing-plugin message for element to notify the application that a decoder element for a particular set of (fixed) caps is missing.
GstPbutils
Method
GstPbutils.missing_element_message_new (Element element, String factory_name) : Gst.Message
Creates a missing-plugin message for element to notify the application that a certain required element is missing.
GstPbutils
Method
GstPbutils.missing_encoder_message_new (Element element, Caps encode_caps) : Gst.Message
Creates a missing-plugin message for element to notify the application that an encoder element for a particular set of (fixed) caps is missing.
GstPbutils
Method
GstPbutils.missing_uri_sink_message_new (Element element, String protocol) : Gst.Message
Creates a missing-plugin message for element to notify the application that a sink element for a particular URI protocol is missing.
GstPbutils
Method
GstPbutils.missing_uri_source_message_new (Element element, String protocol) : Gst.Message
Creates a missing-plugin message for element to notify the application that a source element for a particular URI protocol is missing.
GstRiff
Method
GstRiff.parse_chunk (Element element, Buffer buf, Object out_values, Number fourcc, Buffer chunk_data) : Boolean
Reads a single chunk.
GstRiff
Method
GstRiff.parse_file_header (Element element, Buffer buf, Object out_values) : Boolean
Reads the first few bytes from the provided buffer, checks if this stream is a RIFF stream, and determines document type.
GstRiff
Method
GstRiff.parse_info (Element element, Buffer buf, TagList taglist) : none
Parses stream metadata from input data.
GstRiff
Method
GstRiff.parse_strf_auds (Element element, Buffer buf, riff_strf_auds strf, Buffer data) : Boolean
Parses an audio stream´s strf structure plus optionally some extradata from input data.
GstRiff
Method
GstRiff.parse_strf_iavs (Element element, Buffer buf, riff_strf_iavs strf, Buffer data) : Boolean
Parses a interleaved (also known as "complex") stream´s strf structure plus optionally some extradata from input data.
GstRiff
Method
GstRiff.parse_strf_vids (Element element, Buffer buf, riff_strf_vids strf, Buffer data) : Boolean
Parses a video stream´s strf structure plus optionally some extradata from input data.
GstRiff
Method
GstRiff.parse_strh (Element element, Buffer buf, riff_strh strh) : Boolean
Parses a strh structure from input data.
GstRiff
Method
GstRiff.read_chunk (Element element, Pad pad, Object out_values, Number tag, Buffer chunk_data) : Gst.FlowReturn
Reads a single chunk of data.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:33:52 GMT+0800 (HKT)