Interweave frames of videos together into flicker films
Go to file
mmcwilliams 9d8739cf9b Install typescript and add npm script commands for existing shell scripts, as well as the tsc compile script. 2019-04-02 12:45:35 -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 Move all scripts into scripts directory. 2019-04-02 12:44:59 -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 Get version from package.json 2019-02-23 22:38:20 -05:00
frameloom.sh Update all shell scripts to use /bin/sh and not /bin/bash to make syntax less confusing during development. 2018-12-28 18:07:15 -05:00
package-lock.json Install typescript and add npm script commands for existing shell scripts, as well as the tsc compile script. 2019-04-02 12:45:35 -04:00
package.json Install typescript and add npm script commands for existing shell scripts, as well as the tsc compile script. 2019-04-02 12:45:35 -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