>>"Error reading audio: ....  Reason: Error Audio ring buffer overflow"
>>errors.
>
>What sound card do you have?  Please don't say "the one built into my
>VIA mobo" :-)

OK, I won't say it.  LOL

>>Does anyone know what is going on here?
>
>No, but with -d 1 much above -q 50 I get dropped frames.

That's the main reason I stopped using lavrec for doing my recordings.
My CPU just isn't fast enough to do 100% JPEG compression of incoming
frames in real time, and I'm not willing to give up that quality.

I use xawtv's streamer to do my recording, then run yuv2lav as a
post-processing step.  I've posted a patch that adds a -w option to
yuv2lav, that allows audio to be added to the LAV files at the same
time as the video.  (I'll be putting it into CVS soon.)

Here's the script I use to record all of my VCDs.

----------
#!/bin/bash

renice 0 $$

streamer -r 29.97 -s 704x480 -t 3:00:00 -n ntsc -i S-Video -f 4mpeg \
  -F stereo -b 64 -O stream.wav \
 | yuvscaler -v 0 -M BICUBIC -O VCD -n n > stream.yuv
echo

renice 5 $$
yuv2lav -f a -q 100 -b 1024 -w stream.wav -s 30500 -o %02d.avi \
 < stream.yuv
rm -f stream.wav stream.yuv
----------

Ths -s option is something I haven't shown to anyone else yet; it tells
yuv2lav to get rid of every 30,500th video frame, in order to get my
audio to sync up with my video.  (That's what you get when your audio
device & video device aren't driven by the same crystal.)

Steven Boswell
[EMAIL PROTECTED]




-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to