Dynamic live streaming on AMS 5 on AWS buffering and skipping

I'm having a lot of trouble getting Adobe Media Server 5 on Amazon Web Services working with live dynamic streaming, I've done a of this on Flash Media Server 4.5 and am trying to duplicate what I have done there on AMS since I got an email that FMS 4.5 will be dropped soon.
I have tried replicating my own setup from FMS 4.5 and I have also tried using the base install and following Adobe's tutorial. I get the same results in both events.
First, the HLS streaming appears to work fine. I've watch it on several iOS devices with no problem.
I use StrobeMediaPlayback for HDS streaming and that's where there are problems. The streams usually play fine at first and even transition well, then after a few minutes I start getting a lot of buffering and then video skipping. The longer it goes on, the more it buffers and the larger chucks of video get skipped. Sometimes I also get and error that says "TypeError: Error #1009"
I am using FMLE and both it and the server are set to use absolute time.
Any help would be appreciated!!

Hi,
Welcome to Adobe forums.
May I know the FMS URL and the stream name you are using inside the FMLE and make sure you have full permissions on Adobe media server folder. And also check the streams folder inside the livepkgr folder and see if you are getting all the files created.
And would you mind if you can send me the logs folder at [email protected] so that I can analyse this issue at my end.
Regards,
Puspendra

Similar Messages

  • Re-Start a Live Stream using AMS 5 through Cloudfront

    We have AMS 5 running on an Amazon EC2 instance. We send a Live Stream from an FMLE encoder using H.264/AAC.
    If we do an Origin Pull from that instance running the AMS 5 and Live steam through one of our commercial CDN accounts, we can stop and re-start our Live stream without issue. It stops and re-starts as it should. When we re-connect to the AMS using FMLE, using the Origin Pull, the stream re-starts in either the OSMF or JW Player 6 in under 30 seconds.
    If we use that same AMS 5 on the same EC2 instance and Live stream through an Amazon Cloudfront distribution, if we stop our Live stream, when we re-start the stream it takes an unacceptably long time for the stream to refresh - if ever. Basically, after the re-start of the Live stream through FMLE, the Live stream at the player plays the first 10 or 15 seconds of the intial Live stream and then stops. If you refresh the player, it will play that same 10 or 15 seconds again - and stop again.
    It would seem that the AMS 5 is setup correctly. It works through our commercial CDN.
    It also would seem that the issue is with the cache on Amazon Cloudfront. Our assumption is that the Cloudfront cache is not properly updating. But we have tried about every variable in every setting for Cloudfront that we can find. We can't get past this.
    Any suggestions?
    Thanks
    As a followup to this discussion, you can follow the issue through the AWS.Amazon forums at https://forums.aws.amazon.com/thread.jspa?threadID=120448&tstart=0

    We also have other threads going.
    http://forums.adobe.com/thread/1180721?tstart=0
    https://forums.aws.amazon.com/thread.jspa?threadID=120448&tstart=0
    There appears to be 2 different issues - one issue with Amazon Cloudfront and a second issue with Adobe Media Server. Unfortunately, they are tied together in the real world application of these programs.
    In AMS. when we use the adbe-record-mode=record, then the AMS works fine because the AMS is clearing the streams on each re-publish. Unfortunately, this causes a status code error on Amazon Cloudfront. And that particular status code error from a custom origin server causes Cloudfront to "override the minimum TTL settings for applicable cache settings". As the programmers explained, basically what happens is that Cloudfront overrides our 30 second cache settings and goes into a standard cache setting of 5 minutes. And waiting 5 minutes to re-start a Live stream just doesn't work in the real world for real customers.
    We can fix that Cloudfront status code error issue by using adbe-record-mode=append on the AMS. If we use that AMS setting, then we can stop a Live stream, re-start the stream, the Cloudfront cache clears and everything works - unless you also change the stream settings in your FMLE. If you stop the stream and change the video input or output size in the FMLE, then the AMS server gets stuck and can't/won't append to the f4f record file.
    Does anyone have any ideas about how we can adjust all of this so that it works together?
    Thanks

  • Live streaming in lion 10.7.2 and safari 5.1.1

    yh, ok so i have lion 10.7.2, the latest of safari and a very good internet connection, my live streaming is not that encouraging, there must be a plug-in or something to enhance it ryt? can anyone share an advice on that please? thanks

    So far the only solution I have been able to find has been launching the recovery partition and running disk repair.  That will fix the problem until you trigger it again.  Fortunately, or unfortunately, I have pinpointed what triggers it on my computer. 
    Seems to be a flaw in keychain access.  When Safari's connection times out due to an expired certificate (common in university networks that require a log in every few hours), the security settings freak out and effectively shut down safari's ability to do anything.  The fact that it attacks KeyChain access and iPhoto and more is just a really big system wide glitch.  Here's the run down:
    http://digit.algravitas.com/2011/10/major-networking-glitch-found-in-os-x-v10-7- 2/

  • User Auth. for Live Streaming with Media Encoder 2.5 and FMSS

    Hi,
    i am currently thinking of buying the Flash Media STREAMING
    Server (~995 $) and in order to see if this is the right choice, i
    also take a look at the Wowza Media Server for comparison.
    I want to support Live Streaming from Events with Flash Media
    Encoder 2.5 and for this i'll need a user authentification for
    giving access to special publishing Users only. Wowza Media Server
    supports a User Authentification by parsing the connecting URL,
    witch is delivered by the Media Encoder on starting a Connection,
    and therefor grants or denies access to the publishing function.
    Only Users with the right Access Persmissions, which is written
    trough a password and the onPublish Comand in the url, can publish
    Live Streams. Everyone can watch the Live Stream, if no restriction
    to the onConnect Command was made.
    The Problem in this case is, i will need seperate Application
    folders for every user who should be able to start a live stream.
    This would be a horrible effort...
    more info ==>
    http://www.wowzamedia.com/forums/showthread.php?t=1281
    Is there a similar way to support authorisation for starting
    publishing a LiveStream to the Flash Media Streaming Server, or do
    i need the Flash Media Interactive Server?
    How can i restrict access to users, who should not be able to
    start a live stream on my FMSS?
    Thx for your help,
    Tobi

    quote:
    Is there a similar way to support authorisation for starting
    publishing a LiveStream to the Flash Media Streaming Server, or do
    i need the Flash Media Interactive Server?
    Unfortunately no, there isn't. I struggled with same issue
    earlier, and we were forced to purcahse the Interactive edition. As
    the 'Streaming' version only runs Adobe-signed apps, there is no
    way to change things that happen within the onConnect handler.
    Furthermore, guys at Adobe haven't provided any possibility for
    even simple access control through configuration files for built-in
    apps that come along with the Streaming Server edition.
    - Jakki

  • Player for dynamic live streaming

    Hello. I run a FMS 3.5 Server and I do not have much knowledge about it. I want to use the dynamic streaming function that FME provides, but I do not have a player that supports the dynamic switching. I looked into ActionScript and Flex but it is all to complicated for me. Can somebody sent me a link where I can download such a player or can somebody give me help so I can figure this out? Thanks!

    Thank you for the link but it does not solve my problem. In this thread they work with manifest xml files like a playlist. Which i tryed but also doesn´t work. Adobe declairs FMP with easy config and less code for non geeks. And this is exactly what i want for my project.
    Does anybody can post some  html sample code especially for dynamic streaming/ MBR wit Flash Media Playback??? For Live or On-Demand.
    Best
    Hinricht

  • Dynamic Live Stream don´t take the best stream for my bandwith

    Hi @all,
    I hope someone can help me with my problem - btw. sorry for my English!
    I build a client side application where is only a FLVPlayback2.5 component and a short AS3 script.
    AS3:
    import fl.video.*;
    VideoPlayer.iNCManagerClass = NCManagerDynamicStream;
    myPlayer.fullScreenTakeOver = false;
    var dsi:DynamicStreamItem = new DynamicStreamItem();
    //myVideo.source = "dynamicStream.smil"
    dsi.startRate = 1548;
    dsi.uri = "rtmp://x.x.x.x.x/dani_/";
    dsi.addStream("test548", 548);
    dsi.addStream("test848", 848);
    dsi.addStream("test1548", 1548);
    myPlayer.play2( dsi );
    My Encoder is setup with three streams:
    Vid: 500 kbps - Audio: 48 kbps
    Vid: 800 kbps - Audio: 48 kbps
    Vid: 1500 kbps - Audio: 48 kbps
    I start the encoder and everything looks fine in the log.
    In my browser (Safari or Firefox) I go to my html site and the stream starts after 6-8 sec. But anytime with the lowest bitrate 548 kbps and nothing look like the stream is switching to another bitrate.
    I tried it with the smil playlist and the result is the same. Only the lowest bitrate is plublished.
    My network connection is on a 100MBit leasd line, so I don´t think that my connection is the problem
    What did I wrong? Or Have I missunderstood something in the examples for dynamic streaming?
    Regards from Munich/Germany
    Daniel
    EDIT: Must I change something in the ini-file or in a nother config-file of the server.
    Nachricht geändert durch 77nautius

    I working a little bit on my problem.
    I put an text area in my script to see which stream is taken.
    I slow down the bandwith to 100, 200 and 350 kbps and - surprise surprise only the 100 kbps stream was taken by my app.
    Nobody any idea what the problem can be?
    Regards,
    Daniel

  • Live stream - How To Detect connection success AND video stream receiving?

    Hi,
    I'd like to know how to catch the Event when the NetConnection has successfully connected,
    And after being connected, but nostream is published to the server yet.
    I'd to catch the Event in OSMF Player, when a real video stream has started to be pusblished to server, and of course is received in the player.
    Because i dont find the Event making a difference between connection and stream receiving.
    Thanks.
    Seb

    you should watch for a NetStream.Connect.Closed NetStatusEvent being sent to the NetConnection object, where the event.info.stream object is the NetStream in question.

  • Videoplayer.html not able to http live streaming

    I am using XSplit to feed live streaming to AMS 5.0 with "RTMP URL as rtmp://localhost/livepkgr" and "Stream name as: livestream?adbe-live-event=liveevent".
    By using videoplayer.html from AMS, ok to "rtmp://ams-ip-or-dns/livepkgr/livestream?adbe-live-event=liveevent" to retrieve live traffic very fast.
    Then, when I changed to use HTTP as "
    http://ams-host-ip-dns/hds-live/livepkgr/_definst_/liveevent/livestream.f4m".    It only show "Buffering ..." and could not see anything.
    </body
    Tested with VOD. no problem when "rtmp://ams-host-ip-dnsvod/mp4:sample_720p_5m.mp4" or "http://10.40.102.91/hds-vod/sample_720p_5m.mp4.f4m"

    you need to record the file in mp4 file format to save H264 packets. steram recorded without any file format will get recorded in FLV which will discrad H264 packets.
    so code should be like this:
    so when you inititalize the stream variable please mentione mp4: before stream name as
    s=Stream.get("mp4:stream_record.mp4")
    s.play(incoming_stream_from_FMLE);
    s.record;

  • Disk Management for RTMP live streams

    Hello,
    Can anyone tell me if there is anything similar to DiskManagement functionality (available for HTTP streams) available to RTMP live streams in AMS?
    I'm having trouble with INDEX files that are being created for the live+DVR streams (we are serving 24/7 streaming), even though I delete RAW DVR files which are old, INDEX files constantly grow and FMS crashes CPU after few days.
    Any suggestions are appreciated.

    Hi,
    The methods that are mentioned as missing as expected by FMLE as it makes calls to them. They are defined in the sample live application that comes with the installation. The code for these can be picked up from the samples folder under the FMS installation from the application live. You can add these in all of your server side scripts to make them more relevant.
    Thank you !

  • How does the VideoDisplay component select between live streams?

    I am passing to the source property of a VideoDisplay component a DynamicStreamingVideoSource object with 3 different dynamic live stream items, described by this XML, for your consideration:
       <video src="rtmp://88.87.56.214:1935/live/fashiontv_tmo_h.stream" system-bitrate="19200"/>
       <video src="rtmp://88.87.56.214:1935/live/fashiontv_tmo_m.stream" system-bitrate="9000"/>
       <video src="rtmp://88.87.56.214:1935/live/fashiontv_tmo_l.stream" system-bitrate="3600"/>
    But the player then runs the stream with the lowest bitrate, out of those 3. Wasn't it supposed to go for the stream with the highest bitrate, that is viewable by the end-user? All 3 streams have been individually tested and they are all viewable.
    There is a matter of the initialIndex property of the DynamicStreamingVideoSource class, that acts as a preferred first attempted stream index to play. But:
    This is set to 0 by default, even if there is no actual 'preferred' initial index.
    The streams are sorted internally by the VideoDisplay class, from lowest bitrate to highest; should we use an initialIndex value equal to the number of streams MINUS 1, so as to ask for the highest bitrate first? What happens if that is not viewable, what stream will it try then?
    Due to stream sorting, the value for the initial index may be misleading if the streams had initially been given in a different order, e.g. from highest bitrate to lowest
    All in all, the VideoDisplay component and its multi-bitrate support are sadly just briefly described throughout doc pages. Anyone with anything to contribute on the matter is very welcome.
    Thanks,
    Liviu

    Hi Pablo DC Es:Arg
    I believe that is how freehand tool works ...You can tap and draw the line using your finger ...if you find the line is curved you can delete it and re-create it ...

  • Problem of republishing remote rtmp live stream with AMF

    Hi, Guys
    I am trying recieving one live stream from a remote rtmp server and republishing this stream in AMF.
    a remote rtmp (rtmp://192.168.1.100/live/remotestream)
    AMF instance(codes in application/app/main.asc) recieve and republish to another AMF instance.
    I can watch with url(rtmp://192.168.1.100/live/remotestream ) in a player (ex. OSMF player).
    But,no data from remote rtmp streaming can be recieved in AMF.
    Here is the log:
    NetConnection.Connect.Success
    Sending error message: Method not found (onBWDone).
    mystream.onStatus: NetStream.Publish.Start
    mystream.onStatus: NetStream.Play.Reset
    My codes in application/app/main.asc
    application.onAppStart = function()
              mystream = Stream.get("myvideo");
              myRemoteConn = new NetConnection();
              myRemoteConn.connect("rtmp://192.168.1.100/live");
              myRemoteConn.onStatus =function(info){
               trace(info.code);
               if(info.code == "NetConnection.Connect.Success"){
                    mystream.play("remotestream", -1, -1, true, myRemoteConn);
                    //mystream.play("sample", 0, -1, true);<-----if play a local flv video file ,it works.republish fine.
              nc = new NetConnection();
              nc.connect("rtmp://localhost/demo");
              ns = new NetStream(nc); 
              ns.setBufferTime(2);
        mystream.onStatus = function(sinfo)
            trace("mystream.onStatus: "+sinfo.code);
            if(sinfo.code == "NetStream.Publish.Start")
                                  attach_retVal = ns.attach(mystream);
                if(attach_retVal==true){
                        ns.publish(mystream.name,"live");

    On the Macintosh side there is the Camtwist app which allows you to do this and it works smoothly with FMLE. On the PC side I´m not sure but there just got to be more apps capable of this than on the mac side.

  • Does Flash lite support live stream?

    I use Flash CS4 and AS3 to build a flash client side live stream swf.
    It can publish and play live video and encode by flash.
    Can Flash lite support it?
    If so, can mobile browser play flash swf?

    Yes flash lite 3.0 / 3.1 support rtmp streaming. you can check your device for more info on rtmp support. Here s a project about what you want:
    http://flashvisions.com/flashlite/spylite-open-source-flash-lite-security-application/
    streaming from camera to flash lite device with rtmp.

  • Live streaming audio on flash site

    Hello,
    I am new to Flash and I am working on a web page using flash, the page itself is going to be pretty basic, but the situation I am in is this,  we would like to but a live streaming audio feed on the site and I am having trouble figuring out how to add that.  The server it is from is a Broadwave server, and it does stream in MP3.  I would like the audio stream to start automatically when the web page is open.  Any help would be greatly appriciated.

    You could build your own player but if you are new to Flash, you might want to just embed or place on the Web page a prebuilt player. For example:
    http://www.longtailvideo.com/players/jw-flv-player/
    or
    http://flowplayer.org/
    or
    http://ffmp3.sourceforge.net/
    each player will have it's own config setup for autoplay etc.
    Best wishes,
    Adninjastrator

  • Advice on Snaphots of live streams

    I've got a streaming video/audio app(CHAT). and everything is
    working nicely. I'm going to add a snapshot function to it and i'd
    love some pointers. There will be approx 100users, each user will
    have the options of taking snapshots either single shots or a few
    automated ones...I'm using FMS2
    1. Are there any know issues recording parts of a live stream
    while it's streaming?
    2. Should I use the same NC and record the FLV file/ CHAT
    instance then do a FLV -> FFMPEG -> jpg?
    3. Should I make a new NC (and stop the live stream) to a
    different app(snapshot) and do the FLV->jpg there
    And if you have any other good advice please let me know
    BR
    /A

    Well i kind of figured it out : Using a setinterval on the
    serverside and instanciating a Stream from the server then playing
    the live stream and then recording 1-2s flv files to be converted
    by the FFMPEG.
    /A

  • When i visit sites with live streams sites (justin ustream) browser freezes

    Hi
    I got a huge problem everytime i visit a site like justin.tv veetle ustream freedocast or only a site with a live stream in it my browser freezes and i ned to close it it stops to react sometimes i hear a sound on justin but the picture of the stream is frozen and my browser does not react back
    when i watch livestreams on popout it works thats weird
    i think it all started after i deinstalled msn but i m not sure about that pls someone help me i tried on ie or firefox browser both same problem
    i use windows vista 32 bit version on an asus laptop

    Try to create a new profile as a test to check if your current profile is causing the problems.
    See "Creating a profile":
    *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins" in case there are still problems.
    If the new profile works then you can transfer some files from the old profile to that new profile, but be careful not to copy corrupted files.
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    You can also try to reset Firefox:
    *https://support.mozilla.org/kb/Basic+Troubleshooting

Maybe you are looking for

  • Can we pull data from one cube to another cube

    Hi All, I need to pull the data for a 4 fields from an existing info cube to another cube. Can any one let me know the procedure of how to do this. Thanks in Advacne

  • How do you connect skype on your tv? my tv is a To...

    i am trying to use my skype from my laptop,but want to use my skype on the tv. how do i connect my laptop to the tv or my webcam to the tv. please help. i am lost

  • Count the no. of clicks on a link of interactive report

    The interactive report query is as follows: SELECT COMP_CODE, TXN_CODE, TXN_NO, TXN_DT, DOC_TOTAL, 'PRINT' GET_PRINT FROM   TRANSACTIONI want how many times per page visit / session the link 'PRINT' is clicked. I want to display the no. of times the

  • BoxLayout mystery.

    Usually I try to paint everything by myself, but its out of my hands in this case. It all seem to easy at first: I have a JPanel with    JPanel W=new JPanel();    W.setLayout(new BoxLayout(W,BoxLayout.Y_AXIS));To this "W" I keep adding JComponents, f

  • Please can anyone help with ajax memory tree

    I need to have the ajax memory tree expanded on page load. Can anyone please give me some ideas or piece of code. I have the tree working perfectly but only, the users have to click on the + sign to see the branches. This is from Scott Spendolini's e