[MPlayer-users] slow down with menu off

Adam Sulmicki adam at cfar.umd.edu
Sun Dec 24 11:25:38 CET 2006


argh, why does turning OFF menus slows things down?
It is over THREE times as slow :(

/usr/local/mp-fb/bin/mplayer.snd2 /tt.avi  -dr -vf yuy2 -vo s3fb -fs 
-framedrop -loop 1 -utf8 -osdlevel 3 -noaudio -ao none -benchmark

BENCHMARKs: VC:  14.020s VO:   4.509s A:   0.000s Sys:   0.930s =   19.459s
BENCHMARK%: VC: 72.0477% VO: 23.1710% A:  0.0000% Sys:  4.7814% = 100.0000%

/usr/local/mp-fb/bin/mplayer.snd2 /tt.avi  -dr -vf yuy2 -vo s3fb -fs 
-framedrop -loop 1 -utf8 -osdlevel 3 -no
sound -ao none -benchmark -menu -menu-startup -nodouble
BENCHMARKs: VC:  14.041s VO:  12.161s A:   0.000s Sys:   0.958s =   27.160s
BENCHMARK%: VC: 51.6968% VO: 44.7763% A:  0.0000% Sys:  3.5269% = 100.0000%

* press buttons: off-OSD, off-menu
/usr/local/mp-fb/bin/mplayer.snd2 /tt.avi  -dr -vf yuy2 -vo s3fb -fs 
-framedrop -loop 1 -utf8 -osdlevel 3 -no
sound -ao none -benchmark -menu -menu-startup -nodouble
BENCHMARKs: VC:  14.170s VO:  60.936s A:   0.000s Sys:   0.925s =   76.032s
BENCHMARK%: VC: 18.6374% VO: 80.1459% A:  0.0000% Sys:  1.2167% = 100.0000%

[please cc]

-- 
Adam Sulmicki
http://www.eax.com 	The Supreme Headquarters of the 32 bit registers
-------------- next part --------------
# /usr/local/mp-fb/bin/mplayer.snd2 /tt.avi  -dr -vf yuy2 -vo s3fb -fs -framedrop -loop 1 -utf8 -osdlevel 3 -nosound -ao none -benchmark -menu -menu-startup -nodouble -v >& /tmp/fast.log

MPlayer dev-SVN-r21392-4.1.1 (C) 2000-2006 MPlayer Team
CPU: Intel Celeron Covington/Pentium II Deschutes,Tonga/Pentium II Xeon (Family: 6, Model: 5, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX
get_path('codecs.conf') -> '/root/.mplayer/codecs.conf'
Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/mp-fb/etc/mplayer/codecs.conf: Can't open '/usr/local/mp-fb/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: --prefix=/usr/local/mp-fb --target=pentium2 --enable-static --enable-s3fb --enable-fbdev --enable-directfb --enable-menu --enable-largefiles --enable-ass --enable-ossaudio --enable-lirc --enable-vidix-internal --enable-vidix-external --disable-3dnow --disable-3dnowext --disable-sse --disable-sse2 --disable-mmxext --disable-x11 --disable-vesa --disable-fribidi --disable-gif --disable-cdparanoia --disable-speex --disable-esd --disable-sdl --disable-ftp --disable-tv --disable-dvbhead --disable-xanim --disable-ivtv --disable-tga --disable-pnm --disable-png --disable-md5sum --disable-dvdnav --disable-dvdread --disable-dvdread-internal --disable-libdvdcss-internal --disable-dvb --disable-network
CommandLine: '/tt.avi' '-dr' '-vf' 'yuy2' '-vo' 's3fb' '-fs' '-framedrop' '-loop' '1' '-utf8' '-osdlevel' '3' '-nosound' '-ao' 'none' '-benchmark' '-menu' '-menu-startup' '-nodouble' '-v'
init_freetype
font: can't open file: dejavu sans
Cannot load bitmap font: dejavu sans
Using MMX Optimized OnScreenDisplay
get_path('fonts') -> '/root/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/root/.mplayer/input.conf'
Parsing input config file /root/.mplayer/input.conf
Input config file /root/.mplayer/input.conf parsed: 59 binds
Setting up LIRC support...
get_path('menu.conf') -> '/root/.mplayer/menu.conf'
[MENU] unknown menu type 'audiosel' at line 8
[MENU] unknown menu type 'subsel' at line 9
[MENU] unknown menu type 'chapsel' at line 10
[MENU] unknown menu type 'dvbsel' at line 11
Struct pt_cfg doesn't have any auto-close field
[MENU] bad attribute auto-close=yes in menu 'jump_to' at line 12
Menu inited: /root/.mplayer/menu.conf
get_path('tt.avi.conf') -> '/root/.mplayer/tt.avi.conf'

Playing /tt.avi.
get_path('sub/') -> '/root/.mplayer/sub/'
[file] File size is 6637420 bytes
STREAM: [file] /tt.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
AVI file format detected.
list_end=0x228A
======= AVI Header =======
us/frame: 40000  (fps=25.000)
max bytes/sec: 144000
padding: 0
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
frames  total: 1170   initial: 0
streams: 2
Suggested BufferSize: 1048576
Size:  608 x 336
==========================
list_end=0x10F0
==> Found video stream: 0
====== STREAM Header =====
Type: vids   FCC: FMP4 (34504D46)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 25/1 = 25.000
Start: 0   Len: 1170
Suggested BufferSize: 1048576
Quality -1
Sample size: 0
==========================
Found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 608
  biHeight 336
  biPlanes 1
  biBitCount 24
  biCompression 877677894='FMP4'
  biSizeImage 612864
===========================
Regenerating keyframe table for MPEG-4 video.
list_end=0x217E
==> Found audio stream: 1
====== STREAM Header =====
Type: auds   FCC:  (1)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 125/3 = 41.667
Start: 0   Len: 1952
Suggested BufferSize: 12288
Quality -1
Sample size: 0
==========================
Found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 16000
Block align: 1152
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=1152
mp3.nFramesPerBlock=1
mp3.nCodecDelay=1393
==========================================================================
list_end=0x22AA
hdr=Software  size=11
Software  : Lavf50.5.0
list_end=0x648444
Found movie at 0x26B6 - 0x648444
Reading INDEX block, 3122 chunks for 1170 frames (fpos=6587468).
AVI index offset: 0x26B2 (movi=0x26B6 idx0=0x4 idx1=0x2DA8)
Auto-selected AVI video ID = 0
AVI video size=5802410 (1170) audio size=0 (0)
VIDEO:  [FMP4]  608x336  24bpp  25.000 fps  991.9 kbps (121.1 kbyte/s)
[V] filefmt:3  fourcc:0x34504D46  size:608x336  fps:25.00  ftime:=0.0400
Clip info:
 Software: Lavf50.5.0
get_path('sub/') -> '/root/.mplayer/sub/'
Opening video filter: [yuy2]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
Audio: no sound
Freeing 0 unused audio chunks.
Starting playback...
[ffmpeg] aspect_ratio: 1.333333
VDec: vo config request - 608 x 336 (preferred colorspace: Planar YV12)
Trying filter chain: yuy2 menu vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (608x336->608x456,flags=1,'MPlayer',0x32315659)
REQ: flags=0x437  req=0x0  
get_path('subfont.ttf') -> '/root/.mplayer/subfont.ttf'
Unicode font: 1157 glyphs.
REQ: flags=0x37  req=0x0  
VO: [s3fb] 608x336 => 608x456 Packed YUY2  [fs]
VO: Description: S3 Virge over fbdev
VO: Author: Mark Sanderson <mmp at kiora.ath.cx>
s3fb: output is at 0x0 +640x480
s3fb: screen is 640x480 at 32 bpp, in is 608x336 at 16 bpp, norm is 608x456
*** [yuy2] Allocating mp_image_t, 608x336x12bpp YUV planar, 306432 bytes
V:   0.0   1/  1 ??% ??% ??,?% 0 0 
*** [yuy2] Allocating mp_image_t, 608x336x12bpp YUV planar, 306432 bytes
*** [vo] Direct Rendering mp_image_t, 608x336x16bpp YUV packed, 408576 bytes
*** [menu] Direct Rendering mp_image_t, 608x336x16bpp YUV packed, 408576 bytes
V:   0.0   2/  2 ??% ??% ??,?% 0 0 
*** [yuy2] Allocating mp_image_t, 608x336x12bpp YUV planar, 306432 bytes
V:   0.1   3/  3 ??% ??% ??,?% 0 0 
V:   0.1   4/  4 ??% ??% ??,?% 0 0 
[...]
V:  46.7 1169/1169 29% 26%  0.0% 0 0 
V:  46.8 1170/1170 29% 26%  0.0% 0 0 
ds_fill_buffer: EOF reached (stream: video)  
V:  46.8 1170/1170 29% 26%  0.0% 0 0 
EOF code: 1  


BENCHMARKs: VC:  14.018s VO:  12.166s A:   0.000s Sys:   0.439s =   26.623s
BENCHMARK%: VC: 52.6551% VO: 45.6965% A:  0.0000% Sys:  1.6484% = 100.0000%
Uninit video: ffmpeg

Exiting... (End of file)
-------------- next part --------------
# /usr/local/mp-fb/bin/mplayer.snd2 /tt.avi  -dr -vf yuy2 -vo s3fb -fs -framedrop -loop 1 -utf8 -osdlevel 3 -nosound -ao none -benchmark -menu -menu-startup -nodouble -v >& /tmp/slow.log
# turn off menu as soon as play starts

MPlayer dev-SVN-r21392-4.1.1 (C) 2000-2006 MPlayer Team
CPU: Intel Celeron Covington/Pentium II Deschutes,Tonga/Pentium II Xeon (Family: 6, Model: 5, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX
get_path('codecs.conf') -> '/root/.mplayer/codecs.conf'
Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/mp-fb/etc/mplayer/codecs.conf: Can't open '/usr/local/mp-fb/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: --prefix=/usr/local/mp-fb --target=pentium2 --enable-static --enable-s3fb --enable-fbdev --enable-directfb --enable-menu --enable-largefiles --enable-ass --enable-ossaudio --enable-lirc --enable-vidix-internal --enable-vidix-external --disable-3dnow --disable-3dnowext --disable-sse --disable-sse2 --disable-mmxext --disable-x11 --disable-vesa --disable-fribidi --disable-gif --disable-cdparanoia --disable-speex --disable-esd --disable-sdl --disable-ftp --disable-tv --disable-dvbhead --disable-xanim --disable-ivtv --disable-tga --disable-pnm --disable-png --disable-md5sum --disable-dvdnav --disable-dvdread --disable-dvdread-internal --disable-libdvdcss-internal --disable-dvb --disable-network
CommandLine: '/tt.avi' '-dr' '-vf' 'yuy2' '-vo' 's3fb' '-fs' '-framedrop' '-loop' '1' '-utf8' '-osdlevel' '3' '-nosound' '-ao' 'none' '-benchmark' '-menu' '-menu-startup' '-nodouble' '-v'
init_freetype
font: can't open file: dejavu sans
Cannot load bitmap font: dejavu sans
Using MMX Optimized OnScreenDisplay
get_path('fonts') -> '/root/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/root/.mplayer/input.conf'
Parsing input config file /root/.mplayer/input.conf
Input config file /root/.mplayer/input.conf parsed: 59 binds
Setting up LIRC support...
get_path('menu.conf') -> '/root/.mplayer/menu.conf'
[MENU] unknown menu type 'audiosel' at line 8
[MENU] unknown menu type 'subsel' at line 9
[MENU] unknown menu type 'chapsel' at line 10
[MENU] unknown menu type 'dvbsel' at line 11
Struct pt_cfg doesn't have any auto-close field
[MENU] bad attribute auto-close=yes in menu 'jump_to' at line 12
Menu inited: /root/.mplayer/menu.conf
get_path('tt.avi.conf') -> '/root/.mplayer/tt.avi.conf'

Playing /tt.avi.
get_path('sub/') -> '/root/.mplayer/sub/'
[file] File size is 6637420 bytes
STREAM: [file] /tt.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
AVI file format detected.
list_end=0x228A
======= AVI Header =======
us/frame: 40000  (fps=25.000)
max bytes/sec: 144000
padding: 0
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
frames  total: 1170   initial: 0
streams: 2
Suggested BufferSize: 1048576
Size:  608 x 336
==========================
list_end=0x10F0
==> Found video stream: 0
====== STREAM Header =====
Type: vids   FCC: FMP4 (34504D46)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 25/1 = 25.000
Start: 0   Len: 1170
Suggested BufferSize: 1048576
Quality -1
Sample size: 0
==========================
Found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 608
  biHeight 336
  biPlanes 1
  biBitCount 24
  biCompression 877677894='FMP4'
  biSizeImage 612864
===========================
Regenerating keyframe table for MPEG-4 video.
list_end=0x217E
==> Found audio stream: 1
====== STREAM Header =====
Type: auds   FCC:  (1)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 125/3 = 41.667
Start: 0   Len: 1952
Suggested BufferSize: 12288
Quality -1
Sample size: 0
==========================
Found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 16000
Block align: 1152
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=1152
mp3.nFramesPerBlock=1
mp3.nCodecDelay=1393
==========================================================================
list_end=0x22AA
hdr=Software  size=11
Software  : Lavf50.5.0
list_end=0x648444
Found movie at 0x26B6 - 0x648444
Reading INDEX block, 3122 chunks for 1170 frames (fpos=6587468).
AVI index offset: 0x26B2 (movi=0x26B6 idx0=0x4 idx1=0x2DA8)
Auto-selected AVI video ID = 0
AVI video size=5802410 (1170) audio size=0 (0)
VIDEO:  [FMP4]  608x336  24bpp  25.000 fps  991.9 kbps (121.1 kbyte/s)
[V] filefmt:3  fourcc:0x34504D46  size:608x336  fps:25.00  ftime:=0.0400
Clip info:
 Software: Lavf50.5.0
get_path('sub/') -> '/root/.mplayer/sub/'
Opening video filter: [yuy2]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
Audio: no sound
Freeing 0 unused audio chunks.
Starting playback...
[ffmpeg] aspect_ratio: 1.333333
VDec: vo config request - 608 x 336 (preferred colorspace: Planar YV12)
Trying filter chain: yuy2 menu vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (608x336->608x456,flags=1,'MPlayer',0x32315659)
REQ: flags=0x437  req=0x0  
get_path('subfont.ttf') -> '/root/.mplayer/subfont.ttf'
Unicode font: 1157 glyphs.
REQ: flags=0x37  req=0x0  
VO: [s3fb] 608x336 => 608x456 Packed YUY2  [fs]
VO: Description: S3 Virge over fbdev
VO: Author: Mark Sanderson <mmp at kiora.ath.cx>
s3fb: output is at 0x0 +640x480
s3fb: screen is 640x480 at 32 bpp, in is 608x336 at 16 bpp, norm is 608x456
*** [yuy2] Allocating mp_image_t, 608x336x12bpp YUV planar, 306432 bytes
V:   0.0   1/  1 ??% ??% ??,?% 0 0 
*** [yuy2] Allocating mp_image_t, 608x336x12bpp YUV planar, 306432 bytes
*** [vo] Direct Rendering mp_image_t, 608x336x16bpp YUV packed, 408576 bytes
*** [menu] Direct Rendering mp_image_t, 608x336x16bpp YUV packed, 408576 bytes
V:   0.0   2/  2 ??% ??% ??,?% 0 0 
*** [yuy2] Allocating mp_image_t, 608x336x12bpp YUV planar, 306432 bytes
V:   0.1   3/  3 ??% ??% ??,?% 0 0 
V:   0.1   4/  4 ??% ??% ??,?% 0 0 
V:   0.2   5/  5 ??% ??% ??,?% 0 0 
V:   0.2   6/  6 ??% ??% ??,?% 0 0 
V:   0.2   7/  7 ??% ??% ??,?% 0 0 
V:   0.3   8/  8 ??% ??% ??,?% 0 0 
V:   0.3   9/  9 ??% ??% ??,?% 0 0 
V:   0.4  10/ 10 ??% ??% ??,?% 0 0 
V:   0.4  11/ 11 ??% ??% ??,?% 0 0 
V:   0.4  12/ 12 ??% ??% ??,?% 0 0 
V:   0.5  13/ 13 ??% ??% ??,?% 0 0 
V:   0.5  14/ 14 29% 28%  0.0% 0 0 
V:   0.6  15/ 15 28% 28%  0.0% 0 0 
V:   0.6  16/ 16 27% 28%  0.0% 0 0 
V:   0.6  17/ 17 27% 28%  0.0% 0 0 
V:   0.7  18/ 18 27% 28%  0.0% 0 0 
V:   0.7  19/ 19 26% 27%  0.0% 0 0 
V:   0.8  20/ 20 26% 27%  0.0% 0 0 
V:   0.8  21/ 21 26% 27%  0.0% 0 0 
V:   0.8  22/ 22 25% 27%  0.0% 0 0 
V:   0.9  23/ 23 25% 27%  0.0% 0 0 
V:   0.9  24/ 24 25% 27%  0.0% 0 0 
V:   1.0  25/ 25 24% 27%  0.0% 0 0 
V:   1.0  26/ 26 24% 27%  0.0% 0 0 
*** [vo] Exporting mp_image_t, 608x336x16bpp YUV packed, 408576 bytes
V:   1.0  27/ 27 24% 31%  0.0% 0 0 
V:   1.1  28/ 28 24% 35%  0.0% 0 0 
[...]
V:  46.7 1169/1169 30% 133%  0.0% 0 0 
V:  46.8 1170/1170 30% 133%  0.0% 0 0 
ds_fill_buffer: EOF reached (stream: video)  
V:  46.8 1170/1170 30% 133%  0.0% 0 0 
EOF code: 1  


BENCHMARKs: VC:  14.056s VO:  62.617s A:   0.000s Sys:   0.456s =   77.129s
BENCHMARK%: VC: 18.2243% VO: 81.1844% A:  0.0000% Sys:  0.5913% = 100.0000%
Uninit video: ffmpeg

Exiting... (End of file)


More information about the MPlayer-users mailing list