Search found 7 matches

by d4v1d
Fri Dec 22, 2023 7:00 am
Forum: ZoneMinder 1.36.x
Topic: Direct Writing, OOM Crashes
Replies: 15
Views: 108487

Re: Direct Writing, OOM Crashes

Hi Quantum,

what if you directly try to capture the input streams with FFMPEG:

Code: Select all

ffmpeg -i <input_url> /tmp/test.mp4
by d4v1d
Wed Dec 20, 2023 7:51 am
Forum: ZoneMinder 1.36.x
Topic: Direct Writing, OOM Crashes
Replies: 15
Views: 108487

Re: Direct Writing, OOM Crashes

Is this done the way I propose above? Actually I've never tested H265 streams myself, but with your errors it seems that passthrough is not correct option. This sounds like a memory leak. If it keeps happening I guess I'll have to resort to compiling ZM. I don't think it's a memory leak because it ...
by d4v1d
Tue Dec 19, 2023 3:21 pm
Forum: ZoneMinder 1.36.x
Topic: Direct Writing, OOM Crashes
Replies: 15
Views: 108487

Re: Direct Writing, OOM Crashes

If you have an H264 source stream, you need to set video writer to passtrough, for MJPEG streams you need to set it to encode. I have also experienced high CPU load with increasing RAM usage over time. Disabling the save jpegs option decreased my CPU load by half. It also seems that a high log level...
by d4v1d
Mon Sep 11, 2023 7:14 am
Forum: ZoneMinder 1.36.x
Topic: ZoneMinder 1.36.33 poor performance and no audio
Replies: 4
Views: 1896

Re: ZoneMinder 1.36.33 poor performance and no audio

I managed to fix my audio drift by changing the audio_next_pts calculation: int64_t in_pts = zm_packet->timestamp.tv_sec * (uint64_t)1000000 + zm_packet->timestamp.tv_usec; if (audio_first_dts == AV_NOPTS_VALUE) { audio_first_dts = in_pts; audio_next_pts = 0; Debug(3, "audio first_dts to %"...
by d4v1d
Sat Sep 09, 2023 4:37 pm
Forum: User Contributions
Topic: github permission to ZoneMinder/zoneminder.git denied
Replies: 0
Views: 29627

github permission to ZoneMinder/zoneminder.git denied

Hello, I'm trying to create a pull request for issue https://github.com/ZoneMinder/zoneminder/issues/3764 #3764. I checkout out a new feature branch, but when I try to push the branch, I get the following error: ERROR: Permission to ZoneMinder/zoneminder.git denied to d-bum. fatal: Konnte nicht vom ...
by d4v1d
Fri Sep 08, 2023 11:54 am
Forum: ZoneMinder 1.36.x
Topic: ZoneMinder 1.36.33 poor performance and no audio
Replies: 4
Views: 1896

Re: ZoneMinder 1.36.33 poor performance and no audio

Hello Mr. Connor, first of all, thank you for your response. I attached the level 3 debug logs below. I changed the audio stream format from mp3 to pcm. Now the audio gets correctly encoded into the video file but the performance issues remain. With an mp3 audio stream, av_read_frame takes about ~23...
by d4v1d
Wed Sep 06, 2023 11:36 am
Forum: ZoneMinder 1.36.x
Topic: ZoneMinder 1.36.33 poor performance and no audio
Replies: 4
Views: 1896

ZoneMinder 1.36.33 poor performance and no audio

Hello, I'm trying to get audio recording to work. I have a camera that streams video and audio on separate streams. The video is an mjpeg rtp stream. The audio is an mp3 rtsp stream. I'm using the h264_vaapi hardware encoder with VideoWriter set to 1 (encode). I use qp=23 as additional encoder param...