RE: BTTV read problems

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



thank you, am using the 0.7.72 (Redhat 7.2 comes with that by default), so
will look at using mmap to do transfers instead of read().

Incidently, looking at the documentation, I can do VIDIOCMCAPTURE(0) then
later VIDIOSYNC(0), but the SYNC waits until the capture of the frame is
finished.  Is there a supported way to query whether the capture of the
frame is finished, and return immedietly if it isn't?

Thanks very much for the info on the read() call, you are right, my Creative
Labs USB Webcam seems to support read() fine but will add the mmap calls now
(if I cna work out how to anyway!)

Thanks again
Michael Spall
ECM Systems

> -----Original Message-----
> From: Gerd Knorr [mailto:kraxel@xxxxxxxxxxx]
> Sent: 17 December 2002 20:43
> To: video4linux-list@xxxxxxxxxx
> Subject: Re: BTTV read problems
> 
> 
> Billy Biggs <vektor@xxxxxxxxxxxx> writes:
> 
> > > Which driver version?  The 0.7.x versions simply do not 
> support capture
> > > using the read() system call.
> > 
> >   Should probably mention that these are the ones in the 2.4 kernel
> > (right?).
> 
> Yes.  bttv prints the version number to the log at insmod time, should
> easy to figure which version you are using.
> 
> > So far we're unable to support read()-only supporting cards
> > in tvtime since I have nothing to test against.  :)
> > 
> >   Is it supported in later versions?
> 
> 0.8.x and 0.9.x versions can handle read().  bttv 0.8.x even has a
> insmod option to disable mmap() for testing purposes.
> 
> IIRC also some usb webcam drivers support capture using read().
> 
>   Gerd
> 
> -- 
> Weil die spten Diskussionen nicht mal mehr den Rotwein lohnen.
> 				-- Wacholder in "Melanie"
> 
> 
> 
> --
> video4linux-list mailing list
> Unsubscribe 
mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
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