Broadcasting to Kaltura with Adobe Flash Media Live Encoder (FMLE)

Adobe Flash Media Live Encoder (FMLE) is a free encoder that you can use to broadcast directly to Kaltura.


This article assumes you have already performed the following actions:

  1. Created a Kaltura account and am certain that Live streaming is enabled. 
  2. Tested the available network bandwidth between your encoder and Kaltura data centers
  3. Created a live stream entry in the Kaltura Management Console (KMC)

Export the FMLE Configuration File from the Kaltura Management Console

To export the FMLE XML

  1. Log in to your Kaltura Management Console in
  2. In the Content tab, locate your live entry and click on it to edit the entry.
  3. Click on "Export XML to FMLE".
  4. Save the exported XML to your computer.

Configuring FMLE to Broadcast

To import the XML file to FMLE

  1. Launch FMLE on your computer.
  2. Go to File→Open Profile.
  3. Navigate to where the XML was saved and select Open to automatically configure the broadcasting URLs to Kaltura SaaS.

    Notice that your RTMP URLs (primary and backup) and the stream name for your live entry are now configured in the FMS URL and Backup URL boxes

Enable Stream Synchronization

To enable stream synchronization

This step configures the outgoing streams to be synchronized with UTC timestamps, to provide a better user experience.

  1. Close the FMLE application.
  2. Open the Flash Media Live Encoder config.xml file in a text editor. The default installation location depends on your operating system:
    • 32-bit Windows: C:Program Files (x86)AdobeFlash Media Live Encoder 3.2

    • 64-bit Windows: C:Program Files (x86)AdobeFlash Media Live Encoder 3.2

    • Macintosh:/Applications/Adobe/Flash Media Live Encoder 3.2./conf/

  3. In config.xml, set the value of the following <enable> element to true:
                    <!-- "true" to enable this feature, "false" to disable. -->
  4. Start the FMLE application.

FMLE Encoding Options

The following graphic provides an overview of the FMLE encoding options and the recommended values when streaming to Kaltura:

  1. Video Device: Select the video device you want to use for live streaming, for example, Camera, Webcam, capture card, etc
  2. Video Format: Select H.264 
  3. Frame Rate: Based on your capture device capabilities. recommended values are 25 or 30 fps.
  4. Input Size : Choose an input size that is equal to your output size. Check the "Maintain Aspect Ratio" checkbox.
  5. Output Size and Video Bit Rate: This important parameters defines the resolution and bitrate of the outgoing stream.
    Please keep in mind the following constraints:
    • Encoding at high bitrates will require more CPU resources and bandwidth.
    • The total amount of bandwidth required must not bypass 50% of your available bandwidth to Kaltura servers.
  6. Audio device: Select the audio device you want to use for the stream. This does not need to be the built in mic of your camera. You can select an alternate audio input.
  7. Audio format: AAC and MP3 are supported. when possible, AAC is recommended.
  8. Channels: Choose stereo or mono. Stereo is recommended.
  9. Sample rate: 44100 Hz (44.1 kHz) is a good starting point unless you have audio gear that requires something else.
  10. Audio Bit Rate: Based on your audio stream quality. You could start at 96 kbps and go up from there.

Sending Multi-Bit-rate Stream in FMLE

If you have sufficient bandwidth and CPU resources, you can broadcast multi-bit-rate stream directly from FMLE, instead of creating the lower-flavors in Kaltura servers.

  1. In the "Output Size and Video Bit Rate" section, you can send up to 3 streams to Kaltura. Order your streams with the highest bit rate /output size stream in the first position. You can then place the lower quality stream(s) in descending over in the two other slots.
  2. Edit the "Stream" field (under the RTMP URLs) and add an "%i" to the end of the Stream name. This %i tells Kaltura that you will be sending multiple quality streams.

You can have up to 3 streams at once going to the same channel when streaming with FMLE. It is recommended to add streams one at a time to help make sure you have adequate bandwidth. If you are sending multiple streams, please make sure that the transcoding profile is set to "Pass-through"

Starting the Broadcast

Press Start to start streaming to Kaltura.  Please allow 2-3 minutes for the stream to initialize and process before it can be played by the video player.

While streaming

During the broadcast, please review the FMLE logs and statistics.

  • Make sure that FMLE has connected successfully to Kaltura servers.
  • Any disconnection or failure will appear in the encoding logs.
  • Review the  FMLE encoding and publishing statistics tabs to make sure the stream is properly broadcasted to Kaltura servers (primary and backup). If you experience frame drops, please make sure you have sufficient bandwidth and CPU resources.

Press Stop to stop broadcasting.

In This Article
Was this article helpful?
Thank you for your feedback!