Live Streaming With Flash Media Encoder & Red5



Online live streaming is one of the top ranks that Adobe Flash holds at the moment. Although you will find many web-based flash recorders and live streaming applications, none can match the Adobe Flash Media Live Encoder. As i have noticed FMLE has a much superior encoding quality as compared to any swf based encoder.

So after my experiment last week on OSMF and red5 i decided to give FMLE a try with Red5 open source media server. However i was disappointed that it didn’t work with the latest version of FMLE and red5 0.8.  However it was great to see that Flash Media Live Encoder 2.0 (older version) worked great with Red5. So here is a look at how we get Red5 to work with Flash Media Live Encoder 2.0 for  some great results .

Setting up Red5 With Flash Media Live Encoder

  1. Download Flash Media Live Encoder 2.0 form Adobe here.
  2. FMLE Download Page

  3. Install FMLE on your computer.
  4. FMLE Installation

  5. Launch and prepare Flash Media Live Encoder with Red5. Here i assume that you already have red5 installed and running (Red5 0.8 minimum) If you haven’t installed red5 yet, you can download it from its Google code page. After getting red5 running ensure that you have a valid red5 application in webapps directory. You can install it using the Red5 installer or generate one from Here . I use midiDemo as a sample rtmp application, which comes with Red5.

    FMLE Main Interface

    Next , once you have the server side application ready, launch FMLE from installed location. When FMLE is up , change the FMS URL to point to Red5 rtmp application rtmp://localhost/midiDemo (for our example) and then set  stream name to, “livestream (for our example). Then press Connect to make connection with Red5 application.  For camera resolution i used 176×144.

    Rest of the settings,staying default we simply press “Start”  button at the bottom to start broadcasting.

  6. View Broadcast with a flash client. – Now that things are rolling, its time for us to test our broadcast in a flash based client. So for this example we will use the Publisher sample application with comes bundled with Red5. So navigate to http://localhost:5080/demos/publisher.html, (assuming you installed red5 with normal procedure) and you will see the publisher application.

    Red5 Publisher Sample Application

    Here we will first change the rtmp url in Location: field  to rtmp://localhost/midiDemo and press Connect button to connect to server. If you have setup red5 correctly and its running you will get a “NetConnection.Connect.Success” message in the debug window, ensuring that the connection is ready. Next we need to change th stream name to point to the same name as  Flash Media Live Encoder is using to broadcast on. So we change the Name: field to “livestream for our example. Then press “Play“.  You should now be able to see your broadcast in the Red5 sample application.

  7. Red5-Publisher-Viewer

    Red5 Publisher Recieving Stream

Note: Since FMLE is not recommended to be used with anything other than FMS, hence performance and expected results cannot be guaranteed. However if  you want to try out,  definitely give it a go. How+ever i have noticed that FMLE drops the capture device after a while (Tested on Red5 o.8)

Popularity: 100% [?]




June 27, 2010  Tags: , , , ,   Posted in: Red5, RTMP

28 Responses

  1. Prof.Yeow - September 28, 2010

    thanks for the info!!!

  2. Wonded.com - September 28, 2010

    Dear Admin.
    Can you contact with me by email please? Thanks.

  3. haythoo - November 4, 2010

    thanks, but how I could protect my red5 server?
    this mean, anybody can stream because there is no authentication

  4. Shah - November 13, 2010

    Please tell me, how can i view the stream from a player, or how can i embed the stream in my web page for example… i want visitors to watch my webcam from my website. please let me know.
    thx

  5. fabio - December 27, 2010

    amigo intalei ele em um dedicado qual endereço eu uso para ver em outro computador

  6. antioch purchasing procurement jobs - March 7, 2011

    Find Jobs…

    [...]below you’ll find the link to some sites that we think you should visit[...]…

  7. Free Numerology - March 11, 2011

    Website Tips…

    [...]is unrelated to my site but I still like to check it out. I recommend visiting it[...]…

  8. Ali - March 11, 2011

    Hi,

    is that possible to use another encoder instead of FME?

    Ali

  9. CieAura - March 13, 2011

    Cieaura Suggests It’s A Fantastic Article Well Done?…

    Fantastic post thought I might include a few unrelated posts, but really worthwhile having a look…

  10. Enclosed Auto Transport - March 19, 2011

    Auto Transport…

    [...]all of us seen your web site ended up being pointed out upon our own garment inkjet printer internet site[...]…

  11. homes for sale in new bern nc - March 20, 2011

    [...]below that are definitely worth checking out[...]…

  12. Front Loader Trash Trucks For Sale - March 23, 2011

    Garbage Truck…

    [...]a post back linking to your website has been created online as listed above[...]…

  13. Jacksonville Divorce Lawyers - March 24, 2011

    Find an Attorney…

    [...]below you’ll find the URL to several web destinations that we believe you might want to visit[...]…

  14. turkish coffee maker - March 25, 2011

    turkish coffee pot…

    [...] Check out the following sites… [...]…

  15. buy generic viagra - March 27, 2011

    Hello!…

    [...]You made some clear points there[...]…

  16. Conveyancing Solicitors - March 29, 2011

    Conveyancing Solicitors…

    [...]below you’ll find the link to some sites that we think you should visit[...]…

  17. la ink tattoos - March 29, 2011

    Trackback, Thanks very much…

    la ink tattoo designs, has linked to your web page….

  18. baby nursery - March 30, 2011

    transformadores…

    [...]followed below there can be the website link towards a world-wide-web sites i visualise be certain to use[...]…

  19. cashloanpersonalp - March 30, 2011

    hi everyone

  20. silver jewellry - March 31, 2011

    You just put blog writing to the next level. I believe people will get unique perspective from your articles and I hope to see more coming.

  21. train horns - April 1, 2011

    Amazing site…

    [...]the time to read or visit the content or sites we have linked to below the[...]…

  22. richard chorley golf - April 3, 2011

    richard chorley golf…

    Thanks for such an excellent page, bookmarked, ill visit soon!…

  23. health and safety sign - April 4, 2011

    safety signs…

    Thanks for such an excellent page, bookmarked, ill visit soon!…

  24. laptop power supply - April 4, 2011

    laptop charger…

    Thanks for such an excellent page, bookmarked, ill visit soon!…

  25. Acupressure To Induce Labor - April 6, 2011

    Acupressure To Induce Labor…

    Thanks for such a brilliant blog post, bookmarked and shared!…

  26. 7 Day Programmable Thermostat - April 6, 2011

    7 Day Programmable Thermostat…

    Thanks for such a brilliant blog post, bookmarked and shared!…

  27. Dremel Stylus - April 6, 2011

    Dremel Stylus…

    Bookmarked your site, so I can visit frequently, thank you!…

  28. My Cruel - April 6, 2011

    Nice Post…

    Awesome info over again! Thanks a lot!…

Leave a Reply