Difference between revisions of "Panasonic"

From ZoneMinder Wiki
Jump to navigationJump to search
(Add MJPEG frame rate example.)
m (Aesthetic sectioning.)
Line 32: Line 32:
BB-HCM511A and BB-HCM531A
BB-HCM511A and BB-HCM531A


=MJPEG Example Configuration=
=MJPEG Configuration=
 
==Example==


   Monitor Page -> Source Tab ->
   Monitor Page -> Source Tab ->
Line 45: Line 47:
   Preserve Aspect Ratio: Off
   Preserve Aspect Ratio: Off
   Orientation: Normal
   Orientation: Normal
==Parameters==


In MJPEG mode, ZoneMinder can sustain approximately 5 fps from a Panasonic netcam.  In ideal conditions the maximum is 30 fps.
In MJPEG mode, ZoneMinder can sustain approximately 5 fps from a Panasonic netcam.  In ideal conditions the maximum is 30 fps.
Line 77: Line 81:
| 3kB
| 3kB
|}
|}
==Performance==


On busy systems, ZoneMinder performs better if the frame rate is limited at the camera instead of the ZM source like this:
On busy systems, ZoneMinder performs better if the frame rate is limited at the camera instead of the ZM source like this:
Line 82: Line 88:
   Remote Host Path: nphMotionJpeg?Resolution=640x480&Quality=Standard&Framerate=10
   Remote Host Path: nphMotionJpeg?Resolution=640x480&Quality=Standard&Framerate=10


=RTSP MPEG4 Example Configuration=
=RTSP/MPEG4 Configuration=
 
'''Note''':  Low end models like the Petcam only support MJPEG because they do not have an MPEG4 encoder.
 
==Example==


   Monitor Page -> Source Tab ->
   Monitor Page -> Source Tab ->
Line 95: Line 105:
   Preserve Aspect Ratio: Off
   Preserve Aspect Ratio: Off
   Orientation: Normal
   Orientation: Normal
==Parameters==
Audio can be disabled on models that have it by changing '''g726''' to '''nil''' like this:
  Remote Host Path: nphMpeg4/nil-640x480
Available resolutions are:
  Remote Host Path: nphMpeg4/g726-160x120
  Remote Host Path: nphMpeg4/g726-320x240
  Remote Host Path: nphMpeg4/g726-640x480
  Remote Host Path: nphMpeg4/g726-1280x1024
'''Note:''' Only high definition models support the 1280x1024 resolution.
==Performance==


In RTSP mode, ZoneMinder can get 30 fps from a Panasonic netcam that has an MPEG4 encoder.  The raw idle RTP output of a quiet scene for these cameras is approximately 400 kbps, or 5GB per day.
In RTSP mode, ZoneMinder can get 30 fps from a Panasonic netcam that has an MPEG4 encoder.  The raw idle RTP output of a quiet scene for these cameras is approximately 400 kbps, or 5GB per day.


'''Tip:''' To force a particular MPEG4 quality, set the minimum and maximum bitrates to the same value on the "Setup -> Video Streaming" tab of the web interface built-into the camera.
To force a particular MPEG4 quality, set the minimum and maximum bitrates to the same value on the "Setup -> Video Streaming" tab of the web interface built-into the camera.


'''Note:''' ZoneMinder transcodes the MPEG4 stream to add a banner or stream through the web interface.  Doing this on one 640x480@30fps stream can consume an entire core on a modern CPU.  If the CPU becomes overloaded, then the zmc process will crash and the Feed Watch page will be blank or show the broken image icon.  An easy way to reduce CPU load is to set the "Maximum FPS" field on the monitor General tab to 15 or less.
ZoneMinder transcodes the MPEG4 stream to add a banner or stream through the web interface.  Doing this on one 640x480@30fps stream can consume an entire core on a modern CPU.  If the CPU becomes overloaded, then the zmc process will crash and the Feed Watch page will be blank or show the broken image icon.  An easy way to reduce CPU load is to set the "Maximum FPS" field on the monitor General tab to 15 or less.


=Model Notes=
=Model Notes=

Revision as of 14:20, 2 December 2011

The "Panasonic IP" monitor preset in ZoneMinder is compatible with these Panasonic netcam models:

  • BL-C1
  • BL-C20
  • BL-C30
  • BL-C101
  • BL-C111
  • BL-C121
  • BL-C131
  • BL-C140
  • BL-C160
  • BB-HCM381
  • BB-HCM511
  • BB-HCM527
  • BB-HCM531
  • BB-HCM547
  • BB-HCM580
  • BB-HCM581
  • KX-HCM10

All members of the BL and BB model families are likely to be compatible, including PTZ support. The model name suffix indicates the market. For example, the BL-C140A is for North America, the BL-C140E is for Europe, and the BL-C140CN is for China.


bl-c1 works on http://user:password@ip/cgi-bin/nphContinuousServerPush?Resolution=640x480&Quality=Standard

bl-c101 works on http://user:password@ip/nphMotionJpeg?Resolution=640x480&Quality=Standard (However, on mine this mjpeg stream drops out intermittently and won't resync without camera restart)

BL-C111A and BL-C10A also work with RTSP/Unicast and ffmpeg with rtsp://user:password@ip/nphMpeg4/g726-640x480 (However this may use considerably more CPU than MJPEG, perhaps some tweaking can help)

BB-HCM531 works on the same as the c101 and varieties. Very reliable external camera.

BB-HCM511A and BB-HCM531A

MJPEG Configuration

Example

 Monitor Page -> Source Tab ->
 Remote Protocol: HTTP
 Remote Method: Simple
 Remote Host Name: 192.168.1.254
 Remote Host Port: 80
 Remote Host Path: nphMotionJpeg?Resolution=640x480&Quality=Standard
 Remote Image Colors: 24 bit color
 Capture Width (pixels): 640
 Capture Height (pixels): 480
 Preserve Aspect Ratio: Off
 Orientation: Normal

Parameters

In MJPEG mode, ZoneMinder can sustain approximately 5 fps from a Panasonic netcam. In ideal conditions the maximum is 30 fps.

The Resolution parameter can be one of 640x480, 320x240, or 160x120. The Quality parameter sets JPEG quality and can be one of Clarity, Standard, or Motion.

MJPEG Frame Size Quality=Clarity Quality=Standard Quality=Motion
Resolution=1280x1024
Resolution=640x480 50kB 30kB 20kb
Resolution=320x240 25kB 15kB 8kB
Resolution=160x120 8kB 5kB 3kB

Performance

On busy systems, ZoneMinder performs better if the frame rate is limited at the camera instead of the ZM source like this:

 Remote Host Path: nphMotionJpeg?Resolution=640x480&Quality=Standard&Framerate=10

RTSP/MPEG4 Configuration

Note: Low end models like the Petcam only support MJPEG because they do not have an MPEG4 encoder.

Example

 Monitor Page -> Source Tab ->
 Remote Protocol: RTSP
 Remote Method: RTP/Unicast
 Remote Host Name: 192.168.1.254
 Remote Host Port: 554
 Remote Host Path: nphMpeg4/g726-640x480
 Remote Image Colors: 24 bitcolor
 Capture Width (pixels): 640
 Capture Height (pixels): 480
 Preserve Aspect Ratio: Off
 Orientation: Normal

Parameters

Audio can be disabled on models that have it by changing g726 to nil like this:

 Remote Host Path: nphMpeg4/nil-640x480

Available resolutions are:

 Remote Host Path: nphMpeg4/g726-160x120
 Remote Host Path: nphMpeg4/g726-320x240
 Remote Host Path: nphMpeg4/g726-640x480
 Remote Host Path: nphMpeg4/g726-1280x1024

Note: Only high definition models support the 1280x1024 resolution.

Performance

In RTSP mode, ZoneMinder can get 30 fps from a Panasonic netcam that has an MPEG4 encoder. The raw idle RTP output of a quiet scene for these cameras is approximately 400 kbps, or 5GB per day.

To force a particular MPEG4 quality, set the minimum and maximum bitrates to the same value on the "Setup -> Video Streaming" tab of the web interface built-into the camera.

ZoneMinder transcodes the MPEG4 stream to add a banner or stream through the web interface. Doing this on one 640x480@30fps stream can consume an entire core on a modern CPU. If the CPU becomes overloaded, then the zmc process will crash and the Feed Watch page will be blank or show the broken image icon. An easy way to reduce CPU load is to set the "Maximum FPS" field on the monitor General tab to 15 or less.

Model Notes

BL-C140A

ZoneMinder must authenticate with a username and password to use the BL-C140A. Using the anonymous guest account will result in a black box or this error in the zmdc.log file:

 zmdc.ERR ['zmc -m 1' exited abnormally, exit status 255]

Put the credentials under the Source tab in the Remote Host Name field like this:

 Remote Protocol: HTTP
 Remote Method: Simple
 Remote Host Name: MyUser:MyPass@192.168.1.254
 Remote Host Port: 80
 Remote Host Path: /nphMotionJpeg?Resolution=640x480&Quality=Standard
 Remote Image Colors: 24 bit color
 Capture Width (pixels): 640
 Capture Height (pixels): 480
 Preserve Aspect Ratio: Off
 Orientation: Normal


BL-C20A

Source type: Remote
Remote Host Name: IP Address of Camera
Remote Host Port: 80 (Default) or the non-default port assigned to the camera in your network
Remote host Path: /cgi-bin/nphContinuousServerPush?Resolution=640x480&Quality=Standard 


BL-C30

Source type: Remote
Remote Host Name: IP Address of Camera
Remote Host Port: 80 (Default) or the non-default port assigned to the camera in your network
Remote host Path: nphMotionJpeg?Resolution=320x240&Quality=Standard

External Resources