Advanced playback through AVISynth
Deprecated
This feature is deprecated and kept for reference only.
Advanced playback through AVISynth It is possible to pass scripting commands to play a clip through AVISynth, allowing to use it powerful capabilities through TVideoGrabber.
First install AVISynth from:
http://sourceforge.net/projects/avisynth2/files/
Playing through AVISynth can be achieved as follows:
- clear the playlist
- pass one or more AVISynth script commands to the playlist
- set "AVS" as player file name
- then open the player, start the preview or start the recording.
E.g. to perform a reverse playback:
VideoGrabber.PlayList (pl_Clear, "");
CommandString = "Reverse(DirectShowSource("myclip.avi", 29.97))";
VideoGrabber.PlayList (pl_Add, CommandString);
VideoGrabber.PlayerFileName = "AVS";
VideoGrabber.OpenPlayer();
or
VideoGrabber.PlayList (pl_Clear, "");
CommandString = "Reverse(DirectShowSource("myclip.avi", 29.97))";
VideoGrabber.PlayList (pl_Add, CommandString);
VideoGrabber.VideoSource = vs_VideoFileOrURL;
VideoGrabber.VideoSource_FileOrURL = "AVS";
VideoGrabber.StartPreview();
The AVISynth scripting reference can be found at http://avisynth.org/mediawiki/Scripting_reference