[MPlayer-users] mplayer sound over ssh ?

Michel Bardiaux mbardiaux at peaktime.be
Wed Jun 30 12:14:20 CEST 2004


rcooley wrote:

> On Tue, 29 Jun 2004 22:00:59 +0200
> Javier Sanchez Monzon <tino at stw-bonn.de> wrote:
> 
> 
>>I have at home my mplayer programm.  I connect via ssh to my home, and
>>then start mplayer.  I only can see the video but no sound.   
> 
> 
> SSH does X11 forwarding, but doesn't handle sound at all...  Why would
> you expect it to?

Actually, one can setup ssh to forward *any* specific TCP port. What is 
special in X11 forwarding is the forwarding of *dynamic* port numbers.

>  
> 
>>Do u know how can i fix it? 
> 
> 
> It's pretty crazy to send uncompressed video over the network, and even
> crazier over the internet.  What you should be doing is sending the file
> (over SSH perhaps) to the local machine, and then playing it locally.
> 
> If you don't want to wait for the entire file to transfer, you can type
> something like the following:
> 
> 
>  ssh HOSTNAME "cat FILENAME.avi" | mplayer -
> 
> You won't be able to seek, but it works fine otherwise.
> 
> If you don't want to do that, you could always setup an FTP server on
> your machine, and see how well MPlayer's FTP playback works :-)
> 
Or install LUFS on the local machine

-- 
Michel Bardiaux
Peaktime Belgium S.A.  Bd. du Souverain, 191  B-1160 Bruxelles
Tel : +32 2 790.29.41




More information about the MPlayer-users mailing list