Skip to content

Sample apps for using OpenTok archiving building blocks API and ffmpeg to generate composed files from individual archives

Notifications You must be signed in to change notification settings

opentok/archiving-composer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Individual stream archive processing tools

Sample apps for generating composed files from OpenTok individual stream archives:

  • 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.

    NOTE: Up to Node 12 supported.

  • 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] -i <zipFile>

  Options:

    -h, --help             output usage information
    -V, --version          output the version number
    -i, --input <zipFile>  Archive ZIP file
    -f, --format [type]    Output format [webm,mp4]

The ZIP file is the output of the OpenTok individual stream archiving API.

About

Sample apps for using OpenTok archiving building blocks API and ffmpeg to generate composed files from individual archives

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published