Matt McWilliams 5da0bcec11 | ||
---|---|---|
docs | ||
scripts | ||
src | ||
.gitignore | ||
LICENSE | ||
README.md | ||
build.js | ||
frameloom | ||
package-lock.json | ||
package.json |
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.