| View previous topic :: View next topic |
| Author |
Message |
maxime1986 n00b

Joined: 23 Oct 2009 Posts: 71
|
Posted: Sat Nov 21, 2009 8:10 pm Post subject: (Solved) play sound on a remote computer |
|
|
Hello
I have 2 computers, a server (Gentoo) and a laptop (Archlinux). I juste have one set of speakers.
I installed mpd on the server. I would like to use my speaker on the server and play the sound of my laptop through the network on the server's speaker.
I tried (very quickly NAS) but it use oss ....
I am trying pulseaudio but I have problem on the server and on the laptop (Maybe one day I will succeed in configuring pulseaudio but for now it not the case).
Do you now a solution for what I am trying to do ?
Another programme than pulsaudio or NAS...
Thank you in advance ...
PS : sorry for my bad English
Last edited by maxime1986 on Sat Jan 02, 2010 4:54 pm; edited 1 time in total |
|
| Back to top |
|
 |
gajop n00b

Joined: 14 Oct 2009 Posts: 21
|
Posted: Sun Nov 22, 2009 8:50 am Post subject: |
|
|
| an easy way of doing that would be installing icecast and configuring that and mpd to work together, should take you about 30minutes after you google the necessary howtos |
|
| Back to top |
|
 |
maxime1986 n00b

Joined: 23 Oct 2009 Posts: 71
|
Posted: Sun Nov 22, 2009 5:11 pm Post subject: |
|
|
| thanks, I will try that when I will have time. |
|
| Back to top |
|
 |
maxime1986 n00b

Joined: 23 Oct 2009 Posts: 71
|
Posted: Sat Jan 02, 2010 4:54 pm Post subject: |
|
|
| Finally I manage to get NAS working (use the testing (~) version) and everything is ok. |
|
| Back to top |
|
 |
smlgbl Guru


Joined: 10 Feb 2005 Posts: 305
|
Posted: Tue Feb 02, 2010 10:03 am Post subject: |
|
|
Hey, I am basically trying the same setup...and am also disappointed in the complexity of pulseaudio, which I do not need. Can you explain, what you did and where you got it from? thank you. _________________ samuel.
'Do not let one girding on boast about himself like one unfastening' |
|
| Back to top |
|
 |
maxime1986 n00b

Joined: 23 Oct 2009 Posts: 71
|
Posted: Tue Feb 02, 2010 5:45 pm Post subject: |
|
|
I juste keyword NAS in the /etc/portage/package.keywords
| Code: | | media-libs/nas ~x86 |
I install NAS and launch it (with -aa option in /etc/conf.d/nas) when there is no sound playing.
NAS use oss so you can't use 2 player simultaneously, but NAS and mpd (mpd use alsa on my config) can be launch simultaneously without problem if they don't play sound at the same time.
I open the 8000 port on the server ... and then, on my laptop, to export the sound on the server I use the command :
| Code: | | AUDIOSERVER="tcp/192.168.0.2:8000" mplayer -ao nas my.ogg |
enjoy
don't use aoss .. there is no need for it, even if : http://automatthias.wordpress.com/2007/11/26/nas-wont-play-wrap-it-with-aoss/
Where I found these information : http://blog.philpep.org/post/NAS,-un-serveur-audio
PS : sorry for my bad english |
|
| Back to top |
|
 |
|