[MPlayer-cygwin] Using mplayer with another app + problemswithstdin

Chhaya, Harshal hchhaya at ti.com
Tue Jul 20 20:18:44 CEST 2004


> Try using cat file.mpg | mplayer -
> Chris

Chris,

Thanks for your response.

Since I am on Windows, I used 'type' instead of 'cat' (they do
the same thing) and I still get an error message. The detailed 
message is:

======== BEGIN mplayer OUTPUT ============
C:\userdata\hchhaya\mplayer>type f.mpg | mplayer -

MPlayer 1.0pre5-3.2.3 (C) 2000-2004 MPlayer Team

CPU: Intel Pentium 4/Xeon/Celeron Foster 2045 MHz (Family: 8, Stepping:
4)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with
--disable-runtime-cpudetection.
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or
directo
ry
Reading config file C:/userdata/hchhaya/mplayer/mplayer/config
Reading C:/userdata/hchhaya/mplayer/mplayer/codecs.conf: Can't open
'C:/userdata
/hchhaya/mplayer/mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open
'/usr/local/etc/mplayer/c
odecs.conf': No such file or directory
Using built-in default codecs.conf.
c:/windows/fonts/arial.ttf doesn't look like a font description,
ignoring
Cannot load font: c:/windows/fonts/arial.ttf
Using usleep() timing
Input config file C:/userdata/hchhaya/mplayer/mplayer/input.conf parsed:
53 bind
s

Playing -.
Reading from stdin...



Exiting... (End of file)
The process tried to write to a nonexistent pipe.

======== END mplayer OUTPUT ============

And the 'config file' has this:

vo=directx
#dr=yes
double=yes
font=c:/windows/fonts/arial.ttf
ao=win32
autosync=100
framedrop=yes
quiet=yes


I don't understand why mplayer complains about
c:/windows/fonts/arial.ttf
since it exists and it is a valid font file. But I am not really
concerned
with that right now. I am focussed on getting mplayer to read from
stdin.

Thanks for your help.

Regards,
Harshal




More information about the MPlayer-cygwin mailing list