Errormessages in log

Forum for questions and support relating to the 1.28.x releases only.
Locked
Lieuwke
Posts: 5
Joined: Sun Nov 08, 2015 9:30 pm

Errormessages in log

Post by Lieuwke »

Hi everybody,

i have discovered this wonderfull zoneminder thing. Excited about the options i installed ubuntu 14.04LTS on a HP USDT PC (E8400 3GHz, 4GB RAM, 160GB 7200rpm SATA HDD) and Zoneminder v1.28.1

I am not very familiar with linux and thus had to use the manuals for getting things installed. Also had to fiddle arround with the settings to get my camera to work. (it's a cheap thing from the china webshops, but for testing good enough)

I have searched a lot to get an image from the cam to show in Zoneminder, and with below settings it seems to work. But i get a lot of errors in the log like this:
2015-11-11 19:48:12.928866 zmc_m1 13248 ERR 8: 00 00 01 06 e5 01 be 80 zm_remote_camera_rtsp.cpp 303
2015-11-11 19:48:12.874041 zmc_m1 13248 ERR Error while decoding frame 960 zm_remote_camera_rtsp.cpp 302


My Source settings:
Name Monitor-1
Source Type Remote
Function Modect
Enabled v
Linked monitor
Maximum FPS
Alarm Maximum FPS
Reference Image Blend %ge 6.25% (Indoor)
Alarm Reference Image Blend %ge 6.25%
Triggers non available

Remote Protocol RTSP
Remote Method RTP/RTSP
Remote Host Name <CAM-IP>
Remote Host Port 554
Remote Host Path rtsp://<CAM-IP:554//user=<user>_password=<password>_channel=1_stream=0.sdp
Target Colorspace 24 bit colour
Capture Width (pixels) 1280
Capture Height (pixels) 720
Preserve Aspect Ratio
Orientation Normal
Deinterlacing Disabled

What am i doing wrong here?

Remember, i am a complete n00b for both linux and zoneminder, so take it slow please :)
Thank you!
Nerre
Posts: 100
Joined: Thu Sep 25, 2014 10:22 am

Re: Errormessages in log

Post by Nerre »

I haven't used rtsp, but I don't think the part "rtsp://<CAM-IP:554" should be in the Remote Host Path.

Protocol, host name and port are specified in the fields before, no need to repeat them.

But on the other hand the error messages look more like codec errors, maybe the format from the camera is not fully compliant. Zoneminder is unfortunately very picky on the image format. For my webcam I had to use a webcam program to save JPEGs to disk because ZM couldn't handle the palette the camera used.
Lieuwke
Posts: 5
Joined: Sun Nov 08, 2015 9:30 pm

Re: Errormessages in log

Post by Lieuwke »

Hi Nerre,

thank you for your response.
I read something on this board (forgot to take a note wich topic) to change the source type form remote to Ffmpeg and it did the trick. No more errors in my log...... i thought. Now i'm getting other errors. But i think this has another cause.

I know i don't get to expect superquality with these china cams, but for ~25 bucks per cam it's very tempting to buy a bunch of these.....
SteveGilvarry
Posts: 494
Joined: Sun Jun 29, 2014 1:12 pm
Location: Melbourne, AU

Re: Errormessages in log

Post by SteveGilvarry »

Nerre out of interest if you are 100% it was a palette issue, do you know what the palette was from your camera?
Production Zoneminder 1.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
Nerre
Posts: 100
Joined: Thu Sep 25, 2014 10:22 am

Re: Errormessages in log

Post by Nerre »

Output from v4l-info:

Code: Select all

### v4l2 device info [/dev/video0] ###
general info
    VIDIOC_QUERYCAP
        driver                  : "ov519"
        card                    : "USB Camera"
        bus_info                : "usb-0000:00:1d.1-1"
        version                 : 4.2.5
        capabilities            : 0x85200001 [VIDEO_CAPTURE,?,READWRITE,STREAMING,(null)]

standards

inputs
    VIDIOC_ENUMINPUT(0)
        index                   : 0
        name                    : "ov519"
        type                    : CAMERA
        audioset                : 0
        tuner                   : 0
        std                     : 0x0 []
        status                  : 0x0 []

video capture
    VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
        index                   : 0
        type                    : VIDEO_CAPTURE
        flags                   : 1
        description             : "GSPCA OV518"
        pixelformat             : 0x3831354f [O518]
    VIDIOC_G_FMT(VIDEO_CAPTURE)
        type                    : VIDEO_CAPTURE
        fmt.pix.width           : 320
        fmt.pix.height          : 240
        fmt.pix.pixelformat     : 0x3831354f [O518]
        fmt.pix.field           : NONE
        fmt.pix.bytesperline    : 320
        fmt.pix.sizeimage       : 230400
        fmt.pix.colorspace      : JPEG
        fmt.pix.priv            : 4276996862
From what I understand this is a known problem with the OV518 camera. Even FFMPEG won't read from it.
Locked