C# Class AnimatGuiCtrls.Video.AviPlayer

Datei anzeigen Open project: NeuroRoboticTech/AnimatLabPublicSource

Public Methods

Method Description
AviPlayer ( VideoStream videoStream, PictureBox picDisplay, Control ctlFrameIndexFeedback ) : System

Create a new AVI Player

Start ( ) : void

Start the video playback

Stop ( ) : void

Stop the video playback

Private Methods

Method Description
Run ( ) : void

Extract and display the frames

SetDisplayPicture ( ) : void

Change the visible frame

SetLabelText ( ) : void

Change the frame index feedback

Method Details

AviPlayer() public method

Create a new AVI Player
public AviPlayer ( VideoStream videoStream, PictureBox picDisplay, Control ctlFrameIndexFeedback ) : System
videoStream VideoStream Video stream to play
picDisplay System.Windows.Forms.PictureBox PictureBox to display the video
ctlFrameIndexFeedback System.Windows.Forms.Control Optional Label to show the current frame index
return System

Start() public method

Start the video playback
public Start ( ) : void
return void

Stop() public method

Stop the video playback
public Stop ( ) : void
return void