1.1.0 • Published 3 years ago
fotofx v1.1.0
fotofx :sparkles:
Create videos using effects to animate still images with ffmpeg
Usage
:exclamation: ffmpeg must be installed apart
Get fotofx via npm:
npm i -g fotofxThen yell for help:
fotofx -hExample
Take photo.jpg and slide it to the left for 10s to create the photofx.mp4 video:
fotofx \
--duration 10 \
--effect slide-left \
--ease in-out-sine \
--image photo.jpg \
--video photofx.mp4 \
--width 1080 \
--height 1920photo.jpg | photofx.mp4 |
|---|---|
| @gibatronic |
Test
There's a handy script to create a video for each effect using test-image.jpg:
# clone the project
git clone https://github.com/gibatronic/fotofx.git && cd fotofx
# install dependencies
npm i
# create a video for each effect
npm test && open test/videosContributing
Feeling like adding to the project? Check CONTRIBUTING.md for some tips.