Skip to main content
Participant
November 6, 2007
Question

How to Stream FLV with FMS

  • November 6, 2007
  • 3 replies
  • 474 views
Hello!
Have installed FMS 2.0 on windows. I now want to load some flv files that I want to stream via rtmp://
How do I go about doing this? Where should I place the flv files? What would my path in rtmp://path be?
I want to embed the video in a html page and stream as rtmp.
Thanks!!
    This topic has been closed for replies.

    3 replies

    Participating Frequently
    November 15, 2007
    Go to your Flash Media Server Directory for example:

    C:\Program Files\Macromedia\Flash Media Server 2\

    Open up the applications folder, so you should now be at:

    C:\Program Files\Macromedia\Flash Media Server 2\applications


    This is the folder where you place your FLV files

    Inside ther application folder create another folder to house your particular "Group" of FLV files ie: "MV" for Music Videos

    So now you should be at:

    C:\Program Files\Macromedia\Flash Media Server 2\applications\MV

    Inside the example MV folder, create a folder called "streams" without the quotes.

    C:\Program Files\Macromedia\Flash Media Server 2\applications\MV\streams

    In this streams Folder place subfolders to catagories your different types of music ie; "Reggae"

    C:\Program Files\Macromedia\Flash Media Server 2\applications\MV\streams\Reggae

    and in this folder place your relevent FLV files, do not have any gaps in the FLV file names ie:
    musicvid1.flv and not "music vid.flv"

    so finally you should have:

    C:\Program Files\Macromedia\Flash Media Server 2\applications\MV\streams\Reggae\musicvid.flv

    (Dont worry about all the folder structures, as these will be ignored when configuring the stream path)

    If you are creating your web pages that display the Streaming FLV files in Dreamweaver it is easier.

    In the folder "MV" where the streams folder is placed, you need to put a file called main.asc. So in the MV folder you will have two files, the streams folder and the main.asc file. Next, you will see how to get this file main.asc

    If you are in Dreamweaver put the cursor where you want to put the streaming video, then go to:

    Insert / Media / Flash Video (Dreamweaver CS3)

    Under Video type: Choose Streaming Video:

    The URL now changed to Server URI and in the box is already written rtmp:// ,

    In this box type (As in my example: rtmp://ipaddress of the computer with Flash Media server running/MV/Reggae

    As you can see, you do not mention the applications folder, and you also skip the streams folder name.

    In the Stream Name, type in the name of the Movie you wish to play here WITHOUT THE .flv tag so:

    rtmp://ipaddress/MV/Reggae is the Video Type
    and "musicvid" is the Stream name

    Choose the desired skin to show the playback toolbar you want.

    Choose the Width and Height of the Video you wish to play back.

    Choose if it is alive feed or if not as in this case, choose Autoplay.

    Buffertime can be set to 0 if you want to play immediately. but I shoose 1 second to allow for errors.

    Click ok.

    Now if you look at the Files list on the right side of the Dreamweaver pane, Dreamweaver will have created a main.asc file in the same directory as the Webpage that will hold the Movie.

    Copy the main.asc file and paste it where I mentioned earlier, in the "MV" folder with the streams folder

    If you are putting all of your flv files into the "MV" folder, then this only has to be done once.

    Save the page and hit F12 to preview.

    Should be then playing fine.

    I hope this helps.
    Participant
    November 7, 2007
    It would be better using Flash to create SWF. Following the below working instruction:
    http://www.mcalister.cc/ddd/flv/index.html
    Participant
    November 7, 2007
    It would be better using Flash to create SWF. Following the below working instruction:
    http://www.mcalister.cc/ddd/flv/index.html