Skip navigation
Currently Being Moderated

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

Apr 16, 2010 4:37 AM

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

 
Replies
  • Currently Being Moderated
    Apr 16, 2010 4:57 AM   in reply to GerrardLFC

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 16, 2010 5:32 AM   in reply to GerrardLFC

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 16, 2010 3:00 PM   in reply to GerrardLFC

    Hi,

     

    For playing mp4 streams you just need to append mp4:<filename> and then play. So if suppose the file name in vod\media folder is AdobeBand_800K_H264 then use this :

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

     

    Otherwise if it is AdobeBand_800K_H264.mp4 then use

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

     

    From the logs which you have given everything seems right. Now just do as above and give me fresh logs if problem still persists.

     

    Regards,

    Amit

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 19, 2010 4:05 AM   in reply to GerrardLFC

    Hi

     

    Please check your flash player version at home and work. You should use flash player 9.0.115 or above to play MP4 content.

     

    Regards,

    Amit

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 19, 2010 5:05 AM   in reply to GerrardLFC

    OH!!! CS3!!! Could be older one.

     

    You have to update your CS3 to get MP4 working in it. Open Flash CS3 > Click Help menu > Select Updates > update the CS3.

    After updating you might have to restart your CS3. After restarting the machine, open Flash CS3 and publish your fla once again. Now Open the swf in Flash Player greater than 9.0.115. It should work for you.

    Let me know if you are finding any issues.

     

    Regards,

    Janaki L

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 19, 2010 5:10 AM   in reply to Janaki Lakshmikanthan

    You got "#2095: flash.net.NetConnection was unable to invoke callback onBWDone." error=ReferenceError: Error #1069: Property onBWDone not found on flash.net.NetConnection and there is no default value.]" because, the application VOD to which you were trying to connect is

    trying to call a method 'onBWDone' in the client side. Since that method is not

    defined at your client side you get this error. It would not harm your stream play.

     

    Regards,

    Janaki L

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 19, 2010 10:37 PM   in reply to GerrardLFC

    With the newly published content, where you able to view flv content atleast? If your answer is "NO, I am not able to play any content".

    Just hit any video site like youtube.com and try playing a video. Check if the video is playing in your FP 10 browser.

     

    Regards,

    Janaki L

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 20, 2010 9:47 PM   in reply to GerrardLFC

    If you have updated your CS3, the player version that it will have is FP 9.0.115 (you can confirm thatby looking at the version of the file 'InstallDir\Adobe Flash CS3\Players\Release\FlashPlayer.exe'. Can you pass me the swf file which you have created? Wondering why it should not work in 10.0.42.2 FP

     

    Regarding,

    Janaki L

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 21, 2010 1:11 AM   in reply to GerrardLFC

    Pls. send it at

    jlakshmi@adobe.com.
     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points