Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
However, when it starts up, while I can get a display and sound, they're both really laggy. In the console I keep getting non-stop "video buffer full - dropping frame" messages. It seems to do fine when I disable audio, however.
I've tried everything I can think of: changing the sample rate of the sound output, trying to use SoX to play back the sound (can't seem to get that to work out at all), etc. I've also tried looking at the man pages of both mplayer and SoX to see if I can get either method to work (increase video buffer or use SoX for audio instead of mplayer), but to no avail. man pages are too overly verbose and confusing...
For the curious, here are my system specs:
CPU: IntelŪ PentiumŪ 4 @ 2.66 GHz
RAM: 1536MB (1.5GB)
GPU: NVIDIA GeForce 7300 GT AGP 8x 512MB VRAM
Audio: IntelŪ ICH5 AC'97 (integrated)
...those are probably the only relevant specs that I need to share.
I think that the problem is the bad responsiveness of the usb connection. Have you tried to reduce the resolution? instead of 720x486 try 640x432 or 320x216 (check the resolutions supported by your camera).
Thanks for the replies, but unfortunately neither solution really works well... reducing the resolution doesn't help, and as it turns out, increasing the buffer size, while it makes everything smooth, causes significant delay between input and AV out (I'm using this as a video interface for my Gamecube, as I don't have a TV in my room right now).
Maybe I could use SoX for the audio output and mplayer for the video output as mentioned above? I've tried:
What I'm trying to do with this is use the output from /dev/dsp1 (supposedly where the DVC audio device is located) and put it out using /dev/dsp (the speaker output, if I'm not mistaken). I really don't know a whole lot about the audio architecture of the system...I'm mostly just doing some guesswork here (probably not something you want to do). Is there any way to use SoX (or another audio program) to redirect audio output from /dev/dsp1 to the speakers? I apologize if I seem really n00bish.
Okay, I tried that, but then it gave me this error:
Code:
sox formats: bad input format for file `/dev/dsp1': data encoding was not specified
So then I tried it with "-e unsigned-integer" in front of both devices, but I still got the same error. I tried different encodings (signed-integer, floating-point), but still the same thing. I'm guessing this means I won't be able to use SoX for this, then...
Any other recommendations for audio? Perhaps I could just use a second instance of mplayer?
EDIT: Tried the following, freezes at "Starting playback..." message:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.