Inserting Metadata events in a live stream using non-flash client app

Hi all,
I wish to insert captions into a live flash video stream.
I found an example here : http://www.adobe.com/devnet/flashmediaserver/articles/metadata_video_streaming_print.html
but this example uses a Flash client app wich can invoke something like
video_nc.call("sendDataEvent",null,inputfield_txt.text);
How can do this without any Flash client/environment ? (I of course still use an FMS 3.5)
I would like to use a python (or php...whatever) piece of code to extract caption from VBI in the incoming video stream and insert it in the flash stream.
Any help / experience appreciated.
Regards
Michel

Well, I'll ask it a different way :
Is there any documentation on the protocol used between Flash client and FMSI so that I can  "fake" the flash client using php ?
Is there a way to call sendDataEvent function on the FMSI NOT using a Flash client ?
Thanks
Regards

Similar Messages

  • About Flash P2P live streaming from non-webcam sources

    Hello, I am a university student. Our lab is attempting to work on a p2p live streaming using flash p2p features. The media source is not from a webcam but a file from a certain server, which is not directly supported by any of the 4 methods flash player offers(posting, direct routing , object replication,and multicast.) As some of the forum threads mentioned, our method is to use NetStream.publish() a stream and use send("callbackname", data)  to all subscribers that have joined in a NetGroup. So we can use p2p transmission. Now here are our questions:
    1. We know from MAX 2009 that flash p2p camera video multicasting implements pull-push mechanism inside which makes full use of p2p features like buffer map exchange. If we use NetStream.send() API to send non-webcam source data, will it also make use of this pull-push mechanism to spread data among all peers(subscribers) with proper data exchange?
    or more detailedly,
    I saw the P2P Gaming Libs at flashrealtime.com. It uses DIRECT_CONNECTIONS when creating publish-used NetStream in order to send data with lowest latency. My question is if I do not use DIRECT_CONNECTIONS, than when the NetGroup grow large (1000), will those peers that are not direct neighbors to the publisher in the same group relay data to each other using pull-push via buffer map?
    2. I have written a sample app and use send() to deliver data only (NetStream.bufferTime = 0) without camera video and audio. When the publisher sends the data  in a "for()" stantence for 20 times, the subscribers can only receive about 8 of them. But when I set a timer and periodically send them(e.g., 500ms), the subscribers can receive them correctly. My questions are: Is the packet loss caused by UDP unreliability? Can this be solved by setting the NetStream.dataReliable = ture? Can this totally be solved by setting a timer? How to set the delaytime property in timer? Are all data sent are orderedly received?
    I'm very appreciated if you can answer my questions? thanks.

    1. NetStream.send() data is delivered in the order it was sent, whether in client-server, DIRECT_CONNECTIONS, or multicast mode.
    2. the lowest latency will be achieved with DIRECT_CONNECTIONS.  however, that isn't scalable to large numbers of recipients.  the P2P multicast system trades low latency for scalability.
    3. there are no plans to support a natural NetStream streaming source that's not a camera/microphone.  Flash Media Server can perform that function.
    4. you should never need to implement "bitmap exchange"; the object replication system handles all the communication needed to accomplish its function. typically you will divide a file into segments, giving each one an index number. object replication uses ranges internally, so the index numbers should be contiguous.  nodes that have indices use NetGroup.addHaveObjects().  nodes that want indices they don't have use NetGroup.addWantObjects().  nodes that have objects will send them to nodes that want the objects.  when a node receives an object, it's automatically removed from its "want" set; once the node decides the object is acceptable, it adds it to its "have" set, at which point it can answer requests from other nodes who still "want" it.  eventually every node will have all the pieces and not want any.  for an example, please see Tom Krcha's articles on using object replication:
       http://www.flashrealtime.com/file-share-object-replication-flash-p2p/
       http://www.flashrealtime.com/video-on-demand-over-p2p-in-flash-player-101-with-object-repl ication/
    5. please see Tom Krcha's articles.  for VOD you will probably want to use the "LOWEST_FIRST" replication strategy, as that may allow you to start playing earlier.  for general file replication you'll get better sharing if you use RAREST_FIRST.

  • How to use Phone camera for live streaming rather than using WireCast camera in Live streaming using Azure Media Services

    Hi,
    am planning to develop a live streaming app using C# and xaml.
    I have gone through the below sample and am able to stream the live content using wireacst camera.
    Azure Media Services Live Streaming Sample
    But i want to use Phone camera to stream the live video rather using wirecast camera.
    How can i use that? How to get the published URL from the C# code, is there any API to get that?
    Anybody please help me
    Regards,
    Santhosh

    Hello,
    There are no in box components that will allow you to transmit captured video from a Windows Phone device to Azure Media Services. You will need to create you own implementation. You can do this by creating a custom Media Foundation sync that can plug into
    the MediaCapture element's pipeline. You will then need to modify the captured and compressed video to align to one of the two protocols that Azure Media services can use. At this time Azure Media services can use either Smooth Streaming or RTMP for ingestion.
    You will need to create your own packager (or find compatible packager code from a 3rd party) to package the MP4 encoded data into the necessary format.
    Here is an example of how to create a custom Media Foundation sync (please note you must write your Media Foundation components using C++ MoCOM. We do not support Media Foundation components written in managed languages):
    Real-time communication sample
    I hope this helps,
    James
    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

  • Live Streaming Using my Webcam As a secruity camera

    I'm lost here someone please help, : \ im trying to use my isight as a security camera over the internet so i can watch my dog i just got her.
    So the question is what software out there i can use to put my webcam as a camera ( again my powerbook is kinda old im still running on panther so i have 10.3.9 not 10.4 can i work anyway around this) where i can watch live.
    Can someone help me i know i need my ip address i have that but when i hook everythign else up where do i go when im somewhere else when i want to look at my live streaming from work to my house? please can someone help me thank you if you can. : )

    Hello, keith28
    Until we hear back from juanorfrankie, here is my suggestion for your question:
     I would like to access the isight using my iPhone.
     Can anyone make some suggestions?
    If iPhone will can support viewing a streaming webcam page, use EvoCam with your iSight to publish a webcam with streaming video. That would probably be the simplest way to do what you want, but, because I do not have iPhone, so I cannot test this.
    See the instructions and FAQs at EvoCam for system requirements and details on how to set up your webcam page.
    EZ Jim
    PowerBook 1.67 GHz   Mac OS X (10.4.10)    G5 DP 1.8  External iSight

  • Problem relaying live stream using different urls

    Hi,
    I have setup QT Broadcaster to announce a stream to my qtss.
    I announced the stream to a directory live/stream.sdp
    This works without a clinch when using the same URL for viewing, e.g.
    rtsp://rtsp.myqttss.com/live/stream.sdp
    If I create a symlink (or simply copy the sdp file) from live/stream.sdp to test/stream.sdp and try to access the stream through
    rtsp://rtsp.myqttss.com/test/stream.sdp
    it does not work anymore. QT Viewer will connect, but does not play the stream.
    I am wondering why this is. Is the mountpoint relevant for accessing the stream? All neccessary information should be contained in the sdp file.
    The reason I would like to do that is because we have a payment module for QTSS that will use a 'virtual' address to dispatch a stream to the client. This works perfectly for non live content.
    Thanks
    NikWest

    Ok.
    No problem now.
    Thanks.

  • 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 stream using CDN

    Hello!
    I'm having problems with live streaming.
    When I use my own Flash Media Server at localhost it works perfect, but when I use my CDN and OSMF I get the next error message:
    Error: Connection refused by FMS.
    It works perfect if I use NetConnection and NetStream.
    This is my piece of code:
    var container:MediaContainer = new MediaContainer();
    addChildAt(container, 0);
    _mp = new MediaPlayer();
    _mp.autoRewind = false;
    var videoElementStatic:VideoElement = new VideoElement(new StreamingURLResource("rtmp://myhost/myapp/live/livestream",StreamType.LIVE_OR_RECORDED), new NetLoader());
    _mp.media = videoElementStatic;
    container.addMediaElement(videoElementStatic);
    P.D.: My CDN is Level 3
    Any ideas?
    thanks.

    I'm not sure whether Level 3 requires the FMS application instance.  But you might want to try the instruction in this thread:
    http://forums.adobe.com/message/2782150#2782150
    I doubt that's the problem though, because that should prevent the connection from happening entirely.  It sounds more like an authentication issue, you might need to follow up with Level 3 to make sure you have any necessary token in your URL.

  • Can storing a live stream using actionscript fail by the cache filling up with overhead?

    Hi,
    Lately we have been seeing a problem with the archives of live streams we create using FMS. We use FMS for live streaming and concurrently store the stream in a file using ActionScript. We use the following code to record:
    var s2 = Stream.get('mp4:' + mp4name);
    application.publishedStreamMP4= s2;
    application.publishedStreamMP4.record();
    application.publishedStreamMP4.play(application.publishedStream.name,-1,-1);
    (some lines have been removed that are used for logging, etc).
    Sometimes some of these functions fail and return false. In these cases FMS's core log shows that the cache is full:
    2013-06-11 11:45:55        13863   (w)2611372      The FLV segment cache is full.  -
    In investigating this issue I have not yet been able to recreate this exact situation. By lowering the cache to 1MB I have however been able to create a situation where storing a stream can stop because the cache is full. The situation occurs as follows:
    * The server is restarted, the cache is empty.
    * A live stream is started, which is also recorded.
    * Via the Administration API the cache values <bytes> and <bytes_inuse> show to be exactly the same as the <overhead> of the object that relates to the file being saved. The <bytes> and <bytes_inuse> values of the object are 0.
    * This continues in the same way untill the cache is full.
    * When the limit of the cache is reached the message
    2013-06-11 12:07:35        13863   (w)2611372      The FLV segment cache is full.  -
    is shown in the core log and storing of the file stops. The instance log also show status changes:
    2013-06-11 12:07:35        13863   (s)2641173      MP4 recording status for livestream.mp4: Code: NetStream.Record.NoAccess Level: status Details:         -
    2013-06-11 12:07:35        13863   (s)2641173      MP4 recording status for livestream.mp4: Code: NetStream.Record.Stop Level: status Details:     -
    In the filesystem I can confirm that the last change of the file is on this moment (in this case 12:07). The live stream continues without problems.
    I have reproduced this several times. Though I can understand that caches can fill up and this can cause trouble I feel like this situation is a bug in FMS. The cache fills up with overhead, which is apparently reserved untill writing the file ends.
    I hope someone here can help out. Has anyone seen a situation like this and is there any remedy for it? Or even a workaround where this overhead in the cache can be released so the cache does not fill up?
    We use FMS version 4.5.1.

    You can use an XML socket, but the FMS application will need to initiate the connection, as FMS has no support for listening for anything other than RTMP and HTTP requests.
    Stream switching can happen on the FMS side. In your FMS application, you'll create a server side stream, and use the Stream.play method for playing other sources (live streams or recorded flv/h.264 files) over that stream. Your subscribers will connect to the server side stream
    See the FMS docs for the Stream class and the XMLSocket class.

  • Feasibility of Live Streaming using FMSS 3.5

    Is Live Streaming Feasible using FMSS 3.5 on a web portal which is developed using J2EE?

    Yes very much - there is no correlation between technology one uses developement for web  portal and FMS - its just simple thing that you relevant we pages should embed  necessary swf client which will take responsibility of communicating with FMS

  • Insert a commercial inside a live stream

    Is it possible to inject an advertisment into a live video stream? Or perhaps just play a FLV before the user is presented with the live stream?
    Any help of where to get started would be appreciated.
    Thanks,
    D

    Normalmente esta funcion se programa en el player

  • HTTP Live streaming test in Flash Player, HTML5 player, iphone, android and other smart phones.

    Hi,
    Can anyone please tell me how can I play http live streaming from FMLE 3.2 to Flash player, iphone, ipdad, HTML5 player, Android and other devices?
    I have tried my best to play live streaming usine FMLE 3.2 with help of "http://help.adobe.com/en_US/flashmediaserver/devguide/WSd391de4d9c7bd609-52e437a812a3725df a0-8000.html" but not able to play video using HTTP.
    When I tried to play url-  "http://localhost/hds-live/livepkgr/_definst_/liveevent/livestream.f4m" even in in Strobe Media Player it was showing "Buffering" that's it. But I can play same RTMP URL in Flash AS3 using the netstream very fine.
    Now I want to test the livepkgr content via HTTP to Flash Player, HTML5 Player (on Web browser and smartphones), iphone and other devices.
    Thanks
    Best regards,
    Sunil Kumar

    Hi Sunil,
    It's difficult to debug an issue when you don't have access to the machine and you can't see what's happening, so I request you to please have a little patience.
    For playback just check the following steps and make sure if you have followed them :
    1) Delete the streams folder and any .stream file in the livepkgr
    2) Restart FMS
    3) Make sure you have a crossdomain.xml under root_install/webroot
    4) Publish a stream from FMLE as 'livestream?adbe-live-event=liveevent'
    5) Use this player to playback the stream : http://osmf.org/dev/2.0gm/StrobeMediaPlayback.html?src=http://<your-ip>/hds-live/livepkgr/_definst_/liveevent/livestream.f4m
    If there is no playback, here are some checks you can do :
    1) Request for the http://<your-ip>/hds-live/livepkgr/_definst_/liveevent/livestream.f4m in your browser. You should receive an xml that looks something like this :
    <?xml version="1.0" encoding="UTF-8" ?>
         <manifest xmlns="http://ns.adobe.com/f4m/1.0">
              <id>livepkgr/events/_definst_/liveevent</id>
                      <mimeType />
              <streamType>live</streamType>
              <duration>0</duration>
              <bootstrapInfo profile="named" url="../../../streams/livepkgr/events/_definst_/liveevent/livestream.bootstrap" id="bootstrap7158" />
              <media streamId="livestream" url="../../../streams/livepkgr/events/_definst_/liveevent/livestream" bootstrapInfoId="bootstrap7158">  
                          <metadata>AgAKb25NZXRhRGF0YQgAAAAAAAhkdXJhdGlvbgBAJUUeuFHrhQAFd2lkdGgAQHQAAAAAAA=</m etadata>
                </media>
    </manifest>
    2) Check the access log under Apache to see if the .f4m, .bootstrap and Frag files have been requested and delivered. If a particular entry has a status code of 200 then the file has been served by FMS. You can confirm the same on the client side using a software like fiddler.
    Coming to the player issue, a playback of *f4v via the vod directive is a progressive download, whereas playback of an *f4m file via hds-vod is HTTP streaming. 
    I have personally used Spark VideoPlayer and hence suggested the same.
    You need to add a component like :
    <s:VideoPlayer width="100%" height="30%" chromeColor="#CCCCCC" color="#000000"
                     fontSize="12"
                     source="http://<your-ip>/hds-live/livepkgr/_definst_/liveevent/livestream.f4m"
                        symbolColor="#000000"/>
    Let me know if any of these suggestions help.
    Thanks,
    Apurva

  • 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

  • Live streaming from tsn.ca iphone app to Apple TV

    With my iphone4 (iOS4.2) I can stream youtube videos to my 2nd gen Apple tv. But, when I use the tsn.ca iphone app to watch live streaming hockey games, I can't get the video to show up on the Apple tv. The apple tv seems to sync and displays an image with the label something like "unknown artist" and "unknown title", but no video.
    Not sure if this info will help, but it appears that the tsn.ca app is launching Safari and that the quicktime signal is being displayed via Safari on my iphone.
    My ultimate goal is to watch a live streaming hockey game being delivered by the tsn.ca website. I would have prefered if the Apple TV would have let me display that live feed directly, but the darn box is so locked down that all I can choose from are the tsn.ca pre-recorded podcasts.
    Apple, if you are listening, please allow us customers to watch streaming video content of our choosing via the Apple TV's we bought. I'd love to be able to type in a URL to a quicktime stream and just enjoy. (If this is already possible, I'd love to know how...)

    Video via airplay is currently only supported via the iPod and Youtube app. Apple doesn't read posts on this forum.
    Even when apple releases the tools for developers it will be up to each individual in terms of airplay support.

  • Any live streaming browser replace Flash player

    dear Apple
                     Is there any other way to open live streaming on Ipad.
    if any of my friend give me suggetion to use SkyFire  then my answer is this browser is useless.
    Because of this live streaming problem many people ignore this wonderful machince
    kindly tell how i can run live streaming
    Regareds
    Saqib

    Safari can't suppot wrote:
    dear Apple   
    Apple doesn't necessarily read this forum, it's for users.  If you need to talk to Apple go to http://www.apple.com/feedback/ipad.html
    Is there any other way to open live streaming on Ipad.
    if any of my friend give me suggetion to use SkyFire  then my answer is this browser is useless.
    Because of this live streaming problem many people ignore this wonderful machince
    kindly tell how i can run live streaming
    From where?  There are applications that allow you to view video from YouTube, ABC-TV, HBO, and many others places.

  • Multiple Live Streaming Video in flash?

    Hello Everyone,
    I have this project in mind which I want to create a video
    montage of different live streaming videos from a few different
    users with their webcam in different locations. There will be the
    website which the participants will be able to view the live video
    montage in real time. However, I am unsure of where to start with
    (live video & server). Therefore I will be really thrilled if
    someone knows an example similar to this or someone who can offer
    me a lead in this topic!!
    I have knowledge in flash and abit of actionscripting.
    Much THANKS!!
    jen

    The 2-way video chat module example in the sample chapter
    from "Learning Flash Media Server 3" should give you some ideas.
    Obviously, you only want the 1-way (user to server) part of
    that, as you'll be displaying the video montage I guess in a web
    page as a set of regular flash streams.
    Main page
    http://www.adobe.com/devnet/flashmediaserver/articles/ora_learning_fms3.html
    Sample chapter (PDF) :
    http://www.adobe.com/devnet/flashmediaserver/articles/ora_learning_fms3/learning_fms3_ch05 .pdf
    It looks to be an O'Reilly book, so you may be able to get
    the whole thing online, or get it delivered from O'Reilly or Amazon
    in a few days.

Maybe you are looking for

  • How do I transfer purchases to my new account?

    I received my first iPod sometime in 7th grade and purchased many songs for it then. However, since I was a minor I had to use my parent's account to purchase those songs. Those purchases were using my own iTunes giftcards. Now that I am over 18, I c

  • I have re-installed Photoshop Elements 10 on my new computer and imported the photos but how do I get albums and tags back?

    My old computer died and I've installed my photoshop elements 10 on the new one and have imported all  my photos.   WHat I can't figure out is how to get my tags and albums back.   I had a Norton backup of my old computer so all of the data is availa

  • Z-index oddity

    Hi, I'm trying to set up the z-index of an item so that it always appears ontop of the Flash Player but I keep getting the following error: "1119: Access of possibly undefined property z through a reference with static type flash.text:TextField." My

  • AS3 Code Snippet (url button) not working in firefox

    Hi, This code works fine for my flash site: ovbutton.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPage_5); function fl_ClickToGoToWebPage_5(event:MouseEvent):void           navigateToURL(new URLRequest("http://www.starnavigation.ca/vision.html

  • How do I set the classpath in runtime?

    How can i set the classpath in runtime? Im downloading my image files in the folder C:/Downloads I want to set this C:/Downloads as my classpath. I don want to set it at the initial stage, bcoz I may have to change the downloading directory D:/Selva.