Skip to main content
April 16, 2010
Question

Only FLV files will stream, not MP4, F4V or Mov

  • April 16, 2010
  • 1 reply
  • 3591 views

Argh...this shouldn't be so hard!!!

I've finally been able to display a stream inside an SWF but only from FLV files on the FMS server. What on earth do I have to do to play other filetypes FMS supports?

This plays alright:

nc.connect("rtmp://myDefaultFMSserver.com/vod");
ns.play("sample");

This doesn't:

nc.connect("rtmp://myDefaultFMSserver.com/vod");
ns.play("mp4:AdobeBand_800K_H264");


Neither does this:

ns.play("mp4:AdobeBand_800K_H264.mp4");

Nor this:

ns.play("mp4:media/AdobeBand_800K_H264");

I'm using the FMS default installed testfiles....

PLEASE help!

Thanks

    This topic has been closed for replies.

    1 reply

    Janaki Lakshmikanthan
    Adobe Employee
    Adobe Employee
    April 16, 2010

    Hi,

    nc.connect("rtmp://myDefaultFMSserver.com/vod");
    ns.play("mp4:AdobeBand_800K_H264.mp4");

    This should have played for you

    Are you using flash player 9.0.115 or above to play MP4 content?

    If you are on right player, check your server side log to see what the server has to say when you try to play the stream. Check InstallRoot\logs\access.log file for 'play' event and its corresponding x-status code.

    Regards,

    Janaki L

    April 16, 2010

    I'm just previewing ctrl+enter from Flash CS3 at the moment. I believe it previews in version 9.

    I have updated FP to v. 10 in my browsers and when I publish my file and open it from the folder it will NOT play no matter what I try in any format.

    It doesn't play the FLV if I doubleclick the SWF directly or if I open the html file Flash CS3 generates.

    For the love of g....what's going on???

    Thanks for any help.

    Janaki Lakshmikanthan
    Adobe Employee
    Adobe Employee
    April 16, 2010

    Hi,

    check your server side log to see what the server has to say when you try to connect and play the stream. Check InstallRoot\logs\access.log file for 'connect' or 'play' event and its corresponding x-status code. Let us check if the request from your swf has reached the server first. If you dont see any traces in the server log for your request then we have to edit your Global Security Settings i guess.

    Regards,

    Janaki L