On Sun, 9 Dec 2001, Justin Schoeman wrote:

> Canek Peláez Valdés wrote:
> 
> > using "v4l2=1" when loading bttv. NVrec says:
> > 
> > [canek@mediana canek]$ QTrec -v /dev/video0 -o movie.mov 
> > Starting NVrec.c, version 20011208 (NVrec-20011208).
> > Error opening "/etc/NVrec.conf"
> > Error opening "/home/canek/.NVrec.conf"
> > v4lgen core init - Device /dev/video0
> > v4l2 core init - Size: 384x288 from /dev/video0
> > v4l2 core init - trying format YUV420
> > v4l2 core init - could not request parameters: Invalid argument
> > v4l1 core init - Size: 384x288 from /dev/video0
> > v4l1 core init - could not get enough buffers - using copy mode
> > v4l1 core init - got 8 buffers
> > v4l1 core init - emulating 60 buffers
> > v4l1 core init - trying video format YUV420
> > v4lgen core init - got capable v4l1 device: BT878([many vendors] CPH05X/0).
> > 
> > Any way to force it to use V4L2?
> 
> No - it seems the v4l2 driver does not support the complete v4l2 
> interface.  Without this information, NVrec cannot initialise the v4l2 
> driver, and must fall back to v4l1.
> 
> I believe a patch to implement the missing functions has been submitted 
> to Gerd, and will hopefully be included soon.

Hi Justin,

This problem can be easily fixed in NVrec - Gerd's 0.8 bttv requires that
you open the /dev/video O_RDWR and do the mmap with
PROT_READ|PROT_WRITE.  Those two changes and NVrec with work with 0.8.

Do you want a patch?

Steve




_______________________________________________
Video4linux-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/video4linux-list

Reply via email to