Re: What am I doing wrong? IBMCAM not found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Quoting Steven Brunasso <sbrunasso@xxxxxxxx>:

> Does anyone have a quick program for ibmcam to save file to disk perhaps?

cat < /dev/video0 > file.dat

The file will contain BGR24 frames, *with no separators* between them. You
must know your image size to decode it properly. But it will work. You can
use raw2ppm or something for that.

You should see lots of data sent from the driver (megabytes) until you ^C
the process (or cat stops on its own, being unable to deal with EOF
event).

The log that you provided is correct.

I see that only one open() was done, and no data was sent to userspace.

> [root@ip21 videox]# date    
> Mon Dec 10 16:17:53 PST 2001
> [root@ip21 videox]# ./vctrl /dev/video0 320x240x24
> getting video format: Invalid argument

Nothing in the log about this. Maybe videodev rejected the ioctl?
ibmcam would have logged the error.

Did you try `xawtv -remote -c /dev/video0` ? I don't remember any more :-(

The ibmcam driver offers only BGR24 format, and can deal with image sizes
below certain maximum (defined by the camera hardware). Your setting is
correct, apparently.

Dmitri

-- 
Yesterday upon the stair, I saw a man who wasn't there.
He wasn't there again today; I think he's from the CIA. 
 - David Rodenhiser

Attachment: pgptp464EjvGL.pgp
Description: PGP signature


[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux