Reencoding of clips in preview or recording mode
Video clips reencoding in preview/recording mode
The reencoding of video clips can be done as follows:
-
set VideoSource = vs_VideoFileOrURL,
-
set VideoSource_FileOrURL with 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 by VideoSource_FileOrURL_StartTime and VideoSource_FileOrURL_StopTime.
Reencoding of a playlist in preview/recording mode
It is possible to reencode a playlist 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()
It is possible to invoke StartPreview instead of StartRecording to just play the playlist.