jpeng at viacube.com
2009-Feb-05 10:40 UTC
[theora] Theora encode/decode performance is poor with resolution 640X480
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?
Maik Merten
2009-Feb-18 17:56 UTC
[theora] Theora encode/decode performance is poor with resolution 640X480
Hello, 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. Maik 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
Reasonably Related Threads
- Theora encode/decode performance is poor - with resolution 640X480
- theora's encoding speed
- usage of --two-pass parameter with ffmpeg2theora?
- Strange results encoding with latest ffmpeg2theora-0.24 and playback on Directshow through Winamp
- Further bug discovered with the Directshow decoder