[streaming] Re: Audio problem in vlc!

Jean-Paul Saman jean-paul.saman at planet.nl
Mon Feb 2 21:58:06 CET 2004


Leung Chi Hung wrote:

> I have use the following command line to test the microphone in my web 
> cam:
>  
> vlc -vvv 
> v4l:/dev/video0:norm=secam:frequency=543250:size=640x480:channel=0:adev=/dev/dsp0:audio=0

I suppose you have looked at 
http://www.videolan.org/doc/videolan-howto/en/softencoding.html on how 
the commandline interface for v4l:// works.

> I am using a laptop with RH9.0 My sound device is "ES1968 Maestro 2" 
> and i have installed a "oss" driver for it. I am using vlc 0.6.2 to 
> try to stream the web cam image onto the laptop locally.
>  
> I got my image, but seems the microphone in the web cam can't work, 
> how can i set the microphone to be the audio input for my laptop?

You need a kernel driver that can work with the webcam. Last time I 
tried the Logitech webcam I couldn't get it to work with RH9.0.

A fallback scenario would be to use a microphone and plug it in the 
Sound card and use that as an audio device.

>  
> Here are the error message when i run the above command line:
>  
> "Main audio output debug: audio output is too slow"
> "Main audio output warning: output data isn't PTS date, requesting 
> resampling"

If I interpret the messages from VLC above correclty then it looks like 
you are getting sound on your laptop, but could you send me the complete 
log directly?
It sounds like the system has no capacity left to send the sound in time 
to the audio output, hence "audio to slow". Lowering the video size 
could help here, try a video size setting of, E.g: qsif (160x120)

Another application you could use in testing is  Gnome-Meeting. If 
gnome-meeting can show video and use the webcam's microphone, then you 
know the setup you have is correct.

I hope you get a little further with these suggestions, perhaps other 
people on the list have other sightfull knowledge.

-- 

Many greetings,
Jean-Paul Saman

Consultant
--------------------------------------------------------------
VLC iPAQ maintainer                    http://www.videolan.org
RedHat Certified Engineer         RHCE number: 807202745005548
--------------------------------------------------------------


-- 
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the streaming mailing list