[MPlayer-cygwin] MPlayer stdin under Win32/slave mode

Bertrand Florat bertrand at florat.net
Wed Sep 27 23:24:52 CEST 2006


Hi folks,

Does anyone managed use slave mode under win32 (well, I know it has
already been discussed before but I didn't find any decicive response) ?
I wrote a frontend that works perfectly under linux but not under
Windows (the stdin issue).
My problem: since stdout stream is readable, stdin can't be written: all
types commands from console or from msys/sh.exe (sh -c mplayer -slave
-quiet "whatever.mp3") are buffurized and displayed when closing mplayer
.  Any idea ?

Thanks, Bertrand

PS: Note however that there is an ugly workaround to get mplayer
callback information. I figured out reading sources of MPUI (a delphi
mplayer frontend) that you can make a mplayer -slave whatever.mp3 > file
(no -quiet option) and read this output in a loop from a separated
thread for example...

-- 
Bertrand FLORAT         
bertrand at florat.net
http://www.florat.net
PGP keyserver:  pgp.mit.edu  




More information about the MPlayer-cygwin mailing list