Interweave frames of videos together into flicker films
Go to file
mmcwilliams 3fa0d6a14b Add a script for generating square gifs from videos (assumes 1920x1080 source) 2019-04-04 00:53:55 -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 Port to typescript. Compile (or transpile?) step enforces semicolon and whitespace rules on ./frameloom file. 2019-04-02 12:57:39 -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 Port to typescript. Compile (or transpile?) step enforces semicolon and whitespace rules on ./frameloom file. 2019-04-02 12:57:39 -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 Increment patch to 1.0.2 following rewrite. API remains stable and features need to be added to get to 1.1.x 2019-04-02 12:58:36 -04:00
package.json Increment patch to 1.0.2 following rewrite. API remains stable and features need to be added to get to 1.1.x 2019-04-02 12:58:36 -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