Getting a camera to work in Zoneminder
Current settings on this monitor are:
Function Monitor
Section length = 600
Frame Skip
Run Mode = Continuous
Triggers = None available
Source Type = Local
Device Number (/dev/video?) = 0
Device Channel = 2
Device Format (0=PAL,1=NTSC etc) = 0
Capture Palette = RGB24
Capture Width (pixels) = 320
Capture Height (pixels) =240
Orientation = Normal
Image Buffer Size (frames) = 40
Warmup Frames = 25
Pre Event Image Buffer = 10
Post Event Image Buffer = 10
Alarm Frame Count = 1
Event Prefix = Event-
Maximum FPS = 0.00
FPS Report Interval = 1000
Reference Image Blend %ge = 10
Function Monitor
Section length = 600
Frame Skip
Run Mode = Continuous
Triggers = None available
Source Type = Local
Device Number (/dev/video?) = 0
Device Channel = 2
Device Format (0=PAL,1=NTSC etc) = 0
Capture Palette = RGB24
Capture Width (pixels) = 320
Capture Height (pixels) =240
Orientation = Normal
Image Buffer Size (frames) = 40
Warmup Frames = 25
Pre Event Image Buffer = 10
Post Event Image Buffer = 10
Alarm Frame Count = 1
Event Prefix = Event-
Maximum FPS = 0.00
FPS Report Interval = 1000
Reference Image Blend %ge = 10
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
/usr/lib/zm/bin/zmu --help
Use the user you have set up in ZM
/usr/lib/zm/bin/zmu -d /dev/video0 -q -v -Uadmin -Padmin
Code: Select all
zmu <-d device_path> [-v] [function] [-U<username> -P<password>]
zmu <-m monitor_id> [-v] [function] [-U<username> -P<password>]
General options:
-h, --help : This screen
-v, --verbose : Produce more verbose output
Options for use with devices:
-d, --device <device_path> : Get the current video device settings for <device_path>
-q, --query : Query the current settings for the device
Options for use with monitors:
-m, --monitor <monitor_id> : Specify which monitor to address, default 1 if absent
-q, --query : Query the current settings for the monitor
-s, --state : Output the current monitor state, 0 = idle, 1 = alarm, 2 = alert
-B, --brightness [value] : Output the current brightness, set to value if given
-C, --contrast [value] : Output the current contrast, set to value if given
-H, --hue [value] : Output the current hue, set to value if given
-O, --colour [value] : Output the current colour, set to value if given
-i, --image [image_index] : Write captured image to disk as <monitor_name>.jpg, last image captured
or specified ring buffer index if given.
-S, --scale <scale_%ge> : With --image specify any scaling (in %) to be applied to the image
-t, --timestamp [image_index] : Output captured image timestamp, last image captured or specified
ring buffer index if given
-R, --read_index : Output ring buffer read index
-W, --write_index : Output ring buffer write index
-e, --event : Output last event index
-f, --fps : Output last Frames Per Second captured reading
-z, --zones : Write last captured image overlaid with zones to <monitor_name>-Zones.jpg
-a, --alarm : Force alarm in monitor, this will trigger recording until cancelled with -c
-n, --noalarm : Force no alarms in monitor, this will prevent alarms until cancelled with -c
-c, --cancel : Cancel a forced alarm/noalarm in monitor, required after being enabled with -a or -n
-u, --suspend : Suspend detection, useful to prevent bogus alarms when panning etc
-r, --resume : Resume detection after a suspend
-U, --username <username> : When running in authenticated mode the username and
-P, --password <password> : password combination of the given user
-A, --auth <authentication> : Pass authentication hash string instead of user details
/usr/lib/zm/bin/zmu -d /dev/video0 -q -v -Uadmin -Padmin
Great! Ok here it is:
Video Capabilities
Name: LifeView FlyVIDEO2000
Type: 47
Can capture
Can tune
Does teletext
Overlay onto frame buffer
Can clip
Video Channels: 4
Audio Channels: 0
Maximum Width: 720
Maximum Height: 578
Minimum Width: 48
Minimum Height: 32
Window Attributes
X Offset: 0
Y Offset: 0
Width: 0
Height: 0
Picture Attributes
Palette: 4 - 24bit RGB
Colour Depth: 0
Brightness: 0
Hue: 0
Colour :0
Contrast: 0
Whiteness: 0
Channel 0 Attributes
Name: Television
Channel: 0
Flags: 1
Channel has a tuner
Type: 1 - TV
Format: 0 - PAL
Channel 1 Attributes
Name: Composite1
Channel: 1
Flags: 0
Type: 2 - Camera
Format: 0 - PAL
Channel 2 Attributes
Name: Composite2
Channel: 2
Flags: 0
Type: 2 - Camera
Format: 0 - PAL
Channel 3 Attributes
Name: S-Video
Channel: 3
Flags: 0
Type: 2 - Camera
Format: 0 - PAL
Video Capabilities
Name: LifeView FlyVIDEO2000
Type: 47
Can capture
Can tune
Does teletext
Overlay onto frame buffer
Can clip
Video Channels: 4
Audio Channels: 0
Maximum Width: 720
Maximum Height: 578
Minimum Width: 48
Minimum Height: 32
Window Attributes
X Offset: 0
Y Offset: 0
Width: 0
Height: 0
Picture Attributes
Palette: 4 - 24bit RGB
Colour Depth: 0
Brightness: 0
Hue: 0
Colour :0
Contrast: 0
Whiteness: 0
Channel 0 Attributes
Name: Television
Channel: 0
Flags: 1
Channel has a tuner
Type: 1 - TV
Format: 0 - PAL
Channel 1 Attributes
Name: Composite1
Channel: 1
Flags: 0
Type: 2 - Camera
Format: 0 - PAL
Channel 2 Attributes
Name: Composite2
Channel: 2
Flags: 0
Type: 2 - Camera
Format: 0 - PAL
Channel 3 Attributes
Name: S-Video
Channel: 3
Flags: 0
Type: 2 - Camera
Format: 0 - PAL
Yes, was tooo simple to be easy for me!
Next problems I am having are email & FTP uploading, but the alert system is working. Need to see what's going on here. zmfilter.log file makes no mention of even trying to send anything yet, just shows scanning for events every so often.
Nearly there though....!
Next problems I am having are email & FTP uploading, but the alert system is working. Need to see what's going on here. zmfilter.log file makes no mention of even trying to send anything yet, just shows scanning for events every so often.
Nearly there though....!
Email and ftp settings
There are two places you need to set those up.
1) Options you need to set these to your preferences of where to ftp the files and what to email etc...
2) You need to make filters. When you save the filter it will give you the options of whether to email ftp etc...
1) Options you need to set these to your preferences of where to ftp the files and what to email etc...
2) You need to make filters. When you save the filter it will give you the options of whether to email ftp etc...