[Mplayer-users] ff-divx benchmarks...

Balazs Tibor tibcu at sch.bme.hu
Tue Jul 17 18:25:04 CEST 2001


I continue:

On Mon, 16 Jul 2001, Tibor Balázs wrote:

the order is always:
Detected video codec: [ffdivx] drv:5 (FFmpeg DivX ;-) (MS MPEG-4 v3))
Detected video codec: [divxds] drv:4 (DivX ;-) (MS MPEG-4 v3))
Detected video codec: [divx] drv:2 (DivX ;-) (MS MPEG-4 v3))

MPlayer 0.17cvs-010716-13:02

> VIDEO:  [DIV3]  384x288  24bpp  29.97 fps  966.1 kbps (117.9 kbyte/s)
> [V] filefmt:3  fourcc:0x33564944  size:384x288  fps:29.97  ftime:=0.0334

vo_dga: DGA 1.0 compatibility code: Using XF86VidMode for mode switching!

> -frames 500 -benchmark -osdlevel 0 -nosound -bpp 32 -vfm 5 -v
                                              ^^^^^^^^^^^^^^ changing

> -vo svga -bpp 32
>
> BENCHMARKs: V:  16.449s VO:   9.546s A:   0.000s Sys:   5.374s =   31.368s
> BENCHMARKs: V:  14.782s VO:   5.969s A:   0.000s Sys:   5.430s =   26.181s
> BENCHMARKs: V:  14.680s VO:   5.983s A:   0.000s Sys:   5.391s =   26.054s

-vo dga -bpp 32 (X runs in 32 bpp)

BENCHMARKs: V:  15.545s VO:   3.869s A:   0.000s Sys:   0.458s =   19.872s
BENCHMARKs: V:  14.688s VO:  17.050s A:   0.000s Sys:   0.417s =   32.154s
BENCHMARKs: V:  14.545s VO:  17.096s A:   0.000s Sys:   0.380s =   32.021s

-vo dga -bpp 24 (X still in 32 bpp) (notice the diffs with dlls!! WHY?)

BENCHMARKs: V:  15.534s VO:   3.852s A:   0.000s Sys:   0.356s =   19.743s
BENCHMARKs: V:  13.653s VO:   3.998s A:   0.000s Sys:   0.388s =   18.038s
BENCHMARKs: V:  13.575s VO:   3.947s A:   0.000s Sys:   0.380s =   17.902s

-vo x11 (X still in 32 bpp)

BENCHMARKs: V:  16.153s VO:   3.843s A:   0.000s Sys:   5.120s =   25.116s
BENCHMARKs: V:  14.878s VO:   4.618s A:   0.000s Sys:   5.207s =   24.703s
BENCHMARKs: V:  14.706s VO:   4.755s A:   0.000s Sys:   5.255s =   24.716s

> -bpp 24
svga
> BENCHMARKs: V:  16.345s VO:  13.614s A:   0.000s Sys:   4.132s =   34.091s
> BENCHMARKs: V:  13.839s VO:   4.487s A:   0.000s Sys:   4.136s =   22.461s
> BENCHMARKs: V:  13.588s VO:   4.359s A:   0.000s Sys:   4.066s =   22.013s

-vo dga (X in 24 bpp)

BENCHMARKs: V:  15.668s VO:  13.126s A:   0.000s Sys:   0.371s =   29.165s
BENCHMARKs: V:  13.723s VO:  12.811s A:   0.000s Sys:   0.382s =   26.916s
BENCHMARKs: V:  13.491s VO:  12.830s A:   0.000s Sys:   0.391s =   26.711s

-vo x11 (X in 24 bpp)

BENCHMARKs: V:  16.281s VO:   9.014s A:   0.000s Sys:   6.755s =   32.050s
BENCHMARKs: V:  13.713s VO:   3.385s A:   0.000s Sys:   7.043s =   24.141s
BENCHMARKs: V:  13.735s VO:   3.405s A:   0.000s Sys:   6.930s =   24.069s

> -bpp 16
svga
> BENCHMARKs: V:  16.212s VO:   6.751s A:   0.000s Sys:   2.819s =   25.783s
> BENCHMARKs: V:  13.711s VO:   2.746s A:   0.000s Sys:   2.790s =   19.247s
> not working

-vo dga -bpp 16 (X in 16 bpp)

BENCHMARKs: V:  15.928s VO:   3.836s A:   0.000s Sys:   0.354s =   20.118s
BENCHMARKs: V:  13.468s VO:   8.520s A:   0.000s Sys:   0.381s =   22.369s
not working

-vo dga -bpp 15 (X still in 16 bpp) (again, diff with dlls!!!)

BENCHMARKs: V:  15.862s VO:   3.802s A:   0.000s Sys:   0.328s =   19.992s
BENCHMARKs: V:  13.480s VO:   1.841s A:   0.000s Sys:   0.343s =   15.664s
BENCHMARKs: V:  13.317s VO:   1.843s A:   0.000s Sys:   0.369s =   15.529s

-vo x11 (X in 16 bpp)

BENCHMARKs: V:  16.146s VO:   3.842s A:   0.000s Sys:   4.879s =   24.866s
BENCHMARKs: V:  13.671s VO:   2.207s A:   0.000s Sys:   4.213s =   20.091s
BENCHMARKs: V:  13.337s VO:   2.158s A:   0.000s Sys:   4.860s =   20.355s


> -bpp 15
svga
> BENCHMARKs: V:  16.296s VO:   7.760s A:   0.000s Sys:   2.805s =   26.861s
> BENCHMARKs: V:  13.558s VO:   2.917s A:   0.000s Sys:   2.882s =   19.358s
> BENCHMARKs: V:  13.292s VO:   2.951s A:   0.000s Sys:   2.772s =   19.015s

-vo dga (X in 15 bpp) (note: dlls should be as fast as above -bpp 15 in 16bpp)

BENCHMARKs: V:  15.808s VO:   5.049s A:   0.000s Sys:   0.394s =   21.251s
BENCHMARKs: V:  13.364s VO:   8.517s A:   0.000s Sys:   0.357s =   22.239s
BENCHMARKs: V:  13.193s VO:   8.568s A:   0.000s Sys:   0.347s =   22.108s

-vo x11 (X in 15 bpp) (dlls faster, than with dga...)

BENCHMARKs: V:  16.194s VO:   5.119s A:   0.000s Sys:   4.721s =   26.034s
BENCHMARKs: V:  13.538s VO:   2.139s A:   0.000s Sys:   4.833s =   20.511s
BENCHMARKs: V:  13.447s VO:   2.297s A:   0.000s Sys:   4.772s =   20.515s


> -vo null
> BENCHMARKs: V:  15.732s VO:   0.005s A:   0.000s Sys:   0.217s =   15.954s
> BENCHMARKs: V:  11.949s VO:   0.006s A:   0.000s Sys:   0.222s =   12.177s
> BENCHMARKs: V:  11.872s VO:   0.005s A:   0.000s Sys:   0.213s =   12.090s

and actually the clip (using -frames 500) was 16.6 seconds long

PLEASE tell me somebody, why those interesting slowdowns of win codecs
with dga out exist?

yes, ffdivx is slower in 24 and 15 bpp modes than in 32 & 16 ones, but
there's a reason, why it is: no MMX colorspace transform when bpp is not
a multiple of 8

but this dll thing is too strange; theoretically DGA 1.0 can't make use of
-bpp, but actually it does!!! so again: why?

As you can see, ffdivx (at this bitrate) is still too slow on my machine
(as P1s don't have MMX2, SSE, 3Dnow! and like that, today's patch won't
speedup things for me, so yesterday's tests should be up-to-date in my case)

The only situation, when ffdivx performance was close to the dll ones'
occured when running -vo x11 in 32bpp X, so it's not useful, because
it's so slow...

I hope, I could send some useful information :)

Tibcu

(ps: and why is vfw dll not working with svga -bpp 16 and dga (-bpp 16) in
16 bpp X but working with x11 and dga -bpp 15 at 16 bpp X?)


_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-users



More information about the MPlayer-users mailing list