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.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 22 January 2023.
Bosphorus 1080p49.0%Bosphorus 4K51.0%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 963 public results since 28 May 2022 with the latest data as of 27 January 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
5
75.0 +/- 1.0
98th
3
75.0 +/- 2.0
98th
18
74.0 +/- 3.0
96th
18
72.0 +/- 6.0
94th
3
67.0 +/- 7.0
92nd
8
65.0 +/- 5.0
92nd
3
64.0 +/- 7.0
91st
5
63.0 +/- 7.0
83rd
7
57.7 +/- 3.3
83rd
59
57.4 +/- 4.0
82nd
3
54.1 +/- 0.1
78th
22
51.9 +/- 1.4
77th
3
51.1 +/- 1.8
76th
5
48.1 +/- 2.3
Mid-Tier
75th
< 47.1
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
52nd
4
27.9 +/- 0.1
51st
4
27.2 +/- 0.2
Median
50th
26.7
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
45th
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
39th
18
20.1 +/- 0.7
39th
4
20.1 +/- 0.1
39th
12
19.8 +/- 2.5
37th
3
19.1 +/- 0.1
36th
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
< 13.8
25th
4
12.5 +/- 0.2
24th
4
12.3 +/- 0.7
23rd
10
12.2 +/- 0.1
22nd
4
11.6 +/- 0.6
22nd
7
11.2 +/- 0.2
20th
6
11.0 +/- 0.3
20th
10
10.9 +/- 0.7
18th
12
10.5 +/- 0.6
14th
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 4K960 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.67 / 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.21 / 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

Intel Core i7-13700K - MSI PRO Z790-A WIFI - Intel Device 7a27

Arch Linux TEMPLATE_VERSION_ID - 6.1.7-arch1-1 - X Server 1.21.1.6

7 Systems - 28 Benchmark Results

Rockchip ARMv8 Cortex-A53 - Firefly ROC-RK3328-CC - 2048MB

Ubuntu 18.04 - 4.4.114 - X Server 1.18.4

1 System - 19 Benchmark Results

Intel Core i7-1185G7 - LENOVO 20W1S0R800 - 1 x 16384 MB 3200MHz HMAB2GS6AMR6N-XN

Microsoft Windows 11 Enterprise Build 22621 - 10.0.22621.1105 - 12.40.44.247

1 System - 19 Benchmark Results

Intel Core i7-1185G7 - LENOVO 20W1S0R800 - 1 x 16384 MB 3200MHz HMAB2GS6AMR6N-XN

Microsoft Windows 11 Enterprise Build 22621 - 10.0.22621.1105 - 12.40.44.247

1 System - 19 Benchmark Results

Intel Core i7-1185G7 - LENOVO 20W1S0R800 - 1 x 16384 MB 3200MHz HMAB2GS6AMR6N-XN

Microsoft Windows 11 Enterprise Build 22621 - 10.0.22621.1105 - 12.40.44.247

1 System - 19 Benchmark Results

Intel Core i7-10610U - LENOVO 20S1S73B0V - 1 x 16384 MB 2667MHz HMAB2GS6AMR6N-XN

Microsoft Windows 11 Enterprise Build 22000 - 10.0.22000.1335 - 31.0.101.2114

8 Systems - 31 Benchmark Results

Intel Core i7-13700K - MSI MAG B660M MORTAR MAX WIFI DDR4 - Intel Device 7aa7

Debian GNU - 5.15.83-1-pve - X Server

4 Systems - 31 Benchmark Results

AMD Ryzen 9 5950X 16-Core - MSI MAG B550M MORTAR - AMD Starship

Debian GNU - 5.15.83-1-pve - X Server

1 System - 2 Benchmark Results

Intel Xeon E5-2699 v4 - ASUS X99-E WS - Intel Xeon E7 v4

Ubuntu 22.10 - 5.19.0-29-generic - 1.3.224

1 System - 1 Benchmark Result

Intel Core i5-12600K - MSI MAG Z690 TOMAHAWK WIFI DDR4 - 2 x 8192 MB 3600MHz

Microsoft Windows 11 Professionnel Build 22621 - 10.0.22621.1105 - 31.0.101.3959

1 System - 31 Benchmark Results

AMD Ryzen 7 5800X3D 8-Core - MSI B450 GAMING PRO CARBON AC - AMD Starship

ManjaroLinux 22.0.0 - 6.1.1-1-MANJARO - KDE Plasma 5.26.4

1 System - 16 Benchmark Results

AMD Ryzen 7 5800X 8-Core - MSI MAG B550 TOMAHAWK - 2 x 8192 MB 3600MHz Unknown

Microsoft Windows 11 Pro Build 22621 - 10.0.22621.1105 - 31.0.12029.10015

1 System - 31 Benchmark Results

AMD Ryzen 9 5950X 16-Core - MSI MAG B550M MORTAR - AMD Starship

Debian GNU - 5.15.83-1-pve - X Server

1 System - 1 Benchmark Result

Intel Core 2 Quad Q9450 - ASUS P5E - Intel 82X38

Ubuntu 20.04 - 5.15.0-58-generic - Xfce 4.14

Most Popular Test Results

OpenBenchmarking.org Results Compare

13 Systems - 333 Benchmark Results

AMD Ryzen 7 5700G - ASUS ROG CROSSHAIR VIII HERO - AMD Renoir

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

7 Systems - 293 Benchmark Results

AMD Ryzen 5 4500U - LENOVO LNVNB161216 - 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 - 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 - 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