A simple FFMPEG wrapper for common functions.
Both need to be acessible to the CLI by installing on the system and setting the PATH or placing ffmpeg and ffprobe within the "/usr/local/bin". Downloads available here: https://ffmpeg.org/download.html
- ffmpeg
- ffprobe
ffmpeg-cli cover-watermark videos/1.mp4 output/no_watermark.mp4 --width 110 --height 105 --x 1170 --y 535 --shape rectangle --color "#000000"
ffmpeg-cli effect input.mp4 output.mp4 sepia
ffmpeg-cli reverse input.mp4 output_reversed.mp4
ffmpeg-cli split videos/1.mp4 output/ 5
ffmpeg-cli stretch videos/1.mp4 output/1_stretched.mp4 30
ffmpeg-cli cross-fade videos/1.mp4 videos/2.mp4 output/crossfaded.mp4 2
ffmpeg-cli trim videos/7.mp4 output/trimmed.mp4 2 8
ffmpeg-cli square-crop videos/exp1.mp4 output/square_output.mp4
ffmpeg-cli square-crop videos/exp1.mp4 output/square_output.mp4 --size 800
ffmpeg-cli square-crop videos/exp1.mp4 output/square_output.mp4 --x-offset 100 --y-offset 50
ffmpeg-cli square-crop videos/exp1.mp4 output/square_output.mp4 --size 500 --x-offset 100 --y-offset 50
ffmpeg-cli slideshow --input-folder ./images --output ./output/slideshow.mp4 --duration 360