This is a collection of Python scripts to automate simple video editing tasks.
They can be easily chained together for more complex video effects and tasks by simply using a JSON configuration file.
These are all based on PYTHON and FFMPEG.
These are the steps to get up and running with this theme.
- Clone the repo
git clone https://github.com/mhaut/ffmpeg__python-scripts
- Either update your $PATH to include this folder or create a link in
/usr/local/bin
to each script.PATH=$PATH:$(pwd)
Current list of scripts and their purposes.
Script | Description |
---|---|
ff_append.py |
This will concatenate two videos together and re-encode them |
ff_aspect_ratio.py |
Changes the container metadata's Display Aspect Ratio (DAR) |
ff_blur.sh |
Simple blur function using an unsharp mask |
ff_colour.sh |
Change brightness, contrast, gamma, saturation of video |
ff_concat.sh |
Concatenate multiple videos together |
ff_convert.sh |
Convert an apple quicktime MOV to MP4 file |
ff_crop.sh |
Crop video to specific size |
ff_cut.sh |
Cut video from start time to end time. |
ff_download.sh |
Use CURL to download multiple files. Useful for scriptflow. |
ff_flip.sh |
Horizontally and/or vertically flip the video |
ff_fps.sh |
Alter the FPS with changing length of video |
ff_grouptime.sh |
Proportionally trims and concats videos to target video duration |
ff_image.sh |
Make a video from a looped image |
ff_lut.sh |
Apply a 3DL/Cube LUT file to a video |
ff_middle.sh |
Remove equal number of seconds from start and end of video |
ff_overlay.sh |
Overlay an image or video on top of another video |
-------------------- | ---------------------------------------------------------------- |
Repository based on: https://github.com/IORoot/ffmpeg__bash-scripts
Author Link: https://github.com/IORoot