osprey-100 svideo only b&w

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



I'm trying to capture color images from the Osprey-100 card and a color
camera using the latest bttv driver
this card has 4 inputs - 3composite and 1svhs

>From the svhs input I can only capture b&w images, while from 2
composite ones I can grab color pictures, using the following codelines:

ioctl(fd, VIDIOCGMBUF, &buffer);
map0.width   = WIDTH_L;
map0.height       = HEIGHT_L;
map0.frame        = 0;
map0.format       = VIDEO_PALETTE_RGB24;
map = mmap(0, buffer.size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0);
chan.channel    = 0;
ioctl(fd, VIDIOCSCHAN, &chan);
ioctl(fd, VIDIOCMCAPTURE, &map0);
ioctl(fd, VIDIOCSYNC,     &map0.frame);
munmap(map, buffer.size);

When
chan.norm       = VIDEO_MODE_AUTO;
I don't get color on the composite inputs too.

I used xawtv for testing : only composite inputs 2/3 in color , s-vhs is
b&w.

xawtv doesn't recognize the first composite input - from this one I can
only grab a b&w image with the above code
television is composite input 2
composite1 is c input 3
s-video and composite3 are the same svhs input

modprobe bttv
Linux video capture interface: v1.00
i2c-core.o: i2c core module
i2c-algo-bit.o: i2c bit algorithm module
bttv: driver version 0.7.65 loaded
bttv: using 2 buffers with 2080k (4160k total) for capture
bttv: Host bridge needs ETBF enabled.
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 00:0e.0, irq: 9, latency: 66, memory:
0xfffae000
bttv0: subsystem: 0070:ffffff00  =>  Osprey-100  =>  card=10
bttv0: model: BT878(Hauppauge new (bt878)) [autodetected]
bttv0: enabling ETBF (430FX/VP3 compatibilty)
bttv0: Hauppauge msp34xx: reset line init
i2c-core.o: adapter bt848 #0 registered as adapter 0.
bttv0: Hauppauge eeprom: model=64405, tuner=Unspecified (4), radio=no
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found

xawtv -debug 2
This is xawtv-3.46, running on Linux/i586 (2.2.19)
visual: id=0x20 class=4 (TrueColor), depth=16
...
v4l: open: /dev/video (BT878(Hauppauge new (bt878)))
  capabilities:  capture tuner overlay clipping frameram scales
  size    : 32x32 => 924x576
  channels: 4
ioctl: VIDIOCGCHAN(0,Television,flags=0x3,type=1,norm=0): ok
    Television: 1 tuner audio  tv
ioctl: VIDIOCGCHAN(1,Composite1,flags=0x2,type=2,norm=0): ok
    Composite1: 0 audio  camera
ioctl: VIDIOCGCHAN(2,S-Video,flags=0x2,type=2,norm=0): ok
    S-Video: 0 audio  camera
ioctl: VIDIOCGCHAN(3,Composite3,flags=0x2,type=2,norm=0): ok
    Composite3: 0 audio  camera
...
v4l: bttv version 0.7.65
...
ioctl: VIDIOCGMBUF(size=4259840,frames=2): ok
  mbuf: size=4259840 frames=2
  v4l: using mapped buffers for capture



[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