Ive compiled Xvid for a new platform but it runs very slow what can I do?
First of all: processing digital video is a very demanding task and requires magnitudes more resources than e.g. audio processing. So its probably not concerning at all when Xvid, especially the encoder, doesnt run very fast on your platform. If you really believe its running slower than it could then the cause could be that Xvids assembly optimizations are not used on your platform. A common reason is that your target platform uses a unsupported instruction set so that no proper assembly optimizations are available. In this case you could try writing optimized code for your platform yourself if you wish to speed up the performance. Typical bottlenecks for video decoding are iDCT, motion compensation, dequantization and mem I/O. For encoding, calculating the sum of absolute differences (SAD) is a very commonly called function requiring lots of computational resources.