the camera work only with YUYV palette :-(

Support and queries relating to all previous versions of ZoneMinder
Locked
maximum
Posts: 19
Joined: Wed Aug 17, 2005 8:17 pm

the camera work only with YUYV palette :-(

Post by maximum »

I've changed the webcam because my previos one is prefectly capable to freeze the kernel due a bug in the spca5xx module.
For the moment i've choosed a Cpia based (Trust spacecam 1000)

It's not a good cam but for 5 Euro... :-)

work prefectly with cqcam, but under zm always crash with this error in /var/log/zm/zm/zmdc.log below.

The only way to have this camera "working" is to set the Palette to YUYV, but that's not aceptable because the image is completly pink and yellow.
i've set the Source exactly at 352x288 RGB24 to obtain the crash below.

from /var/log/zm/zm/zmdc.log

Code: Select all

Starting pending process, zmc -d 0
'zmc -d 0' started at 05/08/18 16:36:49
'zmc -d 0' starting at 05/08/18 16:36:49, pid = 6792
'zmc -d 0' crashed at 05/08/18 16:36:49, exit status 255

here the Info of cqcam:

Code: Select all

Name: CPiA Camera
Type: 513
        Can capture
        Can capture subareas of the image
Channels: 1
Audios: 0
Maxwidth: 352
Maxheight: 288
Minwidth: 48
Minheight: 48
---------
X: 0
Y: 0
Width: 352
Height: 288
Chromakey: 0
Flags: 0
---------
Brightness:     32768 (128)
Hue:            32768 (128)
Color:          32768 (128)
Contrast:       32768 (128)
Whiteness:      0 (0)
Depth:          24
Palette:        4 - RGB24

here the output of zmu

Code: Select all

# zmu -d /dev/video0 -v -q -P admin -U admin
Video Capabilities
  Name: CPiA Camera
  Type: 513
    Can capture
    Can capture subareas of the image
  Video Channels: 1
  Audio Channels: 0
  Maximum Width: 352
  Maximum Height: 288
  Minimum Width: 48
  Minimum Height: 48
Window Attributes
  X Offset: 0
  Y Offset: 0
  Width: 88
  Height: 72
Picture Attributes
  Palette: 8 - YUYV
  Colour Depth: 16
  Brightness: 32768
  Hue: 32768
  Colour :32768
  Contrast: 32768
  Whiteness: 0
Channel 0 Attributes
  Name: Camera
  Channel: 0
  Flags: 0
  Type: 2 - Camera
  Format: 0 - PAL
in /var/log/messages a lot of

Code: Select all

Aug 18 16:37:10 backup zmc_d0[6795]: INF [Debug Level = 0, Debug Log = <none>]
Aug 18 16:37:50 backup zmc_d0[6797]: INF [Debug Level = 0, Debug Log = <none>]
Aug 18 16:39:11 backup zmc_d0[6812]: INF [Debug Level = 0, Debug Log = <none>]
Aug 18 16:41:51 backup zmc_d0[6823]: INF [Debug Level = 0, Debug Log = <none>]
...no way to remove all this output from ZM? this isn't usefull at all.

I've tried to to scale the resolution in Source with RGB24 whitout success.

any help will be apreciated.

best,
MaX
Locked