Interweave frames of videos together into flicker films
Go to file
mmcw-dev b1370447bf Add todos 2019-01-03 23:35:04 -05: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
.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
docs.sh 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
examples.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
examples_assemble.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
examples_youtube.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
frameloom Add exit state in alt sort because it does not work yet. Yeesh. 2019-01-03 23:11:28 -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 Increment patch number 2019-01-03 22:37:23 -05:00
package.json Add "docs" as an npm command that can be run with `npm run docs` 2019-01-03 22:47:50 -05: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