bpa;517263 Wrote: 
> I would use a different port than 1234 a big number like 10000 because
> on the server there may a services handler already configured for
> security as 1234 used to be a Infoseek search agent port.
> 
> Do not run everything on the server (SBS can be stopped). Just try a
> player such as vlc or mplayer (if no audio card redirect output to as
> file) to see if the server can receive the audio stream. The userid (and
> using su is not the right way as you must have run the login shell
> scripts) is important as sometimes systems are configured preventing
> some users from accessing some ports= etc.

You are _the_ man! Thanks - it is now working exactly how I want it.
The only issue I am experiencing is that the stream will stop in the
middle of a song and won't come back until I restart the vlc session and
restart the stream on the SB server. This could be because my laptop is
running wireless and can't feed the server - I will test it wired also.

Also sometimes I have trouble restarting the stream - I think it is ok
so long as I select the "Tune in URL" again on the left hand side of the
web interface, rather than trying to restart from the right hand pane.

By the way, is there a way to save the URL so I don't have to key it
into the "Tune to URL" field each time?

Here is a summary for anyone who else maybe looking to do the same,
taking into account your suggestions:
Goal:
Play a CD in my laptop, stream it through Squeezebox Server to play on
my SB3.

My laptop and SB server are both running Ubuntu Karmic

On laptop, play the CD using VLC.
Configure VLC to use:
Input = Audio disk 
Select "stream" option rather than play.
Configure stream to be:
http, ip address = ip_local_laptop, port = 10001 (this can be any port,
use a high port number to make sure there are no firewall issues)
Note - this didn't work when I tried to stream to the SB server - only
when I streamed to the local laptop.
Set the transcoding options to mp3 (you can select flac also, but I
have not tried that)
Then under options, where it shows the command to be used for the
stream, edit the dst option from:
ip_addr:port to ip_addr:port/cdstream.mp3
On the same screen, select "Keep output stream open" or else it stops
after each song.

On the Squeezebox server, 
Internet radio -> Tune in URL -> http:ip_address:port/cdstream.mp3

You can control the music from VLC on the laptop.

I ran vlc from the command line as follows:

vlc -vvv cdda:///dev/sr0  --sout
'#transcode{acodec=mp3,ab=128,channels=2,samplerate=44100}:std{access=http,mux=raw,dst=192.168.1.14:1234/cdstream.mp3}'
--sout-keep


-- 
cjhabs
------------------------------------------------------------------------
cjhabs's Profile: http://forums.slimdevices.com/member.php?userid=3760
View this thread: http://forums.slimdevices.com/showthread.php?t=75260

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss

Reply via email to