Automatically upload the VOD file to s3 bucket that is uploaded to Ant Media Server #4878
-
When we enable s3 integration on Ant media server, recorded VODs are uploaded to s3 bucket, but when we upload any VOD file on server, it is not uploaded to s3 bucket. Is there any way to do that on the server side? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can automatically transfer the VoD files with this script to the S3 bucket by following the steps below. Here is a link to the appropriate documentation for reference https://antmedia.io/docs/guides/publish-live-stream/user-defined-scripts/#vod-upload-finish-process. 1. Install FFmpeg on your AMS
2. Save the script under You can download the script at the bottom of the page.
3. Modify the property in the Advanced settings under Application via the web panel as follows:.
4. Restart Ant Media Server service.
5. Follow the link below to play the uploaded VoD files. Here is the script:
|
Beta Was this translation helpful? Give feedback.
You can automatically transfer the VoD files with this script to the S3 bucket by following the steps below.
Here is a link to the appropriate documentation for reference https://antmedia.io/docs/guides/publish-live-stream/user-defined-scripts/#vod-upload-finish-process.
1. Install FFmpeg on your AMS
2. Save the script under
/usr/local/antmedia/
and change permission by usingchmod
command. (Don't forget to add AWS Access/Secret keys and other data in a script.)You can download the script at the bottom of the page.
3. Modify the property in the Advanced settings under Application via the web panel…