Top |
Functions
Object Hierarchy
GObject ├── GstPlayerMediaInfo ╰── GstPlayerStreamInfo ├── GstPlayerAudioInfo ├── GstPlayerSubtitleInfo ╰── GstPlayerVideoInfo
Functions
gst_player_media_info_get_uri ()
const gchar *
gst_player_media_info_get_uri (const GstPlayerMediaInfo *info
);
gst_player_media_info_get_duration ()
GstClockTime
gst_player_media_info_get_duration (const GstPlayerMediaInfo *info
);
gst_player_media_info_get_title ()
const gchar *
gst_player_media_info_get_title (const GstPlayerMediaInfo *info
);
gst_player_media_info_get_container_format ()
const gchar *
gst_player_media_info_get_container_format
(const GstPlayerMediaInfo *info
);
gst_player_media_info_is_seekable ()
gboolean
gst_player_media_info_is_seekable (const GstPlayerMediaInfo *info
);
gst_player_media_info_is_live ()
gboolean
gst_player_media_info_is_live (const GstPlayerMediaInfo *info
);
gst_player_media_info_get_image_sample ()
GstSample *
gst_player_media_info_get_image_sample
(const GstPlayerMediaInfo *info
);
Function to get the image (or preview-image) stored in taglist. Application can use gst_sample_*_() API's to get caps, buffer etc.
gst_player_media_info_get_tags ()
GstTagList *
gst_player_media_info_get_tags (const GstPlayerMediaInfo *info
);
gst_player_media_info_get_stream_list ()
GList *
gst_player_media_info_get_stream_list (const GstPlayerMediaInfo *info
);
gst_player_media_info_get_number_of_streams ()
guint
gst_player_media_info_get_number_of_streams
(const GstPlayerMediaInfo *info
);
Since: 1.12
gst_player_media_info_get_audio_streams ()
GList *
gst_player_media_info_get_audio_streams
(const GstPlayerMediaInfo *info
);
gst_player_media_info_get_number_of_audio_streams ()
guint
gst_player_media_info_get_number_of_audio_streams
(const GstPlayerMediaInfo *info
);
Since: 1.12
gst_player_media_info_get_video_streams ()
GList *
gst_player_media_info_get_video_streams
(const GstPlayerMediaInfo *info
);
gst_player_media_info_get_number_of_video_streams ()
guint
gst_player_media_info_get_number_of_video_streams
(const GstPlayerMediaInfo *info
);
Since: 1.12
gst_player_media_info_get_subtitle_streams ()
GList *
gst_player_media_info_get_subtitle_streams
(const GstPlayerMediaInfo *info
);
Returns
A GList of matching GstPlayerSubtitleInfo.
[transfer none][element-type GstPlayerSubtitleInfo]
gst_player_media_info_get_number_of_subtitle_streams ()
guint
gst_player_media_info_get_number_of_subtitle_streams
(const GstPlayerMediaInfo *info
);
Since: 1.12
gst_player_stream_info_get_index ()
gint
gst_player_stream_info_get_index (const GstPlayerStreamInfo *info
);
Function to get stream index from GstPlayerStreamInfo instance.
gst_player_stream_info_get_caps ()
GstCaps *
gst_player_stream_info_get_caps (const GstPlayerStreamInfo *info
);
gst_player_stream_info_get_tags ()
GstTagList *
gst_player_stream_info_get_tags (const GstPlayerStreamInfo *info
);
gst_player_stream_info_get_codec ()
const gchar *
gst_player_stream_info_get_codec (const GstPlayerStreamInfo *info
);
A string describing codec used in GstPlayerStreamInfo.
gst_player_stream_info_get_stream_type ()
const gchar *
gst_player_stream_info_get_stream_type
(const GstPlayerStreamInfo *info
);
Function to return human readable name for the stream type
of the given info
(ex: "audio", "video", "subtitle")
gst_player_audio_info_get_bitrate ()
gint
gst_player_audio_info_get_bitrate (const GstPlayerAudioInfo *info
);
gst_player_audio_info_get_channels ()
gint
gst_player_audio_info_get_channels (const GstPlayerAudioInfo *info
);
gst_player_audio_info_get_language ()
const gchar *
gst_player_audio_info_get_language (const GstPlayerAudioInfo *info
);
gst_player_audio_info_get_max_bitrate ()
gint
gst_player_audio_info_get_max_bitrate (const GstPlayerAudioInfo *info
);
gst_player_audio_info_get_sample_rate ()
gint
gst_player_audio_info_get_sample_rate (const GstPlayerAudioInfo *info
);
gst_player_video_info_get_bitrate ()
gint
gst_player_video_info_get_bitrate (const GstPlayerVideoInfo *info
);
gst_player_video_info_get_height ()
gint
gst_player_video_info_get_height (const GstPlayerVideoInfo *info
);
gst_player_video_info_get_width ()
gint
gst_player_video_info_get_width (const GstPlayerVideoInfo *info
);
gst_player_video_info_get_framerate ()
void gst_player_video_info_get_framerate (const GstPlayerVideoInfo *info
,gint *fps_n
,gint *fps_d
);
gst_player_video_info_get_max_bitrate ()
gint
gst_player_video_info_get_max_bitrate (const GstPlayerVideoInfo *info
);
gst_player_video_info_get_pixel_aspect_ratio ()
void gst_player_video_info_get_pixel_aspect_ratio (const GstPlayerVideoInfo *info
,guint *par_n
,guint *par_d
);
Returns the pixel aspect ratio in par_n
and par_d
gst_player_subtitle_info_get_language ()
const gchar *
gst_player_subtitle_info_get_language (const GstPlayerSubtitleInfo *info
);
Types and Values
GstPlayerMediaInfo
typedef struct _GstPlayerMediaInfo GstPlayerMediaInfo;
Structure containing the media information of a URI.
GstPlayerStreamInfo
typedef struct _GstPlayerStreamInfo GstPlayerStreamInfo;
Base structure for information concering a media stream. Depending on the stream type, one can find more media-specific information in GstPlayerVideoInfo, GstPlayerAudioInfo, GstPlayerSubtitleInfo.
GstPlayerAudioInfo
typedef struct _GstPlayerAudioInfo GstPlayerAudioInfo;
GstPlayerStreamInfo specific to audio streams.
GstPlayerVideoInfo
typedef struct _GstPlayerVideoInfo GstPlayerVideoInfo;
GstPlayerStreamInfo specific to video streams.
GstPlayerSubtitleInfo
typedef struct _GstPlayerSubtitleInfo GstPlayerSubtitleInfo;
GstPlayerStreamInfo specific to subtitle streams.