fotofx

1.1.0 • Public • Published

fotofx

Create videos using effects to animate still images with ffmpeg

Usage

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

/fotofx/

    Package Sidebar

    Install

    npm i fotofx

    Weekly Downloads

    22

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    530 kB

    Total Files

    20

    Last publish

    Collaborators

    • gibatronic