TVideoGrabber.VideoSource_FileOrURL

Prev

Next

TVideoGrabber

Properties

 




































































































Specifies the source video clip to use when VideoSource = vs_VideoFileOrURL


Declaration
property VideoSource_FileOrURL: String read GetVideoSource_FileOrURL write SetVideoSource_FileOrURL;


__property wchar_t *VideoSource_FileOrURL=read=GetVideoSource_FileOrURL, write=SetVideoSource_FileOrURL


Property VideoSource_FileOrURL As String

Description

Specifies the source video clip to use as live source (instead of a video capture device or a web cam) when VideoSource = vs_VideoFileOrURL
Can be:
- a file located on a local drive, a network drive
- or a streaming video clip specified by its URL
- a playlist.

E.g. to record a video file:

videograbber.VideoSource = vs_VideoFileOrURL
videograbber.VideoSource_FileOrURL = 'myclip.avi'
videograbber.StartRecording()


E.g. to record a playlist:

videograbber.Playlist (pl_Clear, '')
videograbber.Playlist (pl_Add, 'vg000004.avi')
videograbber.Playlist (pl_Add, 'vg000002.avi')
videograbber.Playlist (pl_Add, ... 
videograbber.Playlist (pl_Add, ... 
videograbber.VideoSource = vs_VideoFileOrURL
videograbber.VideoSource_FileOrURL = 'PLAYLIST'
videograbber.StartRecording()

- alternatively you can invoke StartPreview instead of StartRecording to just play the clip (without trackbar handing, if you need the trackbar handling use the Player features)

- look at the Recording methods and properties chapter for information about the recording settings


See Also
VideoSource_FileOrURL_StartTime VideoSource_FileOrURL_StopTime