I am trying to evaluate this nice software suite
It seems to be running for a few days on my server, unfortunately, i can't have any video generated at a "real" frame rate.
My camera is configured with a preset profile (PAL / 5 fps max) and the video I get seem to be 5x too fast.
Are there any way to force a real frame rate generation ?
I looked at the ffmpeg parameters , i didn't change them, the ZM_FFMPEG_OUTPUT_OPTIONS has a -r 25 value.
Any help would be appreciated
Video Generation Too Fast
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
Im not sure as i dont use ffmpeg on the web side but you passan input framerate to ffmpeg on thi input side so it might be worth adding -r 5 to in incoming framerate . Leave the out framrate at 25 as that will genertae a 25fps movie. I assume that it just duplicates the images x times to make 25fps from 5 but im no ffmpeg expert
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
If I tail zmvideo.log i can see the cli usedjameswilson wrote:Im not sure as i dont use ffmpeg on the web side but you passan input framerate to ffmpeg on thi input side so it might be worth adding -r 5 to in incoming framerate . Leave the out framrate at 25 as that will genertae a 25fps movie. I assume that it just duplicates the images x times to make 25fps from 5 but im no ffmpeg expert
for example
04/12/06 14:35:54.686463 zmvideo[9685].INF [/usr/bin/ffmpeg -y -r 10.87 -i 0000-capture.jpg -s 320x240 -r 25 'Event-279-r1-s1.mpg' > ffmpeg.log]
the -r parameter used by ffmeg is never the same. I don't know how it's defined..
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
ah it must be defined in code then i suppose no. of images/ section length. Im sorry then we need someone with more ffmpeg experience. Do all vids created i.e. formats have this issue?
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
http://ffmpeg.sourceforge.net/ffmpeg-doc.html
You will see that -r is for frame rate which is supplied from the camera probally
But for some reason you have 2 in there.
You will see that -r is for frame rate which is supplied from the camera probally
But for some reason you have 2 in there.
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact: