Many live MBR streams, as parallel elements through same player

In case of dynamic number of live MBR streams (different cameras of same event), I'll prefer to use parallel element and run all streams through same instance of media player - mostly because of time synchronization and QoS management...
Every stream have 4-5 bandwidth variations, and lowest is for "inactive" thumb video state.
Is there a way to dynamically change bitrate setup of single stream in parallel element?
I'm trying to limit (or cancel) switching for streams while they thumbs, and vice versa.

Hi,
the value provided is in kilobits.
Regarding the autoswitch problem, you seem to have hit an issue that we're tracking at:
http://bugs.adobe.com/jira/browse/ST-366

Similar Messages

  • Live MBR, Stream Not Found on Switch

    I am trying to gain a better understand of how a stream not found is handled when you are dealing with live mbr. If the player attempt to switch to a different bit rate and gets a stream not found what is the event from the play2? Does the player itself fire a event as well for this? How does OSMF respond? Does it go back to the previous bit rate or attempt the next bit rate up or down depend on the direction it was going?

    Hi, thanks for the quick response.
    i have changed the HttpStreamingContentPath location in apache httpd.conf  form
    <Location /vod>
        HttpStreamingEnabled true
        HttpStreamingContentPath "/srv/www/vhosts/domain.xy/httpdocs/vod"
    </Location>
    to
    <Location /vod>
        HttpStreamingEnabled true
        HttpStreamingContentPath "/srv/www/vhosts/domain.xy/httpdocs"
    </Location>
    and all files are in the vod folder. But after opening   /vod/test.f4m in the OSMF player the player.swf tryed to open:
    "GET /:///vod/:///vod/testSeg1-Frag1 HTTP/1.1" 404 1324 http://www.domain.de/player.swf"
    Is this URL-Part "/:///vod/:///vod/testSeg1-Frag1" generated from the module or from the player.swf with the f4m-File?

  • Playback pauses and audio sync issues with live video stream

    I'm seeing playback pauses about every three seconds and audio sync issues with our live demo stream when using the OSMF/Strobe player.  It happens on both our 2Mbps 720p stream and our 480p 750Kbps stream so it does not seem to be related to higher resolution/bandwidth streams.  It also happens if I point directly to a stream asset or if I point to a .f4v with both streams listed for dynamic so it does not seem to be related to dynamic streaming specifically.
    The same live streams play back very well without pauses or audio sync issues in the Akamai's dynamic player and even slightly better with JW 5.2.
    I have viewed the OSMF/Strobe playback on three different laptops of various age (3 months to 2 years) and two are Windows and one is Linux.  I have also tried the various buffering options on the Flash Media Player Setup and Strobe setup and it has not made a noticeable difference.
    To see the stream with the Akamai player, go to:  http://live.kulabyte.com
    To see the stream with the OSMF/Strobe player, go to:  http://live.kulabyte.com/osmf
    I do not have JW set up for public viewing yet, but the two above show the distinct difference.
    We are really hoping to start pointing our customers towards the OSMF player because of the support provided by the community and Adobe, but we have to get the quality of the playback to be acceptable first.
    If someone has ideas on debugging I can PM the actual video assets to you.
    Thanks,
    Tim

    Hi Tim,
    You need to add this setting:
    dynamicStreamBufferTime=8
    The actual value can be higher or lower. The best practice is to use a value that is twice the keyframe distance. Anyway, try different values and see which performs the best for your content.
    I know that the setup page does not contain this option and it is not documented in the UserGuide. We simply missed it. Sorry.
    Also note that the dynamic buffering algorithms are not being used for dynamic streaming content. I tried to explain this here:
    https://sourceforge.net/adobe/smp/wiki/Dynamic%20Buffering/
    Looking forward to your confirmation that this solved your issue.
    -Andrian

  • FMS3: Multiple live video streams

    Hi,
    After reading the features and documentation I have a doubt:
    Can I have multiple live video streams with FMSS at the same time?
    E.g.: Different TV stations broadcast to a single server, and
    then the user chooses what station wants to watch.
    Thanks,
    Oriol

    Contact them and ask them which video streaming standards they use.  The most popular are:
    Windows Media, Windows Media with DRM enabled, MPEG-4, Realplayer, Adobe Flash, and Silverlight. Microsoft has released a Silverlight update for Lion.  http://www.flip4mac.com/ allows native non-DRM Windows Media.  Alternatively, you may need virtualization*. Realplayer's latest update is Lion compatible.  MPEG-4 make sure the version of Quicktime you have installed is the latest.  Adobe's Flash, the same thing.  Also ask them if their website depends on ActiveX.  Again, with ActiveX, virtualization may be your only solution.

  • Live video streaming through red5

    hi all,
    I'm working on a video Audio chat Application developed in flex, Air and red5 as media server.
    Basically the chatting will be between one-to-one user based, where one client(webUser) is going to signin from the website and selects a user from the list of online users.
    The other person is online from his desktop tool developed in air application.
    The communication between these two users is through webService. Now as soon as the Air user gets request for chat from webuser he accepts it, a chat window opens and connects to red5.
    We are streaming the live webcam video,Audio and messages through red5. we are publishing Air users video to webuser and playing webusers video to airuser. we are using the same code in both the applications for connecting and streaming but the video is playing in the webuser end for few minutes and in the air application the webuser video just appears for few seconds and stops saying NetStream.play.unpublishNotify. That is the actual problem.
    I also test with the same thing with two web application and here publishing is working at both end and both user can able to see the others video.
    So main problem is between Air and web application, the video stops in few seconds. Please let us know if there is any security restriion in AIR or any thing else which I m missing.
    Any help is appreaciated.

    Hi,
    I need show three live image from three ip cameras in one window... how can I do this?? can you help me??
    thanks

  • How can I play live http streaming in osmf?

    Hi,
    I was trying to play live http streaming in osmf player but it was saying "Error #1009: Cannot access a property or method of a null object reference.". I think I need to do some change in OSMF player code to play live as vod plays fine. Can anybody point me in that direction?
    Thanks and Regards,
    Amit

    I downloaded StrobeMediaPlayback from https://sourceforge.net/projects/smp.adobe/files_beta/StrobeMediaPlayback_1.5_Sprint-4/ (10.1 version) and it is working for me.
    By the way when I try to play live Http in debug flash player with my previous player then I get following error :
    VerifyError: Error #1014: Class org.osmf.net.httpstreaming.f4f::AdobeBootstrapBox could not be found.
                    at org.osmf.net.httpstreaming::HTTPStreamingNetLoader/createNetStream()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\net\httpstreaming\HTTPStreamingNetLoader.as:86]
                    at org.osmf.net::NetLoader/finishLoading()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\net\NetLoader.as:406]
                    at org.osmf.net::NetLoader/startLoadingHTTP()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\net\NetLoader.as:724]
                    at org.osmf.net::NetLoader/executeLoad()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\net\NetLoader.as:289]
                    at org.osmf.traits::LoaderBase/load()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\traits\LoaderBase.as:111]
                    at org.osmf.traits::LoadTrait/load()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\traits\LoadTrait.as:170]
                    at org.osmf.media::MediaPlayer/load()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\media\MediaPlayer.as:1854]
                    at org.osmf.media::MediaPlayer/updateTraitListeners()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\media\MediaPlayer.as:1497]
                    at org.osmf.media::MediaPlayer/onTraitAdd()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\media\MediaPlayer.as:1332]
                    at flash.events::EventDispatcher/dispatchEventFunction()
                    at flash.events::EventDispatcher/dispatchEvent()
                    at org.osmf.elements::ProxyElement/processTraitsChangeEvent()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\elements\ProxyElement.as:475]
                    at org.osmf.elements::ProxyElement/onTraitAdd()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\elements\ProxyElement.as:436]
                    at flash.events::EventDispatcher/dispatchEventFunction()
                    at flash.events::EventDispatcher/dispatchEvent()
                    at org.osmf.elements::ProxyElement/set proxiedElement()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\elements\ProxyElement.as:182]
                    at org.osmf.elements::LoadFromDocumentElement/onLoadStateChange()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\elements\LoadFromDocumentElement.as:152]
                    at flash.events::EventDispatcher/dispatchEventFunction()
                    at flash.events::EventDispatcher/dispatchEvent()
                    at org.osmf.elements.proxyClasses::LoadFromDocumentLoadTrait/loadStateChangeEnd()[C:\Documen ts and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\elements\proxyClasses\LoadFromDocumentLoadTrait.as:50]
                    at org.osmf.traits::LoadTrait/setLoadState()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\traits\LoadTrait.as:266]
                    at org.osmf.traits::LoadTrait/onLoadStateChange()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\traits\LoadTrait.as:417]
                    at flash.events::EventDispatcher/dispatchEventFunction()
                    at flash.events::EventDispatcher/dispatchEvent()
                    at org.osmf.traits::LoaderBase/updateLoadTrait()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\traits\LoaderBase.as:208]
                    at Function/org.osmf.elements:F4MLoader/protected:executeLoad/org.osmf.elements:finishLoad() [C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\elements\F4MLoader.as:211]
                    at Function/org.osmf.elements:F4MLoader/protected:executeLoad/org.osmf.elements:onComplete() [C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\elements\F4MLoader.as:192]
                    at flash.events::EventDispatcher/dispatchEventFunction()
                    at flash.events::EventDispatcher/dispatchEvent()
                    at flash.net::URLLoader/onComplete()
    Regards,
    Amit

  • Live Flash Streams issue on Multiple Macs - video frozen, audio only

    With live Flash streams on some Macs, the video doesn't play and only the audio does (or more accurately, the video plays for a second or so and then shows a frozen frame while the audio keeps going).  We've had this occur on three different Macs so far, but not all Macs we've tested on.  We were able to look up the graphics cards on two of them that had issues and they both have both NVIDIA GeForce 9400M and 9600M GT listed in the System Profiler.
    Having the user manually disable hardware acceleration fixes the issue, as does pausing and then playing the video.  Running Safari in 32 bit mode did NOT fix the issue.
    Flash player release notes list this as a known issue.  When might a patch for be released?  We don't want to disable hardware acceleration for all Mac users because it only affects some of them and thus some / many would be unnecessarily negatively impacted.
    http://kb2.adobe.com/cps/901/cpsid_90194.html#main_known%20issues
    Mac users may run into rendering issues with certain live streams due to  an incompatibility between the stream encoding and the hardware  decoder. We are aware of this issue and are working with Apple to  resolve it.  Users may workaround the issue by pausing and then  unpausing the live stream.  Developers can work around this issue by  forcing the video to be decoded in software - create two Video objects,  attach the stream to the first, then stop it and attach the stream to  the second Video object (2819870, 2818959, 2779420).

    From Brad Outlaw:
    Are you reusing the same Video object for the new NetStreams?  Have you tried doing a Video.attachNetStream(null), Video.clear() and then attaching the new (or re-allocated) NetStream object?  The video pipeline might be playing out some residual data that was sent to it from the prior NetStream.
    Adding those suggestions seems have have done the trick. I had simply been trying to manipulate the NetStream and not the Video. Although I did try attaching a null NetStream to the video at one point, I had not done so with the Video.clear().

  • How can you convert a live RTMP stream to RTMFP and vice versa in flash?

    Assume three computers: A, B, and C. A is streaming live video and audio to B through RTMP. How could that stream be converted to RTMFP and sent through B to C - while at the same time, still going to B as RTMP? How could a live stream from C be similarly sent to B as RTMFP and A as RTMP?
    It doesn't matter to me whether B converts it on the client side, or whether the FMS between A and B convert it. Part of the problem is that B can get streams to and from both A and C, but A and C are effectively disconnected from each other. Another part of the problem is that A has to be able to use RTMP, not necessarily RTMFP, whereas C is guaranteed to use RTMFP. All three clients still need to be able to connect to each other in a live video chat.
    Thanks!

    you don't have to completely redo your project but you will probably need to redo large parts of it.  in addition, there's no quick way of doing what you want and ensuring everything will work well unless you dig into the details of publishing for mobiles.
    it looks like your swf's background is transparent.  you assigned the wmode attribute in your embedding code to be transparent.

  • How to merge multiple live audio streams into a single stream in FMS?

    I need to merge multiple live audio streams into a single stream so that i can pass this stream as input to VOIP through a softphone.
    For this i tried the following approach:
    Created a new stream (str1) on FMS onAppStart and recorded the live streams (sent throgh microphone) in that new stream.
    Below is the code :
    application.onAppStart = function()
    application.myStream=Stream.get("foo");           
    application.myStream.record();
    application.onPublish = function (client,stream)
          var streamName = stream.name;
          application.myStream.play(streamName,-2,-1};
    The problem is that the Stream.play plays only 1 live stream at a time.As soon as a the 2nd live stream is sent to FMS then Stream.play stops playing the previous live stream.So,only the latest live stream is getting recorded.Whereas i need to record all the live streams in the new stream simultaneously.
    Any pointers regarding this are welcome.
    Thanks

    well i tried this once for one of my scripts and the final conclusion is its not possible to combine two streams into 1.....how would you time/encode the two voices......there is no know solution to this in flash. If you continue on despite me and find a solution please post it so we can explain to rest of world.

  • Live video stream play permission on server-side

    I have a live video stream application one-to-many for
    example, and i want to send video only to few clients, not to all.
    Like:
    quote:
    application.onConnect = function(client, canSeeVideo) {
    // canSeeVideo = boolean
    this.acceptConnection(client);
    if (!canSeeVideo) client.receiveVideo(false);
    // and after this, can be swich to TRUE or FALSE ?
    client.receiveVideo(true);
    I only want to do restriction for Video, from server-side
    with FMS, or if can't be possible.. how can i put for example a
    black screen on video ? :) and after can be removed, etc...

    1.
    necesary client.receiveVideo() and client.receiveAudio()
    server-side functions
    Thank you fmslove for you trying to help me but
    client.readAccess property can NOT be set after client
    connection was accepted, and for me is useless. Any other
    solution(s) ? i strong recomend to Adobe FMS dev staff to implement
    this feature because is refering to security client-side solution
    from server-side. I have bad experience with users trying to modify
    the Flash Player (plug-in) run memory and set values for my swf
    without my accept, and is nothing that i can do from client-side
    like NetSream.receiveVideo(false) on many-to-many or one-to-many
    live A/V stream.
    2.
    a necesary server-side video encoder solution better than
    Sorenson Spark
    If in future FMS staff from Adobe will implement this
    necesary security feature on server-side like a copy of
    NetSream.receiveVideo() function from client-side, i will be happy
    if i see a solution to encode LIVE video stream on server-side
    because
    Sorenson Spark video encoder built-in Flash Player (plug-in) is
    very old and unuseful.
    If this can't be possible i hope the future Flash Player
    version (10) will have a better video encoder built-in than
    Sorenson Spark !!!

  • AAC audio causes stuttering in live video stream playback

    I am using the Spark VideoDisplay component and setting the mx_internal bufferTime to 0.  (videoDisplay.mx_internal::videoPlayer.bufferTime = 0)  I am doing this because I need to have the absolute minimum delay in the live video stream.  I am broadcasting video files as a live stream using ffmpeg, through Red5, then to the client.  ffmpeg is not re-encoding the video or audio.  I am using h.264 video format.  I have tried encoding videos using Adobe Media Encoder and ffmpeg.
    When I have a video stream only and no audio stream this works fine, but when I have an AAC audio channel with the video, I frequently see the video jitter badly.  It looks like the video is quickly going forward and back a few frames.  When this problem occurs it will go on for some time and sometimes eventualy starts playing normal.  When the video is playing normally the audio sounds fine.  When I play the videos in a regular media player (like VLC) they play and sound fine.  Also if I use an mp3 audio channel I don't see the jittering
    Does anyone have any idea what the cause of this problem might be or how it can be resolved?

    Ah, yes, I am not serving high-def video myself. H264 is probably better, but my understanding is that you need hardware acceleration to get good performance from it (again, not an expert on the topic, that's just what my understanding has been...)
    This document [pdf] may have some usefull info on choosing an optimal encoding for your needs.
    (Or you can see the full lecuture here [Adobe TV])

  • Windows Browsing Into A Live QT Stream

    Windows Browsing Into A Live QT Stream
    Let’s face it. Most of the world is using Windows browsers. I, however, am a Macite using Macintosh and Panther Server to stream.
    What can I do in my offering webpage and in my stream to make it foolproof and easy for Windows browsers to watch my live stream?
    The rumor is that all Windows boxes have QuickTime buried somewhere in them. I’m not so sure of that. Even if they do the user might have to dig for it and install it. Not an easy task for most Windows users.
    We do know that Windows boxes have Microsoft Media Player and maybe RealPlayer.
    I’d like to set up a webpage that (1) allows Mac users to click their icon to begin watching my live QT stream and (2) allows Windows users to click their icon on the same page to begin watching the same live stream with whatever players they have.
    I have used Safari to browse into some neat news channel websites to watch really good streaming. I just know that these sites have contemplated both Mac and Windows. I have viewed the website code for these pages and have seen amazing things. It’s mostly over my head.
    It’s going to save me a lot of time and trouble if you can point me to how to solve this problem. I’m sure that this wheel has been invented many times.
    Merrily, merrily gently down the stream.
    John the Macite

    I never got a reply to this one.

  • Watching live TV / Streams is impossible ?

    I am extremely disappointed to experience great difficulty in watching LIVE tv / streams in iPad mini.
    I read some posts that downloading PUFFIN will help, but it seldom works.
    Any solutions ?
    I feel stupid having bought WORLD # 1 TABLET....
    should have gone for SAMSUNG...
    or any other $50 . ....un-branded ****

    This is the reason why many stations will produce their own apps so that you can watch their progarm using the app.
    I love my iPad Mini and would reccomend it to anyone. At the same time, I also have a Nexus 7  that I have installed flash for times when I want to watch videos that I can't view on my iPad.

  • MBR Streaming - 2 questions...

    I am trying to build a live MBR player and i have 2 problems
    1. My first problem is that sometimes i get this error:
    ArgumentError: Error #1063: Argument count mismatch on org.osmf.net::NetStreamSwitchManager/onPlayStatus(). Expected 1, got 3.
        at Function/http://adobe.com/AS3/2006/builtin::apply()
        at org.osmf.net::NetClient/invokeHandlers()[/Users/me/Work/OSMF/fc1-stable/framework/OSMF/or g/osmf/net/NetClient.as:244]
        at <anonymous>()[/Users/me/Work/OSMF/fc1-stable/framework/OSMF/org/osmf/net/NetClient.as:193 ]
    It has to do with the fact that onPlayStatus gets from server 3 arguments instead of 1. The arguments are: onPlayStatus(0,,[object Object]) and i only need the 3rd wich is my info object. I can do a hack but i wonder if is not a bug in the framework. And i wonder what first 2 arguments means....
    PS.: The server is wowza and the Adobe Flash Media Live Encoder sees it as "Primary - Connected to FMS/3,5,2,654"
    2. The second problem has to do with the fact that i need to know when the stream start (so i can change my view accordingly) by listenting to an event dispatched by MediaPlayer. Does MediaPlayer dispatch an event like NetStream.Play.PublishNotify or NetStream.Play.Start ?
    Thanks!

    1. I've never seen an onPlayStatus call that has more than one argument.  Is this a common case?  Something Wowza-specific?  A bug in the server script?  There's no workaround at the framework level (short of changing the signature of NetStreamSwitchManager.onPlayStatus).  If you think this is a common case with Wowza, can you file a bug here? https://bugs.adobe.com/jira/browse/FM
    2. MediaPlayer dispatches events for playStateChange and mediaPlayerStateChange.  You could listen for the former to determine when it enters the playing state, or the latter to follow the general state transitions (which typically go uninitialized, loading, ready, buffering, playing).

  • Invisible parallel element and bitmapData

    Hi,
    I'm to rather new to AS3 and completely new to OSMF and so I hope somebody here can help me with the following.
    I want to make an application that plays two simultaneous streams (I suppose using parallel elements), where on of the streams is not visible on the stage/canvas. Of this second stream I would like to access the bitmapData to display it in another way (moving thumbnails of other videos).
    So I have two questions:
    First, how would I go about creating an element that doesn't show on the stage.
    And second, how do I get at the bitmapData of an element in OSMF.
    I hope somebody can help. Thanks, Heerko

    Hi Heerko,
    To make an element "invisible" you can check the LayoutMetadata class
    import org.osmf.layout.LayoutMetadata;
    import org.osmf.media.MediaElement;
    // element is the MediaElement you want to be invisible
    var metadata:LayoutMetadata = element.getMetadata(LayoutMetadata.LAYOUT_NAMESPACE) as LayoutMetadata;
    if (!metadata) {
        metadata=new LayoutMetadata();
        element.addMetadata(LayoutMetadata.LAYOUT_NAMESPACE, metadata);
    metadata.x = 0;
    metadata.y = 0;
    metadata.width =  0;
    metadata.height = 0;   // Setting width and height to 0 will make it look like if it was not visible
    Probably not the best solution, but does the work
    Now for your BitmapData question
    import flash.display.BitmapData;
    import flash.display.DisplayObject;
    import org.osmf.net.NetStreamDisplayObjectTrait;
    import org.osmf.traits.MediaTraitType;
    // Let's say you're loading a video for example
    // element is a VideoElement instance here
    var trait:NetStreamDisplayObjectTrait = element.getTrait(MediaTraitType.DISPLAY_OBJECT) as NetStreamDisplayObjectTrait;
    if(trait) {
        var d:DisplayObject = trait.displayObject as DisplayObject;
        var b:BitmapData = new BitmapData(d.width, d.height);
        b.draw(d); // Watch out though, if you're loading from a different domain, make sure you have set/loaded policy files, etc ...
    Hope it helps
    Cheers,
    Julien

Maybe you are looking for