GES.FormatterClass

Fields

Name

Type

Access

Description

can_load_uri

GES.FormatterCanLoadURIMethod

r

Whether the URI can be loaded

description

str

r

extension

str

r

load_from_uri

GES.FormatterLoadFromURIMethod

r

class method to deserialize data from a URI

mimetype

str

r

name

str

r

parent_class

GObject.InitiallyUnownedClass

r

the parent class structure

rank

Gst.Rank

r

save_to_uri

GES.FormatterSaveToURIMethod

r

class method to serialize data to a URI

version

float

r

Methods

register_metas (name, description, extensions, caps, version, rank)

Details

class GES.FormatterClass

GES Formatter class. Override the vmethods to implement the formatter functionnality.

register_metas(name, description, extensions, caps, version, rank)[source]
Parameters:
  • name (str) – The name of the formatter

  • description (str) – The formatter description

  • extensions (str) – A list of coma separated file extensions handled by the formatter. The order of the extensions should match the list of the structures inside caps

  • caps (str) – The caps the formatter handled, they should match what gstreamer typefind mechanism will report for the files the formatter handles.

  • version (float) – The version of the formatter

  • rank (Gst.Rank) – The rank of the formatter