[theora-dev] Simple player and encoder binaries for Windows

Mauricio Piacentini mauricio at tabuleiro.com
Mon Oct 28 14:43:47 PST 2002



Maybe your machine does not have DirectX YUV overlay capabilities. I believe
SDL use these automatically in this simple case. Are you getting bad
playback (less than 24 fps) or simply an image with bad quality? The test
video is really not crisp, but it is probably due to an already compressed
source.

Humm... 100% cpu is probably a "false positive", since we are using a very
simple loop and polling for the SDL_Quit message maybe too frequently. It
means we are simply looping too much through our main code without actually
displaying new frames or decoding new audio data, but it is expected since
this is a very simple player testbed.

I just modified my copy to sleep() a bit after each frame is decoded and the
audio buffer is ready, and it got down to 7 - 14 %  on an Athlon XP 1900+.
We should be able to get this fine tuned to use maybe 10% of the cpu,
including the audio decoding. Thanks for reporting this, I will try to
enhance this for the next build.

Mauricio

> I can't play the file. The sound is great but the video play like "an xvid
> whitout directdraw acceleration". Also, it uses 100% CPU on my Athlon 1
333
> MHz.
>
> But, you've still done a great job :)

<p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'theora-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Theora-dev mailing list