[XviD-devel] Performance questions

steve steve at astrocorp.com.tw
Tue Aug 28 04:37:16 CEST 2007


Thank you, Dark.

My test app runs on Windows mode
FPS: with Ogre axes (370), w/o axes (410), w/o Ogre debug overlay (510)
Does it sound slow for you?

The tested 1024x768.avi is half black. I have another 1024x568.avi only runs
about 16 fps and obviously lag, while window media player runs smoothly.

Is there any difference between OGL & D3D for xVid decoding?
Would it be only CPU?

I load all avi file in the memory before decoding. The avi file less than 10
MB.

Thank you for telling me about CUDA. 

Steve

--- steve <steve at astrocorp.com.tw> escribió:

> Thank you, Dark.
> 
> The fps is 36 not 23. 
> 
Yeah... I junst pressed the wrong keys

> The reason I don't satisfy the performance is that
> Windows Media player runs
> faster & smoother with the same avi file.

Really???? How can you tell? Your app is running at 36
fps, while Windows Media should run at 23-30; there's
no way you can see that. Try making a specific video
with, say, 50fps rate to test.
There's no visible way to tell (except using such
special video) that WMP is faster than your app.
Pherhaps you're being deceived by monitor's refresh
rate. Check that WMP and your app are running at the
same Hz. Don't forget to turn Vsync on. (Actually
vsync usually makes games slower, but for video
playback it may make feel smoother if the PC is good
enough)

> Without xvid decoding, my test application runs
> about 300 fps.
Well, I admit that's a pretty big fps drop.
However... 300 seems very low to me if you're not
drawing anything. I get ~450 fps on my Sempron 2200
256 RAM @ 166Mhz GeForce 6200 AGP 8x 256 MB

Another thought:
Ask other xvid members about the best colour space
conversion for XviD. I think it YUV but not sure. But
take in mind RGBA is optimal for D3D & OGL.
Try using the XVID_CSP_NULL flag to see if it shows
big speed ups.

Hope it helps
Dark Sylinc


 
____________________________________________________________________________
________
¡Sé un mejor fotógrafo!
Perfeccioná tu técnica y encontrá las mejores fotos. Visitá
http://ar.yahoo.com/promos/mejorfotografo.html
_______________________________________________
XviD-devel mailing list
XviD-devel at xvid.org
http://list.xvid.org/mailman/listinfo/xvid-devel





More information about the XviD-devel mailing list