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

Re: xawtv im Vollbild ohne schwarze Ränder?




Bruno Hertz wrote:
> Probier mal 'xawtv -hwscan' .
> 
> Bei mir gibt das (u.A.)
> 
> /dev/video0: OK                         [ -device /dev/video0 ]
>     type : v4l2
>     name : BT878 video (Hauppauge (bt878))
>     flags: overlay capture tuner 
> 
> und damit funktioniert dann auch scaling. D.h. maximieren des Fensters
> skaliert das Bild entsprechend hoch, und die eigentliche 'fullscreen'
> Funktion wird damit redundant.

Hm, bei mir geht das dennoch nicht. 'xawtv -hwscan' zeigt an, dass v4l2
geladen wurde und der overlay modus unterstützt wird.


$ xawtv -hwscan
xscreensaver-command: exiting.

This is xawtv-3.94, running on Linux/i686 (2.6.11.7)
looking for available devices
port 356-356                            [ -xvport 356 ]
    type : Xvideo, video overlay
    name : video4linux

port 357-357
    type : Xvideo, image scaler
    name : NV17 Video Texture

port 358-389
    type : Xvideo, image scaler
    name : NV05 Video Blitter

/dev/video0: OK                         [ -device /dev/video0 ]
    type : v4l2
    name : BT878 video (Hauppauge (bt878))
    flags: overlay capture tuner


> Der explizite Aufruf für Nutzung der Xvideo extension wäre 'xawtv
> -xv', aber er sollte sie auch ohne Parameter schon per default nutzen.

Auch das geht leider nicht. Hier der Output mit verbose 1:

~$ xawtv -v 1 -xv -c /dev/video0
This is xawtv-3.94, running on Linux/i686 (2.6.11.7)
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=4 (TrueColor), depth=24
visual: id=0x2b class=4 (TrueColor), depth=24
visual: id=0x2c class=4 (TrueColor), depth=24
visual: id=0x2d class=4 (TrueColor), depth=24
visual: id=0x2e class=4 (TrueColor), depth=24
visual: id=0x2f class=4 (TrueColor), depth=24
visual: id=0x30 class=4 (TrueColor), depth=24
visual: id=0x31 class=4 (TrueColor), depth=24
visual: id=0x32 class=4 (TrueColor), depth=24
visual: id=0x33 class=4 (TrueColor), depth=24
visual: id=0x34 class=4 (TrueColor), depth=24
visual: id=0x35 class=4 (TrueColor), depth=24
visual: id=0x36 class=4 (TrueColor), depth=24
visual: id=0x37 class=4 (TrueColor), depth=24
visual: id=0x38 class=4 (TrueColor), depth=24
visual: id=0x39 class=4 (TrueColor), depth=24
visual: id=0x3a class=4 (TrueColor), depth=24
visual: id=0x3b class=4 (TrueColor), depth=24
visual: id=0x3c class=4 (TrueColor), depth=24
visual: id=0x3d class=4 (TrueColor), depth=24
visual: id=0x3e class=5 (DirectColor), depth=24
visual: id=0x3f class=5 (DirectColor), depth=24
visual: id=0x40 class=5 (DirectColor), depth=24
visual: id=0x41 class=5 (DirectColor), depth=24
visual: id=0x42 class=5 (DirectColor), depth=24
visual: id=0x43 class=5 (DirectColor), depth=24
visual: id=0x44 class=5 (DirectColor), depth=24
visual: id=0x45 class=5 (DirectColor), depth=24
visual: id=0x46 class=5 (DirectColor), depth=24
visual: id=0x47 class=5 (DirectColor), depth=24
visual: id=0x48 class=5 (DirectColor), depth=24
visual: id=0x49 class=5 (DirectColor), depth=24
visual: id=0x4a class=5 (DirectColor), depth=24
visual: id=0x4b class=5 (DirectColor), depth=24
visual: id=0x4c class=5 (DirectColor), depth=24
visual: id=0x4d class=5 (DirectColor), depth=24
visual: id=0x4e class=5 (DirectColor), depth=24
visual: id=0x4f class=5 (DirectColor), depth=24
visual: id=0x50 class=5 (DirectColor), depth=24
visual: id=0x51 class=5 (DirectColor), depth=24
visual: id=0x52 class=5 (DirectColor), depth=24
visual: id=0x53 class=5 (DirectColor), depth=24
visual: id=0x54 class=5 (DirectColor), depth=24
visual: id=0x55 class=5 (DirectColor), depth=24
visual: id=0x56 class=5 (DirectColor), depth=24
visual: id=0x57 class=5 (DirectColor), depth=24
visual: id=0x58 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
check if the X-Server is local ... * ok (unix socket)
main: dga extention...
DGA version 2.0
main: xinerama extention...
main: xvideo extention [video]...
main: xvideo extention [image]...
blit: xv: 0x32595559 (YUY2) packed [ok: 16 bit YUV 4:2:2 (packed, YUYV)]
blit: xv: 0x32315659 (YV12) planar
blit: xv: 0x59565955 (UYVY) packed [ok: 16 bit YUV 4:2:2 (packed, UYVY)]
blit: xv: 0x30323449 (I420) planar [ok: 12 bit YUV 4:2:0 (planar)]
main: init main window...
main: install signal handlers...
main thread [pid=5566]
main: open grabber device...
x11: 1280x1024, 32 bit/pixel, 5120 byte/scanline, DGA
v4l-conf: using X11 display :0.0
dga: version 2.0
mode: 1280x1024, depth=24, bpp=32, bpl=5120, base=0xd8000000
/dev/video0 [v4l2]: configuration done
got sigchild
waitpid: No child processes
vid-open: trying: v4l2-old...
vid-open: failed: v4l2-old
vid-open: trying: v4l2...
v4l2: open
v4l2: device info:
  bttv 0.9.15 / BT878 video (Hauppauge (bt878)) @ PCI:0000:01:09.0
vid-open: ok: v4l2
main: checking wm...
wmhooks: netwm state above
wmhooks: netwm state fullscreen
main: creating windows ...
main: init frequency tables ...
freq: reading /usr/share/xawtv/Index.map
main: read config file ...
freq: newtab 5
freq: reading /usr/share/xawtv/europe-west.list
freq: reading /usr/share/xawtv/ccir-i-iii.list
freq: reading /usr/share/xawtv/ccir-sl-sh.list
freq: reading /usr/share/xawtv/ccir-h.list
freq: reading /usr/share/xawtv/uhf.list
cmd: "movie" "fps" "24"
xt: checking for randr extention ...
xrandr: 1280x1024 1024x768 800x600 640x480 1280x960 1152x864 832x624
700x525 640x512 720x400 640x400 576x432 640x350 512x384 416x312 400x300
320x240 320x200 320x175
xt: checking for vidmode extention ...
VidMode  version 2.2
  available video mode(s): 1280x1024 1024x768 800x600 640x480 1280x960
1280x960 1152x864 1024x768 1024x768 1024x768 1024x768 832x624 800x600
800x600 800x600 800x600 800x600 800x600 800x600 800x600 700x525 700x525
640x512 640x512 640x512 640x480 640x480 640x480 640x480 640x480 720x400
640x400 576x432 640x350 512x384 512x384 512x384 512x384 512x384 416x312
400x300 400x300 400x300 400x300 400x300 320x240 320x240 320x240 320x240
320x200 320x175
xt: checking for lirc ...
xawtv: could not connect to socket
xawtv: No such file or directory
lirc: no infrared remote support available
xt: checking for joystick ...
xt: checking for midi ...
xt: adding kbd hooks ...
main: mapping main window ...
main: initialize hardware ...
v4l2:   tuner cap:
v4l2:   tuner rxs: MONO
v4l2:   tuner cur: MONO
main: parse channels from config file ...
xt: handle_pending:  start ...
gd: init
blit: init
blit: gl: init
blit: gl: DRI=Yes
blit: gl: texture max size: 0
blit: resize 384x288
gd: config 384x288 win=3400059
v4l2: new capture params (384x288, YUYV, 221184 byte)
setformat: 16 bit YUV 4:2:2 (packed, YUYV) (384x288): ok
grabdisplay: using "16 bit YUV 4:2:2 (packed, YUYV)"
xt: handle_pending:  ... done
cmd: "setfreqtab" "europe-west"
freq: newtab 5
cmd: "capture" "overlay"
cmd: "setchannel" "E7"
v4l2: overlay off
v4l2: freq: 189,250
main: known station tuned, not changing
xt: enter main event loop...
v4l2: overlay win=384x288+1+89, 0 clips
clip: final - 0 clips
expose count=0
cmd: "fullscreen"
fullscreen on via netwm
vm: current=1280x1024
expose count=0
blit: resize 1280x1024
gd: config 1280x1024 win=3400059
grabdisplay: using "16 bit YUV 4:2:2 (packed, YUYV)"
expose count=0
v4l2: overlay win=1280x1024+0+0, 0 clips
clip: final - 0 clips
v4l2:   tuner cap:
v4l2:   tuner rxs: MONO STEREO
v4l2:   tuner cur: STEREO
expose count=0
keypad: timeout
cmd: "fullscreen"
fullscreen off via netwm
blit: resize 384x288
gd: config 384x288 win=3400059
grabdisplay: using "16 bit YUV 4:2:2 (packed, YUYV)"
expose count=0
expose count=0
v4l2: overlay win=384x288+1+89, 0 clips
clip: final - 0 clips
expose count=0


Irgendwelche Ideen, wie ich xawtv im fullscrenn zum Laufen bekomme?

Gruß,
Alexander



Reply to: