The only tool I could find to do this is esdrec. In this setup esound/esdrec can be replaced with any commandline tool that records audio and streams to stdout. Whenever I've tried using esd to stream audio I've experienced a big delay and garbled audio, hence using ffmpeg/vlc instead. The program esound isnt really needed, as we are only using it to record audio rather than using its network audio abilities.This makes watching videos with network audio a bit rubbish, but using VLC or MPlayer you can adjust the audio sync to compensate for this. There is about a two second delay between playing on the Mac and hearing on the receiving machine.The other computer connects to the rtp stream and plays the audio.After that ffmpeg takes the raw audio and encodes it as mp3 then publishes it on the network as an rtp stream.Then esdrec connects to esd and records input to the microphone and passes it on to ffmpeg. The program esd opens the sound device and makes it available to other local programs.Soundflower captures any output going to the speakers and redirects it to the microphone input (this is all done digitally, so there is no loss in quality).You should now have all audio from your Mac playing over the network. Run VLC to stream your audio from your mac with: vlc rtp://myOtherIP:1234 where myOtherIP is the address of the box you are running VLC on. Soundflower for mac failed install#On an ubuntu/debian box you can use sudo apt-get install vlc-nox for a console version. Steps to use on a machine connected to your stereo:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |