H264 passtrough "ghosting/smearing"

Forum for questions and support relating to the 1.31.x releases only.
Locked
cilione
Posts: 2
Joined: Mon Mar 22, 2010 6:24 pm

H264 passtrough "ghosting/smearing"

Post by cilione »

Running v1.31.44.
Using "zoneminder-master" on Ubuntu 16.04.5 LTS.

I´m having problem with ghosting/smearing/pixelation.
I´ve uploaded a sample/event with this happening sample.
You can see that at sometimes the contour of the guy/me in the picture is blending into the background.
Also, the face gets very blurry.

("Untouched" version of the event is available here).

Cameras:
4x Escam QD300 (using the settings below).

---------------------------------------------------------------------
General >>
Name: Altan
Server: None
Storage Area: Default
Source Type: Ffmpeg
Function: Modect
Enabled: yes
Linked Monitors:
Groups:
Analysis FPS:

Maximum FPS (?): 15.00 (my cameras are set to 12 fps in camera settings)
Alarm Maximum FPS (?): 15.00(my cameras are set to 12 fps in camera settings)
Reference Image Blend %ge: 6.25% (Indoor)
Alarm Reference Image Blend %ge: 6.25%
Triggers None available

Source >>

Source Path: rtsp://192.168.254.32:554/user=admin&password=&channel=1&stream=0.sdp
Method (?) : TCP
Options (?):
Target colorspace: 32 bit colour
Capture Width (pixels): 1280
Capture Height (pixels): 720
Preserve Aspect Ratio: no
Orientation: Normal
Deinterlacing: Disabled

Storage >>
Save JPEGs: Frames + Analysis images (if available)
Video Writer: H264 Camera Passtrough
Optional Encoder Parameters:
# Lines beginning with # are a comment
# For changing quality, use the crf option
# 1 is best, 51 is worst quality
#crf=1
Whether to store the audio stream when saving an event.: no

Buffers >>
Image Buffer Size (frames) : 48
Warmup Frames: 0
Pre Event Image Count: 24
Post Event Image Count: 24
Stream Replay Image Buffer: 0
Alarm Frame Count: 1
------------------------------------------------------------------
Camera settings:
Image
Image

Any ideas?
User avatar
iconnor
Posts: 2900
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: H264 passtrough "ghosting/smearing"

Post by iconnor »

The only thing I have to say is that I don't think it's ZM's fault. I think it is all the encoder on the cameras fault. Perhaps changing it's settings will help.

The other thing to notice is that you are saving both the h264 stream AND storing millions of jpg's. You might think about Just storing the analysis frames.
l80jas
Posts: 7
Joined: Sat May 07, 2011 5:58 pm
Location: Belfast, Northern Ireland

Re: H264 passtrough "ghosting/smearing"

Post by l80jas »

Hi there,
I have used the same camera and found the quality a bit poor. Try reducing the frame rate. And dont set a frame rate in ZM.
User avatar
zd59
Posts: 102
Joined: Wed Jan 18, 2017 1:39 pm
Location: EU - Slovenia

Re: H264 passtrough "ghosting/smearing"

Post by zd59 »

Hi!

Yes, I80jas is right. As in a manual, DO NOT set frame rate in ZM, should be empty. Instead set it up in camera own settings.
Once I forget that at set up a test system and spent days to debug not working system.

By the way, iconnor why ZM have this settings, as they mess up ZM and its user? It would be nice to remove them.
Locked