[CCode (cheader_filename = "ges/ges.h", type_id = "ges_audio_transition_get_type ()")]
public class AudioTransition : GES.Transition, GES.Extractable, GES.MetaContainer {
[CCode (has_construct_function = false)]
+ [Version (deprecated = true, deprecated_since = "1.18")]
public AudioTransition ();
}
[CCode (cheader_filename = "ges/ges.h", type_id = "ges_audio_uri_source_get_type ()")]
public GLib.List<GES.TrackElement> find_track_elements (GES.Track? track, GES.TrackType track_type, GLib.Type type);
public GES.Layer? get_layer ();
public GES.TrackType get_supported_formats ();
+ public Gst.ClockTime get_timeline_time_from_source_frame (GES.FrameNumber frame_number) throws GLib.Error;
public int get_top_effect_index (GES.BaseEffect effect);
public int get_top_effect_position (GES.BaseEffect effect);
public GLib.List<GES.TrackElement> get_top_effects ();
public class ClipAsset : GES.Asset, GES.MetaContainer, GLib.AsyncInitable, GLib.Initable {
[CCode (has_construct_function = false)]
protected ClipAsset ();
+ public Gst.ClockTime get_frame_time (GES.FrameNumber frame_number);
+ public virtual bool get_natural_framerate (int framerate_n, int framerate_d);
public GES.TrackType get_supported_formats ();
public void set_supported_formats (GES.TrackType supportedformats);
public GES.TrackType supported_formats { get; set construct; }
public uint64 start { get; set; }
}
[CCode (cheader_filename = "ges/ges.h", type_id = "ges_image_source_get_type ()")]
+ [Version (deprecated = true, deprecated_since = "1.18")]
public class ImageSource : GES.VideoSource, GES.Extractable, GES.MetaContainer {
[CCode (has_construct_function = false)]
protected ImageSource ();
public Layer ();
public unowned GES.Clip add_asset (GES.Asset asset, Gst.ClockTime start, Gst.ClockTime inpoint, Gst.ClockTime duration, GES.TrackType track_types);
public bool add_clip (GES.Clip clip);
+ public bool get_active_for_track (GES.Track track);
public bool get_auto_transition ();
public GLib.List<GES.Clip> get_clips ();
public GLib.List<GES.Clip> get_clips_in_interval (Gst.ClockTime start, Gst.ClockTime end);
[NoWrapper]
public virtual void object_removed (GES.Clip object);
public bool remove_clip (GES.Clip clip);
+ public bool set_active_for_tracks (bool active, GLib.List<GES.Track>? tracks);
public void set_auto_transition (bool auto_transition);
[Version (deprecated = true, deprecated_since = "1.16.0")]
public void set_priority (uint priority);
public bool auto_transition { get; set; }
[Version (deprecated = true, deprecated_since = "1.16.0")]
public uint priority { get; set; }
+ public signal void active_changed (bool active, GLib.GenericArray<GES.Track> tracks);
public signal void clip_added (GES.Clip clip);
public signal void clip_removed (GES.Clip clip);
}
public signal void marker_removed (GES.Marker marker);
}
[CCode (cheader_filename = "ges/ges.h", type_id = "ges_multi_file_source_get_type ()")]
+ [Version (deprecated = true, deprecated_since = "1.18")]
public class MultiFileSource : GES.VideoSource, GES.Extractable, GES.MetaContainer {
[CCode (has_construct_function = false)]
public MultiFileSource (string uri);
[CCode (has_construct_function = false)]
protected SourceClip ();
}
+ [CCode (cheader_filename = "ges/ges.h", type_id = "ges_source_clip_asset_get_type ()")]
+ public class SourceClipAsset : GES.ClipAsset, GES.MetaContainer, GLib.AsyncInitable, GLib.Initable {
+ [CCode (has_construct_function = false)]
+ protected SourceClipAsset ();
+ }
[CCode (cheader_filename = "ges/ges.h", type_id = "ges_test_clip_get_type ()")]
public class TestClip : GES.SourceClip, GES.Extractable, GES.MetaContainer {
[CCode (has_construct_function = false)]
[CCode (cheader_filename = "ges/ges.h", type_id = "ges_text_overlay_get_type ()")]
public class TextOverlay : GES.Operation, GES.Extractable, GES.MetaContainer {
[CCode (has_construct_function = false)]
+ [Version (deprecated = true, deprecated_since = "1.18")]
public TextOverlay ();
public uint32 get_color ();
public unowned string get_font_desc ();
public bool get_auto_transition ();
public Gst.ClockTime get_duration ();
public GES.TimelineElement? get_element (string name);
+ public GES.FrameNumber get_frame_at (Gst.ClockTime timestamp);
+ public Gst.ClockTime get_frame_time (GES.FrameNumber frame_number);
public unowned GLib.List<GES.Group> get_groups ();
public GES.Layer? get_layer (uint priority);
public GLib.List<GES.Layer> get_layers ();
public virtual uint32 get_layer_priority ();
public Gst.ClockTime get_max_duration ();
public string get_name ();
+ [Version (since = "1.18")]
+ public virtual bool get_natural_framerate (out int framerate_n, out int framerate_d);
public GES.TimelineElement? get_parent ();
public uint32 get_priority ();
public Gst.ClockTime get_start ();
public class TrackElementAsset : GES.Asset, GES.MetaContainer, GLib.AsyncInitable, GLib.Initable {
[CCode (has_construct_function = false)]
protected TrackElementAsset ();
+ public virtual bool get_natural_framerate (int framerate_n, int framerate_d);
public GES.TrackType get_track_type ();
public void set_track_type (GES.TrackType type);
public GES.TrackType track_type { get; set construct; }
public string uri { get; construct; }
}
[CCode (cheader_filename = "ges/ges.h", type_id = "ges_uri_clip_asset_get_type ()")]
- public class UriClipAsset : GES.ClipAsset, GES.MetaContainer, GLib.AsyncInitable, GLib.Initable {
+ public class UriClipAsset : GES.SourceClipAsset, GES.MetaContainer, GLib.AsyncInitable, GLib.Initable {
[CCode (finish_name = "ges_asset_request_finish", has_construct_function = false, type = "void")]
public async UriClipAsset (string uri, GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "1.16")]
public unowned GES.UriClipAsset get_filesource_asset ();
public unowned Gst.PbUtils.DiscovererStreamInfo get_stream_info ();
public unowned string get_stream_uri ();
+ public bool is_image ();
}
[CCode (cheader_filename = "ges/ges.h", type_id = "ges_video_source_get_type ()")]
public abstract class VideoSource : GES.Source, GES.Extractable, GES.MetaContainer {
protected VideoTestSource ();
public GES.VideoTestPattern get_pattern ();
public void set_pattern (GES.VideoTestPattern pattern);
+ [NoAccessorMethod]
+ public bool use_time_overlay { get; set; }
}
[CCode (cheader_filename = "ges/ges.h", type_id = "ges_video_track_get_type ()")]
public class VideoTrack : GES.Track, GES.MetaContainer, Gst.ChildProxy {
public bool set_uint64 (string meta_item, uint64 value);
public signal void notify_meta (string key, GLib.Value? value);
}
+ [CCode (cheader_filename = "ges/ges.h")]
+ [SimpleType]
+ public struct FrameNumber : int64 {
+ }
[CCode (cheader_filename = "ges/ges.h", cprefix = "GES_ASSET_LOADING_", has_type_id = false)]
public enum AssetLoadingReturn {
ERROR,
public enum Edge {
[CCode (cname = "GES_EDGE_START")]
EDGE_START,
+ START,
[CCode (cname = "GES_EDGE_END")]
EDGE_END,
+ END,
[CCode (cname = "GES_EDGE_NONE")]
- EDGE_NONE;
+ EDGE_NONE,
+ NONE;
public unowned string name ();
}
[CCode (cheader_filename = "ges/ges.h", cprefix = "GES_EDIT_MODE_", type_id = "ges_edit_mode_get_type ()")]
public enum EditMode {
[CCode (cname = "GES_EDIT_MODE_NORMAL")]
EDIT_NORMAL,
+ NORMAL,
[CCode (cname = "GES_EDIT_MODE_RIPPLE")]
EDIT_RIPPLE,
+ RIPPLE,
[CCode (cname = "GES_EDIT_MODE_ROLL")]
EDIT_ROLL,
+ ROLL,
[CCode (cname = "GES_EDIT_MODE_TRIM")]
EDIT_TRIM,
+ TRIM,
[CCode (cname = "GES_EDIT_MODE_SLIDE")]
- EDIT_SLIDE
+ EDIT_SLIDE,
+ SLIDE
}
[CCode (cheader_filename = "ges/ges.h", cprefix = "GES_ERROR_", has_type_id = false)]
public enum Error {
ASSET_WRONG_ID,
ASSET_LOADING,
- FORMATTER_MALFORMED_INPUT_FILE
+ FORMATTER_MALFORMED_INPUT_FILE,
+ INVALID_FRAME_NUMBER
}
[CCode (cheader_filename = "ges/ges.h", cprefix = "GES_META_", type_id = "ges_meta_flag_get_type ()")]
[Flags]
public delegate bool FormatterSaveToURIMethod (GES.Formatter formatter, GES.Timeline timeline, string uri, bool overwrite) throws GLib.Error;
[CCode (cheader_filename = "ges/ges.h", instance_pos = 3.9)]
public delegate void MetaForeachFunc (GES.MetaContainer container, string key, GLib.Value value);
+ [CCode (cheader_filename = "ges/ges.h", cname = "GES_FRAME_NUMBER_NONE")]
+ public const int64 FRAME_NUMBER_NONE;
[CCode (cheader_filename = "ges/ges.h", cname = "GES_META_DESCRIPTION")]
public const string META_DESCRIPTION;
[CCode (cheader_filename = "ges/ges.h", cname = "GES_META_FORMATTER_EXTENSION")]
[NoWrapper]
public virtual void update_conversion_info ();
[NoAccessorMethod]
+ public uint64 max_last_buffer_repeat { get; set; }
+ [NoAccessorMethod]
public bool repeat_after_eos { get; set; }
[NoAccessorMethod]
public uint zorder { get; set; }
[GIR (name = "VideoContentLightLevel")]
[Version (since = "1.18")]
public struct ContentLightLevel {
- public uint maxCLL_n;
- public uint maxCLL_d;
- public uint maxFALL_n;
- public uint maxFALL_d;
+ public uint16 max_content_light_level;
+ public uint16 max_frame_average_light_level;
public bool add_to_caps (Gst.Caps caps);
public bool from_caps (Gst.Caps caps);
public bool from_string (string level);
[GIR (name = "VideoMasteringDisplayInfo")]
[Version (since = "1.18")]
public struct MasteringDisplayInfo {
- public uint Rx_n;
- public uint Rx_d;
- public uint Ry_n;
- public uint Ry_d;
- public uint Gx_n;
- public uint Gx_d;
- public uint Gy_n;
- public uint Gy_d;
- public uint Bx_n;
- public uint Bx_d;
- public uint By_n;
- public uint By_d;
- public uint Wx_n;
- public uint Wx_d;
- public uint Wy_n;
- public uint Wy_d;
- public uint max_luma_n;
- public uint max_luma_d;
- public uint min_luma_n;
- public uint min_luma_d;
+ [CCode (array_length = false)]
+ public weak Gst.Video.MasteringDisplayInfoCoordinates display_primaries[3];
+ public Gst.Video.MasteringDisplayInfoCoordinates white_point;
+ public uint32 max_display_mastering_luminance;
+ public uint32 min_display_mastering_luminance;
public bool add_to_caps (Gst.Caps caps);
public bool from_caps (Gst.Caps caps);
public void init ();
public bool is_equal (Gst.Video.MasteringDisplayInfo other);
- public bool is_valid ();
- public string? to_string ();
+ public string to_string ();
+ }
+ [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
+ [GIR (name = "VideoMasteringDisplayInfoCoordinates")]
+ [Version (since = "1.18")]
+ public struct MasteringDisplayInfoCoordinates {
+ public uint16 x;
+ public uint16 y;
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoMeta")]
P016_BE,
P016_LE,
P012_BE,
- P012_LE
+ P012_LE,
+ Y212_BE,
+ Y212_LE,
+ Y412_BE,
+ Y412_LE
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_FORMAT_FLAG_", type_id = "gst_video_format_flags_get_type ()")]
[Flags]
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_META_TAG_VIDEO_STR")]
[Version (since = "1.2")]
public const string META_TAG_VIDEO_STR;
- [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_OVERLAY_COMPOSITION_BLEND_FORMATS")]
- [Version (since = "1.2")]
- public const string OVERLAY_COMPOSITION_BLEND_FORMATS;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_RESAMPLER_OPT_CUBIC_B")]
public const string RESAMPLER_OPT_CUBIC_B;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_RESAMPLER_OPT_CUBIC_C")]