This project aims to automate the process of converting a video file to a Instagram Reels ready format using FFMpeg, Imagemagick, Tensorflow and more.
To run this script you need to install locally on your machine the following dependencies:
- Node.js;
- FFmpeg;
- Imagemagick;
- ZX (https://github.com/google/zx);
- Open
detect-face
folder and runnpm install
; - Save a horizontal video inside the
origins
folder; - Change the value of
videoFile
variable insideconvert.mjs
; - Run
zx convert.mjs
in the root folder to start conversion; - Done! The output file will be stored at
/videos
folder;
- Rotate
- Resize
- Color filter
- Audio normalization
- Remove background noises
- Add Instagram question overlay
- Position video by face
- Cut video when not talking
- Subtitles