[MPlayer-users] piping with | and stdin, mplayer -

Konstantin Kletschke konsti at ludenkalle.de
Tue Mar 9 16:51:50 CET 2004


Hi there!

For benchmark purposes I sometimes cat an video file into netcat and on
another machiene I cat it with netcat into an |mplayer -
On most videos this is working and is the equivalent to a
local "cat bla.avi|mplayer -".
But on some videos that is not working :(

It fills up its cache and than does nothing anymore. Nothing obvious,
don't know what is going under the hood, though...

With -nocache it does not fill up the cache of course

Playing -.
Reading from stdin...
AVI file format detected.

[after a while]

AVI: Missing video stream!? Contact the author, it may be a bug :(

Exiting... (End of file)

The file is:
X-Men.2.german.DVDrip.DivX-5.1.AC3-5.1.CD1.KM.avi: RIFF
(little-endian) data, AVI, 720 x 300, 25.00 fps, video: DivX 5, audio:
Dolby AC3 (5 channels, 48000 Hz)

or:

Playing X-Men.2.german.DVDrip.DivX-5.1.AC3-5.1.CD1.KM.avi.
Cache fill:  1.17% (196608 bytes)    AVI file format detected.
VIDEO:  [DX50]  720x300  24bpp  25.000 fps  1145.0 kbps (139.8 kbyte/s)
Clip info:
 Name: 'X-Men 2' [1/2] DVD-Rip (DivX 5.1 - AC3 5.1)
 Artist: KrautMovies
 Copyright: 2003
 Software: Nandub v1.0rc2
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe)  48000 Hz  384.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 48000->192000 (384.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int 
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
Could not open/initialize audio device -> no sound.
Audio: no sound
Starting playback...
VDec: vo config request - 720 x 300 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.40:1 - prescaling to correct movie aspect.
VO: [xv] 720x300 => 720x300 Planar YV12 
V:   2.1   54  17%  8%  0.0% 0 0 99%

PLaying around I tried to create another one, with it it may work:

mencoder -ovc xvid X-Men.2.german.DVDrip.DivX-5.1.AC3-5.1.CD1.KM.avi
-oac lavc -o X2-1v2.xvid -xvidencopts pass=1

But that doesn't work neither.

For example xine does it, but that is not an alternative, it is slow
and crashes very often...

I used:
MPlayer dev-CVS-040308-06:00-3.3.3 (C) 2000-2004 MPlayer Team

CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino 1461 MHz (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 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 directory
Reading config file /home/konsti/.mplayer/config
You added '--' but no filenames presented!

Regards, Konstantin


-- 
2.6.3-mm3
Konstantin Kletschke <konsti at ludenkalle.de>, <konsti at ku-gbr.de>
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E  A080 1E69 3FDA EF62 FCEF
keulator.homelinux.org up 7:11, 23 users




More information about the MPlayer-users mailing list