On Sat, 14 Oct 2006 07:07:39 +0200 Bernhard Praschinger <[EMAIL PROTECTED]> wrote:
> The buffers are a cache for the system. Normaly lavrec can store up to > 32 buffer befor they are written to disk. If you have a "slow" disk > increasing the buffers (-n/--mjpeg-buffers) might be a good idea. You > could also try than to use the --file-flush option. One system I use I had to up the buffer count on and set file flush to once a second, or I would either run out of buffers or hose the recording because the disk controller wasn't fast enough to save all buffers in time. Since then, I've replaced the controller. > The buffer size (-b/--mjpeg-buffer-size) can be changed if you have not > to much memory, and want to use more buffers. Them howto also say that: > value should be at least big enough that one frame fits in it. Worth noting is that -b overrides -q if there's a conflict. The very first versions of lavrec, if it even was called lavrec back then, had no -q, only a -b. One could emulate the old behaviour by setting q to 100, and then limit the actual quality with b. By default, the buffers are big enough for a quality setting of 100, but if you want more buffers and don't want to use memory enough for 100 % quality for each of them, their size can be limited with -b. /Sam ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users