Last updated: November 29, 2024

<span aria-hidden="true" id="boosting-x264-encoding-speed-by-20x-with-cpu-optimizations"></span>

# Boosting x264 encoding speed by 20x with CPU optimizations

![Felix Geisendörfer](/assets/images/teammates/avatar-felixge-1.jpg?dpl=dpl_6nhQNS5wkVkPZWuKMzXcWrAHNJL5)

**Felix Geisendörfer**

Co-founder · Berlin, Germany · Show bio

[](https://x.com/felixge)[](https://github.com/felixge)

After a few recent complaints from our customers, it became evident that our x264 encoding configuration was way too slow. Not only had we missed some critical optimizations when configuring the library, but we were not using optimal parameters for the encoding itself either.

Today, we are happy to announce that we have fixed all of these issues:

* We are now configuring our x264 library to take advantage of CPU-specific (assembler) optimizations
* Our presets have been updated to use a slightly faster encoding strategy that still produces great quality
* Everything is now configured to take full advantage of our new[8 core machines](/blog/2011/03/8-core-machines.md)

So, how much of a difference will this make?

In one – especially slow – scenario, we are now seeing a 20.5-fold speed increase over our previous configuration. While your mileage may vary, you should very likely see a similar speed increase, at least in the neighborhood of 10 times or more.

That being said, we will continue to improve our performance over time. So, if you feel something is not fast enough, just [let us know⁠](mailto:hello@transloadit.com) and we'll investigate!

[#infrastructure](/blog/tags/infrastructure.md)[#ops](/blog/tags/ops.md)[#performance](/blog/tags/performance.md)

### 👩‍💻 Join 20k+ developers

Sign up for our [monthly newsletter](/newsletters.md) to receive direct links to 3 exclusive tech — and 2 product updates. No less, no more.

Your email:

Get access

## File uploading and encoding. Made simple.

Transloadit streamlines file handling for developers, trusted by brands like Coursera and The New York Times. We’re known for a reliable API, top-notch support, and a strong commitment to open source, with projects like [Uppy⁠](https://uppy.io) and [Tus⁠](https://tus.io) setting standards in file processing.

[Sign up](/c/)[Book a Demo](https://survey.typeform.com/to/kRg47Xi5)

No credit card needed · 5 GB included in the free plan

Cancel anytime
