Method | Description | |
---|---|---|
CheckIfCrossbarAvailable ( ) : bool |
Check if running video source provides crossbar for configuration. The method reports if the video source provides crossbar configuration using DisplayCrossbarPropertyPage. |
|
DisplayCrossbarPropertyPage ( |
Display property page of video crossbar (Analog Video Crossbar filter). The Analog Video Crossbar filter is modeled after a general switching matrix, with n inputs and m outputs. For example, a video card might have two external connectors: a coaxial connector for TV, and an S-video input. These would be represented as input pins on the filter. The displayed property page allows to configure the crossbar by selecting input of a video card to use. Use CheckIfCrossbarAvailable method to check if running video source provides crossbar configuration. |
|
DisplayPropertyPage ( |
Display property window for the video capture device providing its configuration capabilities. |
|
SignalToStop ( ) : void |
Signal video source to stop its work. Signals video source to stop its background thread, stop to provide new frames and free resources. |
|
SimulateTrigger ( ) : void |
Simulates an external trigger. The method simulates external trigger for video cameras, which support providing still image snapshots. The effect is equivalent as pressing camera's shutter button - a snapshot will be provided through SnapshotFrame event. |
|
Start ( ) : void |
Start video source. Starts video source and return execution to caller. Video source object creates background thread and notifies about new frames with the help of NewFrame event. |
|
Stop ( ) : void |
Stop video source. Stops video source aborting its thread. |
|
VideoCaptureDevice ( ) : System |
Initializes a new instance of the VideoCaptureDevice class.
|
|
VideoCaptureDevice ( string deviceMoniker ) : System |
Initializes a new instance of the VideoCaptureDevice class.
|
|
WaitForStop ( ) : void |
Wait for video source has stopped. Waits for source stopping after it was signalled to stop using SignalToStop method. |
Method | Description | |
---|---|---|
ColletCrossbarVideoInputs ( IAMCrossbar crossbar ) : AForge.Video.DirectShow.VideoInput[] | ||
DisplayPropertyPage ( |
||
Free ( ) : void |
Free resource.
|
|
GetCurrentCrossbarInput ( IAMCrossbar crossbar ) : VideoInput | ||
GetPinCapabilitiesAndConfigureSizeAndRate ( ICaptureGraphBuilder2 graphBuilder, IBaseFilter baseFilter, Guid pinCategory, Size size, int frameRate, VideoCapabilities &capabilities ) : void | ||
OnNewFrame ( Bitmap image ) : void |
Notifies clients about new frame.
|
|
OnSnapshotFrame ( Bitmap image ) : void |
Notifies clients about new snapshot frame.
|
|
SetCurrentCrossbarInput ( IAMCrossbar crossbar, VideoInput videoInput ) : void | ||
SetFrameSizeAndRate ( IAMStreamConfig streamConfig, Size size, int frameRate ) : void | ||
WorkerThread ( ) : void |
Worker thread.
|
|
WorkerThread ( bool runGraph ) : void |
public DisplayCrossbarPropertyPage ( |
||
parentWindow | Handle of parent window. | |
return | void |
public DisplayPropertyPage ( |
||
parentWindow | Handle of parent window. | |
return | void |
public VideoCaptureDevice ( string deviceMoniker ) : System | ||
deviceMoniker | string | Moniker string of video capture device. |
return | System |