|« PreviousNext »|
|Did this page help you? Yes | No | Tell us about it...|
Adobe Flash Media Server on Amazon Web Services includes an application called livepkgr that packages published streams for delivery using HTTP Dynamic Streaming (HDS) and HTTP Live Streaming (HLS).
The following procedure shows how to set up Adobe Flash Media Live Encoder (FMLE) to publish your live stream to the livepkgr application on Adobe Flash Media Server 4.5.
The Windows version of Flash Media Live Encoder doesn't support the AAC audio format. To add support for AAC, Adobe recommends that you purchase the MainConcept AAC encoder.
To specify live-streaming settings in Flash Media Live Encoder
Log on to the computer that you'll use to broadcast the live stream on the day of the event.
Open a web browser, and browse to the Adobe Flash Media Live Encoder page, http://www.adobe.com/products/flashmediaserver/flashmediaencoder.
Download and install the Flash Media Live Encoder.
Flash Media Live Encoder is free, but you need an Adobe account (also free) to download it.
Open the Flash Media Live Encoder
config.xml file in a text editor. The default installation location is:
C:\Program Files\Adobe\Flash Media Live Encoder 3.2.
Applications:Adobe:Flash Media Live Encoder 3.2.
Set the value of the following
<enable> element to
<flashmedialiveencoder_config> ... <mbrconfig> ... <streamsynchronization> ... <!-- "true" to enable this feature, "false" to disable. --> <enable>true</enable>
Save the file.
Run Flash Media Live Encoder.
On the Encoding Options tab, in the Preset list, click High Bandwidth (800 Kbps) — H.264.
On the Encoding Options tab, under the Audio check box, in the Format list, click AAC.
In the Video section of the Encoding Options tab, click the wrench icon on the right side of the Format list to open the Advanced Encoder Settings dialog box.
In the Advanced Encoder Settings dialog box, in the Keyframe Frequency list, click 4 Seconds.
You can also use a multiple of the value of the <FragmentDuration> element in the
applications/livepkgr/events/_definst_/liveevent/Event.xml file. The default value of <FragmentDuration> is
4000 milliseconds (4 seconds).
Click OK to save the setting and return to the main page. The value of
the Preset list changes to
Open the AWS CloudFormation console at https://console.aws.amazon.com/cloudformation/.
Check the checkbox for the stack that you created for live streaming.
In the bottom pane of the AWS CloudFormation console, click the Outputs tab.
Copy the value of the FMSURL key, for example, rtmp://ec2-00-11-22-33.us-west-1.compute.amazonaws.com/livepkgr.
In Flash Media Live Encoder, in the Stream to Flash Media Server section, in the FMS URL field, paste the value of the FMSURL key that you copied from the AWS CloudFormation console.
In the AWS CloudFormation console, copy the value of the Stream key, for example, livestream?adbe-live-event=liveevent.
In Flash Media Live Encoder, in the Stream field, paste the value of the Stream key that you copied from the AWS CloudFormation console.
If you anticipate having to stop and restart the live stream, enter the following value in the Stream field instead:
If you publish a live stream in record mode (
adbe-record-mode=record), then stop the stream and restart it,
Adobe Flash Media Server will delete the previous stream and start a new stream instead of appending to the previous stream
when you restart. However, if you don't use record mode and you stop the live stream, you have to reconfigure
live streaming before you can restart the stream.
Uncheck the Save to File checkbox.
Click Connect to connect to your Flash Media Server instance.
Click Start to start encoding and publishing your live stream to the livepkgr application on your Adobe Flash Media Server instance.