Search found 5 matches

by sewi
Thu Jan 27, 2022 2:19 pm
Forum: ZoneMinder 1.36.x
Topic: Recorded events start with grey frames
Replies: 15
Views: 13449

Re: Recorded events start with grey frames

How about preset=ultrafast crf and preset are the only ones I've played with. For other things to try you will have to read the ffmpeg docs on the h264 codec. Things change if you are using an hwaccel codec as well. Debug logs may help figure things out because unused flags will be logged. The cue ...
by sewi
Thu Jan 27, 2022 8:52 am
Forum: ZoneMinder 1.36.x
Topic: Recorded events start with grey frames
Replies: 15
Views: 13449

Re: Recorded events start with grey frames

You need to set at least a crf= in the options. ffmpeg doesn't set sane defaults. Each codec has it's own settings. Read the ? for Encoder Options. "crf=23" is already set in the options, is there any other known parameter that needs to be set, in order to fix the grey frames at the start of the ...
by sewi
Wed Jan 26, 2022 5:08 pm
Forum: ZoneMinder 1.36.x
Topic: Recorded events start with grey frames
Replies: 15
Views: 13449

Re: Recorded events start with grey frames

Mhm, though the video frame would be a composite of the source (with the absence of data), and the overlaid privacy mask (data that is present). When it snaps into place, the privacy mask (which is the composite part ZoneMinder would already know) is just as blurry and blocky as everything else, as ...
by sewi
Wed Jan 26, 2022 4:35 pm
Forum: ZoneMinder 1.36.x
Topic: Recorded events start with grey frames
Replies: 15
Views: 13449

Re: Recorded events start with grey frames

Yea, that was my assumption too. I had hoped - but maybe I misunderstand its function, in which case it'd be great if someone told me what settings to set - that increasing "Image Buffer Size (frames)" to a large enough value to catch a key frame would solve the issue. However even at 200, there ...
by sewi
Wed Jan 26, 2022 3:24 pm
Forum: ZoneMinder 1.36.x
Topic: Recorded events start with grey frames
Replies: 15
Views: 13449

Recorded events start with grey frames

Hey, I am having a bit of an issue with the Hikvision DS-2CD2186G2-I cameras on Zoneminder v1.36.5 (tho it happens on v1.36.12 just the same). Anytime they record an event, the image is completely grey for about two seconds (specifically, 7 frames on 4 FPS): zm1.png The image then "blocks in", over ...