Capturing live stream to static image on server

As part of a kludge we're working on to get around showing inline video (from cams) on devices such as iPhone which isn't supported by flash, we're planning to use websockets to stream data instead.  We've seen a few other similar services do something similar as a kludge.  There is no audio but at least something is visible to the user on devices that don't support flash or where inline HLS is not available (iPhone!).
Capturing static data on the FMS seems like quite a common request (e.g. to make thumbnails or whatever) but is there code available to do this?  I have looked but found nothing as of yet.  As part of the solution, streams will need to be saved to static images e.g. every x seconds, on the FMS server.
Any help or pointers welcome
Puzzler.

As part of a kludge we're working on to get around showing inline video (from cams) on devices such as iPhone which isn't supported by flash, we're planning to use websockets to stream data instead.  We've seen a few other similar services do something similar as a kludge.  There is no audio but at least something is visible to the user on devices that don't support flash or where inline HLS is not available (iPhone!).
Capturing static data on the FMS seems like quite a common request (e.g. to make thumbnails or whatever) but is there code available to do this?  I have looked but found nothing as of yet.  As part of the solution, streams will need to be saved to static images e.g. every x seconds, on the FMS server.
Any help or pointers welcome
Puzzler.

Similar Messages

  • Live Streaming from static video file

    Hi everybody,
    I'm using Amazon Cloud & Flash MMedia Server 4.5.
    I would like to take one of my exits videos (a static file), and turn it into a live stream. People can view this video (synchronous). I'm using Flash Media Live Encoder 3.2, but it only capture video from devices as camera...
    How I can do it?
    Cheers.

    Hi Huy,
    Please find the zip attached where I have written the scripts for you to deploy on your local FMS server, in context of option 2:
    You may like to follow these steps:
    1. unzip the folder.
    2. deploy FLVpublishonLoad (in case your recorded file is a FLV use case) on your lcoal server
    3. deploy toPublish on your remote aws server
    4. make sure to correct the path for aws in FLVPublishonLoad application @ line#19:
    // Please mention your aws instance hostname instead of localhost , and application name ....
    nc.connect("rtmp://localhost/toPublish");
    5. go to admin console of your local development server and load the instance of FLVPublishonLoad as shown in the howtoLoadfromAdminConsole.png image attached for refrence purpose.
    6. it will automatically connect to the "toPublish" app on your remote server and start publishing your local vod file as a live stream to your aws instance
    7. start your subscriber app and subscribe to the stream you have used in FLVPublishonLoad app for Stream.get() method, see line#29 and the subscriberScreenExample.png file attached for the illustration purpose.
    few points to note here:
    1. I have removed the sample.flv and "sample1_1500kbps.f4v" for keeping the zip size lower.
    2. You need to put your stream name at line#55 where you call mystream.play()
    3. The stream name that you specify in Stream.get() will be used by subscribers.
    4. if your use case is mp4, then please use "MP4PublishonLoad" instead of "FLVPublishonLoad" application.
    =============
    As I am unable to attach the files here therefore copy-pasting the code for you and others to be re-used:
    =======
    main.asc code for FLVPublishonLoad:
    var nc;
    var ns;
    application.onAppStart = function()
        trace("hello client: ");
        publishIt();
    function publishIt()
        trace("publishing");
        nc = new NetConnection();
        // Please mention your aws instance hostname instead of localhost , and application name ....
        nc.connect("rtmp://localhost/toPublish");
        nc.onStatus = function(info)
            trace(info.code);
        ns = new NetStream(nc);
        // Exact stream name available for subscribers .....
        mystream = Stream.get("myvodfile");
        mystream.onStatus = function(sinfo)
            trace("mystream.onStatus: "+sinfo.code);
            if(sinfo.code == "NetStream.Publish.Start")
                attach_retVal = ns.attach(mystream);
                if(attach_retVal==true)
                        trace("stream attach was successful ...");
                        startPublish();
                else
                    trace("The attempt to attach stream source to NetStream failed");
        // Please put the stream name here inside double-quotes that you want to publish and is available there in streams/_definst_ folder ......
        mystream.play("sample",0,-1,true);
    function startPublish()
        ns.publish(mystream.name,"live");
    main.asc code for MP4PublishonLoad:
    var nc;
    var ns;
    application.onAppStart = function()
        trace("hello client ");
        publishIt();
    function publishIt()
        trace("publishing");
        nc = new NetConnection();
        // Please mention your aws instance hostname instead of localhost , and application name ....
        nc.connect("rtmp://localhost/toPublish");
        nc.onStatus = function(info)
            trace(info.code);
        ns = new NetStream(nc);
        // Exact stream name available for subscribers .....
        mystream = Stream.get("mp4:myvodfile.f4v");
        mystream.onStatus = function(sinfo)
            trace("mystream.onStatus: "+sinfo.code);
            if(sinfo.code == "NetStream.Publish.Start")
                attach_retVal = ns.attach(mystream);
                if(attach_retVal==true)
                        trace("stream attach was successful ...");
                        startPublish();
                else
                    trace("The attempt to attach stream source to NetStream failed");
        // Please put the stream name that you want to publish and is available there in streams/_definst_ folder ......
        mystream.play("mp4:sample1_1500kbps.f4v",0,-1,true);
    function startPublish()
        trace("#### " + mystream.name);
        ns.publish("mp4:" + mystream.name,"live");
    main.asc code for "toPublish" app
    =====================
    application.onPublish = function(clientObj, streamObj)
        trace("published: " + streamObj.name);
    =====================
    Please revert back to me in case of further query.
    Regards,
    Shiraz Anwar

  • Adobe Flash Media Live Encoder and static image or recorded video?

    Is it possible to put a static image or a recorded video (instead of a live video feed) into Flash Media Live Encoder to air while broadcasting a live radio show online?

    FMLE will work with all devices which have direct show based drivers and give data in raw format. Here is a list of devices which have been tested and certified with FMLE - http://www.adobe.com/support/documentation/en/flashmediaencoder/FMLE_DeviceMatrix3.0.pdf

  • How can I capture live video and still image by a DirectX compatible USB webcam using LabView ?

    Dear forum members
       I'd like to design a user interface which shows a live video and capture still images for it by a DirectX compatible USB webcam using LabView or NI Vision Toolkit, how can I do this ? and If this is possible How can I reach the webcam DirectX filter properties and set them using LabView ? I would be grateful to anyone Who lead me to the correct solution.
        Sincerely
        Cem DEMiRKIR

    Cem,
        With our example programs you can acquire and save an image (IMAQ >> File Input and Output >> Snap and Save to File.vi) from one camera, if you double the VI's to create the image and the image task, you can easily have one program acquire and save for two cameras.
        I may need more information on what you mean by calibration.  Do you mean basic camera setup?  That can be done in Measurement and Automation Explorer by setting up the options within the IMAQ settings for each camera.  Or do you mean more complex calibration for special types of images?  The more description of what you mean, the better I will be able to help you get it done.  You mentioned zoom and motion parameters, what kind of motion?  Our vision drivers only control triggering the camera to acquire, then analyzing, processing and displaying the resulting image.
        If you have more details on exactly what you want to do, that would be great.  Let me know if you have more questions, thanks!
    -Allison S.
    Applications Engineering
    -Allison S.
    Calibration Services
    Product Support Engineer

  • Capturing live streaming video?

    I just bought Quicktime Pro for the sole purpose of recording streaming video to my hard drive. (Win XP) I watch a nest cam in a barn owl nest and want to be able to record the stream during the night so I can see what I've missed. (I'm not noctural the way the owls are.) However, I cannot find a way to do this. When I add the URL, QT tells me it isn't valid. When I click on the stream window to look for a way to copy it, nothing comes up. I am admitedly new to video streaming and hope I am making a simple mistake, but I sure would appreciate some help. Many thanks, Kate

    QT Pro for Windows does not include video capture. It can capture audio but not video. Check this page under the words Upgrade Now:
    http://www.apple.com/quicktime/player/win.html
    In contrast, a similar page for QT for Macintosh mentions capture of both video and audio:
    http://www.apple.com/quicktime/player/mac.html

  • How do I capture live streaming MP3s?

    I'm wanting to capture (record) the following:
    http://www.resistancemp3.org.uk/m2008/afterthe_whitewash_-_who_are_the_real_worknig_class-martinsmith.mp3
    then put it onto my ipod. Can anyone suggest a suitable way of doing this please.
    Message was edited by: Gary Leeds

    If the song is only provided as a stream, it may be that the rights holders don't want it to be disseminated any other way.
    Applications such as Audacity are able to capture the sound output from your computer.
    Best of luck.

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

  • Creating a custom player for live streaming video

    I have live streaming video set up where I use the Flash Media Encoder to send the live stream to a Flash Media Server. Then, the Flash Media server packages this stream, and sends it to whatever websites requests it via the url. I know how to create a Flash move or even asc file, and then have Flash generate the html for that saved movie so that I can embed it in a web page and play it. But in the case of live streaming video, there is no pre made asc file or movie to reference. So I need some help about what I need to do to play live streaming video in a flash player embedded in a webpage, that will also have some custom action script for controlling playback and other things.

    About a half-hour after making the changes I outlined above, and long after I closed the active Safari window, noticed that my MBP was uncharacteristically hot. Extremely hot!
    Opened Activity Monitor and saw that Flash Player was still running (?) and using a tremendous amount of system resources. I then quit Safari altogether. Within moments, the heat began to subside.
    May be something you want to keep an eye on...

  • Capture image from video live streaming

    Hi everyone ^^ 
    I have a question in my attached vi, I am able to have a live streaming video from my build in PC camera and take a pic from it too, the problem is it runs perfectly for the first time but the mint I press the button the image froze >< , I can not have my video back even when the case structure is fasle. Hope someone can help me with that 
    thanks a lot ^^ 
    Solved!
    Go to Solution.
    Attachments:
    Image Aquairing 2.vi ‏53 KB

    Hi ReChan,
    -IMAQ Snap Configures, starts, acquires, and unconfigures a snap acquisition.
    -For IMAQ Grab you're configuring initally. So, whenever you click boolean-imaq snap captures image and unconfigures the IMAQ session.
    -When you try to grab again, it will throw an error because IMAQ session isn't configured.
    -The mechanical action of boolean you kept as switch when pressed-it'll stay high-which results asking user for saving an image. instead i changed it to latch.
    Thanks
    uday,
    Please Mark the solution as accepted if your problem is solved and help author by clicking on kudoes
    Certified LabVIEW Associate Developer (CLAD) Using LV13
    Attachments:
    Image Aquairing 2.vi ‏53 KB

  • Send live stream from local PC to global server

    hello,
    I'd like to capture audio/video from my local PC, and transmit it to a global server, which will send my content to some audiences.
    Since the local PC has no unique IP, the server can't call RTPManager.addTarget(...) to receive live stream.
    Someone recommends me transfer the stream using servlet. But I have no idea.
    Is it possible using JMF RTP, and how?
    Thanks a lot,
    Derek

    Hi Derek,
    I am working on the same thing. I am not able to improve a bit on how to transmit audio captured from my mic. Can u please help me in doing. It will be of much help for me. I would like to transmit sound to computers in the intranet. My email id is [email protected] I would really appreciate if u can help me on this .
    Regards,
    Firmin Dani.

  • Offline image for Live Stream

    I am new to using flash media server. I setup the server and using the default player for the live stream and when I am not broadcasting I want to display an image instead of the black box that comes up till I start the live broadcast. Is there away to have it pull an image when I am not streaming?  

    Hi,
    When you said you are using the default player, did you mean the livetest.swf inside <fms-install>\applications\live ?
    If so then that cant be modified since it has only .swf file. You may have to write custom client side player (swf file).
    And also do you want to display any image or the last frame of the video before it stopped?

  • Can I publish static content to Live stream

    I have a requirement of publishing static content like video files mentioned in a playlist to be published to a live stream. It is like creating a TV station with pre-recorded content but with live stream. It will great  if anyone let me know is it possible with FMS?

    Yes its very much possible.
    What you need to do is place all your files on server and play it via server-side stream. You can go through FMS documentation and you should be able to get it work. However i will tell you briefly here how to go about it.
    Create an application folder , under applications directory of FMS. Let us name it as "test". Create a folder called "streams" under "test" and then under "streams" create "room" folder. So structure would be as follows : <FMS installation directory>/applications/streams/room. Now place all your static content here , say you place one.mp4,two.mp4,three.mp4.
    Now you want to give effect of live stream.
    Create a file called main.asc under "test" folder.
    Write below code in main.asc:
    var mylivestream;
    application.onAppStart = function(){
         mylivestream = Stream.get("mp4:livestream.mp4");
         mylivestream.play("mp4:one.mp4",0,-1,true);
         mylivestream.play("mp4:two.mp4",0,-1,false);
         mylivestream.play("mp4:three.mp4",0,-1,false);
    Above code would play all three static content one after other. Subscriber client would have to subscribe in following manner:
    ns.play("mp4:livestream.mp4",-1,-1)
    Please note that above code is sample code and not the most optimal or correct and will need tweaking depending on what is your requirement.
    Hope this helps

  • How to edit a stream captured live in jmf?

    hi everybody.
    i want to know how can i edit an audio stream that is being captured live from a microphone. i have looked at Cut.java from jmf solutions. it is taking a file to cut and then write the updated file to another file. when i have tried to modify it by making the program take the input as captured audio, the program is not working! and am not able to hear the output file as well!
    can anyone help me please?
    a
    i have also tried to implement a BufferTransferHandler but my program is still not working! please help!!!

    i was wondering is there a way in jmf to let the capture device capture for some random time and stop, then restart capturing again and stop again..meaning to continue repeat this pattern.. because i want to implement packet losses in jmf .
    previously i was trying to capture a continuous stream of audio and then try to select randomly from the buffer to send this over a network.but that is not working! so am trying to select from the start itself. tell me is it possible to control capture from the microphone in a random fashion as explained above? thankssss a lot ..reply soon!!

  • Report deployed to new server does not display static image

    Hi,
    We have several web sites on a server running Windows Server 2008 R2 Standard, SP1, 64-bit.  It has installed .NET Framework 4 Client Profile and Extended, ver. 4.0.30319 (according to Control Panel->Programs, as well as c:\Windows\Microsoft.NET\Framework).  Two of the sites use many Crystal Reports, most of which include a static image as a logo. This image is embedded in each report; there is no stand-alone image file that gets deployed.
    Recently, we migrated to a new server, running the same version of Windows & .NET Framework.  As near as we can tell, the 2 servers are nearly identical, as far as configuration and permissions, etc. One notable exception is the DefaultAppPool, which is Classic on the original server and Integrated on the new. (When I changed the new server to Classic, the apps failed to run properly.)  The other exception is the old server is on a stand-alone box, while the new server is a virtual machine.
    For one of the apps on the new server, the embedded logo images are not displaying on the page.  Instead, there is a little red X with the word "Image".  For the other app on the new server, the reports display fine.  Furthermore, if I copy one of the "broken" rpt files from the "broken" app to the "good" app, the report displays correctly!  And of course, the same file displays correctly in all circumstances on the old server.
    This suggests to me that there is not a problem with the report file, per se', but rather with the environment to which it is deployed.  Permissions?  If so, where?
    Any suggestions would be much appreciated.
    Thanks.
    --d

    The search string 'crystal red x net' (search box in top right corner) should return a number of KBAs, docs, blogs, etc. See if any of those help.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • How to secure Flash Media Streaming Server 3.5 (live stream connection)

    I have Flash Media Streaming Server 3.5 (not Interactive) running on RHEL5.5 x86_64 Linux.
    All is working well, however how do I prevent unauthorized access to connecting to the live stream and streaming content?
    How can I setup the server to require a user and password to stream live media to the server?
    Any help would be great, I am new to this product and I have been reading some documentation but I have not found a clear cut answer on how to force a username and password to connect to the server to stream live content only.
    I am using the Adobe FMS Apache install, what files need changing?
    I have the following files:
    /opt/adobe/fms/applications/live
    total 44
    -rwxr-xr-x 1 fms fms 1035 Jul 27 14:52 allowedHTMLdomains.txt
    -rwxr-xr-x 1 fms fms  992 Jul 27 14:52 allowedSWFdomains.txt
    -rwxr-xr-x 1 fms fms 1550 Jul 27 14:52 Application.xml
    -rwxr-xr-x 1 fms fms 4371 Jul 27 14:52 main.far
    -rwxr-xr-x 1 fms fms 2292 Jul 27 14:52 readme.txt
    I want to lock down a person from connecting to the server on the public internet and starting a live stream?
    Can this be done with a user name and password?

    If you are concerned about anyone starting publishing to your stream then we have security update on this. Please upgrade to 3.5.4 and now you can use FMS Authentication Add-in (used with FMLE as publisher). If you are facing problems with publisher which are not FMLE, please enable SWF Verification so that only valid SWF's connect to your FMS.
    You can find 3.5.4 update here : http://www.adobe.com/support/flashmediaserver/downloads_updaters.html
    You can find FMS Authentication Add-in on FMLE Download page: https://www.adobe.com/cfusion/entitlement/index.cfm?e=fmle3 (when you click on Agree - it will prompt for your Adobe ID - then when you reach Download page - you will get Optional Download of Authentication Add-in)

Maybe you are looking for

  • Credit Management Process based on Terms of Payment.

    Hi All, My Client wants to use SAP Credit Managment Process. The SAP is currently being used but without Credit Management. As per my initial discussion I have enclosed the requirments below. Your Kind Help will be highly appreciated. 1.     The Proc

  • Adobe Demos will NOT INSTALL

    In the last 2 weeks I've downloaded Adobe Photoshop from this site 30 times. Every single time I when I try to extract it after it downloads I get the same error after about 20% of extracting saying some crap like my harddrive space my be full. I hav

  • Algorithm to retrieve link of records from the database efficiently

    Hi, I have some records in database related to supply chain. e.g. N1 supplies item I1 to Node N2 is represented as N1 I1 N2. Now I want to find all parent nodes or say chain of nodes supplying to particular node in an efficient way. Currently I am us

  • Can I use an iPad 2 in Guam?

    Can I use an iPad 2 AT&T in Guam?

  • FTP password in .ste file

    I was curious as to why the password in the site definitions backup file is encrypted. The user name is the same but the password is a series of numbers and letters that have no bearing to the actual password...