Reencoding of clips in preview or recording mode
Video clips are reencoded as follows:
- set VideoSource = vs_VideoFileOrURL,
- set VideoSource_FileOrURL to the file name or the URL of the video clip,
- set all the text overlays, graphics overlays, video effects, etc. needed,
- select the compression settings (see the Software compression using codecs chapter),
- invoke StartRecording to record to a new video clip, or StartPreview to just play it.
Note
A start time and/or stop time can be specified with VideoSource_FileOrURL_StartTime and VideoSource_FileOrURL_StopTime.
Reencoding of a playlist in preview/recording mode
A playlist is reencoded as follows, e.g.:
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()
To just play the playlist, invoke StartPreview instead of StartRecording.