In record function, ZM creates on directory even 10 minutes...
How make it creates just one constant?
________
Sh125
How record just with one file, instead lots by 10 min?
-
- Posts: 39
- Joined: Fri Apr 17, 2009 1:42 am
How record just with one file, instead lots by 10 min?
Last edited by DRAGSTER_TUNER on Sat Feb 12, 2011 2:55 pm, edited 1 time in total.
-
- Posts: 39
- Joined: Fri Apr 17, 2009 1:42 am
Not at all, because ill convert it to video file with ffmpeg...
painfull is do what im doing:
make it with each folder!
have some way to make just one folder with all results?
________
Teen Videos
painfull is do what im doing:
make it with each folder!
have some way to make just one folder with all results?
________
Teen Videos
Last edited by DRAGSTER_TUNER on Sat Feb 12, 2011 2:55 pm, edited 1 time in total.
-
- Posts: 39
- Joined: Fri Apr 17, 2009 1:42 am
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!
________
Mary jane
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!
________
Mary jane