View Full Version : Linux audio to squeezebox

2010-03-06, 08:20

When I watch a movie on my laptop, it'd be neat to be able to send the audio to my speakers through the squeezebox.

One way might be to install a second squeezeserver on the laptop and use the WaveInput plugin on that one. That seems like a bit of a hassle though.

Would there be any other way of getting the audio from my laptop to the speakers? VLC can stream, but i'm not sure it can stream only the audio and show the video locally. mplayer can use separate output methods for audio and video - perhaps something with pulseaudio?

2010-03-06, 09:31
I don't think it is worth trying as you won't have audio and video synced. Although with mplayer you can adjust relative timing - it is unreliable.

2010-03-06, 09:47
AFAIK VLC can separate audio and video, and add delay to audio. But this is a manual setting, and I never got it to work exactly as I needed (works but too difficult to lip-sync)

2010-03-06, 15:36
I got VLC to stream the audio and show the video locally, but, as the others have said, it won't work very well. It's difficult to get the sync right. Also, for some reason, VLC messed up the aspect ratio (and perhaps other things) when using this method. Maybe that's solvable if you can figure out its horrible interface.

In any case, this is the command I used:

vlc --sout '#transcode{acodec=mp3,ab=256,channels=2}:duplicat e{dst=std{access=http,mux=raw,dst=},select=novideo,dst=display,select=n oaudio}' --audio-desync -3100

And then open http://address.of.source:1337/vlcstream.mp3 on the player. I think "--audio-desync -3100" was the value that worked best on my Boom. (It's been a few months since I tried it, so I don't remember all the details.)

As for PulseAudio, it doesn't sound like it has support for adjusting the delay yet: http://www.mail-archive.com/pulseaudio-discuss@mail.0pointer.de/msg05555.html