- Java 17
- Maven
- Python 3
- ffmpeg
pip3 install -r requirements.txt
Create a .videoml
file in the src/main/resources
folder. Add all the sources (videos, images, sounds...) to the same folder.
You can find examples in the src/main/resources
folder or you can read the documentation to learn how to write a video montage using VideoML.
Run it with the scenario (an existing .videoml
file in the src/main/resources
folder) you want to test:
./run.sh fragmovie --build
The first time you run the script, you need to build the project with the --build
flag. This will compile the ANTLR grammar and build the project.
After that, you can run the script without the --build
flag.
Compile the ANTLR grammar :
mvn clean package
Run the compiler using the exec
plugin:
mvn exec:java -Dexec.args="src/main/resources/fragmovie.videoml"
Run the python script to generate the video:
cd src/main/resources
python3 fragmovie.py