✨
fotofx Create videos using effects to animate still images with ffmpeg
Usage
Get fotofx
via npm:
npm i -g fotofx
Then yell for help:
fotofx -h
Example
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 1920
photo.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/videos
Contributing
Feeling like adding to the project? Check CONTRIBUTING.md
for some tips.