Re: Force NVrec to use V4L2

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



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






[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