OK, I'm REAL close (finally) - gotta add my BT878 cameras...
Posted: Sat Jun 06, 2009 12:52 am
Almost there!
Here's my situation: I had ZM running out the Ubuntu repos (Hardy) but I couldn't mesh it with Mythzoneminder (mismatched version support even within the same repo - silly Ubuntu package maintainer!). System involved a pair of BT878 cards with three ports each so I had /dev/video0 (channels 0/1/2 I think) and ditto /dev/video0. Six cameras, about 4fps each but I could live with that.
However, with no video streaming support in ZM prior to 1.24x the user interface on playback sucked wind so I basically had to start over, do a fresh install of Ubuntu 8.10 and follow these instructions on compiling 1.24 slavishly (AFTER finding out they fail big with Jaunty!):
http://www.zoneminder.com/wiki/index.ph ... ozola-0.7)
Note that I haven't yet installed the MythTV parts or mythzoneminder and with the new video playback stuff in ZM 1.24 I may not need them.
Right now, my web browser interface at http://localhost is working as far as getting to ZM's console and user interface. Kewl.
OK. So now I'm adding my cameras, and it's failing. NOTE: I only want to "record", no "event" stuff.
I *think* my cameras were each working at 320x200 resolution but...dammit, I can't recall. I know they're NTSC (I'm in Arizona <grin>). If I do:
...I get an image (woot!) and it reports back to the terminal like so:
I assume this means I use video for linux "2" instead of "1"?
And if I do:
...I assume that tells us something too?
ANY help setting up my cameras in ZM based on the above would be very helpful. Even guesstimates as to what my $%@^%$ resolution settings are would be nice .
Thanks!
Jim March
Here's my situation: I had ZM running out the Ubuntu repos (Hardy) but I couldn't mesh it with Mythzoneminder (mismatched version support even within the same repo - silly Ubuntu package maintainer!). System involved a pair of BT878 cards with three ports each so I had /dev/video0 (channels 0/1/2 I think) and ditto /dev/video0. Six cameras, about 4fps each but I could live with that.
However, with no video streaming support in ZM prior to 1.24x the user interface on playback sucked wind so I basically had to start over, do a fresh install of Ubuntu 8.10 and follow these instructions on compiling 1.24 slavishly (AFTER finding out they fail big with Jaunty!):
http://www.zoneminder.com/wiki/index.ph ... ozola-0.7)
Note that I haven't yet installed the MythTV parts or mythzoneminder and with the new video playback stuff in ZM 1.24 I may not need them.
Right now, my web browser interface at http://localhost is working as far as getting to ZM's console and user interface. Kewl.
OK. So now I'm adding my cameras, and it's failing. NOTE: I only want to "record", no "event" stuff.
I *think* my cameras were each working at 320x200 resolution but...dammit, I can't recall. I know they're NTSC (I'm in Arizona <grin>). If I do:
Code: Select all
xawtv -device /dev/video0
Code: Select all
zmuser@zmuser-camerastation:~$ xawtv -device /dev/video0
This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.27-14-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
zmuser@zmuser-camerastation:~$
And if I do:
Code: Select all
zmuser@zmuser-camerastation:~$ [b]zmu -d /dev/video0 -q -v[/b]
Video Device: /dev/video0
General Capabilities
Driver: bttv
Card: BT878 video (Hauppauge (bt878))
Bus: PCI:0000:01:09.0
Version: 0.9.17
Type: 0x5010015
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
Has 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: 838 x 504
Default: 768 x 480
Current: 768 x 480
Inputs: 4
Input 0
Name: Television
Type: Tuner
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: S-Video
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
zmuser@zmuser-camerastation:~$
ANY help setting up my cameras in ZM based on the above would be very helpful. Even guesstimates as to what my $%@^%$ resolution settings are would be nice .
Thanks!
Jim March