Page 1 of 1
Concatenate ZoneMinder Events Utility
Posted: Fri Dec 03, 2010 5:25 am
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.
Posted: Sun Dec 05, 2010 2:08 am
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
Posted: Sun Dec 05, 2010 2:58 am
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.
Posted: Sat Jan 01, 2011 1:18 am
by eronquillo
Amazing job you did! Thank you so much for creating this script!

coomand not found
Posted: Sat Jan 01, 2011 10:45 am
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?
Posted: Sat Jan 01, 2011 11:01 am
by BlankMan
eronquillo wrote:Amazing job you did! Thank you so much for creating this script!

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.