I have this card
Code: Select all
[ 11.233802] bttv: driver version 0.9.19 loaded
[ 11.233804] bttv: using 8 buffers with 2080k (520 pages) each for capture
[ 11.233843] bttv: Bt8xx card found (0)
[ 11.233910] bttv: 0: Bt878 (rev 17) at 0000:05:00.0, irq: 16, latency: 32, mmio: 0xf0007000
[ 11.233922] bttv: 0: detected: GeoVision GV-800(S) (master) [card=157], PCI subsystem ID is 800a:763d
[ 11.233923] bttv: 0: using: Geovision GV-800(S) (master) [card=157,autodetected]
[ 11.234656] bttv: 0: tuner absent
[ 11.234688] bttv: 0: registered device video0
[ 11.234706] bttv: 0: registered device vbi0
[ 11.234728] bttv: 0: Setting PLL: 28636363 => 35468950 (needs up to 100ms)
[ 11.262750] bttv: PLL set ok
[ 11.266040] bttv: Bt8xx card found (1)
[ 11.266052] bttv: 1: Bt878 (rev 17) at 0000:05:04.0, irq: 16, latency: 32, mmio: 0xf0005000
[ 11.266090] bttv: 1: detected: GeoVision GV-800(S) (slave) [card=158], PCI subsystem ID is 800b:763d
[ 11.266091] bttv: 1: using: Geovision GV-800(S) (slave) [card=158,autodetected]
[ 11.266176] bttv: 1: tuner absent
[ 11.266197] bttv: 1: registered device video1
[ 11.266218] bttv: 1: registered device vbi1
[ 11.266240] bttv: 1: Setting PLL: 28636363 => 35468950 (needs up to 100ms)
[ 11.294734] bttv: PLL set ok
[ 11.298014] bttv: Bt8xx card found (2)
[ 11.298032] bttv: 2: Bt878 (rev 17) at 0000:05:08.0, irq: 16, latency: 32, mmio: 0xf0003000
[ 11.298084] bttv: 2: detected: GeoVision GV-800(S) (slave) [card=158], PCI subsystem ID is 800c:763d
[ 11.298085] bttv: 2: using: Geovision GV-800(S) (slave) [card=158,autodetected]
[ 11.298162] bttv: 2: tuner absent
[ 11.298219] bttv: 2: registered device video2
[ 11.298263] bttv: 2: registered device vbi2
[ 11.298293] bttv: 2: Setting PLL: 28636363 => 35468950 (needs up to 100ms)
[ 11.326726] bttv: PLL set ok
[ 11.330006] bttv: Bt8xx card found (3)
[ 11.330020] bttv: 3: Bt878 (rev 17) at 0000:05:0c.0, irq: 16, latency: 32, mmio: 0xf0001000
[ 11.330034] bttv: 3: detected: GeoVision GV-800(S) (slave) [card=158], PCI subsystem ID is 800d:763d
[ 11.330034] bttv: 3: using: Geovision GV-800(S) (slave) [card=158,autodetected]
[ 11.330097] bttv: 3: tuner absent
[ 11.330129] bttv: 3: registered device video3
[ 11.330151] bttv: 3: registered device vbi3
[ 11.330173] bttv: 3: Setting PLL: 28636363 => 35468950 (needs up to 100ms)
[ 11.358734] bttv: PLL set ok
Also works from www-data.
I did modify the bttv.conf
streamer -c /dev/video0 -i 0 -o test.jpeg works!
streamer -c /dev/video0 -i 0 -D v4l2 -o test.jpeg works too!
But zoneminder keeps saying
Code: Select all
Jul 19 20:52:50 qwerty zmpkg[2841]: INF [Command: stop]
Jul 19 20:52:50 qwerty zmdc[2551]: INF ['zmupdate.pl -c' stopping at 13/07/19 20:52:50]
Jul 19 20:52:50 qwerty zmdc[2551]: INF ['zmupdate.pl -c' exited, signal 14]
Jul 19 20:52:50 qwerty zmdc[2551]: INF ['zmfilter.pl ' stopping at 13/07/19 20:52:50]
Jul 19 20:52:50 qwerty zmdc[2551]: INF ['zmfilter.pl ' exited, signal 14]
Jul 19 20:52:50 qwerty zmdc[2551]: INF ['zmwatch.pl ' stopping at 13/07/19 20:52:50]
Jul 19 20:52:50 qwerty zmdc[2551]: INF ['zmwatch.pl ' exited, signal 14]
Jul 19 20:53:00 qwerty zmdc[2551]: INF [Server shutdown at 13/07/19 20:53:00]
Jul 19 20:53:19 qwerty zmpkg[2900]: INF [Command: start]
Jul 19 20:53:19 qwerty zmdc[2910]: INF [Server starting at 13/07/19 20:53:19]
Jul 19 20:53:22 qwerty zmdc[2910]: INF ['zmc -d /dev/video0' starting at 13/07/19 20:53:22, pid = 2934]
Jul 19 20:53:22 qwerty zmdc[2934]: INF ['zmc -d /dev/video0' started at 13/07/19 20:53:22]
Jul 19 20:53:23 qwerty zmc_dvideo0[2934]: INF [Starting Capture]
Jul 19 20:53:23 qwerty zmc_dvideo0[2934]: FAT [Failed to get picture attributes: Inappropriate ioctl for device]
Jul 19 20:53:23 qwerty zmdc[2910]: INF [Can't find child with pid of '2911']
Jul 19 20:53:23 qwerty zmdc[2910]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
Jul 19 20:53:23 qwerty zmdc[2910]: INF [Starting pending process, zmc -d /dev/video0]
Jul 19 20:53:23 qwerty zmdc[2910]: INF ['zmc -d /dev/video0' starting at 13/07/19 20:53:23, pid = 2937]
Jul 19 20:53:23 qwerty zmdc[2937]: INF ['zmc -d /dev/video0' started at 13/07/19 20:53:23]
Jul 19 20:53:23 qwerty zmc_dvideo0[2937]: INF [Starting Capture]
Jul 19 20:53:23 qwerty zmc_dvideo0[2937]: FAT [Failed to get picture attributes: Inappropriate ioctl for device]
Jul 19 20:53:23 qwerty zmdc[2910]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
Jul 19 20:53:23 qwerty zmdc[2910]: INF ['zmfilter.pl' starting at 13/07/19 20:53:23, pid = 2940]
Jul 19 20:53:23 qwerty zmdc[2940]: INF ['zmfilter.pl' started at 13/07/19 20:53:23]
Jul 19 20:53:23 qwerty zmdc[2910]: INF ['zmwatch.pl' starting at 13/07/19 20:53:23, pid = 2944]
Jul 19 20:53:23 qwerty zmdc[2944]: INF ['zmwatch.pl' started at 13/07/19 20:53:23]
Jul 19 20:53:23 qwerty zmfilter[2940]: INF [Scanning for events]
Jul 19 20:53:23 qwerty zmwatch[2944]: INF [Watchdog starting]
Jul 19 20:53:23 qwerty zmwatch[2944]: INF [Watchdog pausing for 30 seconds]
Jul 19 20:53:23 qwerty zmdc[2910]: INF ['zmupdate.pl -c' starting at 13/07/19 20:53:23, pid = 2948]
Jul 19 20:53:23 qwerty zmdc[2948]: INF ['zmupdate.pl -c' started at 13/07/19 20:53:23]
Tested also with and without
Code: Select all
cat /etc/modprobe.d/bttv.conf
options bttv gbuffers=16 card=0x9d,0x9e,0x9e,0x9e tuner=0
Code: Select all
zmu -d /dev/video0 -qv as www-data
Video Device: /dev/video0
General Capabilities
Driver: bttv
Card: BT878 video (Geovision GV-800(S
Bus: PCI:0000:05:00.0
Version: 3.5.7
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)
8 bpp, dithered color (HI24)
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)
32 bpp RGB, le (BGR4)
32 bpp RGB, be (RGB4)
4:2:2, packed, YUYV (YUYV)
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-Cr-Cb (YV12)
4:1:1, planar, Y-Cb-Cr (411P)
4:1:0, planar, Y-Cb-Cr (YUV9)
4:1:0, planar, Y-Cr-Cb (YVU9)
Crop Capabilities
Bounds: 1063 x 608
Default: 924 x 576
Current: 924 x 576
Inputs: 4
Input 0
Name: Composite0
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
Input 1
Name: Composite1
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
Input 2
Name: Composite2
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
Input 3
Name: Composite3
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
I followed various manuals but nothing works.