Linux webcam resolution in flash

Hello
I am using PartyBooth software (www.partyboothapp.com) that I purchased through adobe AIR.  This is a simple application that lets you use a webcam to run a photobooth.
I have 3 cameras that are very well supported in Linux:
1) Logitech Webcam Pro 9000
2) Logitech Quickcam Vision Pro
3) Microsoft Lifecam Cinema
All 3 of these cameras work at full resolution in every linux app that I have used (including skype)
However, in this flash-based program (PartyBooth), the cameras will only work at 240x240 resolution, which is way too low to take reasonable pictures.
All 3 of these cameras are capable of HD resolutions, and again, all resolutions work in  other applications! (Note: these are all UVC compliant cameras)
Is there a way to test if this is either:
A) A bug in Flash Player 10 for Linux
B) A bug in the PartyBooth applicaion
thanks for any help I can get!
Jon

I have this problem in all flash applications.
My camera uses v4l2 subsystem and UVC interface and has native resolution 640x480. In other programs (not flash, i.e. skype, guvcview) it starts to capture in 640x480 by default.
And if I start web browser (firefox or chrome) with preloading v4l1 compatibility library:
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so firefox
flash starts to capture in 640x480. So it can be used as workaround before v4l2 support in flash will be fixed.

Similar Messages

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

  • Help with linux webcam support in an AIR application!

    Hello
    I am running the 32-bit edition of Ubuntu 10.04.
    I recently purchased an application through AIR - PartyBooth (www.partyboothapp.com)
    It is written in Adobe AIR, and is a simple program to operate a photobooth.  I have 3 different webcams:
    1) Logitech Webcam Pro 9000
    2) Logitech Quickcam Vision Pro
    3) Microsoft LifeCam Cinema
    All 3 of these cameras work in every linux webcam software (including skype). They are very well supported webcams in linux.
    They do work in the Partybooth application, however, the resolution is locked at 240x240 - which is way too low of a resolution to take nice pictures with. (Again, these cameras all work at full HD resolution in every other linux application that I have ever tried)

    Hi Jon,
    Thanks for bringing this to our attention, the AIR team is aware of this issue on Ubuntu. And we are looking into this.

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

  • Webcam snapshot in flash

    I'm mildly familiar with action script. I would like to take
    a snapshot from the local webcam and have a preview of the captured
    image on the stage, and then upload the captured image to a
    ColdFusion server to be saved as a jpg.
    After searching online I've found many examples but none of
    them work for me. At this time I can only show webcam on the stage.
    Could someone help? Thanks in advance!

    There is currently a problem (internal bug #2589240) where webcam resolution cannot be increased beyond 320x240 on linux.  We're hoping to address this in a future release.  Please feel free to ping me with status updates in the future either on this thread or at [email protected]
    Thanks,
    Chris
    Ps. This also effects AIR applications.

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

  • How to change video resolution in Flash CS5

    Hi, I've made a small app that captures and displays the camera feed. But the problem i'm having is that the app only displays a fraction of what the camera is showing (top left part of the corner), is there a way to shrink the resolution in Flash CS5 so that the app can show the full picture??
    Many thanks.

    I think I found the solution to my problem..... but dont know how to implement it correctly.
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/StageScal eMode.html#SHOW_ALL
    I believe I need to use the SHOW_ALL constant, but there isn't an example of how to do it
    Heres my code, it compiles without errors, but when I publish it as .exe I get the 'Error 1037: Package cannot be nested':
    package
              import flash.display.StageScaleMode
              import flash.media.Camera;
              import flash.media.Video;
              public class ScaleMode
                        public static const SHOW_ALL:String = StageScaleMode.SHOW_ALL;
                        var camera:Camera = Camera.getCamera();
                        if (camera != null) {
                                  videoTwo.attachCamera(camera);
                        } else {
                                  trace("You need a camera.");
              stop();
    Any ideas??

  • Capturing a webcam image in flash

    Hi,
    Can anyone tell me how can I capture a webcam photo in flash.
    I'm developing an interface that is going to be in a computer in a
    little shop. People will see thier image on the screen (made with
    flash) and take a picture of them and then print it.
    I don`t Know how to start!!!
    Thank you

    Hi there
    Please take a moment and report your findings as a bug. The more folks that do this, the more likely it will be that Adobe will address the issue or at least take it seriously.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Access the android device webcam through adobe flash

    Hi all,
    I'm trying to access the webcam from a flash application on my android  2.3.3 but I cannot do it, It seems like the flash player doesn't has  access to the hardware device.
    If I try from some websites that provides simple demo for face detection, I get the error that the webcam cannot be found...
    any idea?
    thanks

    As far as I'm aware, this will not be available in the next release of Flash Player (11) due in the next few weeks.  I'd recommend opening a new feature request for it over at bugbase.adobe.com.  I know we have this on our radar, but getting votes for a bug or feature request really helps to make a point.

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

  • Linux, Firefox 3.6, Flash plug-in 10.2.152.27, Facebook share photo abnormal

    I would like to use the share photo/video  function on my facebook, but it does not pop up a flash player adjustment window
    OS: Linux
    Flash plug-in version: 10.2.152.27 (Linux, RPM)
    Browser: Firefox 3.6
    Duplicate step:
    Login Facebook > share photo > take a photo with a webcam > it has not pop up a flash adjustment window
    Note:
    - My webcam device is work normal
    - The attachment is the current status in my linux OS

    Yep, looks that way to me, too. There's (right this second) '''147''' folks on this thread: ->https://support.mozilla.com/en-US/questions/789534 and
    '''504''' on this thread: ->https://support.mozilla.com/en-US/questions/776670?page=2#answer-143849, not counting our''' 7 '''on this one (my screen's white, too). There's indications that it's a Google/Adobe thing, or a Google/YouTube thing. (That one's after linking Goggle Acct with YouTube.
    And yes, it was still messed up in Safe Mode.
    My take on it is to removing/disallowing cookie setting on YouTube for now, till '''whoever '''finally gets it fixed.
    I hope they'll send a email telling all of us when it's fixed. Heaven knows they have our addresses...
    OOPS--and another '''93'''on this thread: ->https://support.mozilla.com/en-US/questions/789443 And '''117''' on this one:->https://support.mozilla.com/en-US/questions/789576

  • Webcam problem with flash player

    Hi,
    I am using flash v10.3.181.26 on a win7 machine with IE9, and trying to make it work with a virtual webcam (a directshow filter in the video capture category). I notice that the available formats are enumerated (I420 352x288 , RGB32 352x288 ) by flash player by making calls to the getstreamcaps function. Then it tries to make a connection using RGB32 320x240 by making a call to setformat. The structure it passes to that function has an inconsistent field (bytesize). I checked this by calculation, as well as trying other apps. Can you please verify this..? I can provide more details if required.
    PS.: Apologies In case this is not the correct forum to discuss this, please let me know
    Thanks

    In the GetStreamCaps function in my code, for the RGB32 format I had provided it the values filled in based on the default (RGB32 352x288). So, in the AM_MEDIA_TYPE structure, lSampleSize is 405504, and in BITMAPINFOHEADER, the biSizeImage is also the same. I also provided the min resolution as 320x240 and max as 352x288, with a granularity of 16x16.
    so, it decides to take 320x240 as the resolution and calls my code with SetFormat. In there, I noticed that the BITMAPINFOHEADER's biSizeImage filled is as expected (320*240*32/8), but the lSampleSize of the AM_MEDIA_TYPE is still the same as before (405504). If I store this format now and later give it back in GetFormat, then the flashplayer seems to get messed up (enumerating the media types again, and then calling checkfmediatype with null, and then finally failing in the buffer allocation step while trying to connect). The failure in the buffer allocation pointed me to some possible problem in the bytecount.
    If I correct the structure passed to me in the Setformat (i.e. I make both values as expected), then things go fine, the media type in checkmediatype is the same RGB32 320x240, and the buffer allocation succeeds, and the connection succeeds)...

  • Linux & webcam

    Hello,
    I've a Samsung Q45 with a build-in webcam. The cam is
    supported by the
    linux uvc webcam driver and is detected as follows:
    uvcvideo: Found UVC 1.00 device Vega USB 2.0 Camera.
    (0ac8:c302)
    usbcore: registered new interface driver uvcvideo
    USB Video Class driver (v0.1.0)
    It works applications like skype (v2.0.0.13, the linux beta
    with video support) or kopete but not in Adobe flash.
    In the webcam settings I see Vega USB 2.0 camera but no
    picture.
    The cam supports yuv grabbing only ... maybe this helps...
    any suggestions?
    thx,
    Florian

    The reason Flash Player 9.0.x on Linux shows a black preview
    window is because the Flash Player was written to support the Video
    4 Linux version 1 API (V4L or V4L1) that was obsoleted in December
    2006. The Video 4 Linux 2 (V4L2) API has been in the mainline
    kernel since November, 2002, with Linux 2.5.46.
    In the case of Flash Player 9.0.x for Linux there are several
    problems:
    1. Written for the obsolete V4L1 interface, not V4L2
    2. Falsely assumes (USB) web-cams can overlay into graphics
    memory
    3. Tries to do the preview window using overlay
    The black window is simply the background of the space
    reserved on-screen where Flash Player expects the camera to overlay
    incoming video. As no overlay occurs you continue to see the black
    background.
    V4L was designed for TV-capture cards and one of its IOCTL
    (Input/Output Control) functions was VIDEOCCAPTURE (Video Control
    Capture). If the device driver implemented this IOCTL it allowed
    the video to be written directly into video graphics frame buffer
    memory by the driver, and was mostly used by TV capture cards as
    the most efficient method of display. The alternative is to read
    into buffers and then write those to the video adapter like any
    other bitmap.
    In V4L2 there is the VIDIOC_OVERLAY IOCTL, which has a
    similar purpose. V4L2 provides a V4L1 compatibility layer and in TV
    cards it might make sense to implement VIDIOC_OVERLAY and a
    compatible VIDIOCCAPTURE that uses it for V4L1 devices.
    There is however another issue. In most cases USB webcam
    devices cannot access graphics frame buffer memory directly so both
    these IOCTLs are usually not implemented in webcam device drivers
    and should return -EINVALID to tell the application they are not
    implemented. This shouldn't cause the application to fail.
    Let's hope someone at Adobe pays attention to the Linux
    kernel Documentation for the next revision of the Player or else
    it'll be another missed opportunity leading to more frustrated
    users. Let's also hope they rework the code-base so they can build
    versions for 64-bit architectures too.

  • LINUX : Webcam mic non-functional on Toshiba Satellite T215D-S1150

    I've been trying to get the webcam mic on my Toshiba Satellite T215D-S1150 notebook/netbook to work in Linux Mint 9 Isadora KDE 64-bit to no avail. My model has a Realtek ALC269 audio chipset combined with an ATI southbridge ( ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40) ) using the "snd_hda_intel" kernel module. I've attempted using basically every combination of settings in "alsamixer" that makes sense. In addition to that, I've tried adding the "options snd-hda-intel model=" parameter in "/etc/modprobe.d/alsa-base.conf" starting with "basic" and trying every combination of "Input Source." I've also tried the "auto", "lenovo", "toshiba" and "3stack" models, but nothing works -- In each instance I get nothing when I try "arecord -t wav -f cd filename" and/or try-to-capture-sound/access-the-mic in eg. VLC Media Player or Skype where in the case of VLC I've tried "Open Capture Device..." where I've tried every possible audio device node with "Audio device name" and in the case of Skype I've tried "Skype Test Call."
    My ALSA system information for the default model and the model "basic" respectively can be accessed here :
    http://www.alsa-project.org/db/?f=5a7e986d7cad81213d2ef64f02ae478c7994c4d7
    http://www.alsa-project.org/db/?f=f334a100b0c173875d838e57e42e7c23d98da8b7
    Currently I'm at a loss as to what the problem is or what further action to take.
    I'd be grateful for any assistance.
    Thanks,
    jdb2

    Most of the webcams support what is called 'UVCVideo' which is a generic video device; the generic video driver in the Linux kernel is able to support the webcam. Some manufacturers may put legacy cameras which requires a few extra steps from the customer's side.
    Regarding the mic not working; audio/sound support is handled by the Linux kernel and the ALSA subsystem, http://www.alsa-project.org/ New audio hardware come with small variations which require equally small adaptations in ALSA. The laptop manufacturers tend not to help with this small information and it is up to the customers to inform the ALSA project.
    For both devices, try out the latest version of Linux (such as the Ubuntu 10.04 distribution) in case these have been resolved from the work of other customers.
    For the webcam, run the command 'lsusb' in a terminal window in order to identify the exact identification details. From those details it is possible to decide what to do next.
    For the mic issue, if it is not resolved in Ubuntu 10.04, there is a process to extract the full hardware details of the sound card and use those details to help solve the problem.
    You would need to execute the command
    wget -O alsa-info.sh http://alsa-project.org/alsa-info.sh && bash ./alsa-info.sh
    and then post the resulting file to a forum to help you. This forum does not support attachments, so when you are prompted above to send the details to www.alsa-info.org, select Yes and post here the URL with those details.

  • 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