Skip to content

Automatically upload the VOD file to s3 bucket that is uploaded to Ant Media Server #4878

Answered by timantmedia
yashtandon113 asked this question in FAQs
Discussion options

You must be logged in to vote

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

apt-get update && apt-get install ffmpeg -y

2. Save the script under /usr/local/antmedia/ and change permission by using chmod 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.

chmod +x /usr/local/antmedia/vod-upload-s3.sh

3. Modify the property in the Advanced settings under Application via the web panel…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by yashtandon113
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants