Skip to contentSkip to conversation

About xawtv

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

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Thanks williams...but now too i am getting the anither error....sharief@sharief-desktop:~/Desktop/video drivers$ gcc vgrab.c -Wall -o vgrab sharief@sharief-desktop:~/Desktop/video drivers$ ./vgrab > picture.pgm
open video failed: No such file or directory
sharief@sharief-desktop:~/Desktop/video drivers$

please help williams...no one here to help...--- On Sun, 11/1/09, Michael Williamson <[email protected]> wrote:
From: Michael Williamson <[email protected]>
Subject: Re: About xawtv
To: [email protected]
Date: Sunday, 11 January, 2009, 2:16 AM

Quoted 3 lines · niamathullah sharief

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

<[email protected]>

Quoted 38 lines

Date: Friday, January 9, 2009, 8:54 PM
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

--- On Fri, 1/9/09, niamathullah sharief

Quoted 1 line · <[email protected]> wrote:

From: niamathullah sharief

<[email protected]>

Quoted 2 lines

Subject: Re: About xawtv
To: [email protected], "video4linux

list"
<[email protected]>

Quoted 2 lines

Date: Friday, January 9, 2009, 11:04 AM
Hi michael i am getting this error when i run that

command

Quoted 5 lines

which you gave to me..

sharief@sharief-desktop:~/Desktop/video drivers$ gcc vgrab5.c -Wall -o vgrab5 sharief@sharief-desktop:~/Desktop/video drivers$

./vgrab5

Quoted 5 lines

/dev/video0 > t.pgm
ioctl (VIDIOC_S_FMT) failed, 22
VIDIOC_S_FMT: Invalid argument

  what is the error?what to do?

Quoted 8 lines

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;

Hi,

I have only used V4L with USB webcams successfully. The other programs I sent use the V4L2 API. Try the attached program. It should compile with

   # gcc vgrab.c -Wall -o vgrab

and run with

   # ./vgrab > picture.pgm

and display with

   # display picture.pgm

-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