C# Class LongoMatch.Video.Editor.GstVideoSplitter

Inheritance: GLib.Object, IVideoEditor
Mostra file Open project: GNOME/longomatch Class Usage Examples

Public Methods

Method Description
AddImageSegment ( string filePath, long start, long duration, string title, Area roi ) : void
AddSegment ( string filePath, long start, long duration, double rate, string title, bool hasAudio, Area roi ) : void
Cancel ( ) : void
ClearList ( ) : void
GstVideoSplitter ( ) : System
InitBackend ( string argv ) : int
Start ( ) : void

Private Methods

Method Description
OnError ( string message ) : void
OnPercentCompleted ( float percent ) : void
OverrideError ( GLib gtype ) : void
OverridePercentCompleted ( GLib gtype ) : void
error_cb ( IntPtr gvc, IntPtr message ) : void
gst_video_editor_add_image_segment ( IntPtr raw, string file_path, long start, long duration, IntPtr title, uint roi_x, uint roi_y, uint roi_w, uint roi_h ) : void
gst_video_editor_add_segment ( IntPtr raw, string file_path, long start, long duration, double rate, IntPtr title, bool hasAudio, uint roi_x, uint roi_y, uint roi_w, uint roi_h ) : void
gst_video_editor_cancel ( IntPtr raw ) : void
gst_video_editor_clear_segments_list ( IntPtr raw ) : void
gst_video_editor_get_type ( ) : IntPtr
gst_video_editor_init_backend ( int &argc, IntPtr argv ) : void
gst_video_editor_new ( IntPtr &err ) : IntPtr
gst_video_editor_set_encoding_format ( IntPtr raw, string output_file, VideoEncoderType video_codec, AudioEncoderType audio_codec, VideoMuxerType muxer, uint video_quality, uint audio_quality, uint width, uint height, uint fps_n, uint fps_d, bool enable_audio, bool enable_video ) : bool
gst_video_editor_start ( IntPtr raw ) : void
percentcompleted_cb ( IntPtr gvc, float percent ) : void

Method Details

AddImageSegment() public method

public AddImageSegment ( string filePath, long start, long duration, string title, Area roi ) : void
filePath string
start long
duration long
title string
roi LongoMatch.Core.Common.Area
return void

AddSegment() public method

public AddSegment ( string filePath, long start, long duration, double rate, string title, bool hasAudio, Area roi ) : void
filePath string
start long
duration long
rate double
title string
hasAudio bool
roi LongoMatch.Core.Common.Area
return void

Cancel() public method

public Cancel ( ) : void
return void

ClearList() public method

public ClearList ( ) : void
return void

GstVideoSplitter() public method

public GstVideoSplitter ( ) : System
return System

InitBackend() public static method

public static InitBackend ( string argv ) : int
argv string
return int

Start() public method

public Start ( ) : void
return void