FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 496 : Video Capture settings() mangles external iSight image
Last modified: 2008-04-16 10:11
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
INVALID -
Pr
i
ority:
P4
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
pjp
Assigned To:
fry
Attachment
Type
Created
Size
Actions
Description
: Opened: 2007-01-22 17:25
I am running Processing 0123 on a MacBook Pro, with QuickTime 7.1.3.
When I use the built-in iSight camera, Capture settings() works as expected. When I use an
external iSight, calling settings() causes the top right corner of the original image to fill the
drawing window.
The proportion of the original image that is displayed changes with the cameraHeight.
If I press "Cancel" in the settings dialog, with either the built-in or external cameras, the
drawn image freezes at the original size.
No error messages are displayed.
Below is some simple code that exhibits the problem.
----------
import processing.video.*;
Capture camera;
int cameraHeight = 480;
int cameraWidth = cameraHeight*4/3;
void setup()
{
size(cameraWidth,cameraHeight);
camera = new Capture(this,cameraWidth,cameraHeight,30);
}
void captureEvent(Capture camera)
{
camera.read();
image(camera,0,0);
}
void draw()
{
}
void keyPressed()
{
camera.settings();
}
Additional Comment
#1 From fry 2007-01-29 19:17
might just be a quicktime bug but i'll add it to the list to look into it.
Additional Comment
#2 From drewnoakes 2008-04-12 16:54
I just tried the sample code with processing 0135 and quicktime 7.4.1
without any trouble. it seems fine now.
Additional Comment
#3 From fry 2008-04-16 10:11
k, we'll just chalk it up as a qtjava problem.