gstreamermm
1.4.3
|
Namespaces | |
Enums | |
Classes | |
class | AllocationParams |
class | Allocator |
class | AudioBaseSink |
The base class for audio sinks. More... | |
class | AudioBaseSrc |
The base class for audio sources. More... | |
class | AudioClock |
A Helper object for implementing audio clocks. More... | |
class | AudioFilter |
A base class for simple audio filters. More... | |
class | AudioFormatInfo |
Information for an audio format. More... | |
class | AudioInfo |
Information for an audio format. More... | |
class | AudioRingBufferSpec |
A class containing the format specification of a Gst::AudioRingBuffer. More... | |
class | AudioRingBuffer |
A base class for audio audioringbuffer implementations. More... | |
class | AudioSink |
A simple base class for audio sinks. More... | |
class | AudioSrc |
A simple base class for audio sources. More... | |
class | BaseSink |
The base class for sink elements. More... | |
class | BaseSrc |
A base class for getrange based source elements. More... | |
class | BaseTransform |
A base class for simple transform filters. More... | |
class | Iterator |
A class used to retrieve multiple reference counted elements in a thread safe way. More... | |
class | Bin |
Base class and element that can contain other elements. More... | |
class | Buffer |
SECTION:gstbuffer : Data-passing buffer type : #GstPad, #GstMiniObject, #GstMemory, #GstMeta, #GstBufferPool. More... | |
class | BufferList |
A grouped scatter data buffer type for data-passing. More... | |
class | Bus |
A class that encompasses the GStreamer asynchronous message bus subsystem. More... | |
class | Caps |
A class that describes sets of media formats. More... | |
class | CapsFeatures |
class | ChildProxy |
An interface for multi child elements. More... | |
class | ClockID |
A data type to hold the handle to an outstanding sync or async clock callback. More... | |
class | Clock |
An abstract class for global clocks. More... | |
class | Context |
class | ColorBalance |
An interface for adjusting color balance settings. More... | |
class | ColorBalanceChannel |
A class that represents a color balance channel. More... | |
class | Discoverer |
Discoverer - Utility for discovering information on URIs. More... | |
class | DiscovererInfo |
DiscovererInfo - Class containing the information of a URI analyzed by Gst::Discoverer. More... | |
class | DiscovererStreamInfo |
DiscovererStreamInfo - Base class for information concerning a media stream. More... | |
class | DiscovererContainerInfo |
DiscovererContainerInfo - Gst::DiscovererStreamInfo specific to container streams. More... | |
class | DiscovererAudioInfo |
DiscovererAudioInfo - Gst::DiscovererStreamInfo specific to audio streams. More... | |
class | DiscovererVideoInfo |
DiscovererVideoInfo - Gst::DiscovererStreamInfo specific to video streams (this includes images). More... | |
class | ElementFactory |
A class that creates Gst::Element objects from a factory. More... | |
class | Element |
The abstract base class for all pipeline elements. More... | |
class | CoreError |
The GStreamer core GError type. More... | |
class | LibraryError |
The GStreamer library GError type. More... | |
class | ResourceError |
The GStreamer resource GError type. More... | |
class | StreamError |
The GStreamer stream GError type. More... | |
class | Event |
A class that represents events that are passed up and down a pipeline. More... | |
class | EventFlushStart |
A flush start event. More... | |
class | EventFlushStop |
A flush stop event. More... | |
class | EventEos |
An end of stream event. More... | |
class | EventNewSegment |
A new segment event. More... | |
class | EventTag |
A tag event. More... | |
class | EventBufferSize |
A buffer size event. More... | |
class | EventQos |
A QOS event. More... | |
class | EventSeek |
A seek event. More... | |
class | EventNavigation |
A Navigation event. More... | |
class | EventLatency |
A latency event. More... | |
class | EventStep |
A step event. More... | |
class | EventSinkMessage |
A sink-message event. More... | |
class | EventStreamStart |
A stream-start event. More... | |
class | EventCaps |
class | IteratorBasic |
A class used to retrieve multiple elements in a thread safe way. More... | |
class | FormatDefinition |
A class to store the details of a Gst::Format retrieved by Gst::get_format_details(). More... | |
class | GhostPad |
A class that represents pseudo link pads. More... | |
class | IteratorBase |
The base class for classes that retrieve multiple elements in a thread safe way. More... | |
class | MapInfo |
class | Message |
A class that represents lightweight objects to signal the application of pipeline events. More... | |
class | MessageEos |
An end of stream message. More... | |
class | MessageError |
An error message. More... | |
class | MessageWarning |
A warning message. More... | |
class | MessageInfo |
An informational message. More... | |
class | MessageTag |
A tag message. More... | |
class | MessageBuffering |
A buffering message. More... | |
class | MessageStateChanged |
A state change message. More... | |
class | MessageStateDirty |
A state dirty message. More... | |
class | MessageStepDone |
A step done message. More... | |
class | MessageClockProvide |
A clock provide message. More... | |
class | MessageClockLost |
A clock lost message. More... | |
class | MessageNewClock |
A new clock message. More... | |
class | MessageApplication |
An application message. More... | |
class | MessageElement |
An element specific message. More... | |
class | MessageCustom |
A custom message. More... | |
class | MessageSegmentStart |
A segment start message. More... | |
class | MessageSegmentDone |
A segment done message. More... | |
class | MessageDuration |
A duration message. More... | |
class | MessageLatency |
A latency message. More... | |
class | MessageAsyncStart |
An asynchronous start message. More... | |
class | MessageAsyncDone |
An asynchronous done message. More... | |
class | MessageStepStart |
A step start message. More... | |
class | MessageStructureChange |
A structure change message. More... | |
class | MessageRequestState |
A request state message. More... | |
class | MessageStreamStatus |
A stream status message. More... | |
class | Memory |
GstMemory is a lightweight refcounted object that wraps a region of memory. More... | |
class | QuarkData |
This is a base class for data which represents qdata. More... | |
class | MiniObject |
This is a base class for some gstreamermm objects. More... | |
class | Navigation |
An interface for elements that provide navigation functionality. More... | |
class | Object |
A base class for the GStreamer object hierarchy. More... | |
class | Pad |
A class that represents objects contained by elements that allows links to other elements. More... | |
class | PadProbeInfo |
class | PadTemplate |
A class that describes the media type of a pad. More... | |
class | StaticPadTemplate |
class | ParseError |
The different parsing errors that can occur. More... | |
class | Parse |
A class that gets a pipeline from a text pipeline description. More... | |
class | Pipeline |
A top-level bin with clocking and bus management functionality. More... | |
class | PluginFeature |
A base class for anything that can be added to a Gst::Plugin. More... | |
class | PluginError |
The plugin loading errors. More... | |
class | Plugin |
A container for features loaded from a shared object module. More... | |
class | Preset |
A helper interface for element presets. More... | |
class | PushSrc |
A base class for push based source elements. More... | |
class | Query |
A class used to perform queries on pads and elements. More... | |
class | QueryApplication |
A custom application query object. More... | |
class | QueryConvert |
A convert query object. More... | |
class | QueryPosition |
A stream position query object. More... | |
class | QueryDuration |
A stream duration query object. More... | |
class | QueryLatency |
A latency query object. More... | |
class | QuerySeeking |
A seeking query object. More... | |
class | QueryFormats |
A formats query object. More... | |
class | QuerySegment |
A new segment query object. More... | |
class | QueryBuffering |
A new buffering query object. More... | |
class | QueryCaps |
A new caps query object. More... | |
class | QueryScheduling |
A new scheduling query object. More... | |
class | QueryAllocation |
A new scheduling query object. More... | |
class | QueryUri |
A new uri query object. More... | |
class | QueryAcceptCaps |
A new accept caps query object. More... | |
class | Registry |
An abstract base class for management of Gst::Plugin objects. More... | |
class | Sample |
A Gst::Sample is a small object containing data, a type, timing and extra arbitrary information. More... | |
class | Segment |
A class that describes the configured region of interest in a media file. More... | |
class | StreamVolume |
An interface for elements that provide a stream volume. More... | |
class | Structure |
A generic class containing fields of names and values. More... | |
class | SystemClock |
A default clock that uses the current system time. More... | |
class | TagList |
A class tha represents a list of tags and values used to describe media metadata. More... | |
class | TagSetter |
An interface that allows setting and retrieval of media metadata. More... | |
class | Task |
A class representing GStreamer streaming threads. More... | |
class | TaskPool |
A class representing a pool of GStreamer streaming threads. More... | |
class | Toc |
class | TocEntry |
class | TocSetter |
class | TypeFindFactory |
A class used to get information about registered typefind functions. More... | |
class | TypeFind |
A class used for stream type detection. More... | |
class | URIHandler |
An interface to ease URI handling in plugins. More... | |
class | Fourcc |
A class that represents a 4 byte identifier (used in codecs). More... | |
class | Fraction |
A class that represents a fraction. More... | |
class | IntRange |
A class that represents an integer range (min - max). More... | |
class | DoubleRange |
A class that represents a double range (min - max). More... | |
class | FractionRange |
A class that represents a fractional range. More... | |
class | ValueList |
class | VideoOrientation |
An interface for elements providing video orientation controls. More... | |
struct | VideoRectangle |
A helper structure for the Gst::VideoSink class representing a rectangular area. More... | |
class | VideoSink |
A base class for video sinks. More... | |
class | VideoOverlay |
An interface for setting/getting a Window on elements supporting it. More... | |
class | Adder |
A Wrapper for the adder plugin. More... | |
class | AlsaSink |
A Wrapper for the alsasink plugin. More... | |
class | AlsaSrc |
A Wrapper for the alsasrc plugin. More... | |
class | AppSink |
A Wrapper for the appsink plugin. More... | |
class | AppSrc |
A Wrapper for the appsrc plugin. More... | |
class | AudioConvert |
A Wrapper for the audioconvert plugin. More... | |
class | AudioRate |
A Wrapper for the audiorate plugin. More... | |
class | AudioTestSrc |
A Wrapper for the audiotestsrc plugin. More... | |
class | CapsFilter |
A Wrapper for the capsfilter plugin. More... | |
class | CdParanoiaSrc |
A Wrapper for the cdparanoiasrc plugin. More... | |
class | ClockOverlay |
A Wrapper for the clockoverlay plugin. More... | |
class | DecodeBin |
A Wrapper for the decodebin plugin. More... | |
class | FakeSink |
A Wrapper for the fakesink plugin. More... | |
class | FakeSrc |
A Wrapper for the fakesrc plugin. More... | |
class | FdSink |
A Wrapper for the fdsink plugin. More... | |
class | FdSrc |
A Wrapper for the fdsrc plugin. More... | |
class | FileSink |
A Wrapper for the filesink plugin. More... | |
class | FileSrc |
A Wrapper for the filesrc plugin. More... | |
class | Funnel |
A Wrapper for the funnel plugin. More... | |
class | GioSink |
A Wrapper for the giosink plugin. More... | |
class | GioSrc |
A Wrapper for the giosrc plugin. More... | |
class | GioStreamSink |
A Wrapper for the giostreamsink plugin. More... | |
class | GioStreamSrc |
A Wrapper for the giostreamsrc plugin. More... | |
class | Identity |
A Wrapper for the identity plugin. More... | |
class | InputSelector |
A Wrapper for the input-selector plugin. More... | |
class | MultiQueue |
A Wrapper for the multiqueue plugin. More... | |
class | OggDemux |
A Wrapper for the oggdemux plugin. More... | |
class | OggMux |
A Wrapper for the oggmux plugin. More... | |
class | OutputSelector |
A Wrapper for the output-selector plugin. More... | |
class | PlayBin |
A Wrapper for the playbin plugin. More... | |
class | Queue |
A Wrapper for the queue plugin. More... | |
class | Queue2 |
A Wrapper for the queue2 plugin. More... | |
class | SubtitleOverlay |
A Wrapper for the subtitleoverlay plugin. More... | |
class | TCPClientSink |
A Wrapper for the tcpclientsink plugin. More... | |
class | TCPClientSrc |
A Wrapper for the tcpclientsrc plugin. More... | |
class | TCPServerSrc |
A Wrapper for the tcpserversrc plugin. More... | |
class | Tee |
A Wrapper for the tee plugin. More... | |
class | TextOverlay |
A Wrapper for the textoverlay plugin. More... | |
class | TextRender |
A Wrapper for the textrender plugin. More... | |
class | TheoraDec |
A Wrapper for the theoradec plugin. More... | |
class | TheoraEnc |
A Wrapper for the theoraenc plugin. More... | |
class | TheoraParse |
A Wrapper for the theoraparse plugin. More... | |
class | TimeOverlay |
A Wrapper for the timeoverlay plugin. More... | |
class | TypeFindElement |
A Wrapper for the typefind plugin. More... | |
class | UriDecodeBin |
A Wrapper for the uridecodebin plugin. More... | |
class | Valve |
A Wrapper for the valve plugin. More... | |
class | VideoRate |
A Wrapper for the videorate plugin. More... | |
class | VideoScale |
A Wrapper for the videoscale plugin. More... | |
class | VideoTestSrc |
A Wrapper for the videotestsrc plugin. More... | |
class | VorbisDec |
A Wrapper for the vorbisdec plugin. More... | |
class | VorbisEnc |
A Wrapper for the vorbisenc plugin. More... | |
class | VorbisParse |
A Wrapper for the vorbisparse plugin. More... | |
class | VorbisTag |
A Wrapper for the vorbistag plugin. More... | |
class | XImageSink |
A Wrapper for the ximagesink plugin. More... | |
class | AtomicQueue |
The Gst::AtomicQueue object implements a queue that can be used from multiple threads without performing any blocking operations. More... | |
class | Exception |
class | Check |
class | ElementClass |
Typedefs | |
typedef GstClockTime | ClockTime |
A data type to hold a time, measured in nanoseconds. More... | |
typedef GstClockTimeDiff | ClockTimeDiff |
A data type to hold a timedifference, measured in nanoseconds. More... | |
Variables | |
const ClockTime | CLOCK_TIME_NONE |
A constant to define an undefined clock time. More... | |
const ClockTime | SECOND |
A constant that defines one GStreamer second. More... | |
const ClockTime | MILLI_SECOND |
A constant that defines one GStreamer millisecond. More... | |
const ClockTime | MICRO_SECOND |
A constant that defines one GStreamer microsecond. More... | |
const ClockTime | NANO_SECOND |
A constant that defines one GStreamer nanosecond. More... | |
typedef GstClockTime Gst::ClockTime |
A data type to hold a time, measured in nanoseconds.
typedef GstClockTimeDiff Gst::ClockTimeDiff |
A data type to hold a timedifference, measured in nanoseconds.
enum Gst::MessageType |
Enumerator | |
---|---|
MESSAGE_UNKNOWN |
An undefined message. |
MESSAGE_EOS |
End-of-stream reached in a pipeline. The application will only receive this message in the PLAYING state and every time it sets a pipeline to PLAYING that is in the EOS state. The application can perform a flushing seek in the pipeline, which will undo the EOS state again. |
MESSAGE_ERROR |
An error occured. When the application receives an error message it should stop playback of the pipeline and not assume that more data will be played. |
MESSAGE_WARNING |
A warning occured. |
MESSAGE_INFO |
An info message occured. |
MESSAGE_TAG |
A tag was found. |
MESSAGE_BUFFERING |
The pipeline is buffering. When the application receives a buffering message in the PLAYING state for a non-live pipeline it must PAUSE the pipeline until the buffering completes, when the percentage field in the message is 100%. For live pipelines, no action must be performed and the buffering percentage can be used to inform the user about the progress. |
MESSAGE_STATE_CHANGED |
A state change happened. |
MESSAGE_STATE_DIRTY |
An element changed state in a streaming thread. This message is deprecated. |
MESSAGE_STEP_DONE |
A stepping operation finished. |
MESSAGE_CLOCK_PROVIDE |
An element notifies its capability of providing a clock. This message is used internally and never forwarded to the application. |
MESSAGE_CLOCK_LOST |
The current clock as selected by the pipeline became unusable. The pipeline will select a new clock on the next PLAYING state change. The application should set the pipeline to PAUSED and back to PLAYING when this message is received. |
MESSAGE_NEW_CLOCK |
A new clock was selected in the pipeline. |
MESSAGE_STRUCTURE_CHANGE |
The structure of the pipeline changed. This message is used internally and never forwarded to the application. |
MESSAGE_STREAM_STATUS |
Status about a stream, emitted when it starts, stops, errors, etc. |
MESSAGE_APPLICATION |
Message posted by the application, possibly via an application-specific element. |
MESSAGE_ELEMENT |
Element-specific message, see the specific element's documentation. |
MESSAGE_SEGMENT_START |
Pipeline started playback of a segment. This message is used internally and never forwarded to the application. |
MESSAGE_SEGMENT_DONE |
Pipeline completed playback of a segment. This message is forwarded to the application after all elements that posted GST_MESSAGE_SEGMENT_START posted a GST_MESSAGE_SEGMENT_DONE message. |
MESSAGE_DURATION_CHANGED |
The duration of a pipeline changed. The application can get the new duration with a duration query. |
MESSAGE_LATENCY |
Posted by elements when their latency changes. The application should recalculate and distribute a new latency. |
MESSAGE_ASYNC_START |
Posted by elements when they start an ASYNC Gst::StateChange. This message is not forwarded to the application but is used internally. |
MESSAGE_ASYNC_DONE |
Posted by elements when they complete an ASYNC Gst::StateChange. The application will only receive this message from the toplevel pipeline. |
MESSAGE_REQUEST_STATE |
Posted by elements when they want the pipeline to change state. This message is a suggestion to the application which can decide to perform the state change on (part of) the pipeline. |
MESSAGE_STEP_START |
A stepping operation was started. |
MESSAGE_QOS |
A buffer was dropped or an element changed its processing strategy for Quality of Service reasons. |
MESSAGE_PROGRESS |
A progress message. |
MESSAGE_TOC |
A new table of contents (TOC) was found or previously found TOC was updated. |
MESSAGE_RESET_TIME |
Message to request resetting the pipeline's running time from the pipeline. This is an internal message which applications will likely never receive. |
MESSAGE_STREAM_START |
Message indicating start of a new stream. Useful e.g. when using playbin in gapless playback mode, to get notified when the next title actually starts playing (which will be some time after the URI for the next title has been set). |
MESSAGE_NEED_CONTEXT |
Message indicating that an element wants a specific context (Since 1.2). |
MESSAGE_HAVE_CONTEXT |
Message indicating that an element created a context (Since 1.2). |
MESSAGE_ANY |
Mask for all of the above messages. |
enum Gst::SeekType |
enum Gst::StateChange |
enum Gst::Tag |
Identifiers for commonly-used tags.
Enumerator | |
---|---|
TAG_TITLE |
The commonly used title (string). The title as it should be displayed, e.g. 'The Doll House'. |
TAG_TITLE_SORTNAME |
The commonly used title, as used for sorting (string). The title as it should be sorted, e.g. 'Doll House, The'. Since 0.10.15. |
TAG_ARTIST |
The person(s) responsible for the recording (string). The artist name as it should be displayed, e.g. 'Jimi Hendrix' or 'The Guitar Heroes'. |
TAG_ARTIST_SORTNAME |
The person(s) responsible for the recording, as used for sorting (string). The artist name as it should be sorted, e.g. 'Hendrix, Jimi' or 'Guitar Heroes, The'. Since 0.10.15. |
TAG_ALBUM |
The album containing this data (string). The album name as it should be displayed, e.g. 'The Jazz Guitar'. |
TAG_ALBUM_SORTNAME |
The album containing this data, as used for sorting (string). The album name as it should be sorted, e.g. 'Jazz Guitar, The'. Since 0.10.15. |
TAG_DATE |
The date the data was created (GDate structure). |
TAG_GENRE |
The genre this data belongs to (string). |
TAG_COMMENT |
The free text commenting the data (string). |
TAG_EXTENDED_COMMENT |
The Key/value text commenting the data (string). Must be in the form of 'key=comment' or 'key[lc]=comment' where 'lc' is an ISO-639 language code. This tag is used for unknown Vorbis comment tags, unknown APE tags and certain ID3v2 comment fields. Since 0.10.10. |
TAG_TRACK_NUMBER |
The track number inside a collection (unsigned integer). |
TAG_TRACK_COUNT |
The count of tracks inside collection this track belongs to (unsigned integer). |
TAG_ALBUM_VOLUME_NUMBER |
The disc number inside a collection (unsigned integer). |
TAG_ALBUM_VOLUME_COUNT |
The count of discs inside collection this disc belongs to (unsigned integer). |
TAG_LOCATION |
The original location of file as a URI (string). |
TAG_DESCRIPTION |
The short text describing the content of the data (string). |
TAG_VERSION |
The version of this data (string). |
TAG_ISRC |
The International Standard Recording Code - see http://www.ifpi.org/isrc/ (string). |
TAG_ORGANIZATION |
The organization (string). |
TAG_COPYRIGHT |
The copyright notice of the data (string). |
TAG_COPYRIGHT_URI |
The URI to location where copyright details can be found (string). Since 0.10.14. |
TAG_COMPOSER |
The person(s) who composed the recording (string). Since 0.10.15. |
TAG_CONTACT |
The contact information (string). |
TAG_LICENSE |
The license of the data (string). |
TAG_LICENSE_URI |
The URI to the location where license details can be found (string). Since 0.10.14. |
TAG_PERFORMER |
The person(s) performing (string). |
TAG_DURATION |
The length in GStreamer time units (nanoseconds) (unsigned 64-bit integer). |
TAG_CODEC |
The codec the data is stored in (string). |
TAG_VIDEO_CODEC |
The codec the video data is stored in (string). |
TAG_AUDIO_CODEC |
The codec the audio data is stored in (string). |
TAG_BITRATE |
The exact or average bitrate in bits/s (unsigned integer). |
TAG_NOMINAL_BITRATE |
The nominal bitrate in bits/s (unsigned integer). |
TAG_MINIMUM_BITRATE |
The minimum bitrate in bits/s (unsigned integer). |
TAG_MAXIMUM_BITRATE |
The maximum bitrate in bits/s (unsigned integer). |
TAG_SERIAL |
The serial number of track (unsigned integer). |
TAG_ENCODER |
The encoder used to encode this stream (string). |
TAG_ENCODER_VERSION |
The version of the encoder used to encode this stream (unsigned integer). |
TAG_TRACK_GAIN |
The track gain in db (double). |
TAG_TRACK_PEAK |
The peak of the track (double). |
TAG_ALBUM_GAIN |
The album gain in db (double). |
TAG_ALBUM_PEAK |
The peak of the album (double). |
TAG_REFERENCE_LEVEL |
The reference level of track and album gain values (double). Since 0.10.12. |
TAG_LANGUAGE_CODE |
The language code (ISO-639-1) (string) of the content. |
TAG_IMAGE |
The image (buffer) (buffer caps should specify the content type and preferably also set "image-type" field as GstTagImageType). Since 0.10.6 |
TAG_PREVIEW_IMAGE |
The image that is meant for preview purposes, e.g. small icon-sized version (buffer) (buffer caps should specify the content type). Since 0.10.7. |
TAG_ATTACHMENT |
The generic file attachment (buffer) (buffer caps should specify the content type and if possible set "filename" to the file name of the attachment). Since 0.10.21. |
TAG_BEATS_PER_MINUTE |
The number of beats per minute in audio (double). Since 0.10.12. |
TAG_KEYWORDS |
The comma separated keywords describing the content (string). Since 0.10.21 |
TAG_GEO_LOCATION_NAME |
The human readable descriptive location of where the media has been recorded or produced. (string). Since 0.10.21. |
TAG_GEO_LOCATION_LATITUDE |
The geo latitude location of where the media has been recorded or produced in degrees according to WGS84 (zero at the equator, negative values for southern latitudes) (double). Since 0.10.21. |
TAG_GEO_LOCATION_LONGITUDE |
The geo longitude location of where the media has been recorded or produced in degrees according to WGS84 (zero at the prime meridian in Greenwich/UK, negative values for western longitudes). (double). Since 0.10.21. |
TAG_GEO_LOCATION_ELEVATION |
The geo elevation of where the media has been recorded or produced in meters according to WGS84 (zero is average sea level) (double). Since 0.10.21. |
void Gst::deinit | ( | ) |
Clean up any resources created by GStreamer upon initialization.
It is normally not needed to call this function in a normal application as the resources will automatically be freed when the program terminates. This function is therefore mostly used by testsuites and other memory profiling tools.
After this call GStreamer (including this method) should not be used anymore.
bool Gst::formats_contain | ( | const Glib::ArrayHandle< Format > & | formats, |
Format | format | ||
) |
Sees if the given format is inside the array of formats.
formats | The array of formats to search. |
format | The format to find. |
Glib::QueryQuark Gst::get_core_error_quark | ( | ) |
Gets the error domain for core system.
Errors in this domain will be from the Gst::CoreError enumeration.
Format Gst::get_format | ( | const Glib::ustring & | nick | ) |
Returns the format registered with the given nick.
nick | The nick of the format. |
bool Gst::get_format_details | ( | Format | format, |
FormatDefinition & | def | ||
) |
Gets details about the given format.
format | The format to get details of. |
def | The Gst::FormatDefinition in which to store the details of the format. |
guint Gst::get_fractional_seconds | ( | ClockTime | time | ) |
Gets the fractional component (milli, micro and nano seconds) of Gst::ClockTime.
time | The Gst::ClockTime to parse. |
guint Gst::get_hours | ( | ClockTime | time | ) |
Gets the hour component of Gst::ClockTime.
time | The Gst::ClockTime to parse. |
Glib::QueryQuark Gst::get_library_error_quark | ( | ) |
Gets the error domain for library loading.
Errors in this domain will be from the gst::libraryerror enumeration.
guint Gst::get_microseconds | ( | ClockTime | time | ) |
Gets the microseconds component of Gst::ClockTime.
time | The Gst::ClockTime to parse. |
guint Gst::get_milliseconds | ( | ClockTime | time | ) |
Gets the milliseconds component of Gst::ClockTime.
time | The Gst::ClockTime to parse. |
guint Gst::get_minutes | ( | ClockTime | time | ) |
Gets the minute component of Gst::ClockTime.
time | The Gst::ClockTime to parse. |
guint Gst::get_nanoseconds | ( | ClockTime | time | ) |
Gets the nanoseconds component of Gst::ClockTime.
time | The Gst::ClockTime to parse. |
Glib::OptionGroup Gst::get_option_group | ( | ) |
Returns a Glib::OptionGroup with GStreamer's argument specifications.
The group is set up to use standard GOption callbacks, so when using this group in combination with GOption parsing methods, all argument parsing and initialization is automated.
This function is useful if you want to integrate GStreamer with other libraries that use GOption (see g_option_context_add_group() ).
If you use this function, you should make sure you initialise the GLib threading system as one of the very first things in your program.
Glib::QueryQuark Gst::get_resource_error_quark | ( | ) |
Gets error domain for resource handling.
Errors in this domain will be from the Gst::ResourceError enumeration.
guint Gst::get_seconds | ( | ClockTime | time | ) |
Gets the seconds component of Gst::ClockTime.
time | The Gst::ClockTime to parse. |
Glib::QueryQuark Gst::get_stream_error_quark | ( | ) |
Gets error domain for media stream processing.
Errors in this domain will be from the Gst::StreamError enumeration.
void Gst::init | ( | int & | argc, |
char **& | argv | ||
) |
Initializes gstreamermm parsing command line arguments.
Either this function or Gst::init_check() with command line parsing should be called to initialize gstreamermm before calling any other GLib functions. If this is not an option, your program must initialize the GLib thread system using Glib::thread_init() before any other GLib functions are called and use either Gst::init(), or Gst::init_check() without the command line arguments before calling any gstreamermm functions. GLib thread initialization can be done as follows:
Note: This function will terminate your program if it was unable to initialize GStreamer for some reason. If you want your program to fall back, use Gst::init_check() instead.
WARNING: This function does not work in the same way as corresponding functions in other glib-style libraries, such as gtk_init(). In particular, unknown command line options cause this function to abort program execution.
argc | Reference to application's argc. |
argv | Reference to application's argv. |
void Gst::init | ( | ) |
Initializes gstreamermm without parsing command line options.
Either the Gst::init() or Gst::init_check() functions with command line parsing should be called to initialize gstreamermm before calling any other GLib functions. If this is not an option, your program must initialize the GLib thread system using Glib::thread_init() before any other GLib functions are called and use either this function or Gst::init_check() without the command line arguments before calling any gstreamermm functions. GLib thread initialization can be done as follows:
Note: This function will terminate your program if it was unable to initialize GStreamer for some reason. If you want your program to fall back, use Gst::init_check() instead.
bool Gst::init_check | ( | int & | argc, |
char **& | argv | ||
) |
Initializes gstreamermm gracefully parsing command line arguments.
Either this function or Gst::init() with command line parsing should be called to initialize gstreamermm before calling any other GLib functions. If this is not an option, your program must initialize the GLib thread system using Glib::thread_init() before any other GLib functions are called and use either Gst::init() or Gst::init_check() without the command line arguments before calling any gstreamermm functions. GLib thread initialization can be done as follows:
This function will return false if GStreamer could not be initialized for some reason. If you want your program to fail fatally, use Gst::init() instead.
argc | Reference to application's argc. |
argv | Reference to application's argv. |
Glib::Error |
bool Gst::init_check | ( | ) |
Initializes gstreamermm gracefully without parsing command line arguments.
Either the Gst::init() or Gst::init_check() functions with command line parsing should be called to initialize gstreamermm before calling any other GLib functions. If this is not an option, your program must initialize the GLib thread system using Glib::thread_init() before any other GLib functions are called and use either this function or Gst::init() without the command line arguments before calling any gstreamermm functions. GLib thread initialization can be done as follows:
This function will return false if GStreamer could not be initialized for some reason. If you want your program to fail fatally, use Gst::init() instead.
Glib::Error |
bool Gst::is_initialized | ( | void | ) |
Use this function to check if GStreamer has been initialized.
true
if initialization has been done, false
otherwise. IteratorBasic<const FormatDefinition> Gst::iterate_format_definitions | ( | ) |
Iterates all the registered formats.
The format definitions are read only.
std::ostream& Gst::operator<< | ( | std::ostream & | stream, |
Tag | tag | ||
) |
An Output stream operator for the Gst::Tag enum (this will output a string).
Format Gst::register_format | ( | const Glib::ustring & | nick, |
const Glib::ustring & | description | ||
) |
Creates a new Gst::Format based on the nick or return an already registered format with that nick.
nick | The nick of the new format. |
description | The description of the new format. |
bool Gst::registry_fork_is_enabled | ( | ) |
By default GStreamer will perform scanning and rebuilding of the registry file using a helper child process.
Applications might want to disable this behaviour with the gst_registry_fork_set_enabled() function, in which case new plugins are scanned (and loaded) into the application process.
true
if GStreamer will use the child helper process when rebuilding the registry. void Gst::registry_fork_set_enabled | ( | bool | enabled | ) |
Applications might want to disable/enable spawning of a child helper process when rebuilding the registry.
See gst_registry_fork_is_enabled() for more information.
: whether rebuilding the registry can use a temporary child helper process.
bool Gst::segtrap_is_enabled | ( | ) |
Some functions in the GStreamer core might install a custom SIGSEGV handler to better catch and report errors to the application.
Currently this feature is enabled by default when loading plugins.
Applications might want to disable this behaviour with the gst_segtrap_set_enabled() function. This is typically done if the application wants to install its own handler without GStreamer interfering.
true
if GStreamer is allowed to install a custom SIGSEGV handler. void Gst::segtrap_set_enabled | ( | bool | enabled | ) |
Applications might want to disable/enable the SIGSEGV handling of the GStreamer core.
See gst_segtrap_is_enabled() for more information.
: whether a custom SIGSEGV handler should be installed.
bool Gst::update_registry | ( | ) |
Forces GStreamer to re-scan its plugin paths and update the default plugin registry.
Applications will almost never need to call this function, it is only useful if the application knows new plugins have been installed (or old ones removed) since the start of the application (or, to be precise, the first call to gst_init()) and the application wants to make use of any newly-installed plugins without restarting the application.
Applications should assume that the registry update is neither atomic nor thread-safe and should therefore not have any dynamic pipelines running (including the playbin and decodebin elements) and should also not create any elements or access the GStreamer registry while the update is in progress.
Note that this function may block for a significant amount of time.
true
if the registry has been updated successfully (does not imply that there were changes), otherwise false
. void Gst::version | ( | guint & | major, |
guint & | minor, | ||
guint & | micro | ||
) |
Gets the version number of the gstreamermm library.
major | Pointer to a guint to store the major version number. |
minor | Pointer to a guint to store the minor version number. |
micro | Pointer to a guint to store the micro version number. |
void Gst::version | ( | guint & | major, |
guint & | minor, | ||
guint & | micro, | ||
guint & | nano | ||
) |
Gets the version number of the GStreamer library.
: (out): pointer to a guint to store the major version number : (out): pointer to a guint to store the minor version number : (out): pointer to a guint to store the micro version number : (out): pointer to a guint to store the nano version number
Glib::ustring Gst::version_string | ( | ) |
This function returns a string that is useful for describing this version of GStreamer to the outside world: user agent strings, logging, ...
void Gst::wrap_init | ( | ) |
Initializes the main gstreamermm wrapping system.
There's no need to use this function directly; instead use Gst::init() or Gst::init_check().
Glib::RefPtr<T> Gst::wrap_msg_derived | ( | GstMessage * | object, |
bool | take_copy | ||
) |
const ClockTime Gst::CLOCK_TIME_NONE |
A constant to define an undefined clock time.
const ClockTime Gst::MICRO_SECOND |
A constant that defines one GStreamer microsecond.
const ClockTime Gst::MILLI_SECOND |
A constant that defines one GStreamer millisecond.
const ClockTime Gst::NANO_SECOND |
A constant that defines one GStreamer nanosecond.
const ClockTime Gst::SECOND |
A constant that defines one GStreamer second.