Interweave frames of videos together into flicker films
Go to file
mmcwilliams 22344e8343 Target node10, node11 isn't supported 2019-08-05 12:21:29 -04:00
docs Build documents from code comments using jsdoc-to-markdown. The shell file docs.sh generates the markdown file and saves to /docs 2019-01-03 22:11:08 -05:00
scripts Restore square_gif script with automatic resizing in the first script. Performs the crop and re-encode in 1920x1080 2019-05-31 16:35:09 -04:00
src Add spin back to frameloom as -s, --spin flag. Skip frames that aren't rotated. 2019-08-05 12:19:11 -04:00
.gitignore Ignore macOS-speicific files 2019-01-03 22:37:47 -05:00
LICENSE Add license, MIT. Is implied in the package.json, but was not explicitly included in the repo. 2018-12-21 21:35:32 -05:00
README.md Implemented altsort for patterns other than 1:1. Added a check for the ffmpeg or avconv binaries before running. 2019-05-31 15:12:29 -04:00
build.js Target node10, node11 isn't supported 2019-08-05 12:21:29 -04:00
frameloom Add spin back to frameloom as -s, --spin flag. Skip frames that aren't rotated. 2019-08-05 12:19:11 -04:00
frameloom.sh Add comment to frameloom.sh, explaining how the basic example works. This can be expanded upon to eventually replace the node script. 2019-04-02 12:49:16 -04:00
package-lock.json Update pkg 2019-05-31 16:20:00 -04:00
package.json Update pkg 2019-05-31 16:20:00 -04:00

README.md

frameloom

Node script to generate flicker videos by interweaving frames from multiple videos


Requirements

This script relies on ffmpeg to export and stitch video back together

Installation instructions for ffmpeg here: https://github.com/adaptlearning/adapt_authoring/wiki/Installing-FFmpeg

Installation

git clone https://github.com/sixteenmillimeter/frameloom.git
cd frameloom
npm install 
chmod +x frameloom

Basic Usage

./frameloom -i /path/to/video1:/path/to/video2 -o /path/to/output

Options

Run ./frameloom -h to display help screen.

Usage: frameloom [options]

Options:
  -V, --version            output the version number
  -i, --input [files]      Specify input videos with paths seperated by colon
  -o, --output [file]      Specify output path of video
  -p, --pattern [pattern]  Specify a pattern for the flicker 1:1 is standard
  -r, --realtime           Specify if videos should preserve realtime speed
  -t, --tmp [dir]          Specify tmp directory for exporting frames
  -a, --avconv             Specify avconv if preferred to ffmpeg
  -R, --random             Randomize frames. Ignores pattern if included
  -h, --help               output usage information

TODO

  • Generate example videos automatically
  • Publish example videos