Skip to main content
January 19, 2007
Question

New Flash Media Encoder

  • January 19, 2007
  • 1 reply
  • 336 views
So, I've been playing with the new Flash Media Encoder here: http://labs.adobe.com/technologies/fme/

It was a really simple download and works seamlessly with Flash Media Sever. I think you have to update FMS2 to the January 07 update to use it, though. Anyway, below are some options for trying it out. Have fun :)

Per Chris H from adobe:
1. You don't need a main.asc file on your FMS app to publish and broadcast live streams with FME.

2. You can get a live stream from FME to playback in the normal FLVPlayback component that ships with Flash 8 Professional. Just make sure you have the "isLive" parameter set to true and the contentPath should be: rtmp://server_name/app_name/inst_name/stream_name.

Option from FMS livedocs:
1 New Flash Document with two layers: actions and video display.
2 Add this code from the FMS livedocs to the actions layer:

var my_nc:NetConnection = new NetConnection();
my_nc.connect("rtmp://<YOUR RTMP ADDRESS>/streamtest");
var my_ns:NetStream = new NetStream(my_nc);
my_video.attachVideo(my_ns);
my_ns.play("stream");

3. Open Window > Library > Click little dropdown toggle next to library title and select a new video display object and specify actionscript control.

4. Drag Video Display out of the library and give it an instance name of my_ns and publish it. I used a laptop for this part so that I could stream to the file from my FMS server. I saved the .swf as video_receiver.swf.

5 Stop Flash Media Server and create a folder called streamtest in the FMS Apps folder, then start it again.

6. Fire up FMEncoder, specify the RTMP address you specified in the Flash 8 AS code, and be sure that the stream is named, "stream" (no quotes). Also, toggle off the save stream file, unless you want to save the recording.

7. Click start on FME and open the video_receiver.swf and you should see the stream playing.

Another idea:
Use the receiver from this tutorial:
http://www.adobe.com/devnet/flashcom/articles/broadcast_receiver.html
    This topic has been closed for replies.

    1 reply

    January 25, 2007
    We have our own FMS and I have just installed the FME on a workstation. FME reads video perfect but when I try to connect to the server it won't accept my username and password. Where do I set this? I have installed the add-in for FMS and also upgraded to the latest 2.0.7 release. I'm green to the Flash Media Services so this may come as a dumb question. Please help!
    January 26, 2007
    If I'm not mistaken, it's your FMS username and password. That's what I think I did when I was prompted by FME for the information. I don't want to try again and see, just in case I'm wrong. Hopefully, someone smarter than I am will come to the rescue.