Interweave frames of videos together into flicker films
Go to file
Matt McWilliams 5da0bcec11 Add the license to the readme 2021-03-27 11:09:54 -04:00
docs Update the docs by running the doc build process. 2021-03-26 18:46:45 -04: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 Accidentally broke reference to package.json 2021-03-26 18:43:17 -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 the license to the readme 2021-03-27 11:09:54 -04:00
build.js Target node10, node11 isn't supported 2019-08-05 12:21:29 -04:00
frameloom Accidentally broke reference to package.json 2021-03-26 18:43:17 -04:00
package-lock.json Update modules for porting process. 2021-03-26 17:00:17 -04:00
package.json Update modules for porting process. 2021-03-26 17:00:17 -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
  -s, --spin               Randomly rotate frames before rendering
  -e, --exec               Command to execute on every frame. Specify {{i}} and {{o}} if the command requires
                           it, otherwise frame path will be appended to command
  -q, --quiet              Suppresses all log messages
  -h, --help               display help for command

License

Copyright 2018-2021 M McWilliams

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.