1.1.0 • Published 1 year ago

fotofx v1.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

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 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.jpgphotofx.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.