Quantcast
Channel: Squeezebox : Community : Forums - 3rd Party Software
Viewing all articles
Browse latest Browse all 2059

LMS does not play http audio stream from VLC media player

$
0
0
I am trying to use VLC to capture the PC audio and stream it through LMS to a squeezebox receiver (attached to hifi system)

I am running Ubuntu Linux 12.04 which has pulse audio by default and I don't really want to fiddle with this.

VLC media player is 2.0.8 Twoflower.

Logitech Media Server Version: 7.7.3 - 1375965195
Platform Architecture: x86_64-linux


After battling away for (many) hours I have ended up breaking it down into sections.

So,

parec -d alsa_output.pci-0000_00_1b.0.analog-stereo.monitor --file-format=flac parec.flac

successfully captures the PC audio


cvlc /path/filename.mp3 --sout "#standard{access=file,mux=raw,dst=st.mp3}"

successfully saves the input file to disk, and

cvlc alsa_output.pci-0000_00_1b.0.analog-stereo.monitor --sout "#standard{access=file,mux=raw,dst=st.mp3}"

captures the sound and saves it to file. So far so good.

But, changing the output to http stream with

cvlc /path/filename.mp3 --sout "#standard{access=http,mux=raw,dst=:8079/st.mp3}"

and trying to play the radio URL in LMS with

"http://192.168.0.1:8079/st.mp3"

appears to "play" in LMS for about 13 seconds and then stops. I don't get any sound, hiss or any other noise from the LMS/Squeezebox receiver/hifi.

I can play the VLC stream on another PC on my home network using a web browser.

I think this is the relavnet line from the log file /var/log/squeezeboxserver server.log

[13-12-30 16:03:36.5474] Slim::Utils::Scanner::Remote::__ANON__ (240) Error: Can't connect to remote server to retrieve playlist for, http://192.168.0.2:8079/st.mp3: Connect timed out: Transport endpoint is not connected.

Any ideas why LMS won't play the stream?

Viewing all articles
Browse latest Browse all 2059

Trending Articles