Streaming video using a web camera is choppy

Hello,
I have an swf program built with flex which displays video from a web camera. The problem is that the the video is being displayed a bit choppy. You can see an example at https://www.completelyonlinetestserver.com/Flex/videobox.html. Try holding a piece of paper with writing in front of the camera and you will see that the writing is very choppy.
What can I do to make the video clearer?  Any help would be very appreciated.
Thanks
Armen  

Hmmm...I dont have the drivers installed on my computer for my web cam to work, but when I compile that example do get the trace output, "You need a camera.".  So that part works.  Below is the code ported into an MXML file.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
                layout="absolute"
                applicationComplete="CameraExample();">
     <mx:Script>
          <![CDATA[
          private var video:Video;
        public function CameraExample()
            stage.scaleMode = StageScaleMode.NO_SCALE;
            stage.align      = StageAlign.TOP_LEFT;
            var camera:Camera = Camera.getCamera();
            if (camera != null)
                camera.addEventListener(ActivityEvent.ACTIVITY, activityHandler);
                video = new Video(camera.width * 2, camera.height * 2);
                video.attachCamera(camera);
                addChild(video);
            else
                trace("You need a camera.");
        private function activityHandler(event:ActivityEvent):void {
            trace("activityHandler: " + event);
          ]]>
     </mx:Script>
</mx:Application>

Similar Messages

  • How do I set up streaming video using iWeb

    Where can I get a straight forward guide to setting up a streaming video to my web site. I use iWeb to design and publish my web sites to mac.com. And I have a personal domain that I host on mac.com.
    I want to set up a wireless web cam because location of my routers and iMac preclude a direct connection. I know that I need to have access to a video streaming server but do not know how to get this service.
    I was hoping someone could recommend a good quality wireless web camera for less than $300. What additional software do I need on my iMac? Do I need to add code to my web site?
    Really looking for a soup-to-nuts guide. I have tried connecting the dots on a lot of forum posts and have become very confused.
    JohnT

    It all depends on your webcam what it can do.
    Webcam streaming usually is nothing more than putting JPEGS on a server in rapid succession. Then the browserwindows refreshes to pick up the new image. That takes time, so an image refreshes every 20 seconds.
    I also have seen JavaApplets that do basically the same.
    One way or the other you have to set up a webpage that either refreshes the image or that embed a JavaApplet.
    Your webcam has to have access to the server to upload the images.
    It all depends on your webcam and the software that comes with it.
    I once used [Evocam sofware|http://www.evological.com/evocam.html]. It is more advanced today.
    You can use the HTML Snippet to embed either solution in an iWeb page.
    Then practice.
    Message was edited by: Wyodor

  • Can we record a video from a web cam and let saved video take our previous setting

    Can we record a video from a web cam and let saved video take
    our previous setting
    fps: 20
    bitrate: 1000
    Size: 500*400
    can we configure that in code or is it a webcam specs?

    Hi, Vikas-
    After a brief bit of research, you're definitely hitting upon the limitation of the browsers.  Not all of the browsers have implemented this part of the HTML5 standard, so you're going to either have to use Flash or be limited to these specific browsers.
    Thanks,
    -Elaine

  • HT1941 why i cannot use my web cam using yahoo messenger and face time?

    whi i cannot use my web cam using yahoo messenger and face time?

    PwmBoat,
    This made me smile, because things like this do make me smile...  I never make videos on YouCam, but I did this time, so I could test this one out.
    You did not say what webcam software you are using...
    ======================================================================
     Video and audio recording works on YouCam V3.5.1.4606
    Make sure you have turned on a working microphone in Settings:
    YouCam > Right-Side   Settings >
    Right-Side, Lower-Right, Select a working Microphone from the Drop down list
    AND
    CHECK "Capture with audio"
    OK
    You can also buy (for $38 US) YouCam 5.0 from the Cyberlink.com website and it has audio/video and all sorts of other goodies, too.  (They have 3.x as well, but why buy what HP already gives you?)
    ==========================================================================
    I hope this helps!                                 
    We work hard to help!
    Whenever you see a Helpful Post - Click the Kudos Star on the Left as Thanks!
    Did this Post solve your problem?  Mark it “Accept as Solution”!
    Note: You can find the “Accept as Solution” box on threads started by you.
    2012 Year of the Dragon!
    Kind Regards,
    Dragon-Fur

  • Can't stream video from the web

    My iPad cannot stream videos from Safari web sites except when I am in the same room as the modem and router. I am not talking about flash, I mean videos it should be able to stream.
    I use an Arris modem from Comcast with a Time Machine in the same room. I have an Airport Express in another room to extend wireless coverage.
    If I start a video in the "time machine room" it will load and I can then leave and the video will play. If I try to start it in another room it will not load properly.
    I tried a test, streaming the same video to my iBook, my iPhone and my iPad - from a non "time machine room" in my house. No problem with the iBook or iPhone. The video played with no problems. No go with the iPad.
    Does anyone have any ideas why this is happening? I am getting a strong Wi Fi signal.
    Deanna

    HI Deanna,
    Try resetting the network settings on your iPad.
    Tap Settings / General / Reset / Reset Network Settings.
    That will restore to factory default.
    Restart your iPad, restart your Mac.
    If that doesn't help, try changing the Airport channel.
    Select the device you’re setting up on the left and then click Manual Setup. Enter the base station password if necessary.
    Click AirPort in the toolbar, and then click Wireless.
    Choose a new channel from the Channel pop-up menu.
    If that doesn't help, go to /Library/Preferences. Move all the files in the System Configuration folder to the Trash, and restart your Mac.
    Try streaming again.
    If I try to start it in another room it will not load properly.
    Also, check out the Airport Express online manual *page 41* for: *Items that can cause interference*
    http://manuals.info.apple.com/en/AirPortExpressSetupGuide.pdf
    Carolyn

  • How do i use my web cam, where do i go to, to get started

    Can't figure out where to go to be able to use my web cam. Its not in my devices and printers area.

    Firstly, uninstall the current version of Cyberlink Youcam and re-install it.
    To Uninstall: Click Start >> type Programs and Features in search and select it from the list >> In there, select Cyberlink Youcam and uninstall it.
    Once done, try using webcam with Skype or any other messenger you may have, or else re-install Youcam.
    If the above does not work, do a System Restore to a previous working date when the webcam worked.
    System Restore: Click Start >> type System Restore in search and select it any perform on-screen instructions to restore the notebook to a previous working date.
    If none of the above work, open Device Manager, check if you have 'HP Webcam' listed under Imaging Devices category.
    You would find the Product Number on the sticker in the battery compartment, will be similar to XT594PA#ABA.

  • How do I use my web camera to chat and take photos?

    I would like to use my web cam to live chat and post pictures and do not know how to use it properly.

    Sorry, Its not related to Mozilla Support

  • How do I use the web cam on my pc? Hp w2007 I have windows vista

    How do I use the web cam on my pc?  Hp w2007 I have windows vista

    Hp w2007 is a HP monitor without webcam ...
    Where is the webcam?
    V.
    *** Say 'Thanks' with Kudos ***

  • Capture an image using the web camera from a web application

    Hi All,
    Could anyone please share the steps what have to be followed for capture an image using the web camera from a web application.
    I have a similar requirement like this,
    1) Detect the Webcam on the users machine from the web application.(To be more clear when the user clicks on 'Add Photo' tool from the web application)
    2) When the user confirms to save, save the Image in users machine at some temporary location with some unique file name.
    3) Upload the Image to the server from the temporary location.
    Please share the details like, what can be used and how it can be used etc...
    Thanks,
    Suman

    1) Detect the Webcam on the users machine from the web application.(To be more clear when the user clicks on 'Add Photo' tool from the web application)There's not really any good way to do this with JMF. You'd have to somehow create a JMF web-start application that will install the native JMF binaries, and then kick off the capture device scanning code from the application, and then scan through the list of devices found to get the MediaLocator of the web cam.
    2) When the user confirms to save, save the Image in users machine at some temporary location with some unique file name.You'd probably be displaying a "preview" window and then you'd just want to capture the image. There are a handful of ways you could capture the image, but it really depends on your situation.
    3) Upload the Image to the server from the temporary location.You can find out how to do this on google.
    All things told, this application is probably more suited to be a FMJ (Freedom for Media in Java) application than a JMF application. JMF relies on native code to capture from the web cams, whereas FMJ does not.
    Alternately, you might want to look into Adobe Flex for this particular application.

  • Can you please record a video from a web cam with inital setting

    Can you please record a video from a web cam that has the
    following specs
    fps: 20
    bitrate: 1000
    Size: 500*400
    can we configure that in code or is it a webcam specs?

    QuickTime Player Pro can't record the screen.
    QuickTime X can record the screen (but only all of it and not just a window). It's a part of Snow Leopard.

  • Can i stream video from an hd camera to an ipad?

    can i stream video from an hd camera to an ipad?

    It would depend on the camera, and the software, there are items like airparrot, drone camera, or video surveilance cameras that have ipad apps for viewing. A great deal more research is in store I'm afraid.
    Google the following for an example
    can you connect a go pro to an ipad and capture the video

  • Can i use my web cam as a barcode reader ?

    Thats it in a nut shelll , can i use my web cam as a barcode reader .?

    Delicious Library is one the Mac Apps that will read barcodes from the isight camera.
    http://www.delicious-monster.com/
    Regards,
    Captfred

  • Streaming video using RTSP

    hi,
    any one have the program to stream video using RTSP.
    plz reply me
    thanks
    m.raj

    Hey,
    Sorry that I can't help you, but I'm trying to use streaming and I can't :( I'll try your code, and some I'll find in the net but when I put an rtsp direction it crash. The error is:
    Cannot create a Player for: rtsp://rm.bbc.net.uk/news/olmedia/1335000/video/_1335876_raper_vi.rm
    null
    If I'm doing something wrong please tell me, or if you can explain how do you do "localhost" I'll be grateful too.
    Thanks.

  • Using a web cam with an E-MAC

    I want to buy a web cam for use on my grand kids e-mac with skype. Is it possible and what type should I buy (they have hi-speed DSL access)
    Thanks, Don

    Keep in mind that the 10.4.9 OS X update enabled USB webcams to be used with iChat. However, not any webcam will work. It has to be what's known as a "UVC" webcam, which basically stands for "USB Video Class" Basically a standard for streaming video.
    http://en.wikipedia.org/wiki/Listof_USB_video_classdevices
    There's a list of webcams that should work on your Mac. Ironically the XBox 360 Camera is one of them.
    Personally, I've used the Quickcam Fusion before and the quality as at or possibly above what the iSight offered.

  • Streaming video using Frontpage 2003 and Quicktime .mov files

    What is the proper way to stream video files. I created a .mov file using iLife and I use Frontpage 2003 to upload to my website.
    I read in Microsft's official book on FrontPage2003 that all I had to do was to insert a movie file into a web page, just like inserting a picture. I was also told that I do not have to have the file on a streaming server, I could just keep it on the regular web site.
    The file does download to the browser, but it does not start the video playing.
    Do I need to do something elese? Or do I have to have the file on a streaming server.
    Thanks
    George

    "Streaming" QT files requires Streaming Server software.
    Your files probably just "download" via http protocols.
    And, since the recent update to Internet Explorer for PC's, the page code syntax has changed from that used in your FrontPage files.
    Your "page code" tells the plug-in what to do with your file. If you're directly linking to QT content then it is bypassing the plug-in and your entire file must download before playback can begin.
    Some links for you:
    http://docs.info.apple.com/article.html?artnum=61011
    Explains the structure needed for embedded files.
    And now, the new news from Microsoft regarding Internet Explorer:
    http://developer.apple.com/internet/ieembedprep.html
    You need to change the "tags" to include autoplay="true" (and a few extra tags for the new M$ update).

Maybe you are looking for

  • How to let new thread to access EJB

    I start new thread in Servlet class and I want this thread to call EJB business method but I get following error: javax.naming.NameNotFoundException: Name comp/env/ejb not found in context "java:" Probablly because thread has no credentials and so on

  • Tried to unlock my iphone now it wont turn on

    Hi, I recently tried to unlock my iphone using a programme off the internet. All seemed fine until it prompted me to restore it and since then all I get is the usb into itunes logo. I've tried to restore it on itunes but it comes up error. I've tried

  • How to get result of "CALL TRANSACTION"

    Hi everyone, I got in a trouble when using this piece of code: START-OF-SELECTION.   SET PARAMETER ID 'LIF' FIELD p_lifnr.   SET PARAMETER ID 'BUK' FIELD p_bukrs.   SET PARAMETER ID 'KGK' FIELD p_ktokd.   CALL TRANSACTION 'XK01' AND SKIP FIRST SCREEN

  • OnOne Phototools 2.6. Can it be made to work in Adobe CC?

    I have been using OnOne Phototools 2.6 in Photoshop 5. I have just "upgraded" to CC and have found that PhotoTools 2.6 is not supported. It's not a current products and is no longer being devloped by OnOne. Does anyone know of a work around that will

  • BB will not show up as in windows explorer it also will not sync music

    I just upgraded from a BB bold to a Z10 and I am having issues with syncing my music.  When I use BB link it says it is prepairing to sync but it never does.  It also keeps trying to do an upgrade even after i do the upgrade it keeps trying.  Also do