Postby markfm » 11 May 2004 13:32
Under Windows, assuming your microphone input had been defined as the default audio device, I believe you would use:
vlc
dshow:// :dshow-vdev="none" :dshow-adev="" :dshow-size="320x240" :no-dshow-config
:sout=#transcode{acodec=mpga,ab=192,channels=2}:duplicate{dst=std{access=udp,mux=ts,url=239.20.30.40:1234}}
with the above all stitched together as a single command line. That explicitly says to use no video input device (the 320x240 should be a don't-care, since video device is set to none), pump out mpga audio, 192 kbps, on the multicast address 239.20.30.40, port 1234. DShow applies just to Windows, which uses the DirectShow interface to hardware.
You can use Streaming Wizard, if it's available on your OS, copy the contents of the line that appears at the top of each of the tabs.
Looking at what you had, it looks like you would need to take the ":sout" part of the above, stuff it in where you presently have "udp" -- you need to tell VLC what audio coding method and bitrate to use, as well as the access method (UDP).
In my sample I use mpeg audio (mpga), which I believe would require at least ffmpeg. You might try substituting vorb for mpga, which would say to use vorbis audio coding -- not positive if it would work, but it is an option for audio when I run streaming wizard. No idea about 4vl -- I'm not a developer, don'e know (I enable just about everything when I build VLC for my machine).