Skip to content

Merging or splitting video clips

To merge clips

Clips can be merged by specifying a playlist, then invoking StartReencoding through the PlayList feature.

E.g.:

videograbber.Playlist (pl_Clear, '')

videograbber.Playlist (pl_Add, 'vg000004.avi')

videograbber.Playlist (pl_Add, 'vg000002.avi')

videograbber.Reencoding_SourceVideoClip = 'PLAYLIST'

videograbber.Reencoding_NewVideoClip = 'mynewclip.avi'

videograbber.StartReencoding()

Depending of the kind of clip reencoded, it is possible to also specify a start/stop time:

videograbber.Playlist (pl_Clear, '')

videograbber.Playlist (pl_Add, 'vg000004.avi')

VideoGrabber.PlayList (pl_SpecifyPositions, 'vg000004.avi');

VideoGrabber.OpenPlayerAtTimePositions (50000000, 120000000, true, true);

videograbber.Playlist (pl_Add, 'vg000002.avi')

VideoGrabber.PlayList (pl_SpecifyPositions, 'vg000002.avi');

VideoGrabber.OpenPlayerAtTimePositions (50000000, 120000000, true, true);

videograbber.Reencoding_SourceVideoClip = 'PLAYLIST'

videograbber.Reencoding_NewVideoClip = 'mynewclip.avi'

videograbber.StartReencoding()

See the Reencoding chapter for the reencoding parameters (reencoding method, etc...)

To split video clips

To split a clip, use the Reencoding feature by specifing a start time and/or a stop time (or a start frame and/or stop frame).