Interweave frames of videos together into flicker films
Go to file
mmcw-dev 1ce8d323f6 bad merge 2019-04-15 20:16:33 -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 Add a script for generating square gifs from videos (assumes 1920x1080 source) 2019-04-04 00:53:55 -04:00
src bad merge 2019-04-15 20:16:33 -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 Add todos 2019-01-03 23:35:04 -05:00
build.js Build and create zip of binary 2019-01-03 22:28:12 -05:00
frameloom bad merge 2019-04-15 20:16:33 -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 bad merge 2019-04-15 20:16:33 -04:00
package.json bad merge 2019-04-15 20:16:33 -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

  • Fix alternate sort pattern features
  • Check for ffmpeg or avconv before executing
  • Generate example videos automatically
  • Publish example videos