RE: What am I doing wrong? IBMCAM not found

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



Tried xawtv, that didn't make it either.

I am a little lost.

s

[root@ip21 root]# xawtv
This is xawtv-3.54, running on Linux/i586 (2.4.7-10)
Warning: Cannot allocate colormap entry for "lightgray"
switching visual (0x2e)
/dev/video0 [v4l]: no overlay support
v4l-conf had some trouble, trying to continue anyway
ioctl: VIDIOCMCAPTURE(0,fmt=7,size=8x4): Invalid argument
ioctl: VIDIOCMCAPTURE(0,fmt=15,size=8x4): Invalid argument
ioctl: VIDIOCMCAPTURE(0,fmt=1,size=8x4): Invalid argument
ioctl: VIDIOCMCAPTURE(0,fmt=6,size=8x4): Invalid argument
ioctl: VIDIOCMCAPTURE(0,fmt=13,size=8x4): Invalid argument
no way to get: 384x288 8 bit StaticGray




-----Original Message-----
From: Steven Brunasso [mailto:sbrunasso@xxxxxxxx] 
Sent: Monday, December 10, 2001 16:59
To: 'video4linux-list@xxxxxxxxxx'
Subject: RE:  What am I doing wrong? IBMCAM not found


Hmm,

Well the output is just 

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
For 230400 bytes.  

Is this an image..?? I'll have to try to translate it.

s

-----Original Message-----
From: Dmitri [mailto:dmitri@xxxxxxxxxxxxxxxxxxxxx] 
Sent: Monday, December 10, 2001 16:47
To: video4linux-list@xxxxxxxxxx
Cc: Steven Brunasso
Subject: Re:  What am I doing wrong? IBMCAM not found


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



_______________________________________________
Video4linux-list mailing list
Video4linux-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/video4linux-list





[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