Skip to contentSkip to conversation

About xawtv

DISCUSSION niamathullah sharief 1 participant 1 message Jan 10, 2009 1 message not in the archive Media (V4L/DVB)

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

No i am using "creative" webcam...dont know the exact model...bit it is connected only with usb port.... --- On Sat, 10/1/09, Michael Williamson <[email protected]> wrote:
From: Michael Williamson <[email protected]>
Subject: Re: About xawtv
To: [email protected]
Date: Saturday, 10 January, 2009, 12:51 AM

Quoted 3 lines · niamathullah sharief

From: niamathullah sharief <[email protected]>
Subject: Re: About xawtv
To: [email protected], "video4linux list"

<[email protected]>

Quoted 4 lines

Date: Friday, January 9, 2009, 11:04 AM
Hi michael i am getting this error when i run that command which you gave to me..

Quoted 8 lines

sharief@sharief-desktop:~/Desktop/video drivers$ gcc vgrab5.c -Wall -o vgrab5 sharief@sharief-desktop:~/Desktop/video drivers$ ./vgrab5 /dev/video0 > t.pgm
ioctl (VIDIOC_S_FMT) failed, 22
VIDIOC_S_FMT: Invalid argument

  what is the error?what to do?

What kind of camera are you using? Does it connect to a USB port, or to a coaxial style connector? If it is a coaxial (RCA) video connector, then try changing the width and height to this:

   vf.fmt.pix.width = 640;
   vf.fmt.pix.height = 480;

-Mike

Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list