[theora] Theora encode/decode performance is poor with resolution 640X480

Maik Merten maikmerten at googlemail.com
Wed Feb 18 09:56:25 PST 2009


enabling or disabling MMX should make a very noticable difference. If
this doesn't seem to be observable then chances are that for whatever
reason the MMX codepath isn't used. What compiler are you using?

Make sure you have ti.quick_p enabled during encoder setup. Another
thing you may try is configuring the encoder to use the fastest
speedlevel available (at the time being this is speedlevel 2). See
http://people.xiph.org/~maikmerten/speed_example.diff as an example of
how to accomplish this.


jpeng at viacube.com wrote:
> Hi,
>   We build a Voip client with Iaxclient(Jiaxclient+Iaxclient2.1beta1+Theora1.0+libvidcap0.21),when we established video call with resolution 640X480 in both sides,the CPU is consumed about 100%,the workload of Asterisk server is good at that moment.This issue does not exist with the resolution 320X240,  the environment is as following,
>     - CPU Interl  Celeron 2.66GHz,RAM1GB,
>     - Windows XP SP2
>   According to profile about Iaxclient and our analysis it is found what consumed most of the CPU resources are Theora encode/decode functions,we recompiled Theora lib with the argument "USE_ASM" and make it MMX instruction set,but the effect is not obvious.
>   Is there anyone else met this issue too? Is there any suggestion or solution about the issue?
> _______________________________________________
> theora mailing list
> theora at xiph.org
> http://lists.xiph.org/mailman/listinfo/theora

More information about the theora mailing list