Create videos using effects to animate still images with ffmpeg
❗ ffmpeg must be installed apart
Get fotofx via npm:
npm i -g fotofxThen yell for help:
fotofx -hTake 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 |
photofx.mp4 |
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/videosFeeling like adding to the project? Check CONTRIBUTING.md for some tips.
