static extern bool gst_video_encoder_set_encoding_format(IntPtr raw, VideoEncoderType video_codec, AudioEncoderType audio_codec, VideoMuxerType muxer, uint video_quality, uint audio_quality, uint width, uint height, uint fps_n, uint fps_d);
public EncodingProfile(string name, string extension, VideoEncoderType videoEncoder, AudioEncoderType audioEncoder, VideoMuxerType muxer) { Name = name; Extension = extension; VideoEncoder = videoEncoder; AudioEncoder = audioEncoder; Muxer = muxer; }
static extern bool 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);
public bool SetVideoEncoder(VideoEncoderType type) { IntPtr error = IntPtr.Zero; bool raw_ret = gst_camera_capturer_set_video_encoder(Handle, (int)type, out error); if (error != IntPtr.Zero) { throw new GLib.GException(error); } bool ret = raw_ret; return(ret); }
public void SetVideoEncoder(out string error, VideoEncoderType codec) { IntPtr error_ptr = IntPtr.Zero; gst_video_editor_set_video_encoder(Handle, out error_ptr, (int)codec); if (error_ptr != IntPtr.Zero) { error = GLib.Marshaller.Utf8PtrToString(error_ptr); } else { error = null; } }
public bool SetVideoEncoder(VideoEncoderType type) { IntPtr error = IntPtr.Zero; bool raw_ret = gst_camera_capturer_set_video_encoder(Handle, (int) type, out error); if (error != IntPtr.Zero) throw new GLib.GException (error); bool ret = raw_ret; return ret; }
public void SetVideoEncoder(out string error, VideoEncoderType codec) { IntPtr error_ptr = IntPtr.Zero; gst_video_editor_set_video_encoder(Handle,out error_ptr,(int)codec); if(error_ptr != IntPtr.Zero) error = GLib.Marshaller.Utf8PtrToString(error_ptr); else error = null; }
public bool SetVideoEncoder(VideoEncoderType type) { return true; }
public bool SetVideoEncoder(VideoEncoderType type) { return(true); }
static extern bool 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);
static extern bool gst_video_encoder_set_encoding_format (IntPtr raw, VideoEncoderType video_codec, AudioEncoderType audio_codec, VideoMuxerType muxer, uint video_quality, uint audio_quality, uint width, uint height, uint fps_n, uint fps_d);