Detect possible webcam resolutions

Happy New Year to everybody!
So, I searched forums and googled and not found anything on how to detect the Webcam supported resolutions in flash.
The whole issue stems from the issue when I use Camera.getCamera() (only have one attached to my laptop) I'm always getting
different values for camera.height and camera.width. Also some 720p cams have different aspect ratio then the old cameras.
Is there possible to detect somehow what's the largets resolution is supported by a webcam? Or all possible resolutions supported?
GLTA.

hi
I´m trying to know if the webcam is 4/3 or 16/9. You know that your solution could work?
cam.setMode(64000,48000,fps);
switch (ScaleCam(cam)) {
                case 1.33: // 4/3
                    mx.controls.Alert.show("4/3"+"\n"+cam.width+"\n"+cam.height);
                    break;
                case 1.77: // 16/9
                    mx.controls.Alert.show("16/9"+"\n"+cam.width+"\n"+cam.height);
                    break;
                case 3: //
                    break;
protected function ScaleCam(cam:Camera):Number {
    var scale:Number = new Number();
    scale = cam.width/cam.height;
    scale = Number(scale.toFixed(2));
    return scale;
I haven´t got webcam HD 16/9, so can´t try this solution.
Thanks!

Similar Messages

  • To detect USB webcam

    Hi, I am trying to detect USB webcam using NI Vision Assistant but its not works ! I already installed requisite drivers for it though its not possible to acquire images using webcam.

    f your goal is to work with you ltener vision first note that the programs have a cost, in any case you can use them in mode of assessment and expire over a period of time. You can perform image acquisition only drivers from VAS , but for any treatment or handling or VDM VBAI you need , plus VAS . You can download the evaluation software from the following links :
    Módulo NI Vision Development https://lumen.ni.com/nicif/us/evalvisiondevmodule/content.xhtml
    NI Vision Builder para Inspección Automatizada (AI) https://lumen.ni.com/nicif/us/machinevisionbrochure/content.xhtml
    NI Vision Acquisition Software http://joule.ni.com/nidu/cds/view/p/id/3818/lang/en
    In this example, we will create a program in Labview to capture images from a USB camera to your application for further processing using the NI Vision module.
    https://decibel.ni.com/content/docs/DOC-30531
    Atom
    Certified LabVIEW Associate Developer

  • How to change webcam resolution

    Hi,
    I have a USB device to capture HDMI sources that I use to record from my camera. The device uses UVC so it's the same as a webcam for any Windows application.
    The USB can output multiple resolution from SD to HD. However, I can't seem to be able to choose the recording resolution when I use it in Adobe Premiere Elements. It always record in 720x480, although in VLC, I can use it to record in 1080p.
    Right now, I can record in VLC in 1080p then import in Premiere, but I would prefer to just be able to change the webcam resolution in Premiere!
    Jonathan

    Jonathan
    What version of Premiere Elements are you using and on what computer operating system is it running?
    I have run into the same problem. There are other reports of this problem as well. I have a HD webcam that will only display as SD when used through the Premiere Elements Add Media/Webcam or WDM.
    I have planned to analyze this in a blog post but have not gotten around to it yet.
    Right now I do not think there is a fix other than to find that certain HD webcam that Premiere Elements will recognize as HD. That seems to be the case in this online video tutorial
    https://www.youtube.com/watch?v=1XebjDAeE7M
    Note at the end how the output looks 16:9 rather than 4:3. For informational rather than promotional reasons I mention that it looks like a Logitech HD Pro Webcam C92 was used in that video tutorial on the Premiere Elements 12 webcam feature.
    More later.
    ATR.

  • Linux webcam resolution

    According to http://forums.adobe.com/message/2874921 the AIR team is aware of the issue of the low webcam resolution in Air on Ubuntu.
    Is there any indication when a resolution will become available?
    Does this problem occur on other Linux distributions as well?
    I've confirmed the problem on Ubuntu 10.10 with the latest Air installer.

    Hi Marcel,
    Since Adobe decided not to support Linux any longer, I don't think the bug will ever be fixed.
    Regards,
    Bas.

  • Skype doesn't detect the webcam

    I know this problem has been posted out many times, but unfortunately after trying each solution, it's resolves nothing on my problem.
    I'm using ASUS X44C series, skype doesn't detect the webcam itself. And using Windows 7 64bit.
    I've been trying to reinstal the lifeframe for webcam. Doesn't work
    Tried to using many cam. doesn't work
    Tried to making default the windows itself. Doesn't work
    Reinstall and update skype. Still doesn't work
    I even calling an IT to fix this, but he still unable to find the problems.
    Any ideas?

    Please,  run the DirectX diagnostics tool (32-bit version).
    Go to Windows Start and in the Run box type dxdiag.exe and press the OK button. This will start the DirectX diagnostics program. Run this diagnostics and save the results to a file. Please, attach this file to your post.
    Be aware that you will have to zip this file before attaching it here.

  • Skype can't detect mt webcam since I updated to la...

     Hi
    I have an Advent Modena 202m and since I updated to the latest version (7.0.85.102) skype cant detect my webcam even though my webcam is switched on. I hit fn+f7 and it tells me the  webcam is switched on. 
    Any ideas? Thanks.

    Please,  run the DirectX diagnostics tool (32-bit option).
    Go to Windows Start and in the Run box type dxdiag.exe and press the OK button. This will start the DirectX diagnostics program. Run this diagnostics and save the results to a file. Please, attach this file to your post.
    Be aware that you will have to zip this file before attaching it here.

  • Detecting multiple webcams

    There's a lot of old posts about this, but no solutions. Does anyone know a way to detect multiple webcams? It appears that JMF can't do this, but maybe someone has come up with another way? I'm trying to switch between 2 usb webcams.
    Thanks!

    What type of scanner do you have? Did it come with software or are you just using Image Capture? I've a Canon printer/scanner and use the supplied software to preview and select the item that I want to scan at any given time. Never used Image Capture before...
    Clinton

  • Skype can't detect any webcam

    Hi, Since I updated the newer version of skype 6.11, my video does not work anymore. When I go under options, I get the message, "skype can't detect any webcam". I have a built-in camera in my laptop using windows 7. I know my camera works, but I don't know how to make skype detect my built-in camera. So far, I can call people, I see and hear them and they can hear me, but they can't see me since I don't even have the options to put on my camera anymore. Please, can anyone help me with this issue? I have already uninstalled and reinstalled skype, but it does not work. Thank you

    Please,  run the DirectX diagnostics tool. Go to Windows Start and in the Run box type dxdiag.exe and press the OK button. This will start the DirectX diagnostics program. Run this diagnostics and save the results to a file. Please, attach this file to your post. Be aware that you will have to zip this file before attaching it here.

  • Skype not detecting my webcam, please reply..

    Hi, I am currently using the built-in HD Webcam 101 on my laptop for Skype. This is my exact laptop: http://h10025.www1.hp.com/ewfrf/wc/product?product=4229965&lc=en&cc=us&dlc=en&lang=en&cc=us 
    I've been able to use the video call perfectly fine up until this past week. Skype is not able to detect my webcam at all and on my Device Manager, my HD Webcam 101 says that it is working properly.
    I've tried disabling and then enabling it. It works! But, the same issue re-occurs whenever I restart my laptop. Obviously, I don't want to keep doing that procedure just to get it working. Is there anyway you guys can help me fix this issue? It is becoming a big problem because I make a lot of business video calls over Skype. Thanks...hope I get a response asap.

    Are you starting Skype automatically when you start Windows, or do you start Skype manually after Windows is already running?   If you're starting Skype with Windows, try changing to letting Windows start before starting Skype to see if that makes any difference.
    When Skype doesn't detect your webcam, if you click on Tools > Options > Video settings, what does it say in the "Select webcam" box?    If you click on the pull down arrow next to that box, are there choices that can be selected there?
    If there is nothing that can be selected in Video settings, and since you weren't having this problem up until recently, you can try recetting your Skype configuration files with this procedure:
    Quit Skype.  Hold the Windows key and type r.  In the box that comes up type %appdata% <enter>.  Scroll down to find the \Skype folder and rename it something like \Skype_old.  Restart Skype.
    Note:  Renaming the Skype folder will move IM and call history to the renamed folder.  They can be recovered with a few extra steps.
    Please note: I do not respond to requests for help via Private Message.

  • Can't detect "creative webcam pro"

    Hi,
    can't detect "creative webcam pro",
    Vector devices=CaptureDeviceManager.getDeviceList(null);
    System.out.println(devices.size());
    System.out.println(devices.elementAt(0));
    i get:
    1
    JavaSound audio capture : javasound://44100
    "java JMStudio" doesn't detect also.
    win 2000, JMF2.1.1b(Java),JDK1.4.1.
    can somebody help me?

    Hi.
    I have the same problem with my Logitech webcam. But i tried the registry scan and the webcam appeared. But: With CaptureDeviceManager.gerDeviceList(..) I get only 2 sound devices, not my vfw-webcam.
    Any idea?
    Greetings, Steffen

  • JMFRegistry: Detect virtual webcam instead actual webcam

    Hi all
    I have a issue of not detecting my webcam by JMF registry.
    Initially it was detected and worked fine. Recently I have installed virtual web camera.
    So when I tried to capture video by JMFStudio (JMFStudio->capture) it plays the video from virtual web cam software not from my real web cam.
    And under the JMF registry capture devices "vfw:Microsoft WDM Image Capture (Win32):0" was found.
    Seems Virtual web cam driver doesn't change this because before installing the virtual software it was the same.
    Virtual webcam software provides us an interface to change the video source and there it detects my web camera. So still I can use my web cam with JMF through this virtual web cam driver.
    "I can remember that I have changed the default video source by an windows interface where it was prompt by JMF it self, it was a very simple interface having a single drop down where it carries all the capturing drivers I have installed. But not I cannot find this interface"
    So can anyone please help me to get rid of this issue
    Thnak You

    Hi this is to answer my own question, I have found that JMF doesnot detect all the webcams(virtual or real) having same id "vfw:Microsoft WDM Image Capture (Win32):0.
    So what we have to do is disable the current selected camera and start rescan of the capturing devices. Then it prompts a window to select what we want.
    This is the link why we need such virtual webcam.
    These are many virtual web cams which are free and works with JMF.
    Edited by: deshan on Jun 8, 2009 7:02 PM

  • HP Pavilion G6-1232sl Webcam Resolution?

    Hi There,
    I'm trying to find out the resolution of a HP laptop I intend to buy but in all the product specifications, it never shows the max resolution of the webcam. Could someone please answer this for me please?
    Laptop: HP Pavilion G6-1232sl
    Thanks very much,
    alannm37.

     Hi @alannm37,
    Thank you for visiting the HP Support Forums and Welcome. I have read about you needing the Webcam resolution for HP Pavilion G6-1232sl Notebook.
    A resolution up to 1366-768 with a 16:9 wide aspect ratio HD. I suspect the ratio would 720p as it is not listed in your manual for the Webcam. Here is link to the manuals for your notebook.
    Hope this is what you need.
    Thanks.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • X fails to detect monitor supported resolutions

    I have 3 monitors connected to a Radeon HD 7750, using the radeon driver:
    Left: NEC MultiSync 90GX², 1280x1024, connected via DisplayPort-to-VGA adaptor
    Middle: Samsung SyncMaster BX2335, 1920x1080, connected via DVI
    Right: LG Flatron Wide, 1680x1050, connected via HDMI
    On every reboot (warm or cold), X fails to detect the NEC monitor's supported resolutions. xrandr will only set it to 1024x768 or less, and it shows "no signal". However if I disconnect the VGA cable, plug it into another monitor (which is broken, but still powers on), and run xrandr again, it lists up to 1280x1024. If I then set the correct modes and layouts, then return the VGA cable to the NEC monitor, it works just fine. Turning the display off via xset doesn't cause any issue either. So on every reboot I have to move the cable to a spare monitor, set up xrandr, then move the cable back.
    How can I save this working configuration and force X to apply it on boot even though the monitor for some reason claims to not support it?
    I didn't have this issue with Ubuntu, but my setup was a bit different there, so possibly it just didn't manifest.
    Here is the Xorg.0.log and journalctl -k from the most recent boot. The get-edid output is also interesting (and contains some control characters which pastebin removed).

    The NEC on DVI would be only temporarily to get it's real edid-data .
    Once you got that in a file, you can use a special kernel parameter at boot to force use of  the real edid-data for the NEC monitor.
    https://wiki.archlinux.org/index.php/Ke … s_and_EDID describes how it could be done.
    Note that configuring this is tricky.

  • My Mac mini no longer detects my monitor resolution

    My Mac Mini has stopped being able to detect the resolution of my monitor, which is a 1680x1050 Acer widescreen.  1680x1050 is also no longer a choice of resolutions under 'Displays' in 'System Preferences' so I cannot select my monitor resolution manually.  I suspect that there is a bug somewhere in a recent update which has broken support for my monitor.  Is there an official channel by which I can report this bug?  Has it been reported already?  Is there an ETA on a fix?  This renders my Mac more or less unusable.
    Here's some info about what I'm running:
    Hardware Overview:
      Model Name:          Mac mini
      Model Identifier:          Macmini3,1
      Processor Name:          Intel Core 2 Duo
      Processor Speed:          2.26 GHz
      Number Of Processors:          1
      Total Number Of Cores:          2
      L2 Cache:          3 MB
      Memory:          4 GB
      Bus Speed:          1.07 GHz
      Boot ROM Version:          MM31.0081.B06
      SMC Version (system):          1.35f0
    NVIDIA GeForce 9400:
      Chipset Model:          NVIDIA GeForce 9400
      Type:          GPU
      Bus:          PCI
      VRAM (Total):          256 MB
      Vendor:          NVIDIA (0x10de)
      Device ID:          0x0861
      Revision ID:          0x00b1
      ROM Revision:          3362
      Displays:
    VGA Display:
      Resolution:          800 x 600 @ 60 Hz
      Pixel Depth:          32-Bit Color (ARGB8888)
      Main Display:          Yes
      Mirror:          Off
      Online:          Yes
      Rotation:          Supported
    Display Connector:
      Status:          No Display Connected (Ed: There is definitely a display connected. I'm using it to file this report.)
    System Software Overview:
      System Version:          Mac OS X 10.6.8 (10K549)
      Kernel Version:          Darwin 10.8.0
      Boot Volume:          Macintosh HD
      Boot Mode:          Normal
      Computer Name:          siracusa
      User Name:          Christopher Rossi (chris)
      Secure Virtual Memory:          Not Enabled
      64-bit Kernel and Extensions:          No
      Time since boot:          4:52

    It's unlikely that the upgrades had anything to do with the problem, slim superdrives are just not all that reliable.
    You might try a few tricks before taking it in for service or springing for a Mac compatable external DVD drive.
    1. Reset the SMC > Resetting the System Management Controller
    2. Reset the PRAM > Resetting your Mac's PRAM and NVRAM
    3. Clean it, for example with a > Memorex OptiDisc CD/DVD Laser Lens Cleaner

  • Setting the Webcam resolution?

    Hello,
    I planned to writing some basic motion tracking software in Java using the JMF. The webcam I planned to order is the Creative webcam live mentioned here on amazon:
    http://www.amazon.com/exec/obidos/tg/detail/-/B0002UE9WI/qid=1125501861/sr=8-5/ref=pd_bbs_5/103-4724716-5856630?v=glance&s=electronics&n=507846
    The webcam is said to have a resolution of 640 x 480, and hoped to use the FrameAccess.java example from Sun to use the webcam rather than a video.
    The FrameAccess.java I believe allows access to the pixels of each frame.
    I just wondered if anyone knew, if the JMF included any functions to change the resolution of the webcam from 640 x 480 to maybe 320 x 240?
    So there are less pixels to process from each frame?
    Many thanks

    Thank you for replying.
    When I use this creative webcam with JMF, do you think using the FrameAccess code and changing this code to work with a webcam rather than video.
    The FrameAccess code would display an image less than 620 x 480 in the swing component, and in the process method which allows access the frame pixels the number of pixels would be less than 620 x 480?
    Even though the webcam has a default 640 x 240 setting? Would you have any idea how small the 640 x 480 would be reduced to?
    Thanks

Maybe you are looking for

  • Black jagged edges appear on footage with Avid DNxHD codec

    Hello, Currently I'm editing some GoPro footage from my vacation, and I'm editing this video in Premiere and After Effects. When I was done editing in Premiere and exported the video as a Quicktime movie with the Avid DNxHD codec, I brought it in to

  • 'FOR ALL ENTRIES' in SELECT statements

    Hi, I got a doubt in working of the 'FOR ALL ENTRIES' option in the SELECT statement. Here is my scenarion. Table A - Document Header Level (Key: Doc Number) Internal Table B - Document Item level (Keys: Doc num and Doc Item). So, for each record in

  • Practical use of UML diagramming tool....

    Hi , the use of UML diagramming tool is to present the system to end user (use cases) ... like the Entity Relationship Diagram in the Oracle Designer.... However , i 'd like to ask if the product of this tool can be used as a base to produce somethin

  • An error during the installation of OS X !!

    During the installation of OS X maverick an error occurred pointing that my Macintosh disk is damaged and can't be repaired !! The installation is not being continued and I can't go back to my old version !! However The only available choices are dis

  • Volume & Soundcheck Problems

    Hi, I have two problems with my iPod nano: 1) Soundcheck - When I use this, all the songs are played at such a low level, it's really hard to hear them. (My iPod is usually used with speakers at home or in the car.) 2) Volume Limit - Unfortunately th