[MPlayer-users] Re: slow down with menu off

Adam Sulmicki adam at cfar.umd.edu
Mon Dec 25 12:10:17 CET 2006


Folks,

Question, can it be made so that if menus are enabled but not displayed, 
mplayer behaves the same way as when there are no menus enabled at 
command line?

doing some more benchark (on different machine than my last email) I 
noticed that with no menu enabled mplayer spends 95% of time in VC, and 
~0% of time in VO. On the other hand with VO option enabled, but no menu 
displayed, it changes to VC=25% and VO=70%!

the raw data is shown below:

# ffmpeg -i ../../train/tt-front-logo-ds-loop.avi
   Duration: 00:00:46.8, start: 0.000000, bitrate: 1133 kb/s

# mplayer -benchmark -ao null -nosound 
../../train/tt-front-logo-ds-loop.avi
BENCHMARKs: VC:  12.381s VO:   0.030s A:   0.000s Sys:   0.794s = 
13.205s
BENCHMARK%: VC: 93.7591% VO:  0.2307% A:  0.0000% Sys:  6.0102% = 
100.0000%

# mplayer -benchmark -ao null -nosound 
../../train/tt-front-logo-ds-loop.avi -menu
BENCHMARKs: VC:   3.204s VO:   8.996s A:   0.000s Sys:   0.733s = 
12.932s
BENCHMARK%: VC: 24.7758% VO: 69.5598% A:  0.0000% Sys:  5.6644% = 
100.0000%

# mplayer -benchmark -ao null -nosound 
../../train/tt-front-logo-ds-loop.avi -menu -menu-startup
BENCHMARKs: VC:   3.247s VO:  10.643s A:   0.000s Sys:   0.753s = 
14.643s
BENCHMARK%: VC: 22.1759% VO: 72.6831% A:  0.0000% Sys:  5.1410% = 
100.0000%

# press ESC to remove menu
# mplayer -benchmark -ao null -nosound 
../../train/tt-front-logo-ds-loop.avi -menu -menu-startup
BENCHMARKs: VC:   3.288s VO:   9.254s A:   0.000s Sys:   0.736s = 
13.278s
BENCHMARK%: VC: 24.7663% VO: 69.6930% A:  0.0000% Sys:  5.5407% = 
100.0000%

On Sun, 24 Dec 2006, Adam Sulmicki wrote:

>
> 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



More information about the MPlayer-users mailing list