Publish multi-bitrate stream from FMS?

Hi,
I have an SSAS app to publish live streaming, you can refer here. Can I do publish multi-bitrate streaming with SSAS code over RTMP ? I read a tutorial, but it over HTTP...
Mai Huy

Hi everyone!
I have question, how can I play Multi Bit-rate, Live, HDS Streaming? I've done huge resarch and couldn't find how to do it.
I'm decoding stream properly from camera through Adobe Live Media Encoder to AMS.
everything works fine when I decode single bit rate and play like this:
           var resource : URLResource = new
URLResource("http://localhost/hds-live/livepkgr/_definst_/liveevent/livestream.f4m");
        var manifest : F4MElement = new F4MElement(resource);
        var mediaPlayerSprite : MediaPlayerSprite = new MediaPlayerSprite();
        mediaPlayerSprite.media = manifest;
        addChild(mediaPlayerSprite);
with multibitrate - manifest file looks like this:
<manifest xmlns="http://ns.adobe.com/f4m/1.0">
  <media streamId="livestream1" bitrate="100" />
  <media streamId="livestream2" bitrate="500" />
  <media streamId="livestream3" bitrate="1000" />
</manifest>

Similar Messages

  • Publishing multi-bitrate live streams for iOS

    I'm having difficulties publishing multi-bitrate live streams that can be viewed on an iPad/iPhone.
    I'm running Flash Media Server 4.5, and have carefully followed Adobe's Tutorial on streaming live media (http) using hls found here:  http://help.adobe.com/en_US/flashmediaserver/devguide/WSd391de4d9c7bd609-52e437a812a3725df a0-8000.html#WS0432746db30523c21e63e3d12e8340f669-8000
    After completing the above tutorial, the video can be seen just fine on my desktop computer via the flash plug-in, but it's not working in iOS...
    When I go to what I believe to be the proper URL, (http://myflashmediaserver.net/myevent.m3u8),  I get an error message on my iPhone and iPad saying "The operation could not be completed".
    I have created two set-level manifest files (one .f4m and one .m3u8) for the live stream using the Set Level F4M/M3U8 File Generator and saved them to the WebRoot directory, but alas, no love.
    Any help would be greatly appreciated!
    Mike

    I just finished going through the short and sweet tutorial on the Adobe website "Capture, encode and stream live multi-bitrate video over HTTP to Flash and iOS", which confirmed that I seem to be doing everything right, but I'm still getting the "The operation could not be completed" error message on both iPad and iPhone.
    Grasping at straws, I'm wondering if it could have something to do with some of the "hacks" I was asked to make in the other tutorials, (which, oddly enough, weren't mentioned in the tutorial mentioned above).  Specifically:
         • Edit FMLE config file on the Mac I'm encoding the live video on (change <streamsynchronization> from false to true)
         • Delete/Rename the "manifest.xml" file in applications/livepkgr/events/_definst_/liveevent directory
         • Edit "event.xml" in applications/livepkgr/events/_definst_/liveevent (change <segmentduration> from 40,000 to 16,000)
    However, I've tried running this with the above hacks as well as in their non-hacked state and am still not seeing success.
    Please advise.  Thanks!

  • Problem playing remote live stream from FMS

    Hello all,
    I'm having problems playing remote live streams from FMS (server-side) that I can play with any other player (client-side)
    Example of server-side application which plays a remote live stream:
    nc = new NetConnection();
    nc.connect("rtmp://remoteserver/live");
    stream = Stream.get("localStream");
    stream.play("remoteStream.flv", -1, -1, true, nc);
    This code works only sometimes.
    Most of the times, FMS is able to connect to remote string and the localStream dispatches events:
       NetStream.Publish.Strart
       NetStream.Play.Reset
    In this case, FMS is publishing the local stream but it is not playing the remoteStrem on it.
    The rest of the times, localStream dispatches events:
       NetStream.Publish.Strart
       NetStream.Play.Reset
       NetStream.Play.Start
       NetStream.Data.Start
    In this case FMS plays the remoteStream correctly.
    Any hint to solve this issue?
    Regards.

    Thanks, I tried your code and it works when playing a remote live stream on another FMS.
    But the remote live stream is not on a FMS but on a Wowza Server which re-streams an RTSP stream over RTMP.
    With this code:
    var nc;
    var myStream;
    application.onAppStart = function(){
         nc = new NetConnection();
         myStream = Stream.get("localstream");
         myStream.onStatus= function(info){
               trace(info.code);
         nc.onStatus = function(info){
               trace (info.code);
               if(info.code == "NetConnection.Connect.Success" ){
                    myStream.play("remoteLive.sdp", -1, -1, true, nc);
         nc.connect("rtmp://remoteServer/live");
    Every live stream player I tried was able to play the remote stream "remoteLive.sdp", but FMS play it only sometimes. This is the output log of the FMS application:
    NetConnection.Connect.Success
    NetStream.Publish.Start
    NetStream.Play.Reset        <--------------------------------- Stuck there, stream won't play
    Unloaded application instance wowza4/_definst_ <--- Reload app
    NetConnection.Connect.Success
    NetStream.Publish.Start
    NetStream.Play.Reset        <--------------------------------- Stuck there, stream won't play
    Unloaded application instance wowza4/_definst_ <--- Reload app
    NetConnection.Connect.Success
    NetStream.Publish.Start
    NetStream.Play.Reset
    NetStream.Play.Start         <--------------------------------- Stream is playing just fine
    NetStream.Data.Start
    Unloaded application instance wowza4/_definst_ <--- Reload app
    NetConnection.Connect.Success
    NetStream.Publish.Start
    NetStream.Play.Reset       <--------------------------------- Stuck there, stream won't play
    Any idea? Why FMS won't play it everytime?
    Regards

  • Verifying Multi-Bitrate Streaming

    I finally got our FMS 4.5 server up and running and streaming multi-bitrate.  The only problem is I can't seem to verify what stream I'm viewing and I also believe the player is not switching among the various bitrates.  Internally testing among the LAN I'm not viewing the highest quality when I should be, the image appears to be the medium quality stream.  When I test the highest quality stream as a single bitrate stream it's very clear and crisp, but not when I use the multi-bitrate stream. 
    I'm using the StrobeMediaPlayback.swf that came with the server install located here c:\program files\adobe\flash media server 4.5\webroot\swfs\StrobeMediaPlayback.swf  When I right click on the player I am giving an option to select Low, Med, High but it does not work.  Selecting low does not degrade the video and selecting high does not improve the video.  I'm not sure if those options were intended for selecting the various bitrate but it's not working.  I'm not sure if the issue is with the server or the player.  I'm inexperienced with developing a player and unable to create one that offers a button to switch between auto or manually selecting a specific bitrate.
    Can anyone assist with verifying why my multi-bitrate streaming is not switching and perhaps know of a prebuilt player that can offer manual selection of a specific bitrate and toggle between auto and manual mode.

    Hi,
    I'm sorry but that control is not to switch between MBR streams. If you notice it'll give you the same options for a single stream as well. The stream that the client requests for depends upon the bandwith that is currently available. For HTTP streaming to check which stream is being requested, you can check the Apache logs here : <root_install>/Apache2.2/logs/access_log.
    For manual switch you can use  http://osmf.org/dev/2.0gm/debug.html?src=<your-url-here> player. If you're trying a HTTP stream, you may be missing the crossdomain.xml file under <root_install>/webroot, because of which you may be getting the error. Can you try placing a crossdomain.xml and trying? If you still see the error can check the error logs here : <root_install>/Apache2.2/logs/access_log and let me know what it says?
    Thanks,
    Apurva

  • Streaming from FMS to a CDN

    How can I push streams being put onto my FMS to a CDN? Do I
    have to edit an asc file? Where does that file need to go? Thanks
    for any help.

    Short answer: You cannot push to a CDN, only pull. And that's
    tricky if you can't upload your own custom .asc code - most CDNs
    won't allow it.
    Good news: FMS3 adds a new Netstream object on the serverside
    (previously we only had the Stream object without publish method)
    and that allows you to push a stream to a CDN or any other FMS box
    for that matter.
    Ask your CDN of choice how quickly they will roll out FMS3
    and once they do you're all set.

  • SWF Verification and HTTP Streaming from FMS 4.0.1

    Is it possible to do SWF Verification with HTTP Streaming? (If calling the box directly)
    My gut says No, and I haven't seen any examples or mentions of this in the forums, and I was hoping I could get a clear cut answer from someone that has either tried it or from Adobe.
    Thanks.
    -Will

    Hi,
    As of now, you cannot use SWFVerification to protect HTTP Streaming, as HTTP Streaming does not require connection with core process of FMS, but request is handled by f4f module in apache. The current way to ensure protection of HTTP streams is to use Flash Access for encryption of fragments. You can find more about Flash Access here at http://www.adobe.com/products/flashaccess/
    Thanks,
    Abhishek

  • Multi bitrate streaming

    hello friends,
    I have installed FME 3.0 . I have read about the
    multistreaming..
    Is anyone knows how to setup this multistreaming... and how
    can i detect proper bandwidth and stream..
    regards

    Check out Flash Media Server 3.5 (www.adobe.com/go/fms) - the
    free developer edition is now available for download. As well as
    the new FLV Playback component with support for bandwidth detection
    and the new Dynamic Streaming functionality is available on our new
    Tools page (www.adobe.com/go/fms_tools)
    Laurel Reitman
    Sr. Product Manager

  • F4v streamed from FMS into Captivate throws error

    I use the video type: Streaming Video in Captivate
    Server URI is set to: rtmp://xxxx.xxx.xx.com/vod/
    Stream Name is set to: mp4:signatur.f4v
    On the FMS the file signatur.f4v lies in applications\vod\media
    I have the stream in my first slide in Captivate and when I play it I get:
    Error #2044: Unhandled IOErrorEvent:. text=Error #2124: Loaded file is an unknown type.
    When I click "Dismiss All" at the error box the video start to play ok. Any succeding videos in the project also plays without errors.
    Any help would be much appreicated.
    Thanks,
    JensCBC

    It turned out that it was one of the widgets that ships with Captivate 5 that caused the error.
    The widget VividTextCaption.swf will throw an error on Adobe Connect 7.5
    Maybe someone at Adobe would fix it for next update?
    Cheers
    JensCBC

  • Live Stream from FMS

    I have install the Flash Media Server and Flash Media Live Encoder. Everything run perfectly when I test the Live Stream through localhost, but if I try to embed to another machine, it is failed. Anybody have an idea how to fix it?

    Have you made sure your firewall allows incoming traffic on 1935 - i think it would be firewall issue.

  • Playback of low bitrate flv or f4v from live stream in FMS causes player buffer to empty

    We are experiencing a consistent issue when playing a low bitrate (300kbps or less) flv in a live stream from FMS.  Basically, the player will will start off with the appropriate buffer, say 5 seconds, then begin dropping until it empties out, and will have to rebuffer.  We've tried with a variety of flv and f4v files, all that are 300kbps or less, and we consistently get the issue.  Is this something Adobe can investigate in FMS?  Or are there any suggestions on how we can get around the issue?

    hey, i got the similar problem, logging like this
    2012-11-12
    18:50:12
    23434
    (e)2661034
    Connect failed ( , 5779212 ) : Connect failed: Connection refused (111)
    2012-11-12
    18:50:54
    23434
    (e)2661034
    Connect failed ( , 5779212 ) : Connect failed: Connection refused (111)
    2012-11-12
    18:51:36
    23434
    (e)2661034
    Connect failed ( , 1166880400 ) : Connect failed: Connection refused (111)
    2012-11-12
    18:54:14
    23434
    (e)2661034
    Connect failed ( , 1175301776 ) : Connect failed: Connection refused (111)
    2012-11-12
    18:54:55
    23434
    (e)2661034
    Connect failed ( , 1164775056 ) : Connect failed: Connection refused (111)
    2012-11-12
    18:55:37
    23434
    (e)2661034
    Connect failed ( , 16 ) : Connect failed: Connection refused (111)
    2012-11-12
    19:13:08
    23434
    (e)2661034
    Connect failed ( , 1158459024 ) : Connect failed: Connection refused (111)
    it seems that the port number is invalid, but we never use such ports.

  • Streaming from multiple servers

    Hello,
    I have a server in Israel with Flash Streaming server
    installed.
    If I'll buy another server and host it in the US, what do I
    need to do in order to broadcast from it also.
    1. Do I have to broadcast twice from the source or can I
    broadcast to one server and it will pass the stream to the other?
    2. Do I need to purchase another FMS license?
    Thanks.

    You said you have Flash Streaming Server - do you mean FMSS.
    If yes, I am sorry you will have to broadcast to both servers from
    your source. There is no way you can republish from server itself
    as you have no control to do that on FMSS - you cant write your own
    apps and also cant modify live and vod apps. Now if you meant FMIS,
    then there are two ways you can achieve it:
    1. Like how JayCharles suggested, you can use remote play and
    play stream from your US server.
    2. Better way would be to use Multi-point publish, once you
    get stream published at your Isreal server, just get hold of it in
    application.onPublish handler and use new NetStream class on
    Server-side to republish it to our US server. However note that
    Multi-point publish is available only from FMS 3.0 release.

  • Must i have FMS to publish a stream from my camera ?

    hello
    i am building an live streaming website and i am use
    1- FMS
    2- Apache webserver
    i have made the subcriber and i works well .
    but i need to build the publisher to allow users to broadcast thier stream from thier cameras.
    i have tested a publisher which was build using actionscript and it didn't work untill i have installed the fms on my localhost , but i need a publisher which any user can use in his web browser .

    Are you asking whether each publisher needs to have FMS on its machine in order to publish stream - then answer is NO. There is absolutely no need for someone have FMS insalled on its machine to publish stream - what he needs is microphone and camera.
    Probably your publisher code was wrong and hence it did not work - may be you just need to put correct URI of your FMS machine in your connection URI instead of "localhost"

  • How to prevent user publish stream to FMS

    Hi all,
    I've installed Flash Media Server and send stream to it use Flash Media Live Encoder via rtmp://mydomain.com/live. And on my website, I've embed code to play this live stream via rtmp://mydomain.com/live. All ok!
    But, any user can install Flash Media Live Encoder and connect to my FMS, publish his/her stream (because url to publish and view is same)
    My question is: how to prevent end-user publish stream to my FMS, only allow end-user view my live stream?

    From the Flash Media Live Encoder FAQ:
    How can I enable authentication on Flash Media Server?
    Download the Authentication add-in and install it on Flash Media Server.

  • FMS; multicast streaming from Digital Rapids

    Has anyone had experience configuring multicast streaming from Digital Rapids encoders to an FMS 4.5 server? I can stream RTMP to the FMS server and access the video with an embedded Flash player easily enough, but I'm interested in setting up the FMS to allow clients to access a multicast stream. Most Adobe support documentation refers to Adobe Media Encoder Live for the multicast connection configs, not necessarily non-Adobe encoders, so I'm missing a step or two.
    Thanks,
    Hugh

    Following is the link to setup multicast streaming:
    http://help.adobe.com/en_US/flashmediaserver/devguide/WS7812b00092aae0 dc-2829dcd012a54a3ed1a-8000.html
    Instead of publishing from Flash Media Live Encoder, you can publish from DR Encoder by making an "rtmp" connection to the "multicast" app on the AMS server and then start publishing to that app from the encoder using the "Publish Stream Name" generated by Multicast Config Tool.

  • Sending Live Stream from one FMS to another FMS

    Hey,
    Here's what I would like to do:
    1. The Flash Media Encoder sends a live stream to FMS 1
    2. On FMS 1, a connection to FMS 2 is set up and the live
    stream is sent to FMS 2.
    3. Every second, a message with metadata is sent to FMS 2
    using Stream.send()
    4. A Client connecting to FMS 2 receives the stream and the
    metadata that was sent along with it.
    I know this sounds pretty confusing, but the main problem is,
    that I don't have access to the FMS 2, so I can't call
    Stream.send() there. First I thought the solution would be using
    Stream.play() with a remote connection, but when I call the
    Stream.send() method nothing happens on the client side.
    Then I thought I could do the whole thing by using a client
    side application that connects to FMS 1, receives the stream,
    embeds the metadata and publishes it to FMS 2. Here's the code I
    used:
    // Connect to FMS 1 to get stream
    client_nc.connect("rtmp://localhost/encoder_stream/room_01",
    "Client");
    // Create input stream
    in_ns = new NetStream(client_nc);
    // Connect to FMS 2
    akamai_nc.connect("rtmp://localhost/akamai/room_01",
    "Client");
    // Create new stream, feed with in_ns and send to FMS2
    out_ns = new NetStream(akamai_nc);
    out_ns.publish("stream");
    out_ns.attachVideo(in_ns);
    Unfortunately the attachVideo method only accepts a camera
    and not a netstream object.
    So this is where I'm standing now... anyone any ideas?
    thanks

    Hello,
    i've asked our Akamai contact and they say it's not possible
    to install any scripts on their servers. I think the only way is to
    push the stream from FMS1 to FMS2, but since FMS doesn't support a
    push method, there i have to find another way *sigh*
    I've heard about FMS version 3 coming up soon, and I'd really
    like to play around with the alpha version. Any idea where you can
    get it from? On Steve Wolkoffs blog it says the new FMS is going to
    support a push method:
    http://blogs.adobe.com/dreaming/2006/10/fmsnext_feature_open_thread.html
    I've also played around with the Red5 server, but I couldn't
    find anything there to achieve a server side push method. Does
    anyone have any experience with Red5 and live streaming?
    Cheers!

Maybe you are looking for

  • The new versions of Flash Player for Android are still not in the Archive page!

    I feel like something is missing in the Flash Player Archive page.  Yesterday, I read that the new Flash Player version for Android 2.x/3.x is now version 11.1.111.73, and that the new Flash Player version for Android 4.x is now 11.1.115.81, but inst

  • Parent/Action Script advise, please

    Hello I am posting to ask for some advice. I have Flash MX 2004. I have a series of thumbnails (Movie Clips) which seem to be arranged over two layers (layers 1 and 2). Layer 1 holds each individual thumbnail (movie clip) in several keyframes, so tha

  • Returning String Value

    Hey Guys, I have been working on this issue for several days: I currently have fds working on tomcat. I was able to to the url and the button that I created showed up. However, when I click on the button, nothing happens. A String is suppose to retur

  • In Stock of item shows overall stock - sales/pruchase documents

    hi all, Why in marketing In Stock of a item shows overall stock instead of stock at specific warehouse  ? Whether this issue is corrected in latest B level patches ? We are using SAP B1 2005B PL36. Jeyakanthan.

  • Where is the all button to select to delete  emails

    Can you help me to delete all emails?