Page 1 of 1

Inconsistent fps in generated videos if buffers changed

Posted: Wed Mar 31, 2010 9:25 pm
by myusernameisunique
ZM 1.24.2 on Ubuntu 9.10

Generating an mpg video clip for every alarm - local monitor - BT878 video capture card - 320x240.

1. If I increase Pre- and Post- Event Image Count settings in a monitor settings / Buffers, the resulting video clip's rate gets distorted: the actual FPS initially, then I suddenly get a couple seconds of fast motion, like 2x rate, then normal fps, then sometimes accelerated motion again, then normal...

I installed ZM on a different computer previously (same video capture card) and I didn't have this issue. Basically, followed exactly the same steps for OS / ZM installation and used same params throughout...

2. How can I set up ZM for the best video quality of generated alarm videos possible (lowest compression rate)? The mpg files I get with the default settings come out pretty low res - little squares all over during motion... Tried different output formats, same thing visually. I know it means larger size but that's okay.

I'd greatly appreciate any suggestions.

Posted: Wed Mar 31, 2010 9:32 pm
by kingofkya
under options --> images --> FFMPEG_OUTPUT_OPTIONS

put this in there increase qscale for less quality 7 is about right for me .
-r 25 -qscale 7

Posted: Wed Mar 31, 2010 10:50 pm
by myusernameisunique
kingofkya wrote:under options --> images --> FFMPEG_OUTPUT_OPTIONS

put this in there increase qscale for less quality 7 is about right for me .
-r 25 -qscale 7
Thanks! That worked. I'm trying to increase res to 768x480, BT878 and camera should support it but I get horizontal comb-effect video...

Posted: Sat Apr 03, 2010 12:35 pm
by mastertheknife
Using "-r 25 -sameq" might also work.

mastertheknife.

Posted: Sun Apr 04, 2010 1:44 am
by kingofkya
add " -deinterlace" to help with that effect