An application which can automate videos together in a simple manner. Idea based off of Devon Crawford's attempt in which he is using the ffmpeg library.
Read this in: Français
This project uses the ffmpeg-python library to handle video processing and the PIL for image processing. To run this you'll need to first install ffmpeg and ffmpeg-python
- src/ (source code)
- frames/ (where color and gray frames are stored for editing. Might take up a lot of space while program runs, deletes automatically when finished)
- imports/ (directory for all videos to be edited)
- exports/ (this is where the final edited video is placed)
- Do not place videos with wildly different base framerates and then use an even different framerate as an argument - the program will cut videos very short
- Do not put a folder into the imports/ folder as it will read that but cannot access those files
- Do not open up the folders created in frames/ until the program finishes as the command prompt will deny access to that folder and break
- Place desired videos into imports/, ensuring that the filenames have no spaces
- Run editor.py and select any variables desired
- Wait for edited video to be created
- Enjoy your new video
Arg | Desc |
---|---|
-fps | framerate of the video [int] default=30 |
-cs | size for each frame chunk, xth out of every y pixels, smaller will take longer [x:y] default=5:9 |
-cl | range for how long each cut clips are [x:y] default=5:7 |
-r | resolution of the final video [w:h] default=1920:1080 |