https://github.com/opentok/archiving-composer
Sample apps for using OpenTok archiving building blocks API and ffmpeg to generate composed files from individual archives
https://github.com/opentok/archiving-composer
opentok-labs
Last synced: 18 days ago
JSON representation
Sample apps for using OpenTok archiving building blocks API and ffmpeg to generate composed files from individual archives
- Host: GitHub
- URL: https://github.com/opentok/archiving-composer
- Owner: opentok
- Created: 2015-05-28T04:37:17.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2023-02-03T18:38:34.000Z (over 2 years ago)
- Last Synced: 2024-04-08T16:02:33.758Z (about 1 year ago)
- Topics: opentok-labs
- Language: JavaScript
- Size: 8.79 KB
- Stars: 30
- Watchers: 73
- Forks: 16
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Individual stream archive processing tools
Sample apps for generating composed files from [OpenTok individual stream
archives](https://tokbox.com/developer/guides/archiving/#individual-stream-and-composed-archives):* [composer.js](composer.js) - This command-line script takes an archive.zip file as
the input and outputs a composed file with the names of each individual displayed
under them. It uses the connection data of each participant as the name. You can
provide the connection data when you create a token for each participant. For more
information, have a look at the
[OpenTok documentation](https://tokbox.com/developer/sdks/js/reference/Connection.html).**NOTE:** Up to Node 12 supported.
* [BARC](https://github.com/wobbals/barc) - A batch archive processor with support
for CSS-based layout management.## Installing
You need to make sure you have installed FFmpeg with all of the dependencies. On Mac OS you do this with:
`brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-libass --with-libquvi --with-libvorbis --with-libvpx --with-opus ----with-x264`
Then checkout this repo and run `npm install`.
## Usage
```
Usage: ./composer.js [options] -iOptions:
-h, --help output usage information
-V, --version output the version number
-i, --input Archive ZIP file
-f, --format [type] Output format [webm,mp4]
```The ZIP file is the output of the OpenTok individual stream archiving API.