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, 11 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.042022.0870K140K210K280K350K
* 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 24 September 2022.
Bosphorus 1080p47.8%Bosphorus 4K52.2%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 601 public results since 28 May 2022 with the latest data as of 27 September 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)
99th
5
75.5 +/- 0.6
99th
3
74.5 +/- 1.8
98th
18
73.6 +/- 2.9
96th
4
69.5 +/- 8.1
95th
3
66.6 +/- 6.6
94th
8
65.3 +/- 4.9
93rd
3
64.4 +/- 7.0
93rd
5
64.1 +/- 0.4
92nd
5
63.3 +/- 6.8
85th
28
57.4 +/- 3.9
85th
4
56.3 +/- 3.9
81st
21
51.9 +/- 1.4
77th
5
45.3 +/- 2.5
76th
4
44.4 +/- 0.3
Mid-Tier
75th
< 44.1
75th
7
43.0 +/- 1.5
74th
4
42.2 +/- 0.2
72nd
4
38.2 +/- 0.3
71st
7
36.7 +/- 3.1
69th
9
34.1 +/- 0.4
66th
12
32.8 +/- 0.7
65th
3
32.6 +/- 0.1
65th
8
32.5 +/- 0.9
62nd
4
31.6 +/- 0.2
62nd
5
31.4 +/- 0.7
62nd
6
31.3 +/- 0.6
60th
5
30.5 +/- 2.9
59th
5
28.8 +/- 0.3
58th
8
28.3 +/- 0.3
57th
4
27.9 +/- 0.1
56th
4
27.2 +/- 0.2
54th
3
25.1 +/- 0.2
53rd
3
24.8 +/- 0.1
52nd
4
23.9 +/- 1.9
52nd
8
23.8 +/- 0.3
51st
3
23.6 +/- 0.2
Median
50th
23.3
50th
4
22.9 +/- 0.4
49th
3
21.6 +/- 0.3
44th
18
20.1 +/- 0.7
44th
4
20.1 +/- 0.1
43rd
11
19.5 +/- 2.4
42nd
3
19.1 +/- 0.1
39th
3
17.7 +/- 0.1
39th
3
17.7 +/- 0.7
36th
5
16.5 +/- 0.1
33rd
6
15.6 +/- 1.4
32nd
15
15.2 +/- 0.7
28th
9
14.0 +/- 0.1
26th
4
12.5 +/- 0.2
Low-Tier
25th
< 12.3
25th
4
12.3 +/- 0.7
24th
10
12.2 +/- 0.1
23rd
4
11.6 +/- 0.6
22nd
7
11.2 +/- 0.2
20th
6
11.0 +/- 0.3
20th
10
10.9 +/- 0.7
14th
7
8.7 +/- 0.7
6th
4
3.3 +/- 0.1
5th
3
3.1 +/- 0.1
OpenBenchmarking.orgDistribution Of Public Results - Video Input: Bosphorus 4K601 Results Range From 0 To 83 Frames Per Second71421283542495663707784306090120150

Based on OpenBenchmarking.org data, the selected test / test configuration (x264 2022-02-22 - Video Input: Bosphorus 4K) has an average run-time of 5 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-Time816243240Min: 1 / Avg: 4.92 / Max: 39

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

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

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 4K4681216641281.02082.04163.06244.08325.104

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)
IBM POWER (PowerPC) 64-bit
ppc64le
POWER9 16-Core
ARMv7 32-bit
armv7l
ARMv7 Cortex-A72 4-Core
ARMv8 64-bit
arm64
Apple M1 Max
ARMv8 64-bit
aarch64
ARMv8 Cortex-A72 4-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-V1, Ampere ARMv8 Neoverse-N1 256-Core, Apple M1

Recent Test Results

OpenBenchmarking.org Results Compare

5 Systems - 58 Benchmark Results

2 x AMD EPYC 7763 64-Core - Supermicro H12DSU-iN v1.01 - AMD Starship

AlmaLinux 9.0 - 5.14.0-70.22.1.el9_0.x86_64 - GNOME Shell 40.9

1 System - 53 Benchmark Results

2 x AMD EPYC 7763 64-Core - Supermicro H12DSU-iN v1.01 - AMD Starship

AlmaLinux 9.0 - 5.14.0-70.22.1.el9_0.x86_64 - GCC 11.2.1 20220127

1 System - 53 Benchmark Results

2 x AMD EPYC 7763 64-Core - Supermicro H12DSU-iN v1.01 - AMD Starship

AlmaLinux 9.0 - 5.14.0-70.22.1.el9_0.x86_64 - GCC 11.2.1 20220127

1 System - 2 Benchmark Results

Intel Core i5-4278U - Apple Mac-35C5E08120C7EEAF - Intel Haswell-ULT DRAM

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

1 System - 19 Benchmark Results

Apple M1 - Apple MacBook Air - 16GB

macOS 12.6 - 21.6.0 - GCC 14.0.0 + Clang 14.0.0

1 System - 2 Benchmark Results

AMD Ryzen 5 5600X 6-Core - ASUS TUF GAMING X570-PRO - AMD Starship

Arch rolling - 5.19.11-arch1-1 - KDE Plasma 5.25.5

13 Systems - 228 Benchmark Results

AMD Ryzen 9 3900XT 12-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

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

4 Systems - 537 Benchmark Results

AMD Ryzen 7 5800X3D 8-Core - ASRock X570 Pro4 - AMD Starship

Ubuntu 22.04 - 5.17.4-051704-generic - GNOME Shell 42.0

1 System - 28 Benchmark Results

Intel Core i7-1185G7E - Kontron Asia 3.5-SBC-TGL - Intel Device a0ef

Ubuntu 20.04 - 5.15.0-46-generic - GNOME Shell 3.36.9

2 Systems - 1 Benchmark Result

AMD Ryzen 7 4700U - ASUS PN50-E1 v0405 - AMD Renoir

Arch Linux - 5.19.7-arch1-1 - GCC 12.2.0

1 System - 1 Benchmark Result

Intel Xeon E3-1231 v3 - MSI H97 GAMING 3 - 4 x 8192 MB 1600MHz

Microsoft Windows 10 Pro Build 19044 - 10.0.19044.2006 - 512.95

1 System - 2 Benchmark Results

AMD Ryzen 7 2700X Eight-Core - ASUS ROG STRIX X470-I GAMING - 2 x 16384 MB 2933MHz Kingston KHX2933C17D4

Microsoft Windows 10 Pro Build 19044 - 10.0.19044.2006 - 512.15

4 Systems - 361 Benchmark Results

AMD Ryzen 9 7950X 16-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Ubuntu 22.04 - 6.0.0-060000rc1daily20220820-generic - GNOME Shell 42.2

13 Systems - 333 Benchmark Results

Intel Core i5-12600K - ASUS ROG STRIX Z690-E GAMING WIFI - Intel Device 7aa7

Ubuntu 22.04 - 6.0.0-060000rc1daily20220820-generic - GNOME Shell 42.2

14 Systems - 14 Benchmark Results

AMD G-T48E - Inventec D CLASS - AMD 14h Root Complex

Debian 11 - 5.10.0-18-amd64 - 1.0.2

Most Popular Test Results

OpenBenchmarking.org Results Compare

7 Systems - 293 Benchmark Results

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

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

13 Systems - 333 Benchmark Results

AMD Ryzen 9 5950X 16-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 22.04 - 6.0.0-060000rc1daily20220820-generic - GNOME Shell 42.2

4 Systems - 103 Benchmark Results

Intel Core i9-12900K - ASUS ROG STRIX Z690-E GAMING WIFI - Intel Alder Lake-S PCH

Clear Linux OS 36580 - 5.18.6-1159.native - GNOME Shell 42.2

4 Systems - 171 Benchmark Results

AMD Ryzen 5 5600G - Gigabyte A520M DS3H - AMD Renoir

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

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

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

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

Find More Test Results