No audio in v4l stream

About encoding, codec settings, muxers and filter usage
Guest

No audio in v4l stream

Postby Guest » 23 Dec 2004 07:41

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.

Guest

Postby Guest » 21 Jan 2005 02:54

Why nobody answer this topic ??? I've got the same problem and lots of people too !

Athlon2x
Blank Cone
Blank Cone
Posts: 22
Joined: 22 Oct 2005 16:20
Location: Telecom Lille, France

Postby Athlon2x » 25 Jun 2006 23:37

Hi there

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

Thanks !

reever666
Blank Cone
Blank Cone
Posts: 20
Joined: 19 Jun 2006 00:24
Location: Regensburg/Germany
Contact:

Postby reever666 » 27 Jun 2006 01:38

hi Guest!

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

btw rtfm!!!

greetings wolf !
IPcop PII 350 320MB 4GB 4NIC´s
1st PC: Sempron2200 768MB 60GB GeForceFX5500 Hauppauge TV-Card
DC30 VideoCutting-Card
2nd PC: PIII-866 512MB 80GB Radeon 9000pro with ViVo
Fileserver: PII-350x2 384MB 170GB
Webserver PII-350 384MB 4GB

raden
Blank Cone
Blank Cone
Posts: 20
Joined: 09 Jul 2006 14:55
Location: Indonesia
Contact:

Postby raden » 18 Jul 2006 03:57

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)

raden
Blank Cone
Blank Cone
Posts: 20
Joined: 09 Jul 2006 14:55
Location: Indonesia
Contact:

Postby raden » 18 Jul 2006 11:56

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


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 31 guests