Import line: | Gst = imports.gi.Gst; |
GIR File: | Gst-0.10.gir |
C documentation: | GstFormat |
Enum : | Format |
Show / Hide Inherited methods, properties and signals |
Properties | |
---|---|
Number Gst.Format.BUFFERS : 4
|
|
Number Gst.Format.BYTES : 2
|
|
Number Gst.Format.DEFAULT : 1
|
|
Number Gst.Format.PERCENT : 5
|
|
Number Gst.Format.TIME : 3
|
|
Number Gst.Format.UNDEFINED : 0
|
None |
None |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gst
Method |
Return the format registered with the given nick.
|
Gst
Method |
Get details about the given format.
|
Gst
Method |
Get a printable name for the given format.
|
Gst
Method |
Create a new GstFormat based on the nick or return an already registered format with that nick.
|
Gst
Method |
Get the unique quark for the given format.
|
Gst
Method |
See if the given format is inside the format array.
|
Gst.Element
Method |
seek
(Number rate, Format format, SeekFlags flags, SeekType cur_type, Number cur, SeekType stop_type, Number stop)
:
Boolean
Sends a seek event to an element.
|
Gst.Element
Method |
|
Gst.Element
Method |
Queries an element for the stream position.
|
Gst.Element
Method |
Queries an element for the total stream duration.
|
Gst.Element
Method |
Queries an element to convert src_val in src_format to dest_format.
|
Gst.Event
Method |
new Gst.Event.new_segment
(Boolean update, Number rate, Format format, Number start, Number stop, Number position)
:
Gst.Event
Create a new Gst.Event
|
Gst.Event
Method |
new Gst.Event.new_segment_full
(Boolean update, Number rate, Number applied_rate, Format format, Number start, Number stop, Number position)
:
Gst.Event
Create a new Gst.Event
|
Gst.Event
Method |
new Gst.Event.buffer_size
(Format format, Number minsize, Number maxsize, Boolean async)
:
Gst.Event
Create a new Gst.Event
|
Gst.Event
Method |
new Gst.Event.seek
(Number rate, Format format, SeekFlags flags, SeekType start_type, Number start, SeekType stop_type, Number stop)
:
Gst.Event
Create a new Gst.Event
|
Gst.Event
Method |
new Gst.Event.step
(Format format, Number amount, Number rate, Boolean flush, Boolean intermediate)
:
Gst.Event
Create a new Gst.Event
|
Gst.Event
Method |
Get the update flag, rate, format, start, stop and position in the newsegment event.
|
Gst.Event
Method |
Get the update, rate, applied_rate, format, start, stop and position in the newsegment event.
|
Gst.Event
Method |
Get the format, minsize, maxsize and async-flag in the buffersize event.
|
Gst.Event
Method |
parse_seek
(Number rate, Format format, SeekFlags flags, SeekType start_type, Number start, SeekType stop_type)
:
Object
Parses a seek event and stores the results in the given result locations.
|
Gst.Event
Method |
Parse the step event.
|
Gst.Index
Method |
Adds a format entry into the index.
|
Gst.Index
Method |
get_assoc_entry
(Number id, IndexLookupMethod method, AssocFlags flags, Format format, Number value)
:
Gst.IndexEntry
Finds the given format/value in the index
|
Gst.Index
Method |
get_assoc_entry_full
(Number id, IndexLookupMethod method, AssocFlags flags, Format format, Number value, Function func, void* user_data)
:
Gst.IndexEntry
Finds the given format/value in the index with the given compare function and user_data.
|
Gst.IndexEntry
Method |
Gets alternative formats associated with the indexentry.
|
Gst.Message
Method |
new Gst.Message.step_done
(Object src, Format format, Number amount, Number rate, Boolean flush, Boolean intermediate, Number duration, Boolean eos)
:
Gst.Message
Create a new Gst.Message
|
Gst.Message
Method |
Create a new Gst.Message
|
Gst.Message
Method |
Create a new Gst.Message
|
Gst.Message
Method |
Create a new Gst.Message
|
Gst.Message
Method |
new Gst.Message.step_start
(Object src, Boolean active, Format format, Number amount, Number rate, Boolean flush, Boolean intermediate)
:
Gst.Message
Create a new Gst.Message
|
Gst.Message
Method |
Extract the values the step_done message.
|
Gst.Message
Method |
Extracts the position and format from the segment start message.
|
Gst.Message
Method |
Extracts the position and format from the segment start message.
|
Gst.Message
Method |
Extracts the duration and format from the duration message.
|
Gst.Message
Method |
Extract the values from step_start message.
|
Gst.Message
Method |
filters will use GST_FORMAT_BUFFERS (frames).
|
Gst.Message
Method |
filters will use GST_FORMAT_BUFFERS (frames).
|
Gst.Pad
Method |
Queries a pad for the stream position.
|
Gst.Pad
Method |
Queries a pad for the total stream duration.
|
Gst.Pad
Method |
Queries a pad to convert src_val in src_format to dest_format.
|
Gst.Pad
Method |
Queries the peer of a given sink pad for the stream position.
|
Gst.Pad
Method |
Queries the peer pad of a given sink pad for the total stream duration.
|
Gst.Pad
Method |
query_peer_convert
(Format src_format, Number src_val, Format dest_format, Object out_values)
:
Boolean
Queries the peer pad of a given sink pad to convert src_val in src_format to dest_format.
|
Gst.Query
Method |
Create a new Gst.Query
|
Gst.Query
Method |
Create a new Gst.Query
|
Gst.Query
Method |
Create a new Gst.Query
|
Gst.Query
Method |
Create a new Gst.Query
|
Gst.Query
Method |
Create a new Gst.Query
|
Gst.Query
Method |
Create a new Gst.Query
|
Gst.Query
Method |
Answer a position query by setting the requested value in the given format.
|
Gst.Query
Method |
Parse a position query, writing the format into format, and the position into cur, if the respective parameters are non-NULL.
|
Gst.Query
Method |
Answer a duration query by setting the requested value in the given format.
|
Gst.Query
Method |
Parse a duration query answer.
|
Gst.Query
Method |
Answer a convert query by setting the requested values.
|
Gst.Query
Method |
Parse a convert query answer.
|
Gst.Query
Method |
Answer a segment query by setting the requested values.
|
Gst.Query
Method |
Parse a segment query answer.
|
Gst.Query
Method |
Set the seeking query result fields in query.
|
Gst.Query
Method |
Parse a seeking query, writing the format into format, and other results into the passed parameters, if the respective parameters are non-NULL
|
Gst.Query
Method |
Set the formats query result fields in query.
|
Gst.Query
Method |
Parse the format query and retrieve the nth format from it into set to GST_FORMAT_UNDEFINED.
|
Gst.Query
Method |
Set the available query result fields in query.
|
Gst.Query
Method |
Parse an available query, writing the format into format, and other results into the passed parameters, if the respective parameters are non-NULL
|
Gst.Segment
Method |
init
(Format format)
:
none
The start/last_stop positions are set to 0 and the stop/duration fields are set to -1 (unknown).
|
Gst.Segment
Method |
Set the duration of the segment to duration.
|
Gst.Segment
Method |
Set the last observed stop position in the segment to position.
|
Gst.Segment
Method |
set_seek
(Number rate, Format format, SeekFlags flags, SeekType start_type, Number start, SeekType stop_type, Number stop)
:
Boolean
Update the segment structure with the field values of a seek event (see gst_event_new_seek()).
|
Gst.Segment
Method |
set_newsegment
(Boolean update, Number rate, Format format, Number start, Number stop, Number time)
:
none
Update the segment structure with the field values of a new segment event and with a default applied_rate of 1.0.
|
Gst.Segment
Method |
set_newsegment_full
(Boolean update, Number rate, Number applied_rate, Format format, Number start, Number stop, Number time)
:
none
Update the segment structure with the field values of a new segment event.
|
Gst.Segment
Method |
Translate position to stream time using the currently configured segment.
|
Gst.Segment
Method |
Translate position to the total running time using the currently configured and previously accumulated segments.
|
Gst.Segment
Method |
Convert running_time into a position in the segment so that gst_segment_to_running_time() with that position returns running_time.
|
Gst.Segment
Method |
Clip the given start and stop values to the segment boundaries given in segment.
|
Gst.Segment
Method |
Adjust the start/stop and accum values of segment such that the next valid buffer will be one with running_time.
|
GstApp.AppSrc
Property |
format : Gst.Format
|
GstAudio.RingBuffer
Method |
Convert src_val in src_fmt to the equivalent value in dest_fmt.
|
GstBase.BaseSrc
Method |
set_format
(Format format)
:
none
Sets the default format of the source.
|
GstVideo
Method |
GstVideo.format_convert
(VideoFormat format, Number width, Number height, Number fps_n, Number fps_d, Format src_format, Number src_value, Format dest_format, Object out_values)
:
Boolean
Converts among various GstFormat types.
|