Search found 584 matches

by mikb
Sat Jan 13, 2024 5:44 pm
Forum: ZoneMinder 1.36.x
Topic: Adding a Raspberry Pi camera stream into Zoneminder
Replies: 5
Views: 60587

Re: Adding a Raspberry Pi camera stream into Zoneminder

rstp://192.168.1.29:8554/stream1 Can you check if that is a transcription typo when pasting to the forum, or did you really type that into ZM? R-*T*-S-P ;) Well spotted. It was a transcription error on my part. Apologies and thank you for the swift response. Ah, no problem. I'd hate to think that a...
by mikb
Fri Jan 12, 2024 6:21 pm
Forum: ZoneMinder 1.36.x
Topic: Adding a Raspberry Pi camera stream into Zoneminder
Replies: 5
Views: 60587

Re: Adding a Raspberry Pi camera stream into Zoneminder

Code: Select all

 rstp://192.168.1.29:8554/stream1
Can you check if that is a transcription typo when pasting to the forum, or did you really type that into ZM?

R-*T*-S-P ;)
by mikb
Thu Jan 11, 2024 6:22 pm
Forum: ZoneMinder 1.36.x
Topic: Excessive energy consumption
Replies: 14
Views: 159287

Re: Excessive energy consumption

It consumes most of the 16GB of RAM. I do not mind the system consuming all of the RAM because part of the RAM is used for caching. I also believe unused RAM is a waste. I think this is an important thing to get across to people, esp. those coming from a Windows background where (historically) the ...
by mikb
Sat Dec 30, 2023 7:05 pm
Forum: Non-ZoneMinder Chat
Topic: solar camera IP discovery & rtsp
Replies: 5
Views: 16172

Re: solar camera IP discovery & rtsp

Note that ZM doesn't REQUIRE rtsp -- it's just that most cameras that provide an RTSP stream will be supported by ZM and the settings can be discovered easier if the camera supports ONVIF. Discovering the cameras secrets may well involve using the original manufacturer's app, plus some packet-sniffi...
by mikb
Sat Dec 23, 2023 5:58 pm
Forum: ZoneMinder 1.36.x
Topic: Direct Writing, OOM Crashes
Replies: 15
Views: 76375

Re: Direct Writing, OOM Crashes

I'm doing all of this as root. Wow. Then you need to give your computer a stern talking to. "I am root. What do you 'Permission Denied!' Who's in charge here?" :) Still, your test ffmpeg command should be happier if you give it a destination that it can write to. If the computer will allo...
by mikb
Fri Dec 22, 2023 6:18 pm
Forum: ZoneMinder 1.36.x
Topic: Direct Writing, OOM Crashes
Replies: 15
Views: 76375

Re: Direct Writing, OOM Crashes

ffmpeg -i <input_url> /tmp/test.mp4 reticulum:/etc# ffmpeg -i rtsp://UN:PW@10.2.5.52/cam/realmonitor?channel=1&subtype=01 /tmp/test.mp4 [1] 141506 ****-bash: /tmp/test.mp4: Permission denied**** I don't know SELinux. I do know "permission denied" means that ain't gonna work ;) For som...
by mikb
Thu Dec 21, 2023 6:09 pm
Forum: ZoneMinder 1.34.x
Topic: Docker - Unable to connect to server using socket at /run/zm/zmdc.sock
Replies: 3
Views: 26172

Re: Docker - Unable to connect to server using socket at /run/zm/zmdc.sock

dougmccrary wrote: Thu Dec 21, 2023 2:12 am Post by ClovisAufderhar
is probably a bot. We'll see...
Good instinct! It was edited later to add the secret sauce, which is why it's now gone.
by mikb
Wed Dec 20, 2023 7:07 pm
Forum: ZoneMinder 1.36.x
Topic: Unable to convert raw format 0
Replies: 2
Views: 6013

Re: Unable to convert raw format 0

ERR [zmc_m15] [Unable to convert raw format 0 yuv420p 1920x1080 to target format 26 rgba 1920x1080: Invalid argument] On the face of it, the error seems to make sense (except why 420p is 1920x1080?!) It's not 420p as in a worse version of 720p (720 scanlines, progressive) but 420 is a measure of ho...
by mikb
Tue Dec 19, 2023 6:16 pm
Forum: ZoneMinder 1.36.x
Topic: New ZM Install on Debian - Continuous rc Errors in syslog
Replies: 17
Views: 43590

Re: New ZM Install on Debian - Continuous rc Errors in syslog

Interestingly, /etc/rc[4,5,6].d all exist Hmmm. So that's a good stand-in for rc.9/rc.fish suggestion. So something is only ingesting four indigestible pieces of directory, expecting video devices. Why only four? :) options bttv card=42,42,42,42 radio=0 tuner=4 chroma_agc=1 vbibufs=4 v4l2=1 gbuffer...
by mikb
Mon Dec 18, 2023 6:24 pm
Forum: ZoneMinder 1.36.x
Topic: Error creating zmuser
Replies: 2
Views: 8423

Re: Error creating zmuser

Trying to install zm on debian bookworm and I get the following error when running the command to create and grant the zmuser. mysql -uroot -p -e "grant all on zm.* to 'zmuser'@localhost identified by 'zmpass';" Enter password: ERROR 1064 (42000) at line 1: You have an error in your SQL s...
by mikb
Fri Dec 15, 2023 6:22 pm
Forum: ZoneMinder 1.36.x
Topic: New ZM Install on Debian - Continuous rc Errors in syslog
Replies: 17
Views: 43590

Re: New ZM Install on Debian - Continuous rc Errors in syslog

I think I used to see these. They are coming from the kernel, not init runlevels. I think they are coming from the video capture add-on card drivers. I don't think I was ever able to fix them. True on the source: The log messages do say "vss-new" (machine name) and source as "kernel:...
by mikb
Sat Dec 09, 2023 3:16 pm
Forum: ZoneMinder 1.36.x
Topic: New ZM Install on Debian - Continuous rc Errors in syslog
Replies: 17
Views: 43590

Re: New ZM Install on Debian - Continuous rc Errors in syslog

Thank you for that! Confirmed that same description is valid on the version of Debian that this machine is installed with. (They say that it can change between distros & releases... simply running perl -E 'say $!=shift' 6 returned "No such device or address".) Certainly sounds hardwar...
by mikb
Fri Dec 08, 2023 6:24 pm
Forum: ZoneMinder 1.36.x
Topic: New ZM Install on Debian - Continuous rc Errors in syslog
Replies: 17
Views: 43590

Re: New ZM Install on Debian - Continuous rc Errors in syslog

I did think of a workaround... doesn't really fix whatever's causing this, but makes syslog useful again. Created /etc/rsyslog.d/01-blocklist.conf and put these lines in it: :msg,contains,"rc rc0: error -6" ~ :msg,contains,"rc rc1: error -6" ~ :msg,contains,"rc rc2: error -...
by mikb
Tue Nov 21, 2023 6:16 pm
Forum: ZoneMinder 1.34.x
Topic: Preferred way to clean up full disk?
Replies: 3
Views: 7941

Re: Preferred way to clean up full disk?

It may take ZM audit a while to catchup if you deleted a LOT of items on disk and have it configured to only do X amount of work per run. Leave it another day and look again, see if the event count has come down over time.
by mikb
Mon Nov 20, 2023 6:26 pm
Forum: ZoneMinder 1.36.x
Topic: Good God, MySQL Data File is 75GB, how to fix?
Replies: 4
Views: 21690

Re: Good God, MySQL Data File is 75GB, how to fix?

This sounds nuclear. What is making it so large? Nuclear is "delete the database entirely" :) Dumping out the db and remaking it would re-pack all the wanted data sensibly, and free up any trapped bloat in there from millions of insert/remove operations the db has gone through. When my da...