Search found 24 matches

by ConcreteRooster
Tue Sep 25, 2018 9:10 pm
Forum: ZoneMinder 1.32.x
Topic: vidoe files are lost after 2 days
Replies: 3
Views: 2469

Re: vidoe files are lost after 2 days

I had a similar thing happen. I upgraded to 1.32.0 (from 1.30.4). All the events from the previous version still show up in the web interface (meaning they are presumably still in the DB). But actual event JPG files have all been removed and replaced with a bunch of broken symlinks: # pwd /var/lib/z...
by ConcreteRooster
Mon Sep 24, 2018 8:46 pm
Forum: ZoneMinder 1.32.x
Topic: "on-demand" mocord - constant h264 record with modect as-needed?
Replies: 5
Views: 4002

Re: "on-demand" mocord - constant h264 record with modect as-needed?

Thank you both for the idea(s). I think I might give that a try. Current CPU usage isn't really a problem, other than I know it's sub-optimal. Batch processing would IMO be the best, though, because it would in theory allow the CPU to enter a low-power/idle state for longish periods of time. I haven...
by ConcreteRooster
Thu Sep 20, 2018 3:57 pm
Forum: ZoneMinder 1.32.x
Topic: "on-demand" mocord - constant h264 record with modect as-needed?
Replies: 5
Views: 4002

"on-demand" mocord - constant h264 record with modect as-needed?

I'm currently still using ZM 1.30.4. But I gave another PVR a try, and the one thing I really liked was "native" h264 recording: I could do the equivalent of ZM's always-record with negligible CPU utilization (my cameras output h264 streams). If I understand correctly, ZM added experimenta...
by ConcreteRooster
Thu Jul 20, 2017 9:17 pm
Forum: ZoneMinder Hints & Tips
Topic: Script to convert all events to daily videos
Replies: 23
Views: 46363

Re: Script to convert all events to daily videos

I see one potential problem in your shell script: DEST_DIR=/OUTPUT/zoneminder/${folder}/ I don't see where you define ${folder}. That will probably evaluate to an empty string, so your files get written to /OUTPUT/zoneminder/ whereas you presumably what /OUTPUT/zoneminder/something else. Also, just...
by ConcreteRooster
Sun Jul 16, 2017 1:42 pm
Forum: ZoneMinder Hints & Tips
Topic: Script to convert all events to daily videos
Replies: 23
Views: 46363

Re: Script to convert all events to daily videos

Give this a try, it should do what you want. The "--prefix" CLI arg has been removed, and replaced by the more general "--outfmt" argument. There is also a new "--timefmt" arg. With the old --prefix arg, you set only the first part of the filename, and the rest was auto...
by ConcreteRooster
Fri Jul 14, 2017 10:04 pm
Forum: ZoneMinder Hints & Tips
Topic: Script to convert all events to daily videos
Replies: 23
Views: 46363

Re: Script to convert all events to daily videos

hello ConcreteRooster is there a way to change the date format ? i tried changing them with success date_format='%b%d%Y-%H:%M:%S' i wanted to write the video in this format XXXX.from.May.20.2017-Time.10.27.00-to. May.21.2017-Time.10.27.00 Hi, sorry I didn't respond sooner - I haven't been checking ...
by ConcreteRooster
Tue May 16, 2017 4:48 pm
Forum: ZoneMinder Hints & Tips
Topic: how to disable weather to trigger events?
Replies: 2
Views: 7001

Re: how to disable weather to trigger events?

I have the same problem, but haven't yet taken the time to look for a solution. My plan was to make videos of existing events, both bogus (weather, shadows, etc) and real. Then I could set up a monitor using those videos and try out different parameters to the Modect rules. (See Modect - use existin...
by ConcreteRooster
Wed Apr 19, 2017 3:28 pm
Forum: Non-ZoneMinder Chat
Topic: Zoneminder and MythTV - any chance of dev synergy?
Replies: 3
Views: 4238

Re: Zoneminder and MythTV - any chance of dev synergy?

Thank you for your thoughts, knnniggett. My gut said the similarities were likely too superficial to achieve any real synergy. But I couldn't help but toss the idea out there. Only one follow-up comment: Despite their similarities though, the two projects each have different goals. MythTV is part of...
by ConcreteRooster
Tue Apr 18, 2017 4:10 pm
Forum: ZoneMinder 1.30.x
Topic: Modect - use existing events to test new zone rules?
Replies: 4
Views: 5242

Re: Modect - use existing events to test new zone rules?

Regarding direct play of the video file (new ZM monitor using ffmpeg source): it half-worked for me. I created the video using my script , although it's really just a wrapper for ffmpeg, using this command: ffmpeg -safe 0 -f concat -i filelist.txt -vf scale=iw:ih -framerate 15 -pix_fmt yuv420p outfi...
by ConcreteRooster
Mon Apr 17, 2017 8:34 pm
Forum: Non-ZoneMinder Chat
Topic: Zoneminder and MythTV - any chance of dev synergy?
Replies: 3
Views: 4238

Zoneminder and MythTV - any chance of dev synergy?

Didn't know where to post this, it's just a random "thinking out loud" kind of notion... As a long-time user of MythTV (open-source DVR), and more recently a very enthusiastic user of Zoneminder, I can't help but notice they have some similarities, at least at a high-level: Both deal with ...
by ConcreteRooster
Mon Apr 17, 2017 8:17 pm
Forum: ZoneMinder 1.30.x
Topic: Modect - use existing events to test new zone rules?
Replies: 4
Views: 5242

Modect - use existing events to test new zone rules?

I have ZM 1.30 doing motion detection at a remote location. Works great, except I get a few more false positives than I'd like. No surprise there---I'm using very simplistic, overly sensitive zone rules with AlarmedPixels only. My initial intent was to favor false positives over potentially missing ...
by ConcreteRooster
Wed Mar 29, 2017 7:15 pm
Forum: ZoneMinder Hints & Tips
Topic: Script to convert all events to daily videos
Replies: 23
Views: 46363

Re: Script to convert all events to daily videos

This is awesome! I just tested by creating a video of the entire day for my driveway camera. Worked perfectly. Thanks for sharing. My pleasure, glad you enjoy it! One more small update. This is an enhancement/new feature only, so no need to download unless you want the feature. I added a "--ye...
by ConcreteRooster
Wed Mar 08, 2017 1:12 pm
Forum: ZoneMinder Hints & Tips
Topic: Script to convert all events to daily videos
Replies: 23
Views: 46363

Re: Script to convert all events to daily videos

Small update, you might call it a bugfix: I had a sanity check to avoid duplicate JPG files. But if you're creating a video from a huge number of JPG files (say, a whole day's worth when using Record Mode), the performance degraded to unacceptable levels. (My process was still running after 24 hours...
by ConcreteRooster
Mon Feb 27, 2017 5:52 pm
Forum: ZoneMinder Hints & Tips
Topic: Script to convert all events to daily videos
Replies: 23
Views: 46363

Re: Script to convert all events to daily videos

Here's another update, one minor enhancement and one major: Added --framerate CLI option. I didn't test this too much, but it's basically just a pass-through to the ffmpeg -framerate option. The default is 15. Play with this if the videos created with this tool don't play back at the speed you expec...
by ConcreteRooster
Fri Feb 24, 2017 10:19 pm
Forum: ZoneMinder Hints & Tips
Topic: Script to convert all events to daily videos
Replies: 23
Views: 46363

Re: Script to convert all events to daily videos

Another update: Bugfix: the previous --event-dir enhancements could create a situation where the scaled files (or symlinks if not scaling) had colliding filenames. Fixed. Enhancement: added a --no-cleanup option which, if used, will stop the script from cleaning up temp/intermediate files (likely on...