Video & interlace sync problems: bttv 0.9.11

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



I am trying to get vid capture working with V4L2 on a 2.6.0-test5 kernel.

My program gets this back from the VIDIOC_G_CAPS ioctl:
Driver: bttv
Card: BT878(Osprey 100/150 (878))
Bus: PCI:0000:05:01.0
Version: 0.9.11

Then I get image data with either read or streaming io (mmap'ed) and save
it to pgm to look at.  There seem to be vertical sync problems and
interlace sync problems, meaning that the fields are misaligned vertically
by 20 lines or so, and there is a black bar and the top of (presumably)
the next frame at the bottom of the image.

image and source code at:
http://www.rit.edu/~ddm8863/v4l2.html

Note that the makefile specifies the kernel source tree for includes, and
I had to use the trick of #define _LINUX_TIME_H 1 to resolve duplicate
definitions, etc.

I have also tried using mplayer to test the output of the camera, and I
get a nice quality signal, except for the same black bar, but there is no
interlace problem and the image is upside down.  Go figure.

      --Dave Merillat
          dave@xxxxxxxxxxxx




[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