GES.UriSourceAsset

g GES.Asset GES.Asset GES.TrackElementAsset GES.TrackElementAsset GES.Asset->GES.TrackElementAsset GES.MetaContainer GES.MetaContainer GES.MetaContainer->GES.Asset GES.UriSourceAsset GES.UriSourceAsset GES.TrackElementAsset->GES.UriSourceAsset GObject.GInterface GObject.GInterface GObject.GInterface->GES.MetaContainer Gio.AsyncInitable Gio.AsyncInitable GObject.GInterface->Gio.AsyncInitable Gio.Initable Gio.Initable GObject.GInterface->Gio.Initable GObject.Object GObject.Object GObject.Object->GES.Asset Gio.AsyncInitable->GES.Asset Gio.Initable->GES.Asset

Subclasses:

None

Methods

Inherited:

GES.TrackElementAsset (3), GES.Asset (13), GObject.Object (37), GES.MetaContainer (40), Gio.AsyncInitable (4), Gio.Initable (2)

Structs:

GObject.ObjectClass (5)

get_filesource_asset ()

get_stream_info ()

get_stream_uri ()

is_image ()

Virtual Methods

Inherited:

GES.TrackElementAsset (1), GES.Asset (5), GObject.Object (7), Gio.AsyncInitable (2), Gio.Initable (1)

Properties

Inherited:

GES.TrackElementAsset (1), GES.Asset (4)

Signals

Inherited:

GObject.Object (1), GES.MetaContainer (1)

Fields

Inherited:

GObject.Object (1), GES.MetaContainer (1)

Name

Type

Access

Description

parent

GES.TrackElementAsset

r

Class Details

class GES.UriSourceAsset(**kwargs)
Bases:

GES.TrackElementAsset

Abstract:

No

Structure:

GES.UriSourceAssetClass

Asset to create a stream specific GES.Source for a media file.

NOTE: You should never request such a GES.Asset as they will be created automatically by GES.UriClipAsset-s.

get_filesource_asset()[source]
Returns:

a GES.UriClipAsset

Return type:

GES.UriClipAsset

Get the GES.UriClipAsset self is contained in

get_stream_info()[source]
Returns:

a GES.UriClipAsset

Return type:

GstPbutils.DiscovererStreamInfo

Get the GstPbutils.DiscovererStreamInfo user by self

get_stream_uri()[source]
Return type:

str

is_image()[source]
Returns:

True if the video stream corresponds to an image (i.e. only contains one frame)

Return type:

bool

Check if self contains a single image

New in version 1.18.