Video to Reels
This project aims to automate the process of converting a video file to a Instagram Reels ready format using FFMpeg, Imagemagick, Tensorflow and more.
Dependencies
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);
Running
- 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;
Features
- Rotate
- Resize
- Color filter
- Audio normalization
- Remove background noises
- Add Instagram question overlay
- Position video by face
- Cut video when not talking
- Subtitles