Page 1 of 1

vlc - telnet - dshow

Posted: 19 Oct 2006 16:44
by ReinerP
Hello,

I want to strream an audio signal. For this I start vlc with the telnet interface and load the following config file

Code: Select all

new test broadcast enabled setup test input dshow:// setup test option dshow-adev="Realtek AC97 Audio" setup test option dshow-vdev="none" setup test option dshow-size="" setup test output #transcode{acodec=mp3,ab=128,channels=2}:duplicate{dst=std{access=http,mux=raw,dst=:1234}} setup test enabled control test play
the result is that vlc is not streaming!
:cry:

If I try

Code: Select all

new test broadcast enabled setup test input dshow:// setup test output #transcode{acodec=mp3,ab=128,channels=2}:duplicate{dst=std{access=http,mux=raw,dst=:1234}} setup test enabled control test play
all works fine!
What is the problem? I think that it can not handle the devive name because it has white spaces in it! Any way to adress the device via an index?

Thanks

Reiner

Re: vlc - telnet - dshow

Posted: 19 Oct 2006 23:07
by dionoea
Does this work better ?

Code: Select all

new test broadcast enabled setup test input dshow:// setup test option "dshow-adev=Realtek AC97 Audio" setup test option "dshow-vdev=none" setup test option "dshow-size=" setup test output #transcode{acodec=mp3,ab=128,channels=2}:duplicate{dst=std{access=http,mux=raw,dst=:1234}} setup test enabled control test play

Posted: 20 Oct 2006 09:25
by ReinerP
Hello,

Thanks!

This works! Perhaps someone should add it in the streaming HOWTO?

Now I have an additional question is it possible to select the input source (e.g. Line, Mic, Stereo-Mix)?

Reiner

Posted: 20 Oct 2006 19:16
by VLC_help
You can use Windows mixer to choose input, if choosing audio card and Configure... button and Pin line doesn't give option to choose line-in, microphone etc..

Posted: 23 Oct 2006 09:17
by ReinerP
ok, but I think it would be comfortable to have this? Shouls I enter a post in the feature request section?

Reiner

Posted: 23 Oct 2006 19:05
by ReinerP
Hi,

sorry, it works but it always uses the default sound devices!
Any possibility to use devices with spaces (escaping, quoting)?

Reiner