Question
New Flash Media Encoder
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
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
