Skip to main content
Participant
March 19, 2013
Question

Amazon Media Server - How Do I Select Bitrates for Multiple Bitrate Streaming?

  • March 19, 2013
  • 1 reply
  • 706 views

I'm using the Amazon Media/Flash Server 4.5 and I have been able to stream multi bitrate, but the guide says to use something like 100kb, 200kb, and 350kb streams. Is there any way to change this? The server page that shows the video to illustrate that the server is working says that these options are available in the tools folder, but I can't find how to access the tools folder.

For reference, here are the instructions that I found:

(Adobe HTTP Dyanmic Streaming) For multi-bitrate streaming, Flash and AIR media players request an F4M manifest file that contains the location and bitrate of each live stream. This type of F4M file is called a set-level manifest. To create an set-level manifest, do the following:

Open rootinstall/tools/f4mconfig/configurator/f4mconfig.html in a browser.

Select the f4m file type.

Stream URIs can be absolute or relative to a Base URI. Enter the following for the Base URI:

http://localhost/hds-live/livepkgr/_definst_/liveevent

Enter the following for each stream and click Add:

Stream URI

Bitrate

livestream1.f4m

150

livestream2.f4m

500

livestream3.f4m

700

View full size graphic

Set-level F4M file in the Set-level F4M/M3U8 File Generator

To preview the file, click View Manifest. The manifest file looks like this:

<manifest xmlns="http://ns.adobe.com/f4m/2.0">

    <baseURL>http://localhost/hds-live/livepkgr/_definst_/liveevent/</baseURL>

    <media href="livestream1.f4m" bitrate="150"/>

    <media href="livestream2.f4m" bitrate="500"/>

    <media href="livestream3.f4m" bitrate="700"/>

</manifest>

Click Save Manifest and save the file as liveevent.f4m to rootinstall/webroot.

The media player requests this file from a web server. This tutorial saves the file to rootinstall/webroot, but the file can be served from any location on any webserver. This file does not need to live on Flash Media Server. This file can also have any name.

This topic has been closed for replies.

1 reply

March 19, 2013

Hi,

For multibitrate streaming,you need to create a f4m manifest file that contains the different bitrate streams. The bitrates in the f4m manifest file should be corresponding to the bitrates that are being published. For example, if you're publishing streams of 500, 1000 and 1500 kbps then while creating the f4m manifest file provide the bitrates as 500, 1000 and 1500 kbps.

To create the f4m manifest file you can use the f4mconfig tool. The f4mconfig tool is present in the tools folder, which in turn will be present under the installed directory. For linux it would typically be /opt/adobe/fms and for Windows C:\Program Files\Adobe\Flash Media Server 4.5.

Hope this helps. Let me know if you have any other queries.

Thanks,

Apurva