Support Compile Video on Storage Systems
Requirements
Workflow
- Video uploaded from browser
- Transfer that video to FFMPEG server which mention in Requirements section
- Compress video on that server
- Transfer video to Storage System which set in your site.
How to setup?
- Clone /PF.Site/Apps/core-videos/FFmpegServer/ffmpeg_config.sample.php to /PF.Site/Apps/core-videos/FFmpegServer/ffmpeg_config.php
- Update your FFMPEG server info to file /PF.Site/Apps/core-videos/FFmpegServer/ffmpeg_config.php in your phpFox server. Follow guide on that file.
- Clone /PF.Site/Apps/core-videos/FFmpegServer/External/Source/config.sample.php to /PF.Site/Apps/core-videos/FFmpegServer/External/Source/config.php
- Update your phpFox site info to file /PF.Site/Apps/core-videos/FFmpegServer/External/Source/config.php. Follow guide on that file.
- Copy all source code in /PF.Site/Apps/core-videos/FFmpegServer/External into your FFMPEG server
- Setup Cronjob in your FFMPEG server to execute file /Source/video.php, it should be set to run every 5 minutes. Example: */5 * * * * php /public_html/Source/video.php
- Enable setting "Allow compile Video on external FFMPEG server" of Videos App in your phpFox site.
- Done.
NOTE: If you upgraded from Videos v4.7.9 you should must 2 configurations files:
1.1. Copy your configurations from /PF.Site/Apps/core-videos/FFmpegServer/ffmpeg_config.json to /PF.Site/Apps/core-videos/FFmpegServer/ffmpeg_config.php, then remove .json file.
2.1. Copy your configurations from /PF.Site/Apps/core-videos/FFmpegServer/External/Source/config.json to /PF.Site/Apps/core-videos/FFmpegServer/External/Source/config.php, then remove .json file.
When you're done, you can go to step (3)