Copy api
folder in root directory of web server.
Install composer packages.
Modify values in config.php
Implement your own auth if needed.
Add following section to your apache site config to enable .htaccess
.
<Directory /var/www/html/api/playa/v2>
AllowOverride All
</Directory>
Use following scripts to generate json file.
To create your own scripts follow instructions in this repo.
Alternatively modify api.php
to process your own video files source.