public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Ian Davidson <id012c3076@blueyonder.co.uk>
To: hermann pitton <hermann-pitton@arcor.de>
Cc: Video 4 Linux <video4linux-list@redhat.com>
Subject: Re: xawtv - no picture
Date: Wed, 30 Jul 2008 20:07:20 +0100	[thread overview]
Message-ID: <4890BBE8.8000901@blueyonder.co.uk> (raw)
In-Reply-To: <1217364178.2699.17.camel@pc10.localdom.local>

The card has 4 sockets on the back
- FM Antenna
- UHF/VHF antenna
- S-Video
- Remote sensor.

This time, I tried plugging the camera into the S-Video (rather than the 
FM antenna - oops!) but it didn't help - still a black screen.

I ran xawtv with the -v 1 option and got this

[Ian@localhost ~]$ xawtv -remote -nodga -c /dev/video on card=114 -v 1
This is xawtv-3.95, running on Linux/i686 (2.6.25.11-97.fc9.i686)
visual: id=0x21 class=4 (TrueColor), depth=24
visual: id=0x22 class=5 (DirectColor), depth=24
visual: id=0x5b class=4 (TrueColor), depth=32
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...
xinerama 0: 1440x900+0+0
main: xvideo extention [video]...
main: xvideo extention [image]...
main: init main window...
main: install signal handlers...
main thread [pid=2619]
main: open grabber device...
x11: remote display (overlay disabled)
vid-open: trying: v4l2-old...
vid-open: failed: v4l2-old
vid-open: trying: v4l2...
v4l2: open
v4l2: device info:
  saa7134 0.2.14 / UNKNOWN/GENERIC @ PCI:0000:04:02.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 ...
xt: checking for randr extention ...
xrandr: 1440x900 1400x1050 1280x1024 1280x960 1152x864 1024x768 832x624 
800x600 640x480 720x400
xt: checking for vidmode extention ...
xt: checking for lirc ...
lirc: not enabled at compile time
xt: checking for joystick ...
xt: checking for midi ...
xt: 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: init
blit: gl: DRI=Yes
blit: gl: texture max size: 2048
blit: resize 384x288
gd: config 384x288 win=3c00060
blit: gl: extention GL_EXT_bgra is available
blit: gl: extention GL_EXT_bgra is available
v4l2: new capture params (384x288, BGR3, 331776 byte)
setformat: 24 bit TrueColor (LE: bgr) (384x288): ok
grabdisplay: using "24 bit TrueColor (LE: bgr)"
xt: handle_pending:  ... done
cmd: "setfreqtab" "europe-west"
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: "capture" "overlay"
gd: start [7]
v4l2: new capture params (384x288, BGR3, 331776 byte)
setformat: 24 bit TrueColor (LE: bgr) (384x288): ok
ioctl: VIDIOC_REQBUFS(count=2;type=VIDEO_CAPTURE;memory=MMAP): Success
v4l2: buf 0: video-cap 0x0+331776, used 0
v4l2: buf 1: video-cap 0x51000+331776, used 0
main: setting defaults
xt: enter main event loop...
v4l2: start ts=1217446410590289000
blit: gl: extention GL_EXT_bgra is available
blit: gl: frame=384x288, texture=512x512
blit: 384x288/[24 bit TrueColor (LE: bgr)] => OpenGL
expose count=4
expose count=3
expose count=2
expose count=1
expose count=0
keypad: timeout
cmd: "capture" "off"
gd: stop
v4l2: buf 0: video-cap 0x0+331776, used 331776
v4l2: buf 1: video-cap 0x51000+331776, used 331776
v4l2: new capture params (384x288, BGR4, 442368 byte)
setformat: 32 bit TrueColor (LE: bgr-) (384x288): ok
v4l2: new capture params (384x288, BGR4, 442368 byte)
v4l2: close
[Ian@localhost ~]$

-
I have been writing programs for almost 44 years - but I blunder round 
linux like a newbie.  I appreciate all the help you can give me.  Please 
let me know what else I can do to get this working.

Ian

hermann pitton wrote:
> Hi Ian,
>
> Am Sonntag, den 27.07.2008, 16:21 +0100 schrieb Ian Davidson:
>   
>> I am trying to run xawtv (or actually streamer) to capture video - but 
>> at the moment, it is not working.
>>
>> For details of my system, please see 
>> http://www.smolts.org/client/show_all/pub_86fd06ee-583b-40d2-b23b-92749309023b
>>
>> I have a K-World DVB-T 210SE card which I hope will allow me to capture 
>> the video (although that is not very evident in the above link)
>>
>> Here is a section of the dmesg output
>> Linux video capture interface: v2.00
>> saa7130/34: v4l2 driver version 0.2.14 loaded
>> ACPI: PCI Interrupt 0000:04:02.0[A] -> GSI 18 (level, low) -> IRQ 18
>> saa7133[0]: found at 0000:04:02.0, rev: 209, irq: 18, latency: 64, mmio: 
>> 0xfebff800
>> saa7133[0]: subsystem: 17de:7253, board: UNKNOWN/GENERIC 
>>     
>
> that board seems to be not reported yet.
>
>   
>> [card=0,autodetected]
>>     
>
> That card=0 has only input on videomux 0 enabled.
> This is on most boards composite over the s-video connector.
>
> On KWORLD_DVBT_210 card=114, which is likely close to it or even fully
> compatible, the composite over s-video connector is not enabled yet.
>
> Only composite on vmux = 3 and s-video on vmux = 8. Depending on how
> composite is connected through the breakout cable, we might need a
> section with composite2 vmux = 0 in saa7134-cards.c.
>
>   
>> saa7133[0]: board init: gpio is 100
>> parport_pc 00:07: reported by Plug and Play ACPI
>> parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
>> saa7133[0]: i2c eeprom 00: de 17 53 72 ff ff ff ff ff ff ff ff ff ff ff ff
>> saa7133[0]: i2c eeprom 10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>> saa7133[0]: i2c eeprom 20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>> saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>> saa7133[0]: i2c eeprom 40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>> saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>> saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>> saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>> saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>> saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>> saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>> saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>> saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>> saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>> saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>> saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>> saa7133[0]: registered device video0 [v4l2]
>> saa7133[0]: registered device vbi0
>> ppdev: user-space parallel port driver
>>
>> When I try to run xawtv, this is what I get
>> [Ian@localhost ~]$ xawtv
>> This is xawtv-3.95, running on Linux/i686 (2.6.25.10-86.fc9.i686)
>> xinerama 0: 1440x900+0+0
>> WARNING: No DGA support available for this display.
>>     
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
>   
>> WARNING: couldn't find framebuffer base address, try manual
>>          configuration ("v4l-conf -a <addr>")
>> ioctl: 
>> VIDIOC_TRY_FMT(type=VIDEO_OVERLAY;fmt.win.w.left=3;fmt.win.w.top=48;fmt.win.w.width=384;fmt.win.w.height=288;fmt.win.field=ANY;fmt.win.chromakey=0;fmt.win.clips=(nil);fmt.win.clipcount=0;fmt.win.bitmap=(nil)): 
>> Invalid argument
>> ioctl: 
>> VIDIOC_S_FMT(type=VIDEO_OVERLAY;fmt.win.w.left=3;fmt.win.w.top=48;fmt.win.w.width=384;fmt.win.w.height=288;fmt.win.field=ANY;fmt.win.chromakey=0;fmt.win.clips=0x9414cb4;fmt.win.clipcount=0;fmt.win.bitmap=(nil)): 
>> Invalid argument
>> ioctl: VIDIOC_OVERLAY(int=0): Invalid argument
>> ioctl: 
>> VIDIOC_TRY_FMT(type=VIDEO_OVERLAY;fmt.win.w.left=3;fmt.win.w.top=48;fmt.win.w.width=384;fmt.win.w.height=288;fmt.win.field=ANY;fmt.win.chromakey=0;fmt.win.clips=(nil);fmt.win.clipcount=0;fmt.win.bitmap=(nil)): 
>> Invalid argument
>> ioctl: 
>> VIDIOC_S_FMT(type=VIDEO_OVERLAY;fmt.win.w.left=3;fmt.win.w.top=48;fmt.win.w.width=384;fmt.win.w.height=288;fmt.win.field=ANY;fmt.win.chromakey=0;fmt.win.clips=0x9414cb4;fmt.win.clipcount=1;fmt.win.bitmap=(nil)): 
>> Invalid argument
>> ioctl: VIDIOC_OVERLAY(int=0): Invalid argument
>> ioctl: 
>> VIDIOC_TRY_FMT(type=VIDEO_OVERLAY;fmt.win.w.left=3;fmt.win.w.top=48;fmt.win.w.width=384;fmt.win.w.height=288;fmt.win.field=ANY;fmt.win.chromakey=0;fmt.win.clips=(nil);fmt.win.clipcount=0;fmt.win.bitmap=(nil)): 
>> Invalid argument
>> ioctl: 
>> VIDIOC_S_FMT(type=VIDEO_OVERLAY;fmt.win.w.left=3;fmt.win.w.top=48;fmt.win.w.width=384;fmt.win.w.height=288;fmt.win.field=ANY;fmt.win.chromakey=0;fmt.win.clips=0x9414cb4;fmt.win.clipcount=1;fmt.win.bitmap=(nil)): 
>> Invalid argument
>> ioctl: VIDIOC_OVERLAY(int=0): Invalid argument
>> ioctl: 
>> VIDIOC_TRY_FMT(type=VIDEO_OVERLAY;fmt.win.w.left=3;fmt.win.w.top=48;fmt.win.w.width=384;fmt.win.w.height=288;fmt.win.field=ANY;fmt.win.chromakey=0;fmt.win.clips=(nil);fmt.win.clipcount=0;fmt.win.bitmap=(nil)): 
>> Invalid argument
>> ioctl: 
>> VIDIOC_S_FMT(type=VIDEO_OVERLAY;fmt.win.w.left=3;fmt.win.w.top=48;fmt.win.w.width=384;fmt.win.w.height=288;fmt.win.field=ANY;fmt.win.chromakey=0;fmt.win.clips=0x9414cb4;fmt.win.clipcount=1;fmt.win.bitmap=(nil)): 
>> Invalid argument
>> ioctl: VIDIOC_OVERLAY(int=0): Invalid argument
>> ioctl: 
>> VIDIOC_TRY_FMT(type=VIDEO_OVERLAY;fmt.win.w.left=3;fmt.win.w.top=48;fmt.win.w.width=384;fmt.win.w.height=288;fmt.win.field=ANY;fmt.win.chromakey=0;fmt.win.clips=(nil);fmt.win.clipcount=0;fmt.win.bitmap=(nil)): 
>> Invalid argument
>> ioctl: 
>> VIDIOC_S_FMT(type=VIDEO_OVERLAY;fmt.win.w.left=3;fmt.win.w.top=48;fmt.win.w.width=384;fmt.win.w.height=288;fmt.win.field=ANY;fmt.win.chromakey=0;fmt.win.clips=0x9414cb4;fmt.win.clipcount=1;fmt.win.bitmap=(nil)): 
>> Invalid argument
>> ioctl: VIDIOC_OVERLAY(int=0): Invalid argument
>> ioctl: 
>> VIDIOC_TRY_FMT(type=VIDEO_OVERLAY;fmt.win.w.left=3;fmt.win.w.top=48;fmt.win.w.width=384;fmt.win.w.height=288;fmt.win.field=ANY;fmt.win.chromakey=0;fmt.win.clips=(nil);fmt.win.clipcount=0;fmt.win.bitmap=(nil)): 
>> Invalid argument
>> ioctl: 
>> VIDIOC_S_FMT(type=VIDEO_OVERLAY;fmt.win.w.left=3;fmt.win.w.top=48;fmt.win.w.width=384;fmt.win.w.height=288;fmt.win.field=ANY;fmt.win.chromakey=0;fmt.win.clips=0x9414cb4;fmt.win.clipcount=0;fmt.win.bitmap=(nil)): 
>> Invalid argument
>> ioctl: VIDIOC_OVERLAY(int=0): Invalid argument
>> ioctl: 
>> VIDIOC_TRY_FMT(type=VIDEO_OVERLAY;fmt.win.w.left=3;fmt.win.w.top=48;fmt.win.w.width=384;fmt.win.w.height=288;fmt.win.field=ANY;fmt.win.chromakey=0;fmt.win.clips=(nil);fmt.win.clipcount=0;fmt.win.bitmap=(nil)): 
>> Invalid argument
>> ioctl: 
>> VIDIOC_S_FMT(type=VIDEO_OVERLAY;fmt.win.w.left=3;fmt.win.w.top=48;fmt.win.w.width=384;fmt.win.w.height=288;fmt.win.field=ANY;fmt.win.chromakey=0;fmt.win.clips=0x9414cb4;fmt.win.clipcount=1;fmt.win.bitmap=(nil)): 
>> Invalid argument
>> ioctl: VIDIOC_OVERLAY(int=0): Invalid argument
>> [Ian@localhost ~]$
>>
>> Also, the screen is black, although the camera was turned on.
>>
>> I feel that it is trying to tell me something - but I do not understand 
>> what it is saying.  Is there any hope?
>>
>> Ian
>>
>>     
>
> On most binary video-card drivers you can't set overlay preview mode
> anymore.
>
> You might try to force xawtv -remote -nodga -c /dev/video0 on card=114
> to have it in mmap/grabdisplay mode.
>
> Please test whatever you can that we might add the card to auto
> detection.
>
> Cheers,
> Hermann
>
>
>
>  
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>   

-- 
Ian Davidson
239 Streetsbrook Road, Solihull, West Midlands, B91 1HE
-- 
Facts used in this message may or may not reflect an underlying objective reality. 
Facts are supplied for personal use only. 
Recipients quoting supplied information do so at their own risk. 
Facts supplied may vary in whole or part from widely accepted standards. 
While painstakingly researched, facts may or may not be indicative of actually occurring events or natural phenomena. 
The author accepts no responsibility for personal loss or injury resulting from memorisation and subsequent use.

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

  reply	other threads:[~2008-07-30 19:07 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-27 15:21 xawtv - no picture Ian Davidson
2008-07-29 20:42 ` hermann pitton
2008-07-30 19:07   ` Ian Davidson [this message]
2008-07-30 22:44     ` hermann pitton
2008-07-30 23:08       ` hermann pitton
     [not found]       ` <48921FF9.8040504@blueyonder.co.uk>
     [not found]         ` <1217542190.3272.106.camel@pc10.localdom.local>
     [not found]           ` <48942E42.5040207@blueyonder.co.uk>
     [not found]             ` <1217679767.3304.30.camel@pc10.localdom.local>
     [not found]               ` <4895D741.1020906@blueyonder.co.uk>
2008-08-03 21:28                 ` hermann pitton
2008-08-05 21:12                   ` KWorld DVB-T 210SE - Capture only in Black/White Ian Davidson
2008-08-06 20:35                     ` Ian Davidson
2008-08-06 21:53                       ` hermann pitton
2008-08-07 21:50                         ` Ian Davidson
2008-08-07 23:55                           ` hermann pitton
2008-08-08 19:02                             ` Ian Davidson
2008-08-08 21:21                               ` hermann pitton
2008-08-09 10:54                             ` Ian Davidson
2008-08-11 17:04                               ` hermann pitton
     [not found]                                 ` <48A8892F.1010900@blueyonder.co.uk>
2008-08-18  1:57                                   ` hermann pitton
2008-08-26 18:35                                     ` Ian Davidson
2008-08-26 23:15                                       ` hermann pitton
2008-09-01  2:35                                         ` hermann pitton
2008-09-05 19:23                                           ` Ian Davidson
2008-09-06  1:20                                             ` hermann pitton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4890BBE8.8000901@blueyonder.co.uk \
    --to=id012c3076@blueyonder.co.uk \
    --cc=Ian.Davidson@bigfoot.com \
    --cc=hermann-pitton@arcor.de \
    --cc=video4linux-list@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox