-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 25 Nov 2004 13:09, Richard Ellis wrote: > On Thu, Nov 25, 2004 at 12:01:29PM +0000, Anne Wilson wrote: > > Subject: [Mjpeg-users] Audio ring buffer overflow in lavrec > > > This section of input has a rather high volume. I tried recording > > with > > > > lavrec -f a -i P -d 2 -q 80 -s -l 60 -R l -U filename.avi > > > > and have tried dropping -l to 40, but I can run for around 5 > > seconds then it drops out with the above error. > > > > What's wrong, and what do I need to do about it, please? > > Audio ring buffer overflow is related to rate, not volume. That > message generally means that you have capture data coming in from the > capture card at a speed higher than what your hard drive can write to > disk. However it's kind of hard to believe you would have a disk I/O > speed problem on a reasonably modern system at decimation 2 and > quality 80 if you have a hardware mjpeg capture card, unless you have > a bunch of background disk I/O going on that you are not telling us > about. > > You might try dropping the (-U) to see if it helps, but I suspect > there's something else afoot somewhere causing the trouble. > Without -U O don't even get a start:
[EMAIL PROTECTED] anne]$ lavrec -f a -i P -d 2 -q 80 -s -l 40 -R l palazzomassimo%02d.avi ++ WARN: [lavrec] Unable to set negative priority for audio thread. **ERROR: [lavrec] Unable to get audio - exiting .... Segmentation fault Reverting to the original command: [EMAIL PROTECTED] anne]$ lavrec -f a -i P -d 2 -q 80 -s -l 60 -R l -U palazzomassimo%02d.avi ++ WARN: [lavrec] Unable to set negative priority for audio thread. ++ WARN: [lavrec] Unable to set negative priority for main thread **ERROR: [lavrec] Error reading audio: Audio task died. Reason: Error Audio ring buffer overflow ++ WARN: [lavrec] Closing file(s) and exiting - output file(s) my not be readable due to error 0.00.15:23 int:039 lst: 0 ins: 28 del: 0 ae: 0 td1=0.058 td2=0.766 Recording time : 0.00.15:23 Lost frames : 000 A/V sync ins/del: 028/000 Audio errors : 000 As far as I can remember I have always had that 'warn' line, without it causing problems. Apart from that, does the output tell you anything useful? Oddly enough I seem to be getting slightly more each time I try it - 15 seconds this time. Thanks for answering Anne - -- Registered Linux User No.293302 Have you visited http://twiki.mdklinuxfaq.org yet? Mandrake at all levels -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBpePYkFAvMr/nNX8RAgl4AJ9SM1a/wB8ynBjk3Dzl0ezSmtT4cgCeK1b3 OqXHz+rOi7GOLLmZfUxrp1M= =MFQn -----END PGP SIGNATURE----- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users