Trouble with v4l / no sound

*nix specific usage questions
Klaus Deiss

Trouble with v4l / no sound

Postby Klaus Deiss » 16 Nov 2005 00:50

Configuration

Debian 2.4.26 dvb driver 1.1.1
VLC media player 0.8.2-svn Janus
DVB Card TT 1.6 fullfeatured

Commandline

#!/bin/bash
nice -15 env DISPLAY=:0 vlc -vvv v4l:/dev/video0:norm=pal:channel=0:size=192x144:adev=/dev/dsp --sout '#transcode{vcodec=WMV2,vb=384,acodec=mpga,ab=64}:standard{access=http,mux=asf,url=192.168.1.228:1234}'

Result is video on client, but no sound. sound system is alsa. alsa is working. I read a lot here in the forum

- v4lctl volume mute off" did not help

I dont know if there is a solution, so I connected output from DVB Card to Input from Soundcard, sound is now available in Soundcard, but how can I integrate this sound into the commandline ......

In annother thread was a sample with arecord

arecord -fcd | vlc - :quit --sout '#transcode{acodec=mp3,ab=192}:std{access=rtp,url=192.168.100.110,mux=ts}' --intf dummy

With this sample i have audio, but no video ......

Is there a solution under linux ???


Thanks

Klaus

Klaus Deiss

Postby Klaus Deiss » 19 Nov 2005 12:50

really no solution ?

In this case wouldn`t it be better to provide vlc with a more flexible input mecanism. One input for sound, one input for video, or if only one source is specified take audio and video from that source.

Klaus Deiss

Müschback

See here for solution

Postby Müschback » 24 Nov 2005 00:53

viewtopic.php?t=11730&highlight=sound

Regards,
Micha (have had the same problem :))

Klaus Deiss

Postby Klaus Deiss » 28 Nov 2005 07:51

@Müschback

Thanks for your answer, but this is not the problem. I have sound with vlc (playing files/streams etc). In the sample:

nice -15 env DISPLAY=:0 vlc -vvv v4l:/dev/video0:norm=pal:channel=0:size=192x144:adev=/dev/dsp --sout '#transcode{vcodec=WMV2,vb=384,acodec=mpga,ab=64}:standard{access=http,mux=asf,url=192.168.1.228:1234}'

I tried to stream video and sound from the v4l interface. There is no sound in that stream !

thanks


klaus


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 49 guests