frameloom/README.md

61 lines
2.7 KiB
Markdown
Raw Permalink Normal View History

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
--------
2021-10-22 20:47:42 +00:00
## Git URL [git.sixteenmillimeter.com/16mm/frameloom](https://git.sixteenmillimeter.com/16mm/frameloom)
2018-12-08 00:10:34 +00:00
## 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
```bash
./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
```bash
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
-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
2018-12-22 02:15:00 +00:00
```
2019-01-04 04:35:04 +00:00
2021-03-27 15:09:54 +00:00
## 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.