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.082022.1280K160K240K320K400K
* 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 5 February 2023.
Bosphorus 1080p49.4%Bosphorus 4K50.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 983 public results since 28 May 2022 with the latest data as of 6 February 2023.

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
75.0 +/- 2.0
98th
5
75.0 +/- 1.0
98th
18
74.0 +/- 3.0
97th
19
72.0 +/- 6.0
94th
3
67.0 +/- 7.0
93rd
8
65.0 +/- 5.0
92nd
3
64.0 +/- 7.0
91st
5
63.0 +/- 7.0
85th
3
59.6 +/- 0.8
84th
7
57.7 +/- 3.3
83rd
59
57.4 +/- 4.0
82nd
5
53.9 +/- 0.7
81st
5
53.0 +/- 3.0
78th
22
51.9 +/- 1.4
76th
5
48.1 +/- 2.3
Mid-Tier
75th
< 47.3
74th
6
45.7 +/- 2.5
73rd
13
44.7 +/- 1.1
73rd
4
44.4 +/- 0.3
72nd
19
43.7 +/- 1.7
71st
3
43.5 +/- 1.3
69th
4
42.2 +/- 0.2
68th
15
41.1 +/- 1.9
66th
4
38.2 +/- 0.3
66th
7
37.7 +/- 1.2
65th
10
36.8 +/- 2.9
63rd
12
34.2 +/- 0.7
60th
14
32.8 +/- 0.6
60th
7
32.7 +/- 0.6
60th
3
32.6 +/- 0.1
59th
10
32.6 +/- 0.9
57th
4
31.6 +/- 0.2
56th
5
31.4 +/- 0.7
56th
6
31.3 +/- 0.6
56th
7
30.9 +/- 1.0
54th
12
28.7 +/- 2.6
54th
6
28.5 +/- 0.7
53rd
8
28.3 +/- 0.3
53rd
4
27.9 +/- 0.1
51st
4
27.2 +/- 0.2
Median
50th
26.6
50th
3
26.1 +/- 1.3
49th
3
25.1 +/- 0.2
48th
3
24.8 +/- 0.1
47th
10
24.2 +/- 1.5
46th
12
23.9 +/- 0.4
46th
3
23.6 +/- 0.2
44th
4
22.9 +/- 0.4
43rd
3
21.6 +/- 0.3
42nd
6
21.3 +/- 3.1
42nd
3
20.9 +/- 0.3
40th
18
20.1 +/- 0.7
40th
4
20.1 +/- 0.1
39th
12
19.8 +/- 2.5
38th
3
19.1 +/- 0.1
37th
4
18.7 +/- 2.1
35th
3
17.7 +/- 0.1
30th
6
15.6 +/- 1.4
30th
15
15.2 +/- 0.7
27th
16
14.1 +/- 0.1
Low-Tier
25th
< 12.9
25th
4
12.5 +/- 0.2
24th
4
12.3 +/- 0.7
24th
10
12.2 +/- 0.1
23rd
4
11.6 +/- 0.6
22nd
7
11.2 +/- 0.2
21st
6
11.0 +/- 0.3
20th
10
10.9 +/- 0.7
19th
12
10.5 +/- 0.6
15th
8
8.6 +/- 0.7
14th
4
7.8 +/- 0.1
11th
4
6.1 +/- 0.8
6th
4
3.3 +/- 0.1
5th
3
3.1 +/- 0.1
OpenBenchmarking.orgDistribution Of Public Results - Video Input: Bosphorus 4K976 Results Range From 0 To 110 Frames Per Second1020304050607080901001101204080120160200

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.66 / Max: 40

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.18 / Max: 11

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 4K468101216641281.06252.1253.18754.255.3125

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
POWER8E, POWER9 16-Core
ARMv7 32-bit
armv7l
ARMv7 Cortex-A72 4-Core
ARMv8 64-bit
arm64
Apple M1, Apple M1 Max
ARMv8 64-bit
aarch64
ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A73 2-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 16-Core, ARMv8 Neoverse-N1 32-Core, ARMv8 Neoverse-N2 16-Core, ARMv8 Neoverse-V1, ARMv8 Neoverse-V1 16-Core, Ampere ARMv8 Neoverse-N1 256-Core, Apple M1, Rockchip ARMv8 Cortex-A76 6-Core

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 2 Benchmark Results

AMD Ryzen 9 7950X 16-Core - MSI MPG X670E CARBON WIFI - AMD Device 14d8

Ubuntu 22.04 - 5.15.0-58-generic - GNOME Shell 42.5

2 Systems - 21 Benchmark Results

AMD Phenom II X4 945 - Gigabyte GA-MA78GM-S2H - 6144MB

Calculate Linux Desktop 11.15 GNOME - 3.3.3-calculate - GNOME Shell 3.2.2.1

1 System - 31 Benchmark Results

Intel Xeon E3-1270 V2 - Supermicro X9SCI/X9SCA v1.01 - Intel Xeon E3-1200 v2

Debian 11 - 5.10.0-20-amd64 - 1.0.2

1 System - 31 Benchmark Results

2 x Intel Xeon E5-2680 v4 - Huawei BC11HGSC0 - Intel Xeon E7 v4

Debian GNU - 5.10.0-20-amd64 - 1.0.2

1 System - 31 Benchmark Results

2 x Intel Xeon E5-2620 v4 - Supermicro X10DRL-i v1.01 - Intel Xeon E7 v4

Debian 11 - 5.10.0-20-amd64 - 1.0.2

1 System - 31 Benchmark Results

Intel Xeon E-2386G - ASRockRack E3C252D4U-2T/OVH v1.01 - Intel Device 43ef

Debian 11 - 5.10.0-21-amd64 - 1.0.2

1 System - 31 Benchmark Results

Intel Xeon E-2236 - Supermicro X11SCE-F v1.02 - Intel Cannon Lake PCH

Debian 11 - 5.10.0-20-amd64 - 1.0.2

1 System - 31 Benchmark Results

Intel Xeon D-1531 - Supermicro X10SDE-DF v1.01 - Intel Xeon E7 v4

Debian 11 - 5.10.0-20-amd64 - 1.0.2

1 System - 127 Benchmark Results

1 System - 31 Benchmark Results

AMD EPYC 7443P 24-Core - Supermicro H12SSL-i v1.01 - AMD Starship

Debian - 5.10.0-19-amd64 - GCC 12.2.0

2 Systems - 2 Benchmark Results

Intel Core i7-13700K - ASUS TUF GAMING Z690-PLUS WIFI - 2 x 32768 MB 5200MHz F5-5200J3636D32G

Microsoft Windows 11 Pro Build 22621 - 10.0.22621.1194 - 31.0.101.4032

1 System - 33 Benchmark Results

Intel Core i7-4790 - Dell 0N4YC8 - Intel 4th Gen Core DRAM

Ubuntu 22.04 - 5.15.0-48-generic - GNOME Shell 42.5

1 System - 1 Benchmark Result

Intel Core i7-9750H - Apple MacBook Pro - 2 x 8 GB DDR4-2667MHz

macOS 13.1 - 22.2.0 - GCC 14.0.0 + Clang 14.0.0

2 Systems - 1 Benchmark Result

Common KVM - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 22.04 - 5.15.0-58-generic - 1.2.204

Most Popular Test Results

OpenBenchmarking.org Results Compare

13 Systems - 333 Benchmark Results

AMD Ryzen 7 5800X3D 8-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

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

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

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

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

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

Find More Test Results