Skip to content

How to transcode and play uploaded VoD files as HLS in Ant Media Server without broadcasting them. #4888

Answered by timantmedia
yashtandon113 asked this question in FAQs
Discussion options

You must be logged in to vote

To convert uploaded VOD to HLS with different bit rates, please follow the below steps:

  1. First, you need to download the VOD to HLS transcode script on your server with the below command
    wget https://raw.githubusercontent.com/ant-media/Scripts/master/vod_transcode.sh

  2. After downloading, run the command chmod +x vod_transcode.sh to give this script execute access.

By default, the script transcodes to 240p, 480p, and 720p, and the default target directory is /usr/local/antmedia/webapps/WebRTCAppEE/streams/ but you can alter these as needed.

  1. Make the following changes to the advanced setting of your application :
    "vodUploadFinishScript"="/script-directory-path/vod_transcode.sh"

  2. Now,…

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