Kirjoittaja Aihe: Kuvankaappaus/Zoneminder  (Luettu 1894 kertaa)

Antsu09

  • Käyttäjä
  • Viestejä: 22
    • Profiili
Kuvankaappaus/Zoneminder
« : 24.08.10 - klo:20.55 »
Moi,

Asensin koneeseeni (Ubuntu 10.04) videokaappauskortin http://www.dealextreme.com/details.dx/sku.17848
ja ajatuksena on käyttää Zoneminder ohjelmaa.
Asensin sen ohjeen http://viktorpetersson.com/2010/05/23/how-to-install-zoneminder-1-24-2-on-ubuntu-10-04-lts-server/
mukaan.
 Kun avaan Zoneminderin asetuskonsolin, kohta source on punaisena, eikä kuvausta voi käynnistää.
Kokeilin xawtv ohjelmalla josko kuva näkyisi. Koneen bootin jälkeen näkyy mustavalkoinen kuva, mutta se häviää jos avaan xawtv:n uudelleen. Samoin hiiren oikealla korvalla tuleva asetusvalikko näyttää puutteelliselta.

Komento  xawtv –hwscan antaa listauksen
Koodia: [Valitse]
This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.32-24-generic)
looking for available devices
port 83-98
    type : Xvideo, image scaler
    name : Intel(R) Textured Video

port 99-99
    type : Xvideo, image scaler
    name : Intel(R) Video Overlay

/dev/video0: OK                         [ -device /dev/video0 ]
    type : v4l2
    name : AVerMedia DVD EZMaker
    flags: overlay capture 

/dev/video1: OK                         [ -device /dev/video1 ]
    type : v4l2
    name : AVerMedia DVD EZMaker
    flags: overlay capture 

/dev/video2: OK                         [ -device /dev/video2 ]
    type : v4l2
    name : AVerMedia DVD EZMaker
    flags: overlay capture 

/dev/video3: OK                         [ -device /dev/video3 ]
    type : v4l2
    name : AVerMedia DVD EZMaker
    flags: overlay capture 

Ja komento xawtv -device /dev/video0 antaa listauksen:
Koodia: [Valitse]
This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.32-24-generic)
xinerama 0: 1280x1024+0+0
WARNING: No DGA direct video mode for this display.
WARNING: couldn't find framebuffer base address, try manual
         configuration ("v4l-conf -a <addr>")
v4l2: WARNING: framebuffer base address mismatch
v4l2: me=(nil) v4l=(nil)
Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct
libv4l2: error turning on stream: Laite tai resurssi varattu
ioctl: VIDIOC_STREAMON(int=1): Laite tai resurssi varattu
libv4l2: error dequeuing buf: Virheellinen argumentti
ioctl: VIDIOC_DQBUF(index=0;type=VIDEO_CAPTURE;bytesused=0;flags=0x0 [];field=ANY;;timecode.type=0;timecode.flags=0;timecode.frames=0;timecode.seconds=0;timecode.minutes=0;timecode.hours=0;timecode.userbits="";sequence=0;memory=MMAP): Virheellinen argumentti
v4l2: read: Laite tai resurssi varattu

Ja komento zmu -d /dev/video0 -q –v antaa listauksen
Koodia: [Valitse]
Video Device: /dev/video0
General Capabilities
  Driver: saa7134
  Card: AVerMedia DVD EZMaker
  Bus: PCI:0000:05:0c.0
  Version: 0.2.15
  Type: 0x5000015
    Supports video capture (X)
    Does not support video output
    Supports frame buffer overlay
    Supports VBI capture
    Does not support VBI output
    Does not support sliced VBI capture
    Does not support sliced VBI output
    Does not support video output overlay
    Does not have tuner
    Does not have audio in and/or out
    Does not have radio
    Supports read/write i/o (X)
    Does not support async i/o
    Supports streaming i/o (X)
    Standards:
      NTSC
      NTSC-M
      NTSC-M-JP
      NTSC-M-KR
      PAL
      PAL-BG
      PAL-H
      PAL-I
      PAL-DK
      PAL-M
      PAL-N
      PAL-Nc
      PAL-60
      SECAM
      SECAM-B
      SECAM-G
      SECAM-H
      SECAM-DK
      SECAM-L
      SECAM-Lc
  Formats:
    8 bpp gray (GREY)
    15 bpp RGB, le (RGBO)
    15 bpp RGB, be (RGBQ)
    16 bpp RGB, le (RGBP)
    16 bpp RGB, be (RGBR)
    24 bpp RGB, le (BGR3)
    24 bpp RGB, be (RGB3)
    32 bpp RGB, le (BGR4)
    32 bpp RGB, be (RGB4)
    4:2:2 packed, YUYV (YUYV)
    4:2:2 packed, UYVY (UYVY)
    4:2:2 planar, Y-Cb-Cr (422P)
    4:2:0 planar, Y-Cb-Cr (YU12)
    4:2:0 planar, Y-Cb-Cr (YV12)
Crop Capabilities
  Bounds: 704 x 480
  Default: 704 x 480
  Current: 704 x 480
Inputs: 2
  Input 0
    Name: Composite1
    Type: Camera
    Audioset: 00000001
    Standards: 0xffbfff
    Power on  (X)
    Signal detected  (X)
    Colour Signal detected
    Horizontal Lock detected
  Input 1
    Name: S-Video
    Type: Camera
    Audioset: 00000001
    Standards: 0xffbfff
    Power on  (X)
    Signal detected  (X)
    Colour Signal detected
    Horizontal Lock detected

Mikähän on mennyt pieleen, mitä yritän seuraavaksi?

-Antsu