View Single Post
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#112
Here's an interesting update to the audio problem. I read this in another thread:

Originally Posted by tz1 View Post
Actually there is an ALSA device (libaudio to be more specific) mapped as arecord (and aplay) will work, but it seems that nothing else can use the DSP, and you have to ask it nicely (a DSP supported format, rate, etc.) which gstreamer does...
So I tried to get VLC to ask more "nicely":

Code:
cvlc v4l2:///dev/video0:chroma="UYVY":width=320:height=240:adev=default:audio-method=2:samplerate=8000
There are absolutely no errors (even using -vvv), VLC runs fine, it thinks it's got audio coming in, I can wave at myself on the screen... but no audio comes out. When I try streaming and then use mplayer http://localhost:7070 in another terminal, mplayer says there's no audio being streamed.

By the way, I've installed the full VLC package. It's annoying not having video out.

EDIT: I wonder if we need to ask even more nicely. How do we get VLC to use the S16_LE audio format?
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!

Last edited by qole; 2008-05-29 at 00:20.