Skip to content

doriangirard9/VideoML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VideoML

Requirements

  • Java 17
  • Maven
  • Python 3
  • ffmpeg

Usage

Install dependencies

pip3 install -r requirements.txt

Writing a video montage

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.

Using the script

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.

By hand

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •