-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ronald Bultje wrote: > Hi James, > > On Tue, 2003-01-28 at 21:21, James A. Pattie wrote: > >> I'm using mjpegtools lavrec to record video from a Hauppauge capture >>card (model 405?) with TV-Tuner (2), no radio, composite in, no SVID. >> >> The issue I'm having is that the sound is muted after a recording >>session, but kmix is not showing the line is muted. If I run v4l-info I get >> >>audio >> VIDIOCGAUDIO >> audio : 0 >> volume : 0 >> bass : 0 >> treble : 0 >> >>until I do a v4lctl volume 56000 which then sets the volume back. Is >>this a lavrec issue or v4l issue? xawtv doesn't exhibit this behaviour. > > > It's a lavrec issue. Lavrec doesn't request the audio info before > resetting it, which means it just sets everything to zero. This is a bug > (in lavrec) - a known bug even, but if I request the audio info, I get > an error from the BTTV driver, hence the workaround. So it's a lavrec > bug, but when I try to fix it, I get an error from BTTV. :-(. > > Ronald > I've updated my kernel to 2.4.20 and applied the v4l2 patch that brings bttv to 0.7.102. I found the commented out code that got the AUDIO settings before re-muting it in lavrec. This works in bttv 0.7.96 and 0.7.102, but when I upgrade to bttv 0.9.4, lavrec starts behaving really weird. It will capture about 5 frames and then stop recording, but audio keeps going. I have to kill lavrec from another window but the audio keeps going. I've also noticed that under bttv 0.9.4 if the audio is muted and I do a v4lctl volume 56000 then it turns on the audio and I can hear it whereas under bttv 0.7.x it didn't start making the audio audible, but lavrec then captured sound. I've tried updating to mjpegtools from cvs which claims to build against bttv 0.9.4 but keep having compilation errors. Are there any issues with me having replaced the bttv 0.7.102 files in the kernel with the 0.9.4 files and updating the Makefiles to build the new .o file? How do I make mjpegtools see the new v4l header files, which I think is part of the problem? - -- James A. Pattie james@xxxxxxxxxxxxxxx Linux -- SysAdmin / Programmer Xperience, Inc. http://www.pcxperience.com/ http://www.xperienceinc.com/ GPG Key Available at http://www.pcxperience.com/gpgkeys/james.html -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE+PpORtUXjwPIRLVERAqppAJ4mbUa5/PUHht58QCkuxRROtdG70ACg6gk9 8fhzM/sVu9/uf1sBhrr+R1o= =BB37 -----END PGP SIGNATURE----- -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.