Свойство | Тип | Описание | |
---|---|---|---|
ActualGraphState | GraphState | ||
CaptureGraphBuilder | ExtendStreaming.ICaptureGraphBuilder2 | ||
GraphBuilder | ExtendStreaming.IGraphBuilder | ||
IsPreviewRendered | bool | ||
MediaControl | ControlStreaming.IMediaControl | ||
SampGrabber | EditStreaming.ISampleGrabber | ||
VideoCompressor | |||
VideoCompressorFilter | CoreStreaming.IBaseFilter | ||
VideoDeviceFilter | CoreStreaming.IBaseFilter | ||
VideoStreamConfig | ExtendStreaming.IAMStreamConfig | ||
VideoWindow | ControlStreaming.IVideoWindow | ||
WantPreviewRendered | bool |
Метод | Описание | |
---|---|---|
BufferCB ( double SampleTime, |
||
CaptureWebcam ( |
Default constructor of the Capture class.
|
|
Dispose ( ) : void |
Closes and cleans the video previewing.
|
|
GetFrame ( ) : |
Gets the current frame from the buffer.
|
|
PrepareCapture ( ) : void |
Prepares the capture of frames.
|
|
SampleCB ( double SampleTime, CoreStreaming pSample ) : int | ||
StartPreview ( ) : void |
Starts the video preview from the video source.
|
|
StopPreview ( ) : void |
Stops the video previewing.
|
Метод | Описание | |
---|---|---|
CreateGraph ( ) : void |
Create a new filter graph and add filters (devices, compressors, misc), but leave the filters unconnected. Call RenderGraph() to connect the filters.
|
|
DerenderGraph ( ) : void |
Disconnect and remove all filters except the device and compressor filters. This is the opposite of renderGraph(). Soem properties such as FrameRate can only be set when the device output pins are not connected.
|
|
DestroyGraph ( ) : void |
Completely tear down a filter graph and release all associated resources.
|
|
OnPreviewWindowResize ( object sender, |
Resize the preview when the PreviewWindow is resized
|
|
RemoveDownstream ( CoreStreaming filter, bool removeFirstFilter ) : void |
Removes all filters downstream from a filter from the graph. This is called only by DerenderGraph() to remove everything from the graph except the devices and compressors. The parameter "removeFirstFilter" is used to keep a compressor (that should be immediately downstream of the device) if one is begin used.
|
|
RenderGraph ( ) : void |
Connects the filters of a previously created graph (created by CreateGraph()). Once rendered the graph is ready to be used. This method may also destroy streams if we have streams we no longer want.
|
|
StartPreviewIfNeeded ( ) : void |
Setup and start the preview window if the user has requested it (by setting PreviewWindow).
|
public BufferCB ( double SampleTime, |
||
SampleTime | double | |
pBuffer | ||
BufferLen | int | |
Результат | int |
public CaptureWebcam ( |
||
videoDevice | The video device to be the source. | |
Результат | System |
protected OnPreviewWindowResize ( object sender, |
||
sender | object | |
e | ||
Результат | void |
protected RemoveDownstream ( CoreStreaming filter, bool removeFirstFilter ) : void | ||
filter | CoreStreaming | |
removeFirstFilter | bool | |
Результат | void |
public SampleCB ( double SampleTime, CoreStreaming pSample ) : int | ||
SampleTime | double | |
pSample | CoreStreaming | |
Результат | int |
protected ExtendStreaming.ICaptureGraphBuilder2 CaptureGraphBuilder | ||
Результат | ExtendStreaming.ICaptureGraphBuilder2 |
protected ExtendStreaming.IGraphBuilder GraphBuilder | ||
Результат | ExtendStreaming.IGraphBuilder |
protected ControlStreaming.IMediaControl MediaControl | ||
Результат | ControlStreaming.IMediaControl |
protected EditStreaming.ISampleGrabber SampGrabber | ||
Результат | EditStreaming.ISampleGrabber |
protected Filter,ScreenToGif.Webcam.DirectX VideoCompressor | ||
Результат |
protected CoreStreaming.IBaseFilter VideoCompressorFilter | ||
Результат | CoreStreaming.IBaseFilter |
protected CoreStreaming.IBaseFilter VideoDeviceFilter | ||
Результат | CoreStreaming.IBaseFilter |
protected ExtendStreaming.IAMStreamConfig VideoStreamConfig | ||
Результат | ExtendStreaming.IAMStreamConfig |
protected ControlStreaming.IVideoWindow VideoWindow | ||
Результат | ControlStreaming.IVideoWindow |