This site requires javascript and cookie operation.

Stream Preset Help - RTMP

Preset tutorial

Getting started

This preset is designed for streaming to an RTMP server such as FMS (Flash Media Server) or Wowza.

RTMP is also used by many online streaming providers, such as UStream, Justin.tv, Twitch.tv, YouTube, Livestream, DaCast.

note:  If your service provider, provides an FMLE (flash media live encoder) XML profile.  You maybe able to use this directly to create a streaming preset by right-clicking on the streaming preset list then clicking 'Import from Flash Media (Live) Encoder streaming profile .xml'.  If not you can enter the details directly as shown below.

Entering RTMP server details.

Your service provider will usually provide you with a rtmp url & possibly a stream name to stream to.

Here are some examples of information given by service providers & how to enter the information into the MX Light preset editor.  nb. Be careful when entering the values & make sure not to add any spaces at the start or end of the values.

YouTube example:

from YouTube Dashboard
Server URL : rtmp://a.rtmp.youtube.com/live2
Stream name/key : username.xxxx-xxxx-xxxx-xxxx


in MX Light:
Type = RTMP,
Server
=a.rtmp.youtube.com
Application
= live2,
Play path
=username.xxxx-xxxx-xxxx-xxxx

This applies to YouTube's 'Stream now' service.  If you want to schedule a streaming event in advance, see this guide: YouTube - Guide

Facebook example:

from Facebook streaming dashboard:
Server URL = rtmp://rtmp-api.facebook.com:80/rtmp/
Streaming Key = 12345678901234567?ds=1&a=AaZ9...


In MX Light:
Type = RTMP,
Server = rtmp-api.facebook.com:80
Application = rtmp
Play path = 12345678901234567?ds=1&a=AaZ9...


Generic example 1:

from service provider:
URL = rtmp://192.168.1.5/live/livestream

in MX Light:
Type = RTMP,
Server = 192.168.1.5
Application
= live
Play path
= livestream

Generic example 2:

from service provider:

URL = rtmp:/10.20.30.40/myname-live/_definst_/doPublish=myname8zOKsuT/mystream

in MX Light:

Type = RTMP
Server
= 10.20.30.40
Application
= myname-live/_definst_/doPublish=myname8zOKsuT
Play path = mystream

Generic example 3:

from service provider:

URL = rtmp://ingest.some.tv/some-live-id/_definst_/doPublish=21FERBAOgRha
Stream name = mix

in MX Light:

Type = RTMP
Server
= ingest.some.tv
Application
= some-live-id/_definst_/doPublish=21FERBAOgRha
Play path = mix

Generic example 4:

from service provider:

URL = rtmp://ec2-28-207-123-111.compute-1.amazonaws.com/livepkgr
Stream = awstest?adbe-live-event=liveevent

in MX Light:

Type = RTMP
Server
= ec2-28-207-123-111.compute-1.amazonaws.com,
Application
=livepkgr
Play path =awstest?adbe-live-event=liveevent

Generic example 5:

from service provider:

URL = rtmp://p.ep123456.i.akamaientrypoint.net/EntryPoint
Stream = streamname_1_%i@123456

in MX Light:

Type = RTMP
Server
= p.ep123456.i.akamaientrypoint.net
Application = EntryPoint
Play path = streamname_1_1@123456

*IMPORTANT: With Akamai servers, if there is a '%i' in the stream name this should be changed to '1' when entered into MX Light as the play path, as shown in the example above.



Authentication


If your service provider also provides a username & password which are required for streaming.  These can be entered by setting Authentication = ONUsername & Password  properties will then become visible.

Audio / Video Options

Video Mode

   =[ HARDWARE DIRECT ]
       Video output is a direct copy of the hardware encoded video stream.
   =[ RE-ENCODE ]
       Video output is a re-encoded version of the input video stream.
       Allowing custom cropping, keyframe interval & profile setup.

Advanced Options

These are visible when 'show advanced' is checked.

--Client buffer time (ms)

Specifies how long the client should buffer the stream before starting playback.  nb. Not all clients follow this instruction.

--Input Mode

Provides different input modes, the lowest latency mode is not guaranteed to work with all inputs so is not selected by default.  The 'lowest latency' mode should reduce latency by about 2.5 seconds.

-------------------- Service specific examples --------------------

Streaming to www.Livestream.com

To stream to your Livestream account.  Use the following settings.  Replacing {channel name}, {username}, {password} with your livestream account settings.

Type= RTMP
Server= publish.livestream.com
Application= mogulus/{channel name}/username={username}/password={password}/isAutoLive=true/autoVOD=true/autoRecord=true/autoPilot=true/aspectWidth=16/aspectHeight=9
Playpath= {channel name}

For more details on passing RTMP options see : http://www.livestream.com/userguide/?title=Use_Flash_Media_Encoder_On2_Flix_live_or_Wirecast_with_Livestream