Best to work in a venv
before installing the requirements in req.txt
:
python3 -m venv venv
source venv/bin/activate
pip3 install -r req.txt
Upload videos into the ./videos/
directory, then call main.py
python3 main.py
--vid_dir
- the path to the video directory, defaults to./videos/
--vid_mul
- how many times you want the videos to be repeated, defaults to1
--begin
- a comma separated list of videos to begin with- e.x.
--begin ./videos/video_1.mov,./videos/video_2.mov
- e.x.
--end
- a comma separated list of videos to end with- e.x.
--end ./videos/2nd_to_last,./videos/last.mov
- e.x.
--shuffle
- whether to shuffle the video order (except for videos denoted bybegin
andend
), this isTrue
by default--output
- the name of the output file, defaults tooutput.mp4
in the directory denoted byvid_dir
--vid_len
- length of the video, defaults to59.7
seconds (just under Instagram video time limits)--square
- whether to put a white square border around the video (useful for sharing as a post instead of a story), defaults toTrue
--audio
- the audio to put over the video, defaults togimme_trim.m4a