[MPlayer-users] raw yuv 4:2:0 file plays too slowly.

Dean S. Messing deanm at sharplabs.com
Sun Feb 2 02:00:04 CET 2003


I'm trying to play a 550 frame 1280x720 progressive yuv sequence and
it plays way too slow.  The commandline I used is:

    mplayer -rawvideo on:w=1280:h=720:fps=60 Panslow.yuv

I also tried -double with no appreciable effect.

During play it goes "in fits and starts", i.e. it will
play nearly at correct frame rate for a fraction of a second and then
slow way down to maybe 5-10 frames a second.  The whole thing takes
nearly a minute to play whereas it should take about 9 seconds.

My system load average is at zero when play starts. Could
this just be an i/o bottleneck?

It looks like I'm having to pull 82.9MBytes of data, sustained, from
disk.  My system (see below) has 512 MBytes of ram, but with X up and
lots of windows open, and KDE I guess there's not more than half of
that available.

If I were to spend the $$$ to put, say 2-3 gigs of memory in my system,
could I get these raw test sequences to play in real time?
Specifically how would I get the system to keep the sequence in memory?
Ramdisk?

========= mplayer output here =========
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale


MPlayer CVS-030123-21:00-3.2.1 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP Multiprocessor/Athlon XP eXtreme Performance (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 SSE2

Reading config file /etc/mplayer/mplayer.conf
Reading config file /home/deanm/.mplayer/config
Reading /home/deanm/.mplayer/codecs.conf: 49 audio & 130 video codecs
font: can't open file: /home/deanm/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Using Linux hardware RTC timing (1024Hz).
Input config file /home/deanm/.mplayer/input.conf parsed : 0 binds

Playing Panslow.yuv
Cache fill:  0.00% (0 bytes)    vo: X11 running at 1600x1200 with depth 24 and 32 bpp (":0" => local display)
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 1280 x 720 (preferred csp: Planar I420)
VDec: using Planar I420 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 1280x720 => 1280x720 Planar I420 
Selected video codec: [rawi420] vfm:raw (RAW I420)
==========================================================================
Audio: no sound
Starting playback...
V:   0.0  551   0% 45%  0.0% 0 0 0%

Exiting... (End of file)


======== System Information ===========

  * Linux distribution:
        o Mdk 9.0
  * kernel version:
       Linux medulla 2.4.19-16mdksmp #1 SMP Wed Sep 24 12:26:01 EDT 2003
        i686 unknown unknown GNU/Linux
  * libc version:
       /lib/libc-2.2.5.so
  * X version:
       XFree86 Version 4.2.1
  * gcc and ld versions:
      gcc -v:
       Reading specs from /usr/lib/gcc-lib/athlon-mandrake-linux-gnu/3.2.1/specs
       Thread model: posix
       gcc version 3.2.1 (Mandrake Linux 9.0 3.2.1-3mdk)
     ld -v:
       GNU ld version 2.12.90.0.15 20020717
  * binutils version:
       GNU assembler 2.12.90.0.15 20020717
  * Window manager type and version
       KDE 3.0.5a
       xinerama enabled (via nvidia twinview)

Hardware & drivers:

  * CPU info (this works on Linux only):
         processor         : 0
             vendor_id     : AuthenticAMD
             cpu family    : 6
             model         : 6
             model name    : AMD Athlon(tm) MP 1500+
             stepping      : 2
             cpu MHz       : 1333.410
             cache size    : 256 KB
             fdiv_bug      : no
             hlt_bug       : no
             f00f_bug      : no
             coma_bug      : no
             fpu           : yes    
             fpu_exception : yes
             cpuid level   : 1
             wp            : yes
             flags         : fpu vme de tsc msr pae mce cx8 apic
                             sep mtrr pge mca cmov pat pse36 mmx
                             fxsr sse syscall mmxext 3dnowext 3dnow
             bogomips      : 2660.76

          processor        : 1
             same thing as processor 0.
  * Video card manufacturer and model, e.g.:
        VisionTek Xtasy (Chip: nvidia GeForce4 Ti 4600, 128 MB DDR ram) 
  * Video driver type & version:
        NVIDIA_kernel-1.0-3123
        NVIDIA_GLX-1.0-3123



More information about the MPlayer-users mailing list