Gentoo Forums
Gentoo Forums
Quick Search: in
(Solved) play sound on a remote computer
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
maxime1986
n00b
n00b


Joined: 23 Oct 2009
Posts: 33

PostPosted: Sat Nov 21, 2009 3:10 pm    Post subject: (Solved) play sound on a remote computer Reply with quote

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 11:54 am; edited 1 time in total
Back to top
View user's profile Send private message
gajop
n00b
n00b


Joined: 14 Oct 2009
Posts: 21

PostPosted: Sun Nov 22, 2009 3:50 am    Post subject: Reply with quote

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
View user's profile Send private message
maxime1986
n00b
n00b


Joined: 23 Oct 2009
Posts: 33

PostPosted: Sun Nov 22, 2009 12:11 pm    Post subject: Reply with quote

thanks, I will try that when I will have time.
Back to top
View user's profile Send private message
maxime1986
n00b
n00b


Joined: 23 Oct 2009
Posts: 33

PostPosted: Sat Jan 02, 2010 11:54 am    Post subject: Reply with quote

Finally I manage to get NAS working (use the testing (~) version) and everything is ok.
Back to top
View user's profile Send private message
smlgbl
Guru
Guru


Joined: 10 Feb 2005
Posts: 302

PostPosted: Tue Feb 02, 2010 5:03 am    Post subject: Reply with quote

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
View user's profile Send private message
maxime1986
n00b
n00b


Joined: 23 Oct 2009
Posts: 33

PostPosted: Tue Feb 02, 2010 12:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum