Concatenate ZoneMinder Events Utility

If you've made a patch to quick fix a bug or to add a new feature not yet in the main tree then post it here so others can try it out.
Post Reply
BlankMan
Posts: 147
Joined: Tue Jan 19, 2010 2:53 am
Location: Milwaukee, WI USA

Concatenate ZoneMinder Events Utility

Post by BlankMan »

I wrote a Perl script to concatenate events using ffmpeg. The script finds the images from each Event and stages them for ffmpeg to use them to create the video. It skips images (frames) that might be duplicate, i.e. from when two Events overlap due to Pre and Post Event Image counts.

Anyone interested in using it you can get it and information on it here.

Any comments. questions, suggestions, let me know.
Dreded
Posts: 26
Joined: Fri Dec 03, 2010 1:33 am

Post by Dreded »

so I went to go download your perl script and there is no perl script in the archive... also I had to use 7zip to even open what was there(Readme and ReleaseNotes) as any other archive manager said it was an invalid file
BlankMan
Posts: 147
Joined: Tue Jan 19, 2010 2:53 am
Location: Milwaukee, WI USA

Post by BlankMan »

Dreded wrote:so I went to go download your perl script and there is no perl script in the archive... also I had to use 7zip to even open what was there(Readme and ReleaseNotes) as any other archive manager said it was an invalid file
Well that certainly is embarrassing. It's in there now. Musta forgot to move it to the staging directory when I made the tarball. Sorry about that.

7zip? not familiar with that. You mean

tar -xvzf zmConcatEvents-1.0.0.tar.gz

Didn't work? Or

gzip -d zmConcatEvents-1.0.0.tar.gz
tar -xvf zmConcatEvents-1.0.0.tar

Didn't work for you? Both those methods work for me and I just tried them again. Let me know if you still have problems unzipping it.
eronquillo
Posts: 11
Joined: Sun Aug 03, 2008 4:03 pm

Post by eronquillo »

Amazing job you did! Thank you so much for creating this script!
:D
User avatar
mmi
Posts: 111
Joined: Wed Jun 27, 2007 12:54 am

coomand not found

Post by mmi »

afeter i extract tar archive in ../zm/zmConcatEvents-1.0.0
and cd .../zmConcatEvents-1.0.0
i get this
bash: zmConcatEvents: command not found

can you give me a clue?
BlankMan
Posts: 147
Joined: Tue Jan 19, 2010 2:53 am
Location: Milwaukee, WI USA

Post by BlankMan »

eronquillo wrote:Amazing job you did! Thank you so much for creating this script!
:D
Thanks!
mmi wrote:afeter i extract tar archive in ../zm/zmConcatEvents-1.0.0
and cd .../zmConcatEvents-1.0.0
i get this
bash: zmConcatEvents: command not found

can you give me a clue?
Learn UNIX/Linux? ;-)

The zmConcatEvents-1.0.0 directory is not in your path so if you don't type in the fully qualified path and file name it's not going to be found.

Type ./zmConcatEvents when sitting in the directory where it exists.
Post Reply