I am trying to capture video, as simple as that, using GSVideo. For some reason y opens a window with a black background and never read video. I am working on a toshiba satellite A505 which apparently has issues described as:
1.0 - Background Information
Basically, the crummy BIOS built into the A505's motherboard messes up the DSDT frames and causes Linux (but apparently not Windows 7 ) to go crazy. Various things are broken including graphics, USB (!) support, internal webcam, and ACPI (!) support (aka no power management).
To get around this, a kernel patch was created that forces the kernel to reproduce each DSDT frame to avoid errors. Unfortunately, this patch did not make it into the stock Lucid kernel, so those affected are left with two options: install a newer kernel or recompile the old one with the patch included.
The internal webcam works with every other application such as skype, cheese, luvcview and others, but it just doesnt work with GSVideo on this specific computer. It works on a little acer I have but the processor is simply too slow to do what I need to do. Can anyone orient me as to what to do? It is a shame that I have to waste such power of this laptop my i7 is exactly what I need, but I cant capture the video.
Here is an example of what happens when I try to read video with luvcview
$ luvcview -d /dev/video1
luvcview 0.2.6
SDL information:
Video driver: x11
A window manager is available
Device information:
Device path: /dev/video1
Stream settings:
Frame format: MJPG
Frame size: 640x480
Frame rate: 30 fps
libv4l2: error turning on stream: No space left on device
Unable to start capture: No space left on device
Error grabbing
Cleanup done. Exiting ...
my processing code is the following.
import codeanticode.gsvideo.*;
GSCapture video;
void setup() { size(320,240); video = new GSCapture(this,320,240,"/dev/video1",30); }
void draw() { video.read(); image(video,0,0); }
Very simple isnt it? it works on other pcs but for some reason the image overlaps or lags, but I believe it to be the processor fault. I just would really like to be able to work on my toshiba.
I bought a camera just to try out different models and I bought a simple genius facecam 315, this is the one on /dev/video1. but the same thin with the black screen happens if I use /dev/video0