Size: 396
Comment:
|
Size: 1105
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 4: | Line 4: |
== The example script == FreeJ comes with an example script to explain some basic scripting. The example script can be found in the document directory. Its location is ''doc/freejscripting-example.js''. More information on this script can be found in the comments in the script and the file ''doc/freej-scripting.txt''. == Starting your script == While running FreeJ you can execute a script by pressing ''ctrl-x''. FreeJ will ask for the location of the script file. By pressing enter it will start executing the script in the current running FreeJ session. You can also start FreeJ with a script. You then have to add the ''-s'' option to the commandline: {{{ freej -s freej_scripting.js }}} |
SCRIPTING VIDEO WITH FREEJ
With [http://freej.org FreeJ] it is also possible to generate video with the use of scripts. This is done by invoking commands on layers and effects in these scripts. Scripts can be written using javascript. Javascript is object oriented which makes it possible to handle layers and effects as objects. Every object has its own procedural commands to adapt it.
The example script
FreeJ comes with an example script to explain some basic scripting. The example script can be found in the document directory. Its location is doc/freejscripting-example.js. More information on this script can be found in the comments in the script and the file doc/freej-scripting.txt.
Starting your script
While running FreeJ you can execute a script by pressing ctrl-x. FreeJ will ask for the location of the script file. By pressing enter it will start executing the script in the current running FreeJ session. You can also start FreeJ with a script. You then have to add the -s option to the commandline:
freej -s freej_scripting.js