[MPlayer-users] mplayer can't seem to play 1080P raw 422 UYVY video at 120 Hz

eric at ev-consulting.com eric at ev-consulting.com
Thu May 27 23:01:49 CEST 2010


 

Hi,
 
Can anyone explain why mplayer would not be able to keep up with this refresh rate on this system with this system?  Notice that the elpased time is more than 36 seconds, but the total requested time is 30 seconds.  The CPU is not being taxed, neither is the disc read performance.  Note that we are aware of the ds_fill_buffer command and the 2KB buffer size that it uses (last we checked in August 2009), but we did not change that buffer size, we are simply using the binary that Ubuntu found when we asked it to download mplayer. 
 
We recognize this is an extreme performance condition, and yet ... why not?  We are really just transferring data to the graphics card, right?
 
The output of mplayer with the -v option is shown below. 
 
Regards,
Eric V. 
 
System:
  Motherboard: Asus P7P55D EVO
  Processor:   Quad Core i7 (i7-860)
  Memory:      4 GB
  OS:          Ubuntu 10.04
  Disc:        OCZ Z-drive m84 PCI-Express Solid State Drive RAID 0
               (The SSD benchmarks > 700 MB/s read performance using the system disc benchmark tool)
  Graphics:    nVidia GeForce GTX 285 (set to 120 Hz refresh rate) 
               (latest driver from nVidia website as of 5/27/2010)
  Monitor:     Samsung SyncMaster 2233 (120 Hz capable)

Input: Raw UYVY 422 video 1620x1080 (3600 frames)

Mplayer output:

user at machine:/media/New Volume$ mplayer -benchmark -nosound -fps 120 -v -adapter 0 -loop 1  -noborder -vo xv -demuxer rawvideo -rawvideo size=3499200:w=1620:h=1080:format=uyvy CrossWalk.deint\(1080pAnaWsga\).uyvy
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
MPlayer SVN-r1.0~rc3 svn20090426-4.4.3 (C) 2000-2009 MPlayer Team
CPU vendor name: GenuineIntel  max cpuid level: 11
CPU: Intel(R) Core(TM) i7 CPU         860  @ 2.80GHz (Family: 6, Model: 30, Stepping: 5)
extended cpuid-level: 8
extended cache-info: 16801856
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1
Compiled with runtime CPU detection. 
get_path('codecs.conf') -> '/home/eric/.mplayer/codecs.conf'
Reading /home/eric/.mplayer/codecs.conf: Can't open '/home/eric/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf. 
Configuration: --prefix=/usr --confdir=/etc/mplayer --enable-xvmc --enable-menu --enable-largefiles --language=all --disable-libdvdcss-internal --disable-dvdread-internal --disable-libavutil_a --disable-libavcodec_a --disable-libavformat_a --disable-libpostproc_a --disable-libswscale_a --enable-runtime-cpudetection --enable-debug --enable-mga --enable-3dfx --enable-tdfxfb --disable-gui
CommandLine: '-benchmark' '-nosound' '-fps' '120' '-v' '-adapter' '0' '-loop' '1' '-noborder' '-vo' 'xv' '-demuxer' 'rawvideo' '-rawvideo' 'size=3499200:w=1620:h=1080:format=uyvy' 'CrossWalk.deint(1080pAnaWsga).uyvy'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/eric/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/eric/.mplayer/input.conf'
Can't open input config file /home/eric/.mplayer/input.conf: No such file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 89 binds
Setting up LIRC support... 
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control. 
get_path('CrossWalk.deint(1080pAnaWsga).uyvy.conf') -> '/home/eric/.mplayer/CrossWalk.deint(1080pAnaWsga).uyvy.conf'

Playing CrossWalk.deint(1080pAnaWsga).uyvy. 
get_path('sub/') -> '/home/eric/.mplayer/sub/'
[file] File size is 12590121600 bytes
STREAM: [file] CrossWalk.deint(1080pAnaWsga).uyvy
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
rawvideo file format detected. 
==> Found video stream: 0
[V] filefmt:26  fourcc:0x59565955  size:1620x1080  fps:25.000  ftime:=0.0400
get_path('sub/') -> '/home/eric/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1680x1050 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports NetWM. 
[x11] Detected wm supports FULLSCREEN state. 
[x11] Detected wm supports ABOVE state. 
[x11] Detected wm supports BELOW state. 
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
Disabling DPMS
DPMSDisable stat: 1
[VO_XV] Using Xv Adapter #0 (NV17 Video Texture)
[xv common] Drawing no colorkey. 
[xv common] Maximum source image dimensions: 2046x2046
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 1620 x 1080 (preferred colorspace: Packed UYVY)
Trying filter chain: vo
VDec: using Packed UYVY as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied. 
VO Config (1620x1080->1620x1080,flags=0,'MPlayer',0x59565955)
VO: [xv] 1620x1080 => 1620x1080 Packed UYVY 
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 313 for hw scaling
Selected video codec: [rawuyvy] vfm: raw (RAW UYVY)
==========================================================================
Audio: no sound
Freeing 0 unused audio chunks. 
FPS forced to be 120.000  (ftime: 0.008). 
Starting playback... 
*** [vo] Exporting mp_image_t, 1620x1080x16bpp YUV packed, 3499200 bytes
Unicode font: 5025 glyphs. 
Unicode font: 5025 glyphs. 
ds_fill_buffer: EOF reached (stream: video)  
EOF code: 1  /3599  0%  9%  0.0% 0 0 

BENCHMARKs: VC:   0.008s VO:   2.775s A:   0.000s Sys:  33.408s =   36.191s
BENCHMARK%: VC:  0.0227% VO:  7.6666% A:  0.0000% Sys: 92.3107% = 100.0000%
Uninit video: raw
Successfully enabled DPMS
vo: uninit ... 



More information about the MPlayer-users mailing list