Skip to main content
Inspiring
May 17, 2007
Answered

FMS/FLVPlayback

  • May 17, 2007
  • 22 replies
  • 3302 views
FMS is installed. I have my .flv file under my directory for the application. Trying to use the FLVPlayback in Flash 8 to call it using rtmp://myserver/myapp/_definst_/myvideo.flv. Publish and it just brings up a blank screen. never plays. I know the .flv file works ok. I can see it connecting to the FMS so I know that is working ok. My application does use UC/LC combination and i read something that says it might be a problem. Any help??? I have the main.asc file from the Flash8 components sample (although that does say it is for the old 1.5 server).
    This topic has been closed for replies.
    Correct answer hml398
    OK - for anyone doing research - first try a sample .flv from somewhere if you are having problems. The connection string that works:

    rtmp://servername/applicationname/flvfile

    22 replies

    May 18, 2007
    I'm glad to hear that it is working! I'm not a video expert, but I think that the metadata was corrupt when you produced to flv.

    Regards,
    Shack
    hml398AuthorCorrect answer
    Inspiring
    May 17, 2007
    OK - for anyone doing research - first try a sample .flv from somewhere if you are having problems. The connection string that works:

    rtmp://servername/applicationname/flvfile
    hml398Author
    Inspiring
    May 17, 2007
    OK - so my entire day and a half (and your time has totally been wasted!) I just loaded a ramdom sample FLV file and well - ran just fine! I really appreciate your help. Do you have any idea why it would play progressive download but not stream?
    May 17, 2007
    The flv needs to be in your FMS applications folder where you installed FMS like this....

    applications/horatiomembers/streams/_definst_/wolk.flv

    I have tried myself to play this flv, but it will not stream. Maybe it is a corrupt flv?
    May 17, 2007
    IIS normally doesnt if u just use port 1935. Sometimes tunneling to port 80 will cause hiccups.

    I used this code


    __nc = new NetConnection();
    __nc.onStatus = function(info) {
    if (info.code == "NetConnection.Connect.Success") {
    trace("good")
    __ns = new NetStream(__nc);
    __ns.play("wolk");
    __video.attachVideo(__ns);
    }
    };
    __nc.connect("rtmp://media.horatioalger.com/horatiomembers");

    there is a video object on the stage called __video.
    hml398Author
    Inspiring
    May 17, 2007
    http://media.horatioalger.com/wolk.flv works for a progressive download
    hml398Author
    Inspiring
    May 17, 2007
    does iis running on the same ip cause a problem?? What connection string did you use for the netStream?
    May 17, 2007
    Ok...I just tried using a netStream from your conection. It does not play the wolk video. I can connect, but do not see the video play.
    May 17, 2007
    FME is a stand alone app by Adobe to stream to FMS. Another way to play the flv is to put it on a web server and progressivley download it using FLVPlayback. Try copying the flv to a directory on your web server and then change the contentPath to point to your flv. Make sure you put the flv extension and set isLive to false. Yo uwill lose seek function until the download is finished though.
    hml398Author
    Inspiring
    May 17, 2007
    i have done the progressive download thing - these movies are 40MB. I just spent $4500 to do the streaming instead of progressive... the progessive works just fine with this movie.
    hml398Author
    Inspiring
    May 17, 2007
    Sorry what is FME? I am using Flash 8.