x264

This is a multi-threaded test of the x264 video encoder run on the CPU with a choice of 1080p or 4K video input.

To run this test with the Phoronix Test Suite, the basic command is: phoronix-test-suite benchmark x264.

Project Site

videolan.org

Source Repository

code.videolan.org

Test Created

6 December 2010

Last Updated

28 May 2022

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

1 Minute, 10 Seconds

Average Run Time

1 Minute, 11 Seconds

Test Dependencies

C/C++ Compiler Toolchain + 7-Zip / p7zip + Yasm Assembler + Nasm Assembler

Accolades

300k+ Downloads + 10k+ Public Benchmark Results

Supported Platforms


Public Result Uploads *Reported Test Completions **Reported Installs **Test Profile Page Views ***OpenBenchmarking.orgEventsx264 Popularity Statisticspts/x2642010.122011.042011.082011.122012.042012.082012.122013.042013.082013.122014.042014.082014.122015.042015.082015.122016.042016.082016.122017.042017.082017.122018.042018.082018.122019.042019.082019.122020.042020.082020.122021.042021.082021.122022.0470K140K210K280K350K
* Uploading of benchmark result data to OpenBenchmarking.org is always optional (opt-in) via the Phoronix Test Suite for users wishing to share their results publicly.
** Data based on those opting to upload their test results to OpenBenchmarking.org and users enabling the opt-in anonymous statistics reporting while running benchmarks from an Internet-connected platform.
*** Test profile page view reporting began March 2021.
Data current as of 1 July 2022.
Bosphorus 1080p48.4%Bosphorus 4K51.6%Video Input Option PopularityOpenBenchmarking.org

Revision History

pts/x264-2.7.0   [View Source]   Sat, 28 May 2022 07:04:44 GMT
Update against x264 Git, add 4K option, switch to app thread management default rather than set outside, adjust slow option. Fixes: https://github.com/phoronix-test-suite/test-profiles/issues/221 Fixes: https://github.com/phoronix-test-suite/test-profiles/issues/189

pts/x264-2.6.1   [View Source]   Wed, 19 Feb 2020 14:05:51 GMT
No need to download nasm anymore since v2.6.0 switched to system nasm.

pts/x264-2.6.0   [View Source]   Wed, 19 Feb 2020 09:47:08 GMT
Update against upstream, use system nasm.

pts/x264-2.5.0   [View Source]   Thu, 11 Oct 2018 12:34:42 GMT
Update x264 against newer build, should help with compiling on GCC8.

pts/x264-2.4.0   [View Source]   Sat, 28 Jul 2018 19:18:07 GMT
Update against upstream x264 to fix build problem on Linux with newer GCC compiler.

pts/x264-2.3.2   [View Source]   Sun, 08 Apr 2018 07:09:36 GMT
Build fixes for BSD.

pts/x264-2.3.1   [View Source]   Thu, 08 Mar 2018 12:22:39 GMT
Add Windows support.

pts/x264-2.3.0   [View Source]   Tue, 06 Feb 2018 14:51:16 GMT
Update against latest upstream x264, also switch to new video source for mirror.

pts/x264-2.2.1   [View Source]   Sat, 09 Sep 2017 10:52:47 GMT
Build nasm internally within the test profile

pts/x264-2.2.0   [View Source]   Sat, 09 Sep 2017 09:41:32 GMT
Update x264 snapshot, now require nasm

pts/x264-2.1.0   [View Source]   Fri, 19 May 2017 17:04:35 GMT
Update x264 against upstream daily snapshot.

pts/x264-2.0.0   [View Source]   Mon, 02 Nov 2015 17:24:24 GMT
Update against latest daily snapshot as previous snapshot was more than one year old.

pts/x264-1.9.0   [View Source]   Sun, 31 Aug 2014 11:08:56 GMT
Update x264 against latest upstream code.

pts/x264-1.8.1   [View Source]   Tue, 01 Apr 2014 13:55:54 GMT
Add --disable-opencl to build configure as its not used and causes build issues out of the box on Fedora.

pts/x264-1.8.0   [View Source]   Fri, 10 Jan 2014 13:46:21 GMT
Update against latest daily snapshot of x264: 9 January 2014.

pts/x264-1.7.0   [View Source]   Sun, 09 Jun 2013 16:49:04 GMT
Update upstream x264 software against 2013-06-08 snapshot.

pts/x264-1.6.0   [View Source]   Tue, 14 May 2013 17:14:39 GMT
Update x264 against upstream 2013-05-14 release. Motivated by GCC 4.8 issues with previous release.

pts/x264-1.5.0   [View Source]   Tue, 29 Jan 2013 09:47:20 GMT
Update x264 upstream against 2013-01-28 snapshot.

pts/x264-1.4.0   [View Source]   Wed, 03 Oct 2012 22:33:27 GMT
Update x264 application against upstream snapshot 2012-10-03.

pts/x264-1.3.1   [View Source]   Wed, 07 Dec 2011 20:06:32 GMT
Update version string for x264.

pts/x264-1.3.0   [View Source]   Wed, 07 Dec 2011 10:13:30 GMT
Update x264 snapshot to upstream 2011-12-06.

pts/x264-1.2.0   [View Source]   Mon, 06 Dec 2010 15:36:20 GMT
Initial import into OpenBenchmarking.org

Suites Using This Test

C/C++ Compiler Tests

Video Encoding

Encoding

Multi-Core

CPU Massive

Server CPU Tests

Creator Workloads


Performance Metrics

Analyze Test Configuration:

x264 2022-02-22

Video Input: Bosphorus 4K

OpenBenchmarking.org metrics for this test profile configuration based on 292 public results since 28 May 2022 with the latest data as of 1 July 2022.

Below is an overview of the generalized performance for components where there is sufficient statistically significant data based upon user-uploaded results. It is important to keep in mind particularly in the Linux/open-source space there can be vastly different OS configurations, with this overview intended to offer just general guidance as to the performance expectations.

Component
Percentile Rank
# Compatible Public Results
Frames Per Second (Average)
98th
3
74.5 +/- 1.8
98th
15
73.7 +/- 3.2
87th
8
55.0 +/- 3.5
82nd
12
50.6 +/- 2.4
77th
4
44.4 +/- 0.3
76th
3
43.5 +/- 0.2
Mid-Tier
75th
< 43.4
73rd
4
42.2 +/- 0.2
73rd
4
42.1 +/- 0.6
70th
4
38.2 +/- 0.3
69th
5
36.2 +/- 3.6
66th
6
34.0 +/- 0.3
64th
5
32.0 +/- 0.8
62nd
4
31.6 +/- 0.2
61st
4
30.9 +/- 0.1
59th
6
28.3 +/- 0.4
56th
4
27.2 +/- 0.2
54th
3
25.1 +/- 0.2
51st
3
24.8 +/- 0.1
Median
50th
24.1
50th
7
23.8 +/- 0.3
49th
3
23.6 +/- 0.2
47th
4
22.9 +/- 0.4
41st
15
20.1 +/- 0.7
39th
3
19.1 +/- 0.1
38th
6
19.0 +/- 1.9
36th
3
17.7 +/- 0.1
34th
5
16.5 +/- 0.1
31st
5
15.4 +/- 1.5
30th
14
15.1 +/- 0.7
Low-Tier
25th
< 14.2
20th
4
12.3 +/- 0.7
18th
6
11.2 +/- 0.2
15th
8
10.9 +/- 0.8
11th
5
9.1 +/- 0.3
4th
3
3.1 +/- 0.1
OpenBenchmarking.orgDistribution Of Public Results - Video Input: Bosphorus 4K272 Results Range From 1 To 78 Frames Per Second1815222936435057647178851122334455

Based on OpenBenchmarking.org data, the selected test / test configuration (x264 2022-02-22 - Video Input: Bosphorus 4K) has an average run-time of 4 minutes. By default this test profile is set to run at least 3 times but may increase if the standard deviation exceeds pre-defined defaults or other calculations deem additional runs necessary for greater statistical accuracy of the result.

OpenBenchmarking.orgMinutesTime Required To Complete BenchmarkVideo Input: Bosphorus 4KRun-Time510152025Min: 1 / Avg: 3.55 / Max: 21

Based on public OpenBenchmarking.org results, the selected test / test configuration has an average standard deviation of 0.8%.

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsVideo Input: Bosphorus 4KDeviation3691215Min: 0 / Avg: 0.75 / Max: 7

Does It Scale Well With Increasing Cores?

Yes, based on the automated analysis of the collected public benchmark data, this test / test settings does generally scale well with increasing CPU core counts. Data based on publicly available results for this test / test settings, separated by vendor, result divided by the reference CPU clock speed, grouped by matching physical CPU core count, and normalized against the smallest core count tested from each vendor for each CPU having a sufficient number of test samples and statistically significant data.

IntelAMDOpenBenchmarking.orgRelative Core Scaling To Basex264 CPU Core ScalingVideo Input: Bosphorus 4K481216641.13752.2753.41254.555.6875

Tested CPU Architectures

This benchmark has been successfully tested on the below mentioned architectures. The CPU architectures listed is where successful OpenBenchmarking.org result uploads occurred, namely for helping to determine if a given test is compatible with various alternative CPU architectures.

CPU Architecture
Kernel Identifier
Verified On
Intel / AMD x86 64-bit
x86_64
(Many Processors)
ARMv7 32-bit
armv7l
ARMv7 Cortex-A72 4-Core
ARMv8 64-bit
aarch64
ARMv8 Cortex-A72 4-Core, ARMv8 Neoverse-V1, Apple M1

Recent Test Results

OpenBenchmarking.org Results Compare

4 Systems - 18 Benchmark Results

Intel Atom x5-Z8350 - AAEON UP-CHT01 - Intel Atom

Ubuntu 20.04 - 5.4.0-1-generic - GNOME Shell 3.36.9

3 Systems - 143 Benchmark Results

Intel Core i7-8700K - ASUS TUF Z370-PLUS GAMING - Intel 8th Gen Core

Ubuntu 20.04 - 5.9.0-050900rc6daily20200923-generic - GNOME Shell 3.36.4

1 System - 643 Benchmark Results

2 x AMD EPYC 7773X 64-Core - AMD DAYTONA_X - AMD Starship

Ubuntu 22.04 - 5.19.0-051900rc4daily20220628-generic - GNOME Shell 42.2

2 Systems - 21 Benchmark Results

Intel Core i5-10210U - Intel NUC10i5FNB - Intel Device 02ef

Ubuntu 18.04 - 5.4.0-120-generic - GNOME Shell 3.28.4

2 Systems - 32 Benchmark Results

ARMv8 Cortex-A73 - Hardkernel ODROID-N2 - 4096MB

Ubuntu 18.04 - 4.9.156-14 - GCC 7.3.0

3 Systems - 45 Benchmark Results

Intel Core i3-7100 - Gigabyte B250M-DS3H-CF - Intel Xeon E3-1200 v6

Ubuntu 22.04 - 5.15.0-40-generic - GNOME Shell 42.2

7 Systems - 25 Benchmark Results

AMD Opteron 4386 - ASUS KCMA-D8 v1.0 - AMD RD890 + SB7x0

Ubuntu 20.04 - 5.8.0-48-generic - GNOME Shell 3.36.7

4 Systems - 119 Benchmark Results

2 x AMD EPYC 7601 32-Core - Dell 02MJ3T - AMD 17h

Ubuntu 22.04 - 5.15.0-40-generic - GNOME Shell 42.2

3 Systems - 144 Benchmark Results

AMD Ryzen 9 3950X 16-Core - ASUS ROG CROSSHAIR VII HERO - AMD Starship

Ubuntu 20.04 - 5.11.0-43-generic - GNOME Shell 3.36.4

2 Systems - 144 Benchmark Results

Intel Core i3-7100 - Gigabyte B250M-DS3H-CF - Intel Xeon E3-1200 v6

Ubuntu 20.10 - 5.8.0-63-generic - GNOME Shell 3.38.1

3 Systems - 114 Benchmark Results

Intel Core i7-1280P - MSI MS-14C6 - Intel Alder Lake PCH

Pop 22.04 - 5.17.5-76051705-generic - GNOME Shell 42.1

3 Systems - 191 Benchmark Results

AMD Ryzen 9 3900X 12-Core - ASUS TUF GAMING X570-PLUS - AMD Starship

Ubuntu 20.04 - 5.11.0-rc1-phx - GNOME Shell 3.36.4

3 Systems - 191 Benchmark Results

AMD Ryzen 9 3900X 12-Core - ASUS TUF GAMING X570-PLUS - AMD Starship

Ubuntu 20.04 - 5.11.0-rc1-phx - GNOME Shell 3.36.4

4 Systems - 183 Benchmark Results

Intel Xeon Gold 6226R - Supermicro X11SPL-F v1.02 - Intel Sky Lake-E DMI3 Registers

Ubuntu 20.10 - 5.11.0-rc4-max-boost-inv-patch - GNOME Shell 3.38.1

Most Popular Test Results

OpenBenchmarking.org Results Compare

3 Systems - 178 Benchmark Results

2 x Intel Xeon Platinum 8280 - GIGABYTE MD61-SC2-00 v01000100 - Intel Sky Lake-E DMI3 Registers

Ubuntu 21.04 - 5.11.0-40-generic - GNOME Shell 3.38.4

2 Systems - 86 Benchmark Results

Intel Xeon Silver 4216 - TYAN S7100AG2NR - Intel Sky Lake-E DMI3 Registers

Debian 11 - 5.10.0-10-amd64 - X Server

1 System - 46 Benchmark Results

Intel Core i9-12900K - MSI PRO Z690-A DDR4 - Intel Alder Lake-S PCH

Debian testing - 5.17.0-1-amd64 - X Server 1.21.1.3

3 Systems - 41 Benchmark Results

AMD EPYC 7F32 8-Core - ASRockRack EPYCD8 - AMD Starship

Debian 11 - 5.10.0-10-amd64 - GNOME Shell 3.38.6

5 Systems - 7 Benchmark Results

Intel Core i7-8565U - Dell 0KTW76 - Intel Cannon Point-LP

Ubuntu 21.10 - 5.13.0-41-generic - GNOME Shell 40.5

2 Systems - 121 Benchmark Results

ARMv8 Neoverse-V1 - Amazon EC2 c7g.8xlarge - Amazon Device 0200

Ubuntu 22.04 - 5.15.0-1004-aws - GCC 12.0.0 20220117

3 Systems - 86 Benchmark Results

Intel Core i7-5960X - Gigabyte X99-UD4-CF - Intel Xeon E7 v3

Debian 11 - 5.10.0-10-amd64 - 1.0.2

2 Systems - 119 Benchmark Results

AMD Ryzen 9 5900HX - ASUS G513QY v1.0 - AMD Renoir

Pop 22.04 - 5.17.5-76051705-generic - GNOME Shell 42.1

4 Systems - 71 Benchmark Results

2 x AMD EPYC 7773X 64-Core - AMD DAYTONA_X - AMD Starship

Ubuntu 21.04 - 5.18.0-clocksource-patch - GNOME Shell 3.38.4

1 System - 46 Benchmark Results

Intel Core i9-12900K - MSI PRO Z690-A WIFI DDR4 - Intel Alder Lake-S PCH

Debian testing - 5.17.0-1-amd64 - X Server 1.21.1.3

1 System - 46 Benchmark Results

Intel Core i9-12900K - MSI PRO Z690-A WIFI DDR4 - Intel Alder Lake-S PCH

Debian testing - 5.17.0-1-amd64 - X Server 1.21.1.3

2 Systems - 323 Benchmark Results

AMD Ryzen 5 5500U - NB01 NL5xNU - AMD Renoir

Pop 22.04 - 5.17.5-76051705-generic - GNOME Shell 42.1

2 Systems - 323 Benchmark Results

Intel Core i7-1185G7 - Dell 0DXP1F - Intel Tiger Lake-LP

Pop 22.04 - 5.17.5-76051705-generic - GNOME Shell 42.1

Find More Test Results