C# 클래스 GStreamer.Playbin

The GStreamer Playbin.
파일 보기 프로젝트 열기: GNOME/gnome-subtitles 1 사용 예제들

Private Properties

프로퍼티 타입 설명
changeState void
getTag Tag
getVideoInfo VideoInfo
gst_binding_deinit void
gst_binding_get_duration ulong
gst_binding_get_position ulong
gst_binding_get_tag System.IntPtr
gst_binding_get_video_info System.IntPtr
gst_binding_get_visuals_list System.IntPtr
gst_binding_get_volume int
gst_binding_has_video bool
gst_binding_init System.IntPtr
gst_binding_load bool
gst_binding_pause void
gst_binding_play void
gst_binding_set_buffer_cb void
gst_binding_set_eos_cb void
gst_binding_set_error_cb void
gst_binding_set_info_cb void
gst_binding_set_position void
gst_binding_set_tag_cb void
gst_binding_set_track void
gst_binding_set_visual void
gst_binding_set_volume void
gst_binding_set_xid void
gst_binding_unload void
onBuffer void
onEos void
onError void
onInfo void
onTag void
throwError void

공개 메소드들

메소드 설명
Dispose ( ) : void

Disposes the GStreamer library.

Initiate ( ) : bool

Load the GStreamer library.

Initiate ( ulong x_window_id ) : bool

Load the GStreamer library and attach it to the specified window.

Load ( string uri ) : bool

Loads the specified path into the GStreamer library.

Pause ( ) : void

Pauses the loaded media file.

Play ( ) : void

Plays the loaded media file.

Seek ( System.TimeSpan time, float speed ) : void

Seeks to the nearest millisecond on the media file.

Seek ( double milliseconds, float speed ) : void

Seeks to the nearest millisecond on the media file.

SeekToTrack ( int track_number ) : void

Seeks to the specified track number.

SetWindow ( ulong window_id ) : void

Changes the window to which video playback is attached to.

Unload ( ) : void

Unloads the media file.

비공개 메소드들

메소드 설명
changeState ( MediaStatus state ) : void
getTag ( IntPtr ptr ) : Tag
getVideoInfo ( IntPtr ptr ) : VideoInfo
gst_binding_deinit ( HandleRef play ) : void
gst_binding_get_duration ( HandleRef play ) : ulong
gst_binding_get_position ( HandleRef play ) : ulong
gst_binding_get_tag ( HandleRef play ) : IntPtr
gst_binding_get_video_info ( HandleRef play ) : IntPtr
gst_binding_get_visuals_list ( HandleRef play ) : IntPtr
gst_binding_get_volume ( HandleRef play ) : int
gst_binding_has_video ( HandleRef play ) : bool
gst_binding_init ( ulong xwin ) : IntPtr
gst_binding_load ( HandleRef play, string uri ) : bool
gst_binding_pause ( HandleRef play ) : void
gst_binding_play ( HandleRef play ) : void
gst_binding_set_buffer_cb ( HandleRef play, bufferCallback cb ) : void
gst_binding_set_eos_cb ( HandleRef play, eosCallback cb ) : void
gst_binding_set_error_cb ( HandleRef play, errorCallback cb ) : void
gst_binding_set_info_cb ( HandleRef play, infoCallback cb ) : void
gst_binding_set_position ( HandleRef play, ulong pos, float speed ) : void
gst_binding_set_tag_cb ( HandleRef play, tagCallback cb ) : void
gst_binding_set_track ( HandleRef play, ulong track_number ) : void
gst_binding_set_visual ( HandleRef play, string vis_name ) : void
gst_binding_set_volume ( HandleRef play, int vol ) : void
gst_binding_set_xid ( HandleRef play, ulong xid ) : void
gst_binding_unload ( HandleRef play ) : void
onBuffer ( int progress ) : void
onEos ( ) : void
onError ( string error, string debug ) : void
onInfo ( IntPtr ptr ) : void
onTag ( IntPtr ptr ) : void
throwError ( string error, string debug ) : void

메소드 상세

Dispose() 공개 메소드

Disposes the GStreamer library.
public Dispose ( ) : void
리턴 void

Initiate() 공개 메소드

Load the GStreamer library.
public Initiate ( ) : bool
리턴 bool

Initiate() 공개 메소드

Load the GStreamer library and attach it to the specified window.
public Initiate ( ulong x_window_id ) : bool
x_window_id ulong
리턴 bool

Load() 공개 메소드

Loads the specified path into the GStreamer library.
public Load ( string uri ) : bool
uri string
리턴 bool

Pause() 공개 메소드

Pauses the loaded media file.
public Pause ( ) : void
리턴 void

Play() 공개 메소드

Plays the loaded media file.
public Play ( ) : void
리턴 void

Seek() 공개 메소드

Seeks to the nearest millisecond on the media file.
public Seek ( System.TimeSpan time, float speed ) : void
time System.TimeSpan
speed float
리턴 void

Seek() 공개 메소드

Seeks to the nearest millisecond on the media file.
public Seek ( double milliseconds, float speed ) : void
milliseconds double
speed float
리턴 void

SeekToTrack() 공개 메소드

Seeks to the specified track number.
public SeekToTrack ( int track_number ) : void
track_number int
리턴 void

SetWindow() 공개 메소드

Changes the window to which video playback is attached to.
public SetWindow ( ulong window_id ) : void
window_id ulong
리턴 void

Unload() 공개 메소드

Unloads the media file.
public Unload ( ) : void
리턴 void