Search found 502 matches

by mikb
Thu Jul 02, 2020 3:29 pm
Forum: ZoneMinder 1.35.x Development Branch
Topic: Could not open out file: permission denied
Replies: 6
Views: 2751

Re: Could not open out file: permission denied

Ah, not what I was expecting! ext4 is a proper file system. Good. Direct SATA connection -- Good -- this rules out flaky USB enclosures and CIFS/SMB networking devices that don't know how to work properly. The wide permissions being deliberate I can understand, please make sure to re-attach the door...
by mikb
Tue Jun 30, 2020 3:59 pm
Forum: ZoneMinder 1.35.x Development Branch
Topic: Could not open out file: permission denied
Replies: 6
Views: 2751

Re: Could not open out file: permission denied

Need more information about the external drive -- most importantly, is it using a FAT filesystem, or a proper one like ext4? How is it connected (USB, network?) Model number etc. (so others can Google what you've got). It is possible that the drive is using a FAT file system (which is pretty clueles...
by mikb
Sat Jun 27, 2020 3:37 pm
Forum: ZoneMinder 1.34.x
Topic: Noob trying to get zoneminder stable
Replies: 4
Views: 1954

Re: Noob trying to get zoneminder stable

You may want to search the forum for posts regarding keywords: FFMPEG and "streaking, smearing, blurring" ... to see if you can optimise how you are handling the video streams.

Reducing resolution and frame rate can relieve some of the stress on the system, making it appear stable ;)
by mikb
Thu Jun 25, 2020 2:56 pm
Forum: ZoneMinder 1.34.x
Topic: Even time is incorrect
Replies: 2
Views: 1476

Re: Even time is incorrect

My guess is you changed the thing that needed to be fixed, but it didn't get picked up by Zoneminder/MySQL/Apache which was already running and happy being 4 hours adrift.

Until something caused one of [ZM/MySQL/Apache] to re-read its config, restart, reboot, at which point it "fixed itself" :)
by mikb
Tue Jun 23, 2020 3:24 pm
Forum: ZoneMinder 1.34.x
Topic: Source not capturing when rotated
Replies: 12
Views: 3924

Re: Source not capturing when rotated

Well that's even worse, because that collection of horizontal resolutions are ALL indigestible by 16 :)

As in -- I would hope they all make something feel unwell!
by mikb
Mon Jun 22, 2020 2:50 pm
Forum: ZoneMinder 1.34.x
Topic: Source not capturing when rotated
Replies: 12
Views: 3924

Re: Source not capturing when rotated

Why would divisibility by 16 matter in one dimension but not another? As per iconnor's post -- I just discovered that when batch transcoding videos at their "supplied size" into xvid/mp4 formats, I would get a hard "segmentation fault" refusal from FFMPEG for some of them. The only thing in common ...
by mikb
Sun Jun 21, 2020 3:54 pm
Forum: ZoneMinder 1.34.x
Topic: Source not capturing when rotated
Replies: 12
Views: 3924

Re: Source not capturing when rotated

It may be that 1920 divides exactly by 16, yet 1080 does NOT divide by 16.

I've come across general video-handling-with-FFMPEG problems when using X-resolutions that are not exact multiples of 16, so have become sensitive to that one :)
by mikb
Sun Jun 21, 2020 3:51 pm
Forum: ZoneMinder 1.35.x Development Branch
Topic: Limit Diskspace for a cam
Replies: 10
Views: 4689

Re: Limit Diskspace for a cam

BaconButty wrote:
Sun Jun 21, 2020 3:33 pm
find /var/cache/zoneminder/HighResCamEvents -maxdepth 5 -type f -printf '%T@\>
Can you check and edit this post, as it looks like part of the printf got munched away (here AND in your other posting of it) -- there's an unbalanced quote which made me notice ...

Code: Select all

 -printf '%T@\t%s\t%p\n'>
by mikb
Sun Jun 14, 2020 6:41 pm
Forum: ZoneMinder 1.34.x
Topic: PurgeWhenFull stops working
Replies: 6
Views: 2000

Re: PurgeWhenFull stops working

"E.AlarmFrames < -2 weeks " This makes no sense to me, it might to you :) If AlarmFrames is a count of how many frames are "alarmworthy", then what is the meaning of "< -2 weeks"? It would be odd to have less than -2 alarmed frames, wouldn't "0" be a real-world minimum there? I think maybe something...
by mikb
Tue Jun 09, 2020 3:25 pm
Forum: ZoneMinder 1.34.x
Topic: I need help getting audio recording to work
Replies: 17
Views: 4711

Re: I need help getting audio recording to work

Where is zm_ffmpeg.cpp located in a standard zoneminder install? I was gonna investigate line 70 of that file to see what's up with it. For future general Unix reference ... if you have locate or slocate installed, you can do this :- # locate "zm_ffmpeg.cpp" /usr/local/src/zoneminder/ZoneMinder-1.2...
by mikb
Thu Jun 04, 2020 4:02 pm
Forum: Hardware Queries
Topic: Can zonminder service "crash" from low power?
Replies: 15
Views: 5101

Re: Can zonminder service "crash" from low power?

Although the USB spec does allow a tolerance under/over 5v, and other devices may well work with that PSU, a lot of the "Raspberry Pi approved" power supplies are set for the upper end of the voltage range to help with this.
by mikb
Wed Jun 03, 2020 4:32 pm
Forum: Hardware Queries
Topic: Can zonminder service "crash" from low power?
Replies: 15
Views: 5101

Re: Can zonminder service "crash" from low power?

Definitely sort out your power supply -- if you are getting under-voltage reports, and the CPU is throttling, you have an overloaded, defective or poor quality power supply. ZM crashing is a likely consequence, so is the whole system hanging, data corruption, and destruction of the contents of the m...
by mikb
Mon Jun 01, 2020 2:52 pm
Forum: ZoneMinder 1.34.x
Topic: Source stream cropping strikes back
Replies: 4
Views: 1173

Re: Source stream cropping strikes back

'-filter:v crop=1000:740:640:480' perfectly Could anyone give me a hint how can i crop the source video stream (before processing by zm)? Two things :- Your command line seems to cut a 1000x740 box out of the source video, positioned 640 along and 480 down. Is that really what you meant? It's an un...
by mikb
Sat May 30, 2020 4:28 pm
Forum: Feature Requests
Topic: calendar/time support enabling scheduleling when camera is on/off
Replies: 4
Views: 2619

Re: calendar/time support enabling scheduleling when camera is on/off

... but the way I see it, these modes just replaces the start/stop states anyways. Then there would be no point having "states" if they are just other ways of saying start and stop. The normal "start -> running" state and "stop -> stopped" state are in addition to any you define, not instead of, or...
by mikb
Fri May 29, 2020 3:11 pm
Forum: Feature Requests
Topic: calendar/time support enabling scheduleling when camera is on/off
Replies: 4
Views: 2619

Re: calendar/time support enabling scheduleling when camera is on/off

great feature if all or selected cameras could be turned on/off based on time of day. Only way I found so far is to set up a cron task that in effect stop or start zm based on my cron schedule. There is a way to do this, you've nearly got it already. Instead of accepting the default "run states" of...