TVideoGrabber.VideoSource

Prev

Next

TVideoGrabber

Properties

 




































































































Specifies the video source for preview and recording.


Declaration
property VideoSource: TVideoSource read GetVideoSource write SetVideoSource default DEF_VideoSource;


__property TVideoSource VideoSource=read=GetVideoSource, write=SetVideoSource, default=0


Property VideoSource As TxVideoSource

Description

This TVideoSource property is used to specify the video source used for preview and recording:

vs_VideoCaptureDevice:
the video source is the current video capture device.

vs_ScreenRecording:
the video source is the screen. See the Screen recording chapter.

vs_VideoFileOrURL:
the video source is a video clip specified by the VideoSource_FileOrURL property.

vs_JPEGsOrBitmaps:
the video source are bitmap handles, or BMP files or JPEG files of the same format passed to the OnVideoFromBitmaps_NextFrameNeeded event.
See Video clips built on the fly by passing bitmap handles, BMP or JPEG files.

vs_IPCamera:
the video source is an IP camera or a IP video server. See the IP Cameras - IP Webcams - IP video servers chapter.

vs_Mixer:
configures the TVideoGrabber component as a video mixer, the video source(s) is(are) other(s) TVideoGrabber component(s)


vs_VideoFromImages:
the video source is a set of bitmaps (BMP or JPEG files). See Video clip from bitmaps: Overview.

vs_ThirdPartyFilter:
a third-party DirectShow filter is used as video source

vs_StreamInterface:
the source is raw stream data (e.g. h264) pushed through the StreamInterface_PushData function


See Also
Video sources supported for preview and recording VideoSources VideoSourcesCount TVideoSource