[MPlayer-users] pipe and directly.

Yoshihiro Ueda ueda at yicom.name
Thu Aug 17 05:31:24 CEST 2006


When occasioning to output the file through the pipe and outputting 
it directly, operation is different. 
When the pipe is passed, severalM of the starts does the output 
failure. 

However, there is no failure at the direct output and it is possible to output it. 

Perhaps, though it seems that the file header is related
Is the one what doing very this difference that is a pipe it, there no failure, 
and can output?

Can you do in the setting of the command option etc.
My best regards. 

----
for pipe
----
$ cat ezsm04.mpg |mplayer -vo x11 -

MPlayer 1.0pre8-3.4.6 (C) 2000-2006 MPlayer Team
CPU: Geode(TM) Integrated Processor by AMD PCS (Family: 5, Model: 10, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx


Playing -.
Reading from stdin...
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Win32 LoadLibrary failed to load: avisynth.dll, /usr/lib/codecs/avisynth.dll,
/usr/lib/win32/avisynth.dll, /usr/local/lib/win32/avisynth.dll
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
MPEG-PS file format detected.
VIDEO: MPEG2 704x480 (aspect 6) 29.970 fps 9558.0 kbps (1194.8 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 256.0 kbit/16.67% (ratio: 32000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 704 x 480 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
AO: [null] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 704 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 704x480 => 704x480 Planar YV12
SwScaler: using unscaled Planar YV12 -> BGRA special converter
A: 3.4 V: 2.3 A-V: 1.063 ct: -0.157 53/ 53 101% 62% 14.1% 50 0
-----

for directly
-----
$mplayer -vo x11 ezsm04.mpg
MPlayer 1.0pre8-3.4.6 (C) 2000-2006 MPlayer Team
CPU: Geode(TM) Integrated Processor by AMD PCS (Family: 5, Model: 10, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx


Playing ezsm04.mpg.
MPEG-PS file format detected.
VIDEO: MPEG2 704x480 (aspect 6) 29.970 fps 9558.0 kbps (1194.8 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 256.0 kbit/16.67% (ratio: 32000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 704 x 480 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
AO: [null] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 704 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 704x480 => 704x480 Planar YV12
SwScaler: using unscaled Planar YV12 -> BGRA special converter
A: 3.6 V: 1.9 A-V: 1.753 ct: 0.051 52/ 52 101% 73% 39.0% 50 0





More information about the MPlayer-users mailing list