[MPlayer-users] Problems with mp3 playback

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu Sep 8 12:15:35 CEST 2005


Hi,
On Sat, Aug 27, 2005 at 08:34:55AM -0600, Kevin DeKorte wrote:
> If I change the script to
> 
> wget http://mplayerplug-in.sf.net/testing/large.mp3 &
> sleep 2
> cat large.mp3 | mplayer -
> 
> I do not have the problem either. But I can't do this type of command in 
> mplayerplug-in as I am using -slave mode to control it's operation.

This is the right solution, just do it the right way:
Use the pipe syscall to create a pipe, writing any data you receive
directly into one end.
The other end you pass to MPlayer:
mplayer /dev/fd/<fd of other end of pipe>

Greetings,
Reimar Döffinger




More information about the MPlayer-users mailing list