Reencoding of clips in preview or recording mode
Video clips reencoding in preview/recording mode
Description
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... you need,
- 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
You can 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()
You can invoke StartPreview instead of StartRecording to just play the playlist.
See Also
VideoSource_FileOrURL VideoSource_FileOrURL_StartTime VideoSource_FileOrURL_StopTime
Created with the Personal Edition of HelpNDoc: Streamline Your Documentation Creation with a Help Authoring Tool