Web camera video quality in Flex

Hi, I have a flex app which turns on a web camera and shows
the video from the camera. The problem is that the video resolution
is a bit choppy or pixilated. I know it’s not because of the
quality of the webcam since the video is very clear on other
players. Anyone have an idea how to make the resolution clearer?
Here is a test app you can try yourself.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
creationComplete="initApplication()" fontFamily="Arial" width="925"
height="1100" layout="horizontal"
verticalAlign="middle">
<mx:Canvas id="videoContainer" width="330" height="250"
borderStyle="solid" borderColor="#000000" cornerRadius="10"
borderThickness="5" x="-167" y="42">
</mx:Canvas>
<mx:Script>
<![CDATA[
import mx.core.UIComponent;
public var camera : Camera ;
public var video : Video;
public var currentShot : BitmapData = new
BitmapData(320,240); // video.width,video.height);
public var matrix : Matrix = new Matrix();
public var mybitmapdata : BitmapData = new
BitmapData(320,240); // (video.width,video.height);
public var mybitmap : Bitmap ;
public var uploadbmd:BitmapData ;
public var flag:Boolean = true;
public var loader: URLLoader = new URLLoader();
public function initApplication()
camera = Camera.getCamera();
video = new Video(camera.width*2, camera.height*2);
video.attachCamera(camera);
mybitmap = new Bitmap(mybitmapdata);
var ref : UIComponent = new UIComponent();
setInterval(snapShot, 100);
public function snapShot() : void
currentShot.draw(video, matrix);
mybitmapdata = currentShot.clone();
mybitmap = new Bitmap(mybitmapdata);
var ref : UIComponent = new UIComponent();
ref.addChild( mybitmap );
videoContainer.addChild( ref );
]]>
</mx:Script>
</mx:Application>

Hi John
Sorry i don't have the answer, but i'm interested in your question because i have the same kind of issue when i import in iMovie 08, 09 and iMovie HD from my Sony SR10 AVCDH camera.
I just can say that when i export directly from iMovie to iDVD the quality is bad; this seems to be a well known problem and it is recommended to export video using the Quicktime with H264. With that method, i can obtain good quality in the STATIC images, but during the panoramic movements of the camera the final result (i mean a DVD on my cathodic TV) is disappointing, with a "jerky" rendering.
You can download on my iDisk an exemple of it at: http://public.me.com/leclercqpascal
When i compare with the same sequence treated on the PC Sony's software, i find in the latter case a perfectly smooth result.
The problem is the same when i import from the camera to FCE.
Help welcome, because i would be disappointed to resort to a PC software!

Similar Messages

  • Satellite S70-A-11H web camera image quality is not good

    Hi,
    Running windows 8.1 which came with the laptop.
    New out of the box.
    As per title.
    I find the image quality of the camera image to be very grainy, poor color etc.
    When I start the web camera using the search bar on the right, it starts using the Microsoft application, when you scroll down to settings all that is available under settings/options is Photo aspect ratio, Grid lines, Location info.
    I have been in touch with Toshiba Tech support who advised to do a Laptop refresh, which I did.
    This made no difference.
    After which they asked me to find the Toshiba web camera application on the laptop, this should have been in the Program Files folder in the Toshiba folder.
    This application does not exist on my laptop.
    The tech checked the same model laptop that he had available, which I was told when he selected the web camera, it opened using the Toshiba Web camera application, not Microsoft.
    I have looked at other Toshiba laptops with web cameras, and found the image quality to be better. Unable to get to settings as these laptops were on display and in demo mode, hence locked down to some extent.
    I can't believe that a web camera in this day and age for this value of laptop to have such poor image quality. My digital camera from 10year ago has better image quality.
    I have checked through the laptop, and I do not have this application installed.
    I have checked for updated drivers and software for my laptop, and cannot find this application to be applicable for my laptop. Drivers etc appear to be up to date.
    I would like to know, do other users of this S series have any issue of camera image quality.
    When the camera is selected what application is being used, Toshiba or Microsoft.
    Is Toshiba web camera application applicable to Windows 8.1, as I cannot see it listed for 8.1
    Does this sound like a hardware fault or a application/software issue.
    Any direction or help on this matter would be appreciated, as I am getting to the point of returning this laptop for a refund.
    Thanks in advance.
    D.
    Yes, I have tried using the FORCE!

    > The tech checked the same model laptop that he had available, which I was told when he selected the web camera, it opened using the Toshiba Web camera application, not Microsoft.
    The Toshiba webcam application is available for Win 7 system but the Win 8 and Windows 8.1 system use the own Microsoft webcam application.
    > I have looked at other Toshiba laptops with web cameras, and found the image quality to be better.
    Different Toshiba notebooks are equipped with different webcams.
    Satellite S70-A-11H was equipped with a *0.92 mega pixel webcam*
    A Satellite A660 for example was equipped with an _1.3M mega pixel webcam_
    So there is a difference in webcam resolution

  • Web Cam - Video Recordings??

    Can the Logitech HD Pro Webcam C910 be used to make prolonged (4 hours +) video/audio recordings directly to the HD and then copied
    onto a CD or DVD?
    We want to be able to record our pets overnight while we are sleeping - so instead, of using a digital camera (not enough memory for this).
    we are figuring using our Mac for the video storage might work.

    It's a function of the compression used and I don't know what that is for quicktime.  But a google search of "disk space requirments for video recording" turned up a bunch of hits, one of which was this,
    Video Camera Disk Storage Space Calculator
    I would suggest you try doing a sample recording for set amount of time to get an estimated of how much disk space is required.  Maybe do it a few times to get an average.

  • Safari 6.0 No Longer Displays Linksys Web Cam Video

    I have been using a Linksys WVC54GCA for serveral years.  I view the camera setup and video on my browser.  With the new Safari 6.0 in Mountain Lion, I can no longer display video from my Linksys Cam.  It works fine in Firefox and on my iPhone/iPad.  Has anyone else seen a problem displaying video on Safari?

    I have a similar problem with an EasyN IP camera.  Worked perfectly under Lion / Safari 5.  With Mountain Lion and Safari 6 I get about 2-3 seconds of video before the video stops.  As mentioned in one of the replies above, it seems Safari is doing something weird with it handling of the cgi script for the video feed served up by the IP camera.  I haven't found any error messages so tracking down the root cause is proving elusive.
    There's another thread discussing this issue here: https://discussions.apple.com/message/19087481

  • Video Recording in Flex

    Hey everyone,
    I am creating a Web Camera video recorder which can record video streams from a webcam and store it locally on the harddisk as a FLV file.
    I got a piece of code from the web for capturing video streams and storing them. The code works perfectly fine but the size of FLV file created is unacceptable. It generally creates a file of 20-25MB for a video of just 10 seconds. I am using a 2 MP camera.
    I have tried reducing the FPS and Video Size but still there is not a much recognizable change in the file size.
    I don't know how do I go about it.
    Will it be helpful if I try to reduce the quality of the bitmap image of every frame???...if so then how should I go about it because there are no such techniques available on web...

    For that you will have to use streaming server.
    Refer the following link's, that will be helpful to you for creating Video Recording application using actionscript:
    http://www.adobe.com/devnet/flashmediaserver/articles/beginner_live_fms3.html
    http://www.adobe.com/devnet/flashmediaserver/articles/beginner_vod_fm3.html

  • Web Cam NB205 325BN

    I installed both Skype and Windows Live Messenger.  I ran the audio and video tests on both and the audio was fine on both programs.  Theproblem is the Video.  All I have is a Blue Screen with bubbles on it.  When I clicked on the video test the small blue light did wotk but no video.
    Any help would be appreciated.
    Thanks

    Sounds like you somehow have activated the web camera Effects - Screen Cover image option. Open the Toshiba  Web Camera Application, then select Effect, then select the Screen Cover tab, and then select the Off option, and then click OK to save the setting change. Once done, The blue bubble image that is shown in the live web cam video window should go away and you should now have live web cam video. If you get a picture frame around the live video then check the Picture Frame tab and ensure it's set to Off.

  • Does the older external iSight Web Cam produce better quality video than the built-in iSight in current computers or is it about the same?

    I am starting to do video blogging more and have built in iSight on my MacBook and MacBook Pro.  I also have the old iSight external web cam that was made prior to them being built into the computers.  I never used the external camera because when I bought it, web cam's weren't popular and I couldn't get anyone else to learn to use one to skype with me, plus back then... I had no idea nor no use for video blogging.  Before I pull it out and try to learn how to use it, I was just wondering if anyone else has used it and whether the quality from the external camera is significantly better than the built in cameras - enough to warrant using it rather than the built in.
    Thanks for any suggestions!

    Notebooks
    http://www.apple.com/support/isight
    http://en.wikipedia.org/wiki/ISight
    http://reviews.cnet.com/webcams/apple-isight/4505-6502_7-31297839.html

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

  • Change the video resolution when capturing a WEB-cameras

    Language: Java
    It is used in addition: JMF
    When capturing video from WEB-cameras with JMF - getting the video is at the lowest resolution.
    Can you please tell how to change the video resolution?
    The code by which the captured image (no SWING-forms):
    MediaLocator getWebCam = new MediaLocator("vfw://0");
    private Player player;
    Timer timer = new Timer(40, this);
    public BufferedImage grabFrameImage() {
    Image image = null;
    FrameGrabbingControl frameGrabbingControl = null;
    if (player != null)
    frameGrabbingControl = (FrameGrabbingControl) player.getControl("javax.media.control.FrameGrabbingControl");
    Buffer buffer = frameGrabbingControl.grabFrame();
    if (buffer != null)
    image = new BufferToImage((VideoFormat) buffer.getFormat()).createImage(buffer);
    if (image != null)
    return (BufferedImage) image;
    return null;
    public WorkWithWebCam() throws NoDataSourceException, IOException, NoPlayerException {
    initComponents();
    player = Manager.createPlayer(Manager.createDataSource(getWebCam));
    player.start();
    private void jButton1ActionPerformed(ActionEvent e) {
    timer.start();
    public static void main(String args[]) {
    EventQueue.invokeLater(new Runnable() {
    public void run() {
    try{
    new WorkWithWebCam().setVisible(true);
    }catch(Exception ex){}
    public void actionPerformed(ActionEvent e) {
    panelMain.getGraphics().drawImage(this.grabFrameImage(), 0, 0, 400, 300, null);
    P.S. Can you please tell how this forum can be identified code \ listing?

    Hello,
    I don't know if there is a way to change the video. But I think you can easily use your own videos by using a local .mpg or .3gp file via InputStream. Just change the player's parameters in video/mpg instead of capture://video.
    Hope it helps...
    Torsten

  • 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

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

  • I am having trouble with a video program not connecting to my web cam. My computer is a 64 bit

    I am using My Video Talk suite to make videos. I have used it before with this computer and it worked fine. My computer is a 64 bit. I recently downloaded the newest version of Firefox and now my video suite does not recognize my web cam and I cannot produce any videos. My Video Talk works in 32 bit I believe.
    Do you have any answers to my problem?

    Could the video be too big because of using too high a resolution?   480p is sufficient for a DVD.  the thread at:
    https://discussions.apple.com/thread/5868958?tstart=30
    may be of help.
    Apple does not support Blue ray - you have to use a thrid party application like Toast.
    To transfer the video to a PC you need a FAT-formatted hard drive (or of course a sufficiently big memory stick).
    You could also go via a network, via the cloud (eg Dropbox) or with 'Wetransfer" or similar.
    Geoff.

  • How to display video from UDP web camera

    hi
    Im interfacing to a Sony IPELA video camera that has a built in http web server.  i can send individual HTTP commands to authenticate, to retrieve still jpeg images from the camera and to control tilt pan zoom.  but when i initiate video, there is nothing, the bits fall onto the floor.
    As a result of searching it seems that software related to web cam applications is needed.  I thought how about Labview? is there a way to make an object that will consume an RTP video stream? it can be H.264 or mjpeg or mpeg4
    thanks so much

    hi
    Sony has some boilderplate/example code that runs in visual studio, your Sony rep for this camera should be able to send you the latest.  i might be able to find the older stuff but its old
    you setup the solution file in VS and it lets you get video and set parameters from your program.  i suppose that a connection between labview and this could be made such that the .vi controls the Win32 directly, so it doesnt have to know about the Sony camera it just interfaces to the .dll  but how to get the stream object and the video in the .vi ?  would take time to figure out
    also what we did was go with http://www.intuvisiontech.com/products/panoptes.php  and now that i think about it, there is a free video software app to get the stream data but they mention it in their website, the icon has a picture of a cone?  like construction zone warning cone
    anyway these folks are very helpful
    hth

  • Need to connect a web cam and external mike to my McBook Pro running snow leopard for a Skype session with another school. Attached an HP webcam (USB) and can't get video. Any suggestions?

    Need to connect a web cam and external mike to my McBook Pro running snow leopard for a Skype session with another school. Attached an HP webcam (USB) and can't get video. Any suggestions?

    -->Click HERE<--  Does item "B" (Turn video on/off) in the last topic on the page help?
    You control the camera for Skype from within Skype, so  Skype must be running to running to make video work.
    Message was edited by: EZ Jim
    Mac OSX 10.7.4

  • What quality loss is there when cam videos are compressed sent over email?

    What quality loss is there when sending videos taken with the iPhone 3GS over email? It seems that it's being compressed in preparation for being sent over email.

    Hi Ric,
    The Canopus ADVC-100 works fine with FCE. Here are a few tips -
    First, make sure you only connect or disconnect it from your Mac when both your Mac and the ADVC-100 are turned off. Make sure that your camera video-out is connected to the s-video port on the front of the ADVC-100. Ditto for the audio connections. Only DIP switch 2 (IRE level) should be in the ON position. Connect a FW cable from your Mac to the 6-pin FW port on the back of the ADVC-100.
    Second, once they are connected via FW, make sure the ADVC is turned on and actually in analog-in mode before you start FCE. I have often found the ADVC-100 resets this mode by itself after being turned off or idle for an extended time. (All you need to do is hit the silver button once or twice, depending on the current mode, in order to switch it into Analog-in mode.) If it is not in this mode, FCE will not detect the ADVC and will act as if there is no device connected. (Normally there is a warning message if FCE fails to find a camera or ADVC connected however if you turned off that message at some earlier time you would not see it again.)
    Third, you can use either the DV-NTSC or DV Converter easy setup in FCE. I have used both with my ADVC-100 and they both work.

Maybe you are looking for

  • Release Stratergey of PO

    Dear Experts, I make the Release Stratergy for PO but how can I give the authorization for seperate user means two seperte user Id should be release the Po. RCR

  • Why is my battery draining so quickly after updating to Mavericks?

    Why is my battery draining so quickly after updating to Mavericks?

  • Boot Camp Update Server

    I asked this question beforem but didn't receive an answer. Anyway I am still tring and get the same message. I have been trying to install windows 7 on my macbook pro. I have a clean install of mavericks on it. When I try to use bootcamp it gives me

  • I have duplicates appointments in my ical on my iphone.

    when i synced my iphone 4 it put duplicates in my ical on my phone. what's up. HELP!

  • Outlook 2010 Hangs at Loading Profile

    We just updated our network with all Server 2008 R2 servers, Exchange 2010, and Office 2010 Pro. We have isntalled Office 2010 on all machines and all has been working fine for the last 2 weeks. Over the last 3 days, we now are having some problems w