Page 1 of 1

No audio in v4l stream

Posted: 23 Dec 2004 07:41
by Guest
Here is the command line I am using to stream from my Hauppauge WinTV PCI card:

Code: Select all

vlc -vvv v4l:/dev/video:norm=1:frequency=307250:size=640x480:channel=0:adev=/dev/dsp:audio=0 --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=512,ab=96,deinterlace}:standard{access=http,mux=ts,url=10.0.1.201:8080}'
The audio for the TV card goes into Aux-in on my Audigy PCI sound card. Sound using xawtv, tvtime etc... is fine when I watch directly on the PC, but streaming gives me video but no sound. Do I need to specify the audio source is the Aux-in? How do I do so? Anything else I'm missing?

In case its useful, the streaming machine is Mandrake 10.1, vlc 0.8.1, kernel 2.6.8.

I would be very grateful to anyone who could help.

Posted: 21 Jan 2005 02:54
by Guest
Why nobody answer this topic ??? I've got the same problem and lots of people too !

Posted: 25 Jun 2006 23:37
by Athlon2x
Hi there

I have the same problem. Is someone could help me ?

Thanks !

Posted: 27 Jun 2006 01:38
by reever666
hi Guest!

you must specify another audio-source like /dev/dsp1 or so on .
then it works.

btw rtfm!!!

greetings wolf !

Posted: 18 Jul 2006 03:57
by raden
I have the same problem here, since use vlc to stream capture card. I use Debian sarge with 2.4.27 kernel, no sound out when play locally or streaming.
I have try to change /dev/dsp with /dev/dsp1, /dev/audio, /dev/audio1, /dev/mixer (try and error I think) but the result is same, debug message vlc tell me that is cannot open audio device.
In my own think the problem is from vlc or from my operating system?, i don't know and stil lost the solution, but on Windows Xp stream capture card with vlc is done with audio and video can recieve on the client side.
(notes: I use the same machine for both operating system)

Posted: 18 Jul 2006 11:56
by raden
Ups.. sorry. At now I understand why no sound when I use capture card for stream or play locally, the problem is audio device that detect on my Linux is /dev/dsp2 nor /dev/dsp or /dev/dsp1.
With /dev/dsp2 the sound is out now thanks for reever666 :P