Since we've released MP4 to HLS VOD transmuxing, we were asked to add multi-bitrate (adaptive bitrate) support for VOD. Media industry has a proven way to implement this kind of interaction which is called Synchronized Multimedia Integration Language, or SMIL.
Now we have SMIL support for MP4 to HLS transmuxing in Nimble Streamer.
Let's see how it's set up and how a user may stream ABR VOD.
First, you need to install Nimble Streamer if you haven't done it yet.
Now, with the content being located in some local directory - e.g. /var/www/video/ - you need to define a streaming route for Nimble Streamer so the user could access the content via HLS or progressive download with appropriate player. Read how to setup VOD streaming using WMSPanel.
You should try playing the uploaded files via HLS before going to the next step to avoid any permissions or other related problems on your server.
Now when Nimble is able to stream your single-bitrate files, let's compose sample SMIL file. For this example we assume you have /var/www/video/ directory with bigbuckbunny_450.mp4 and bigbuckbunny_750.mp4 files.
The following SMIL file should be created to enable adaptive bitrate streaming:
Now we have SMIL support for MP4 to HLS transmuxing in Nimble Streamer.
Let's see how it's set up and how a user may stream ABR VOD.
Nimble Streamer setup
First, you need to install Nimble Streamer if you haven't done it yet.
Now, with the content being located in some local directory - e.g. /var/www/video/ - you need to define a streaming route for Nimble Streamer so the user could access the content via HLS or progressive download with appropriate player. Read how to setup VOD streaming using WMSPanel.
You should try playing the uploaded files via HLS before going to the next step to avoid any permissions or other related problems on your server.
Creating SMIL file
Now when Nimble is able to stream your single-bitrate files, let's compose sample SMIL file. For this example we assume you have /var/www/video/ directory with bigbuckbunny_450.mp4 and bigbuckbunny_750.mp4 files.
The following SMIL file should be created to enable adaptive bitrate streaming: