[MPlayer-cygwin] Re: Using mplayer with another app + problems with stdin
Erik Augustson
erik_27can at yahoo.com
Sat Jul 31 09:50:34 CEST 2004
>
> Also, this will require me to launch mplayer such that it reads from
> stdin. But my initial attempt that using stdin as input isn't working.
> For eg. 'mplayer file.mpg' works fine but 'mplayer - < file.mpg'
> causes a error message that says:
>
> Reading from stdin...
> MPEG: Missing video stream!? Contact the author, it may be a bug :(
>
> Exiting... (End of file)
>
With a Mingw build i can get playback from stdin fine ( i think? ) with "type
movie.mpeg | mplayer - movie.mpeg"
Here's my output:
C:\Temp>type noseatbelt.avi | mplayer - noseatbelt.avi
MPlayer 1.0pre5-3.2.3 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino 1335 MHz (Family: 6,
Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directo
ry
Reading config file C:/Program Files/mplayer/mplayer/config
Warning unknown option skin at line 2
Reading C:/Program Files/mplayer/mplayer/codecs.conf: 73 audio & 180 video codec
s
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:/Program Files/mplayer/mplayer/input.conf parsed: 53 binds
Playing -.
Reading from stdin...
Cache fill: 0.00% (0 bytes) AVI file format detected.
Seek failed
Seek failed
AVI: Missing video stream!? Contact the author, it may be a bug :(
Playing noseatbelt.avi.
Cache fill: 0.00% (0 bytes) AVI file format detected.
Detected NON-INTERLEAVED AVI file format.
VIDEO: [IV50] 640x416 24bpp 4.000 fps 1105.2 kbps (134.9 kbyte/s)
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 12000 Hz, 1 ch, 16 bit (0x10), ratio: 24000->24000 (192.0 kbit)
Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
==========================================================================
==========================================================================
Opening video decoder: [dshow] DirectShow video codecs
Decoder supports the following YUV formats: YUY2 IYUV UYVY YV12 I420
Decoder is capable of YUV output (flags 0x2f)
VDec: vo config request - 640 x 416 (preferred csp: Packed YUY2)
[PP] Using codec's postprocessing, max q = 4.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [directx] 640x416 => 640x416 Planar YV12
VideoDecoder::SetExtAttr: registry failure
Selected video codec: [indeo5ds] vfm:dshow (Intel Indeo 5)
==========================================================================
Checking audio filter chain for 12000Hz/1ch/16bit -> 12000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 1 ch, 12000 hz, little endian signed int
AF_pre: 12000Hz 1ch Signed 16-bit (Little-Endian)
AO: [win32] 12000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 12000Hz/1ch/16bit -> 12000Hz/2ch/16bit...
Starting playback...
Exiting... (End of file)
The process tried to write to a nonexistent pipe.
C:\Temp>
More information about the MPlayer-cygwin
mailing list