Live stream freezes after bitrate change : Audio remains

I've setup a very simple OSMF test player but there appears to be an issue when certain bitrate switches occur with no errors. The video just feezes, but you can still hear audio in the background.
Some details:
- We're currently using OSMF 2.0, and the Flex 4.9.1 sdk and streaming an rtmpt stream.
- For the encoding, the keyframes are 3 seconds apart
- It appears that setting the buffertime above 4 seconds will sometimes make the issue even worse
Encode settings:
Stream 1 640x360    1000 kbps 30fps 3s kf  96 kbps audio
Stream 2 640x360    700 kbps 30fps  3s kf  64 kbps audio
Stream 3 640x360    440 kbps 15fps  3s kf  64 kbps audio
Stream 4 320x180    240 kbps 15fps  3s kf  32 kbps audio
It appears that when we play the stream through an ooyala player (which does not seem to use OSMF), these issues go away.
Here is a very bare bones implimentation we're using to isolate the issue:
http://pastebin.com/esWNCEfr
I was able to replicate the issue only once using the player at OSMF.org:
http://osmf.org/dev/2.0gm/debug.html?src=
Here are the sequence of onNetStatus events when it freezes:
***** onNetStatus ****** :NetStream.Play.Reset
***** onNetStatus ****** :NetStream.Play.Start
***** onNetStatus ****** :NetStream.Buffer.Full
***** onNetStatus ****** :NetStream.Buffer.Empty
***** onNetStatus ****** :NetStream.Play.Transition
***** onNetStatus ****** :NetStream.Buffer.Full
***** onNetStatus ****** :NetStream.Buffer.Empty
***** onNetStatus ****** :NetStream.Buffer.Full
***** onNetStatus ****** :NetStream.Play.Transition -- Frozen - still hear audio
***** onNetStatus ****** :NetStream.Play.Transition -- Still Frozen.

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

Similar Messages

  • Live stream lag after unpublish and publish

    I am sending a live stream over the web. I'm testing its performance and reliability, and I've noticed that after unpublishing and publishing the stream again, the video becomes very laggy - about 1-2 fps. It happens when the player has buffer bigger than 0. When buffer is set to 0, everything is ok, and after a short break (the moment when stream is unpublished), video is being played normally, like before the break (fps ~25). What is causing the problem, and how can I resolve it?

    Are you using Adobe Flash Media Live Encoder? or some other encoder... testing on your machine or remote server?
    You might also check over at that Forum:
    http://forums.adobe.com/community/flash/flash_media_live_encoder
    Most likely you will be asked for the encoding log. So first review the log and see if anything catches your eye.
    Also we'll need details like type of machine you are using, CPU and RAM etc.
    What are the encoding settinging? display dimensions, bitrate, encoding format, audio and video?... etc... all the config settings.
    What type of cam, what are you using for a server... FMS, Wowza, Red5? or streaming to UStream or some service like that?
    Best of luck,
    Adninjastrator

  • Mjpeg stream freezes after seconds in safari 6.0

    Hi
    Just installed Mountain Lion together with Safari 6.0. All looks ok but now i notice that the MJPEG streaming videos are freezing after a few seconds. Tried several sites and all with the same result. Any clues?

    Deselect  Enable plug-ins  in Safari > Preferencs > Security, quit then relaunch Safari to test. Might be a plugin that's either not compatible with Safari 6 or causing a conflict with MPEG files.
    If that makes a difference, troubleshooting help here >Unsupported third-party add-ons may cause Safari to unexpectedly quit or have performance issues

  • Problem with live streaming video after system updates

    Dear all,
    I hope you can assist me on this.
    Yesterday, I downloaded the following automatic updates: iLife Support 9.0.4, Remote Desktop Client update 3.4, Mac OS X Update Combined 10.6.7, Airport Utility 5.5.2.
    After that, I could NO MORE watch live streaming channels. To be precise, l can properly hear the sound, but not see the video.
    I wish to underline the fact that before installing the automatic updates listed above, I had a clear sound and video of all live streaming sites.
    I downloaded the latest versions of JAVA and Flash, but unfortunately they didn't solve the problem.
    Therefore, I am quite sure the live streaming disfunction has to do with the system automatic updates. Is there any way to uninstall yesterday's updates without compromising the various softwares and OS performance?
    What else could be if not related to the system updates?
    Looking forward to hearing from you. Thanks in advance.

    Stan,
    I hadn't heard of gspot before.  I downloaded it and it looks like a nice, handy tool.  Thanks.
    After running it, I didn't see anything that caught my eye as unusual (corrupt file, unknown codec, etc.)  I have posted a screenshot at the following URL if you care to look.
    www.cbvideo.com/gspot/gspot-out.jpg
    Now, let me add to the mystery.  I was just able to burn it without incident with Encore 1.5 and the same chapter mark locations.  There are only two things I can think of that would be possible causes.  1) something quirky about CS3, even though I've not had any prior problems in two years with it for my business OR 2) the file had become corrupted when moving from the capture computer (the older computer with 1.5) to the newer computer (with CS3).  As the file seems to be okay on the 2nd computer (plays fine in WMP and imports into both Premiere and Encore), I'm leaning toward #1.
    I have been able to successfully work around the problem to finish this job for the client, but I'd still like to know what's going on for future reference.  If anyone has other ideas, please let me know.
    Robert

  • ITunes freezes after any change in Preferences

    After any change in Preferences, I get a message saying "WindowsMobileDeviceApp has stopped working", and then iTunes freezes. I have tried reinstalling iTunes as a repair, but it didn't work. Any ideas?

    I don't have an answer to this, but a couple of things you might try.
    If you don't have an iPhone it is OK to uninstall the Mobile Divices Support program. I've uninstalled mine with out problems. You can put it back any time by doing a repair install of iTunes.
    The other thing you might try is to delete your preference files in case they have got corrupted. This takes you back to how you were when you first installed iTunes. If you have any special prefernces they will be lost, so make note of them.
    You may need to make hidden files visible
    My Documents>Tools>Folder Options>View
    Check Show hidden files and folders
    -- Quit iTunes
    -- Delete C:\Documents and Settings\<your username>\Application Data\Apple Computer\iTunes\iTunes.pref and/or iTunesPrefs.xml
    -- Delete C:\Documents and Settings\<your username>\Local Settings\Application Data\Apple Computer Inc\iTunes.pref and/or iTunesPrefs.xml
    For Vista the files are in:
    C:\Users\username\AppData\Local\Apple Computer\iTunes
    C:\Users\username\AppData\Roaming\Apple Computer\iTunes

  • IMovie freezes after clicking on AUDIO

    What's going on ? I tried the new iMovie HD on my new iMac G5... it freezes as soon as I hit the audio-button. I've tested with the old version4... same error !
    Could this happen because I stored my itunes on a external firewire disc ??
    Looking forward to your suggestions !

    After a major crash of my system and a reboot iMovie seems to be working OK again....
    Very Windows-like !
    Nevertheless, I am happy it is all working again...

  • Premiere Freeze after videoCard Change

    In my PC, i change the video Card , from MSI GTS250 to nVidia  Quadro K4000
    since that change , Premiere freeze for a few seconds when i preview a timeline
    I run GPUSniffer, and Adobe Premiere Recognize my new VideoCard
    I need some help

    Did you remove your old driver and install a new driver?
    •For Windows, do NOT rely on Windows Update to have current driver information
    •-you need to go direct to the vendor web site and check updates for yourself
    •nVidia Driver Downloads http://www.nvidia.com/Download/index.aspx?lang=en-us

  • Magic Trackpad freezes after batteries changed

    The past few times my Magic Trackpad batteries have needed replacing, it loses its bluetooth connection and cannot be found.  The only way I can get things going again is to shut down my iMac with the power button and restart.  I believe this has only been an issue since I installed Lion.  Any ideas on how to fix this annoying behavior?  I'm using Apple's rechargeable batteries.

    Yes!  I did that and then removed and replaced my Trackpad batteries and here I am again, with everything working.  I may even notice a few other positive changes.

  • Cursor freezes after site change Mavericks

    My cursor freezes for various amounts of time since downloading Mavericks. Any body else as I'm going to talk to Apple support under Apple care and they tell me no one else has this problem.

    I had the same problem. I have found a work around - sort of. I have unchecked the option to "Allow Bluetooth devices to wake this computer" (System Preferences / Bluetooth / Advanced). I no longer have the problem. Having to wake the computer another way (I have a USB wireless mouse so no problem for me) and waiting a second or two for the bluetooth devices to connect is less annoying than continually losing trackpad connection. I hope that helps you too.

  • Finder freezes after preference change

    I attempted to change the Finder preference for what is shown when a new Finder window is opened but it froze.
    If it is relevant, this was on a MacBook Pro with Retina Display.
    Here is a video of what I am talking about...
    http://www.youtube.com/watch?v=S1LX-ZzucBA

    Go to Terminal and type:
         killall Finder
    Tell me if that solves your problem.

  • Why do i have to keep pressing f5 after every change in CSS to see liveview?

    I have to click/F5 on live view button  after making changes in CSS every time i change anything. is there a way to make live view automatic?

    Luis, I import the clip from a folder on my hard disk that does replicate the file on the camera card, and the clip does have a little camera icon in the bottom left corner of the screen (see the images below).

  • Live Stream connection limit per server

    I Need to Broadcast 20,000 to 40,000 Live Streams.! (Bitrate : 128Kbps / Viewers Per Stream Apprx-10 Server : Adobe FMS Server Amazon EC2 Instance - Bandwidth Apprx 100mbps)
    My Question is
    1. How Many Concurrent connections Possible for one Adobe FMS Server? (Amazon EC2 Instance)
    2. is this possible to use RTMFP for this process? (20,000 Connections Via Amazon Adobe FMS Server EC2 Instance )
    3. if Possible Over RTMFP then How Many Developer Keys Need for this Operation. (or) Pricing Details for the Developer Key. (or) Any Separate Key[s] Available For Amazon EC2 Instance?
    Thanks
    Sarma

    1.  Looking at your stream specs - its like  128 X 10 ~ around 1 Mbps for one stream considering 10 clients. And considering bandwidth of 100 mbps for instance you can support around 1000 clients. But few things i want to know before we can conlude on figures - what is NIC capacity of the instance.
    2. Yes if you using FMS on AWS offering - you can use RTMFP
    3. You don't need developer keys if you are using FMS on AWS offering to use RTMFP

  • HT204291 Since downloading 8.1.3 onto my iPad, video streaming through my Apple TV freezes after a few minutes whilst audio continues as usual. Anyone experienced this and if so, is there a fix?

    Since downloading 8.1.3 onto my iPad, video streaming through my Apple TV freezes after a few minutes whilst audio continues as usual. Anyone experienced this and if so, is there a fix?

    8.2 is out...perhaps that will address your problem.
    Barry

  • 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!

  • Dynamic Bitrate Switching on Live Stream

    I have FMIS 3.5.  I've installed it with pretty much all the default values.  I haven't changed any of the settings in either the  LIVE or the VOD applications.
    Dynamic Bitrate Switching is working well for VOD, but not working at all for LIVE streams. Doing a regular bandwidth detection on both the LIVE and the VOD applications give similar, high bandwidth results.  However, the LIVE application  NetStreamInfo.maxBytesPerSecond is showing a very low bandwidth capability of around maxBytesPerSecond = 19016, where as for the VOD its achieving around 637110. I can play a single LIVE stream of a high quality smoothly without any error.
    I don't know if this is relevent but I'm getting some error messages occassionally in the log of the live application saying : Dropping application (live/_definst_) message. Clients not allowed to broadcast message.  These messages aren't consistent, and don't coincide with trying to use bitrate switching.
    I have tried downloading the Adobe sample StreamSwitching.fla and it won't play the LIVE streams at all.  Using the opensource Longtail Video player it just always defaults to the lowest stream.  Here is an example: http://www.ltscotland.org.uk/testbed/live/livestream2.asp
    Can anyone suggest what the problem might be here?  And any possible solutions?

    Thanks,I have read that article.  Based on that article the NetStreamInfo.maxBytesPerSecond is not an accurate measurement to base dynamic switching on. This seems to be the basis of the bitrate switching in both the longtail player, and the adobe examples that I have tried.   That article suggests using the dropped frames property, in conjunciton with bufferlength to determine if switching is neccessary.  Unfortunately I can't seem to find a player online which handles this successfully.  That being said, I can't believe I'm the only person trying to implement dynamic bitrate switching for live streams so surely there are some players out there which can do this successfully?  If anyone knows of any code available which does this successfully I would appreciate knowing where!  The examples provided by Adobe https://www.adobe.com/cfusion/entitlement/index.cfm?e=fms35 unfortunately don't work either.

Maybe you are looking for

  • Video does not work

    Under the camera-when I select the video option-the app switches to video.  I can start the video, but can not stop it by pushing the same button.  After a time period-(varies) the phone freezes up and then reboots. 

  • Problem in processing of SAR in MM-SUS scenario

    Hi, We have upgraded SRM4.0 to SRM 5.0 in MM-SUS scenario. We have a problem in processing of SAR list on the supplier logon portal. When we click on All SAR list on supplier home page to display the list of SARs its going in infinite loop and giving

  • Intercompany - Project

    Hi Gurus, Our company currently does intercompany reconciliations outside SAP. In order to reduce future maintainance costs, and make full use of SAP functionality to meet legal transfer pricing requirements, we plan to move the IC processes into SAP

  • Moving pictures to computer

    How can I move my pictures from my two my computer? What are my options?

  • NameNotFoundException

    Hi, While executing the application, I get the following exception. com.sap.engine.services.jndi.persistent.exceptions. NameNotFoundException: Object not found in lookup of OLMDataSource.      at com.sap.engine.services.jndi.implserver.ServerContextI