Hello,
I have a Hauppauge WinTV card, I run the bttv driver on a 2.4.20 kernel.
Modules insert smoothly, /var/log/messages shows comforting messages.
Things seem fine.
When I run Xawtv and set TV norm to PAL-M, I see a fairly normal TV image.
However, colors are all messed up. It's close to black and white, but skin
color is blue-ish: people generally don't look healthy. Things don't look good.
If I crank up the color, things, indeed, get a color (yellow-ish and blue-ish
mainly), but overall it's a pretty ugly world that I'm looking at.
I suspect this has to do with image format problems. Xawtv seems to be using
YUV 4:2:2 but maybe it gets handed images in a different format? Anyway, I
don't really know what I'm talking about.
Anyone an idea?
Thanks,
Thomer
This is xawtv-3.81, running on Linux/i686 (2.4.20)
visual: id=0x23 class=4 (TrueColor), depth=24
visual: id=0x24 class=4 (TrueColor), depth=24
visual: id=0x25 class=5 (DirectColor), depth=24
visual: id=0x26 class=5 (DirectColor), depth=24
x11: color depth: 24 bits, 3 bytes - pixmap: 4 bytes
x11: color masks: red=0x00ff0000 green=0x0000ff00 blue=0x000000ff
x11: server byte order: little endian
x11: client byte order: little endian
main: dga extention...
main: xinerama extention...
main: xvideo extention [video]...
Xvideo: 1 adaptors available.
Xvideo: ATI Radeon Video Overlay: input image, ports 55-55
Xvideo: no usable video port found
main: xvideo extention [image]...
image format list for port 55
0x32595559 (YUY2) packed [ok: 16 bit YUV 4:2:2 (packed)]
0x59565955 (UYVY) packed
0x32315659 (YV12) planar
0x30323449 (I420) planar [ok: 12 bit YUV 4:2:0 (planar)]
main: init main window...
main: install signal handlers...
main thread [pid=807]
main: open grabber device...
x11: remote display (overlay disabled)
vid-open: trying: v4l2-old...
vid-open: failed: v4l2-old
vid-open: trying: v4l2...
vid-open: failed: v4l2
vid-open: trying: v4l...
v4l: open: /dev/video0 (BT878(Hauppauge (bt878)))
capabilities: capture tuner overlay clipping frameram scales
size : 48x32 => 924x576
channels: 4
Television: 1 tuner audio tv
Composite1: 0 audio camera
S-Video: 0 audio camera
Composite3: 0 audio camera
audios : 1
4 (TV): muted=no
tuner : Television 0-4294967295 PAL NTSC SECAM
v4l: bttv version 0.7.102
fbuffer : base=0x(nil) size=1024x768 depth=16 bpl=2048
picture : brightness=32768 hue=32768 colour=32512 contrast=27648
picture : whiteness=0 depth=0 palette=-
mbuf: size=8519680 frames=4
v4l: using mapped buffers for capture
vid-open: ok: v4l
main: checking wm...
wmhooks: gnome
main: creating windows ...
main: init frequency tables ...
freq: reading /usr/local/share/xawtv/Index.map
main: read config file ...
main: checking for vidmode extention ...
main: checking for lirc ...
lirc: not enabled at compile time
main: checking for joystick ...
main: checking for midi ...
main: adding kbd hooks ...
main: mapping main window ...
main: initialize hardware ...
main: parse channels from config file ...
xt: handle_pending: start ...
gd: init
blit: init
blit: gl: DRI=No
blit: resize 384x288
gd: config 384x288 win=e00048
v4l: setformat
v4l: capture probe 16 bit YUV 4:2:2 (packed)... ok
setformat: 16 bit YUV 4:2:2 (packed) (384x288): ok
grabdisplay: using "16 bit YUV 4:2:2 (packed)"
xt: handle_pending: ... done
cmd: "setfreqtab" "europe-west"
freq: newtab 5
freq: reading /usr/local/share/xawtv/europe-west.list
freq: reading /usr/local/share/xawtv/ccir-i-iii.list
freq: reading /usr/local/share/xawtv/ccir-sl-sh.list
freq: reading /usr/local/share/xawtv/ccir-h.list
freq: reading /usr/local/share/xawtv/uhf.list
cmd: "capture" "overlay"
gd: start [13]
v4l: setformat
setformat: 16 bit YUV 4:2:2 (packed) (384x288): ok
v4l: startvideo
main: setting defaults
v4l: freq: 268435455.938
main: enter main event loop...
blit: 384x288/[16 bit YUV 4:2:2 (packed)] => Xvideo
keypad: timeout
cmd: "setattr" "norm" "PAL-M"
cmd: "capture" "off"
gd: stop
v4l: stopvideo
v4l: setformat
v4l: capture probe 32 bit TrueColor (LE: bgr-)... ok
setformat: 32 bit TrueColor (LE: bgr-) (384x288): ok
v4l: setformat
v4l: getimage
cmd: "capture" "grab"
gd: start [13]
v4l: setformat
setformat: 16 bit YUV 4:2:2 (packed) (384x288): ok
v4l: startvideo
expose count=0
blit: 384x288/[16 bit YUV 4:2:2 (packed)] => Xvideo
expose count=0
expose count=0
expose count=0
cmd: "setchannel" "next"
gd: stop
v4l: stopvideo
v4l: freq: 48.250
gd: start [13]
v4l: setformat
setformat: 16 bit YUV 4:2:2 (packed) (384x288): ok
v4l: startvideo
blit: 384x288/[16 bit YUV 4:2:2 (packed)] => Xvideo
--
video4linux-list mailing list
Unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/video4linux-list