Skip to main content
Participant
July 18, 2007
Question

More FMS & Flash CS3 not loading FLV

  • July 18, 2007
  • 5 replies
  • 920 views
I consider myself an intelligent fellow, but getting Flash CS3 to stream vis FMS is killing me. I've read the posts here where people are describing similar situations. I've read several websites that show kinda similar methods of getting this done, but none are working! The docs on FMS & CS3 are like in an infinite loop "see AS2.0/3.0 documentation on how to stream videos" & when you get there "See FMS documentation on how to stream videos"!!

I've read this & did it all, no dice:
http://www.mcalister.cc/ddd/flv/index.html

Read this which linked me to above, no dice:
http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00003495.html

Here is my config:
SERVER running FMS2, Windows Server 2003, IIS6, offsite, but am able to RDP in.
File structure:
C:\Program Files\Macromedia\Flash Media Server 2\applications\ForRentFlash\streams\small\Cosmo_Small.flv
C:\Program Files\Macromedia\Flash Media Server 2\applications\ForRentFlash\main.asc (sole content being: load(components.asc))
Where: ForRentFlash = appName
small = instanceName

Flash CS3 development locally & testing movie produces WHITE SCREEN.
Component Inspector for FLVPlayBack AS3.0 dropped on stage:
Source Content Path: rtmp://1.2.3.4/ForRentFlash/small/Cosmo_Small.flv (of course with correct IP)

No matter how I go about this, I end up with: FAILED TO LOAD rtmp://1.2.3.4/ForRentFlash/small/Cosmo_Small.flv.

Port 1935 was opened on the firewall of the remote server.
    This topic has been closed for replies.

    5 replies

    Participant
    January 4, 2008
    Add this line before you load your video and tell me if it works :

    NetConnection.defaultObjectEncoding = ObjectEncoding.AMF0;

    Of course you have to import NetConnection and ObjectEncoding...
    January 4, 2008
    I was able to get it working by reinstalling Flash CS3. Thanks for the help, though. I do already have those lines in my code.
    Participant
    December 26, 2007
    when i try to download adobe flash player...soemthing pops up and says that it could not download google...or something and wont let me download it..HELP!
    Participant
    July 20, 2007
    Try placing your flv files in a _definst_ directory.....

    Here is how mine are set up:
    C:\Program Files\Macromedia\Flash Media Server 2\applications\aniridia\streams\_definst_\V032v.flv

    I don't use any .asc files, but I'm fairly certain that they would be in the root of the " aniridia " directory (which is the application), rather than in the " aniridia\streams\_definst_ " directory.

    My videos would not stream until I put them in the _definst_ directory.

    I use an xml playlist with my flv player to call my videos. My stream syntax looks like this:

    rtmp://mydomain.com/aniridia

    Don't reference the flv file name.

    Good luck!
    Participant
    December 24, 2007
    jessbryant,I am using FMS 2.0 and _definst_ is not a mandatory name.

    I have read a couple of books and notice that you can use other name rather than _definst_.

    P.S.I use Linux as the server.
    LAYG0Author
    Participant
    July 18, 2007
    To add insult to injury, I've tried 4-5 different tutorials, all with the same results: NOTHING!

    I've watched this SEVERAL times & followed the directions & NOTHING (last video):
    http://www.adobe.com/devnet/flashmediaserver/articles/train_simple_introduction_fms2_04.html

    I'm simply at a loss . . .
    December 31, 2007
    I don't know if you've solved this problem. But recently my FLVPlayback components just STOPPED working in FlashCS3 and in Flex Beta 3 (using the fl.video.FLVPlayback class). I find that the FLVPlayback will connect to the FMS server, and will even resize according to the proper video dimensions, but it will not play back. I'm uninstalling Flash CS3 right now, and hoping a fresh reinstall will solve the problem. But this is the second major issue I've had with FLVPlayback.
    July 18, 2007
    Hmm... I don't use the FLVPlayback component, but when you code your connections manually, you need to leave the extension off the name of the flv file. Try changing your connection string to this:

    rtmp://1.2.3.4/ForRentFlash/small/Cosmo_Small
    LAYG0Author
    Participant
    July 18, 2007
    quote:

    Originally posted by: JayCharles
    Hmm... I don't use the FLVPlayback component, but when you code your connections manually, you need to leave the extension off the name of the flv file. Try changing your connection string to this:

    rtmp://1.2.3.4/ForRentFlash/small/Cosmo_Small


    BAH! Same problem. "Failed to load . . ."