If you speak French, you can go to my web site:
https://blog.infolaf.net/wiki/diffusion-du-son-dun-poste-de-travail-vers-le-lms/
Using VLC as a streaming server on HTTP URL. For this purpose, use the
capture monitor of the sound card. With Linux, just edit a launcher for
a script with this command inside:
vlc pulse://alsa_output.pci-0000_00_1b.0.analog-stereo.monitor --sout
"#transcode{vcodec=none,acodec=mp3,ab=192,channels=2,samplerate=44100}:http{dst=:8079/desktop.mp3}"
:sout-keep
To see which capture device name to use in VLC for linux only, in
"Playlist" view mode you have to choose "Audio Acquisition" Select the
"MONITOR" device that corresponds to the correct sound card. With the
right mouse click, select "Information" and copy the device name ending
with « . monitor »
With Windows, create a shortcut and edit with this command line:
"C:\Program Files\VideoLAN\VLC\vlc.exe" dshow:// :dshow-vdev="none"
:dshow-adev="Mixage stéréo (VIA High Definit" :dshow-caching=200
:sout="#transcode{vcodec=none,acodec=mp3,ab=192,channels=2,samplerate=44100}:http{dst=:8079/desktop.mp3}"
:sout-keep
Make sure the sound card drivers are installed because otherwise the
"Stereo Mix" capture device will not be available.
To know which capture device name to use in Windows only, choose in VLC
"Media> Open a capture device> Capture mode = dshow> Name of the audio
device" The name will be truncated, but it must be used as is.
On LMS web interface, add a radio connexion :
http://192.168.0.105:8079/desktop.mp3
I saved this one as a favorite. Then just start the script on the
workstation. All sound is then broadcast on the address:
http://192.168.0.105:8079/desktop.mp3
Then simply connect to the squeezebox player of your choice. It should
be noted that there is a small delay between the sound on the
workstation and the squeezebox.
The broadcast ends when you leave VLC.
Bonne Écoute!
------------------------------------------------------------------------
lafontaj's Profile: http://forums.slimdevices.com/member.php?userid=8473
View this thread: http://forums.slimdevices.com/showthread.php?t=101706
_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss