2018-12-30 01:52:06 +00:00
|
|
|
# frameloom
|
2018-12-08 00:10:34 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2018-12-22 02:15:00 +00:00
|
|
|
```
|
2018-12-22 05:16:01 +00:00
|
|
|
git clone https://github.com/sixteenmillimeter/frameloom.git
|
|
|
|
cd frameloom
|
2018-12-08 00:10:34 +00:00
|
|
|
npm install
|
2018-12-22 05:16:01 +00:00
|
|
|
chmod +x frameloom
|
2018-12-22 02:15:00 +00:00
|
|
|
```
|
2018-12-08 00:10:34 +00:00
|
|
|
|
2018-12-22 02:15:00 +00:00
|
|
|
## Basic Usage
|
2018-12-08 00:10:34 +00:00
|
|
|
|
2018-12-22 05:16:01 +00:00
|
|
|
```./frameloom -i /path/to/video1:/path/to/video2 -o /path/to/output```
|
2018-12-08 00:10:34 +00:00
|
|
|
|
2018-12-22 05:16:01 +00:00
|
|
|
## Options
|
|
|
|
|
|
|
|
Run `./frameloom -h` to display help screen.
|
2018-12-22 02:15:00 +00:00
|
|
|
|
|
|
|
```
|
|
|
|
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
|
2018-12-22 05:16:01 +00:00
|
|
|
-R, --random Randomize frames. Ignores pattern if included
|
2018-12-22 02:15:00 +00:00
|
|
|
-h, --help output usage information
|
|
|
|
|
|
|
|
```
|
2019-01-04 04:35:04 +00:00
|
|
|
|
|
|
|
## TODO
|
|
|
|
|
|
|
|
* Fix alternate sort pattern features
|
|
|
|
* Check for ffmpeg or avconv before executing
|
|
|
|
* Generate example videos automatically
|
|
|
|
* Publish example videos
|