Xvideo Extension

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



Hello all,

I have several questions about BTTV / XawTV and Xv. I've been trying
to get XawTV to scale its output to my desktop resolution using Xv, but
was unable to get it working to this point.

I'm using the following software configuration:

Linux Kernel 2.2.18
XFree86 4.0.2 w/ nVidia's binary driver (I'm loading the v4l module)
BTTV 0.7.52 (compiles/works fine w/ 2.2.18 after fixing up kcompat24.h)
XawTV 3.28

I compiled all of the above from source to make sure they work nicely
together and made sure to enable xvideo support for XawTV.

This is the hardware I'm trying to get things working with:

BT878 TV card
nVidia GeForce256 DDR


I start XawTV with the -xv and -dga options - judging from its output
everything should be fine from what I can tell, but instead of scaling
the video stream to 1152x864, i get a centered output window roughly
800x600 in size when switching to fullscreen. This is what XawTV says:

Chronos<phoenix>:~# xawtv -xv -dga      
This is xawtv-3.28, running on Linux/i686 (2.2.18)
visual: id=0x21 class=4 (TrueColor), depth=24
visual: id=0x22 class=5 (DirectColor), depth=24
visual: id=0x23 class=4 (TrueColor), depth=24
visual: id=0x24 class=4 (TrueColor), depth=24
visual: id=0x25 class=4 (TrueColor), depth=24
visual: id=0x26 class=4 (TrueColor), depth=24
visual: id=0x27 class=4 (TrueColor), depth=24
visual: id=0x28 class=4 (TrueColor), depth=24
visual: id=0x29 class=4 (TrueColor), depth=24
visual: id=0x2a class=5 (DirectColor), depth=24
visual: id=0x2b class=5 (DirectColor), depth=24
visual: id=0x2c class=5 (DirectColor), depth=24
visual: id=0x2d class=5 (DirectColor), depth=24
visual: id=0x2e class=5 (DirectColor), depth=24
visual: id=0x2f class=5 (DirectColor), depth=24
visual: id=0x30 class=5 (DirectColor), depth=24
Xv: using port 49 for video
  image format list for port 50
    0x32595559 (YUY2) packed
    0x32315659 (YV12) planar
    0x59565955 (UYVY) packed
    0x30323449 (I420) planar
Xv: using port 50 for hw scaling
wmhooks: gnome
turning fs on
turning fs off (384x288+734+465)
		  
I found the xvideo test program in XawTV's source tree and this is the
output it produces:

2 adaptors available.
  name:  video4linux
  type:  input video 
  ports: 1
  first: 49
  format list
    depth=24, visual=33
    depth=24, visual=35
    depth=24, visual=36
    depth=24, visual=37
    depth=24, visual=38
    depth=24, visual=39
    depth=24, visual=40
    depth=24, visual=41
  encoding list for port 49
    id=0, name=pal-television, size=768x576
    id=1, name=ntsc-television, size=640x480
    id=2, name=secam-television, size=768x576
    id=3, name=pal-composite1, size=768x576
    id=4, name=ntsc-composite1, size=640x480
    id=5, name=secam-composite1, size=768x576
    id=6, name=pal-svideo, size=768x576
    id=7, name=ntsc-svideo, size=640x480
    id=8, name=secam-svideo, size=768x576
  attribute list for port 49
    XV_ENCODING get set, -1000 -> 1000, val=0
    XV_BRIGHTNESS get set, -1000 -> 1000, val=0
    XV_CONTRAST get set, -1000 -> 1000, val=-157
    XV_SATURATION get set, -1000 -> 1000, val=-8
    XV_HUE get set, -1000 -> 1000, val=0
    XV_MUTE get set, 0 -> 1, val=0
    XV_FREQ get set, 0 -> 16000, val=0
  image format list for port 49
	      
  name:  NV10 Video Overlay
  type:  input image 
  ports: 1
  first: 50
  format list
    depth=24, visual=33
    depth=24, visual=35
    depth=24, visual=36
    depth=24, visual=37
    depth=24, visual=38
    depth=24, visual=39
    depth=24, visual=40
    depth=24, visual=41
  encoding list for port 50
    id=0, name=XV_IMAGE, size=2046x2047
  attribute list for port 50
    XV_COLORKEY get set, 0 -> 16777215, val=66046
    XV_DOUBLE_BUFFER get set, 0 -> 1, val=1
    XV_BRIGHTNESS get set, -512 -> 511, val=0
    XV_CONTRAST get set, 0 -> 8191, val=4096
    XV_SATURATION get set, 0 -> 8191, val=4096
    XV_HUE get set, 0 -> 360, val=0
  image format list for port 50
    0x32595559 (YUY2) packed
    0x32315659 (YV12) planar
    0x59565955 (UYVY) packed
    0x30323449 (I420) planar
						

Since Xvideo HW scaling works fine for applications such as xine I
guess that something is wrong on the v4l side of things. But since I
know very little about the mechanisms involved, I'd greatly appreciate
it if you could tell me what's going on.

-- 
----------------------------------------------------------------------
 christian zander              we come to bury dos, not to praise it.
 zander@xxxxxxxxxxxxxxxxxxx    -- paul vojta
----------------------------------------------------------------------

Attachment: pgp8UVSoSbTDW.pgp
Description: PGP signature


[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