Gjsify LogoGjsify Logo

Index

Enumerations

Classes

Interfaces

Type Aliases

Variables

Functions

Type Aliases

FrameNumber: number

Variables

FRAME_NUMBER_NONE: number

Constant to define an undefined frame number

META_DESCRIPTION: string

The description of the object, to be used in various contexts (string).

META_FORMATTER_EXTENSION: string

The file extension of files produced by a #GESFormatter (string).

META_FORMATTER_MIMETYPE: string

The mimetype used for the file produced by a #GESFormatter (string).

META_FORMATTER_NAME: string

The name of a formatter, used as the #GESAsset:id for #GESFormatter assets (string).

META_FORMATTER_RANK: string

The rank of a #GESFormatter (a #GstRank).

META_FORMATTER_VERSION: string

The version of a #GESFormatter (double).

META_FORMAT_VERSION: string

The version of the format in which a project is serialized (string).

META_MARKER_COLOR: string

The ARGB color of a #GESMarker (an AARRGGBB hex as a uint).

META_VOLUME: string

The volume for a #GESTrack or a #GESLayer (float).

META_VOLUME_DEFAULT: number

The default volume for a #GESTrack or a #GESLayer as a float.

MULTI_FILE_URI_PREFIX: string
PADDING: number
PADDING_LARGE: number
TIMELINE_ELEMENT_NO_LAYER_PRIORITY: number

Layer priority when a timeline element is not in any layer.

VERSION_MAJOR: number
VERSION_MICRO: number
VERSION_MINOR: number
VERSION_NANO: number

Functions

  • add_missing_uri_relocation_uri(uri: string, recurse: boolean): boolean
  • deinit(): void
  • Clean up any resources created by GES in ges_init().

    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. This function should be called from the thread where ges_init() was called.

    After this call GES should not be used until another ges_init() call.

    Returns void

  • edge_name(edge: Edge): string
  • find_formatter_for_uri(uri: string): Asset
  • Get the best formatter for uri. It tries to find a formatter compatible with uri extension, if none is found, it returns the default formatter asset.

    Parameters

    • uri: string

    Returns Asset

  • init(): boolean
  • Initialize the GStreamer Editing Service. Call this before any usage of GES. You should take care of initilizing GStreamer before calling this function.

    MT safety. GStreamer Editing Services do not guarantee MT safety. An application is required to use GES APIs (including ges_deinit()) in the thread where ges_init() was called.

    Returns boolean

  • init_check(argv: string[]): [boolean, string[] | null]
  • Initializes the GStreamer Editing Services library, setting up internal path lists, and loading evrything needed.

    This function will return %FALSE if GES could not be initialized for some reason.

    Parameters

    • argv: string[]

      pointer to application's argv

    Returns [boolean, string[] | null]

  • is_initialized(): boolean
  • Use this function to check if GES has been initialized with ges_init() or ges_init_check().

    Returns boolean

  • List all the assets in the current cache whose #GESAsset:extractable-type are of the given type (including subclasses).

    Note that, since only a #GESExtractable can be extracted from an asset, using GES_TYPE_EXTRACTABLE as filter will return all the assets in the current cache.

    Parameters

    • filter: GType<unknown>

      The type of object that can be extracted from the asset

    Returns Asset[]

  • pspec_equal(key_spec_1: object, key_spec_2: object): boolean
  • pspec_hash(key_spec: object): number
  • validate_register_action_types(): boolean
  • version(): [number, number, number, number]
  • Gets the version number of the GStreamer Editing Services library.

    Returns [number, number, number, number]

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method