Page 1 of 1

How record just with one file, instead lots by 10 min?

Posted: Thu Jun 25, 2009 10:07 pm
by DRAGSTER_TUNER
In record function, ZM creates on directory even 10 minutes...

How make it creates just one constant?
________
Sh125

Posted: Fri Jun 26, 2009 12:22 pm
by coke
Were it possible, wouldn't it be kinda painful to review? I'd say deeply painful.

Posted: Fri Jun 26, 2009 10:56 pm
by DRAGSTER_TUNER
Not at all, because ill convert it to video file with ffmpeg...

painfull is do what im doing:

make it with each folder!

:shock:

have some way to make just one folder with all results?
________
Teen Videos

Posted: Sat Jun 27, 2009 6:42 am
by mgob
I do the same thing, I just increased the length per section. This is adjustable via the `Misc` tab on your monitor settings and is configurable per monitor. :)

Posted: Sun Jun 28, 2009 4:49 pm
by DRAGSTER_TUNER
Thanks, this tip solve my problem!

How the ffmpeg does not accepts the sign "-" in the name of the jpeg file (zoneminder creates a name called xxx-capture.jpeg, where xxx is a number) to make a movie, i take a script from internet and change a little, to rename the file and made the movie ready after:

#!/bin/bash

criterio=$1
antigo=$2
novo=$3

if [ $# -lt 3 ] ; then
echo "modo de usar: renomeia [criterio] [texto_a_ser_substituido] [texto_substituto]"
exit 0
fi

for arq in *$criterio*
do
mv "$arq" "$(echo $arq | sed "s/$antigo/$novo/")"
done

ffmpeg -f image2 -i %03d.jpg video.mpg

Create a script with these lines, give to the script file a name and put it in /usr/bin and /usr/local/bin and give to it permisssion to execute.

Then, just execute the script in the folder of the jpegs!

:wink:
________
Mary jane