Christoffer Kjølbæk I have a blog, therefore I am…

17Jan/070

Sound over TCP with mplayer

When you wanna see Simpsons on your MythBox and don't wanna disturb your girlfriend, you wear headphones. But when the headphone cable isn't long enogh to reach the couch where you are sitting with your laptop, you have a problem!

After a couple of hours I found the solution, esd over TCP. Open a terminal on the box attached to the TV, and write this:

export ESPEAKER=ip_on_your_laptop:16001

On the laptop execute this in a terminal:

esd -tcp -public

Now you can start mplayer on the MythBox using "-ao esd", and the sound will be sent to your laptop, if no firewall or other stuff is blocking :)

You also have to ajust the soundt delay in mplayer, using +/-, but it works.

Tagged som: Læg en kommentar
Kommentarer (0) Trackbacks (0)

Ingen kommentarer endnu.


Læg en kommentar


Ingen trackbacks endnu.