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, 51 Seconds

Average Run Time

1 Minute, 11 Seconds

Test Dependencies

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

Accolades

400k+ Downloads + 20k+ Public Benchmark Results

Supported Platforms


Public Result Uploads *Reported Test Completions **Reported Installs **Test Profile Page Views ***OpenBenchmarking.orgEventsx264 Popularity Statisticspts/x2642010.122011.052011.102012.032012.082013.012013.062013.112014.042014.092015.022015.072015.122016.052016.102017.032017.082018.012018.062018.112019.042019.092020.022020.072020.122021.052021.102022.032022.082023.012023.062023.112024.042024.092025.02130K260K390K520K650K
* 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 updated weekly as of 2 February 2025.
Bosphorus 1080p52.5%Bosphorus 4K47.5%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

Video Encoding

C/C++ Compiler Tests

Encoding

Multi-Core

CPU Massive

Creator Workloads

Server CPU Tests


Performance Metrics

Analyze Test Configuration:

x264 2022-02-22

Video Input: Bosphorus 1080p

OpenBenchmarking.org metrics for this test profile configuration based on 2,321 public results since 28 May 2022 with the latest data as of 28 January 2025.

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)
100th
13
299 +/- 16
95th
6
250 +/- 28
95th
5
248 +/- 29
95th
29
247 +/- 16
94th
3
235 +/- 11
91st
6
221 +/- 6
89th
6
214 +/- 21
89th
24
211 +/- 3
86th
4
198 +/- 3
85th
15
190 +/- 5
82nd
4
181 +/- 22
82nd
3
180 +/- 9
79th
3
168 +/- 19
77th
5
159 +/- 2
77th
5
158 +/- 1
77th
3
157 +/- 9
76th
3
155 +/- 3
76th
4
151 +/- 3
Mid-Tier
75th
< 151
75th
3
149 +/- 6
73rd
15
143 +/- 3
71st
4
138 +/- 1
68th
4
132 +/- 4
68th
7
131 +/- 7
67th
10
128 +/- 16
67th
5
127 +/- 1
66th
5
123 +/- 15
66th
16
123 +/- 6
66th
18
123 +/- 10
65th
3
119 +/- 13
65th
4
118 +/- 2
63rd
5
114 +/- 11
59th
3
110 +/- 4
59th
3
110 +/- 10
58th
4
108 +/- 5
57th
4
105 +/- 2
57th
11
105 +/- 9
57th
4
105 +/- 1
55th
5
101 +/- 9
55th
11
100 +/- 2
52nd
3
97 +/- 8
52nd
4
96 +/- 10
51st
4
94 +/- 2
51st
24
94 +/- 11
Median
50th
93
49th
15
90 +/- 5
44th
4
77 +/- 3
43rd
3
73 +/- 3
42nd
3
72 +/- 2
42nd
3
71 +/- 3
42nd
3
71 +/- 4
39th
13
67 +/- 2
38th
5
64 +/- 5
37th
8
61 +/- 4
37th
16
61 +/- 1
33rd
6
53 +/- 2
32nd
4
52 +/- 1
31st
3
51 +/- 1
29th
3
46 +/- 3
29th
13
46 +/- 4
28th
8
45 +/- 5
28th
3
44 +/- 2
26th
4
42 +/- 1
26th
4
41 +/- 5
Low-Tier
25th
< 41
24th
3
39 +/- 2
24th
8
38 +/- 3
22nd
3
33 +/- 2
20th
5
30 +/- 2
19th
4
30
19th
3
29 +/- 1
19th
5
28 +/- 2
17th
8
26 +/- 4
17th
11
25 +/- 1
Detailed Performance Overview
OpenBenchmarking.orgDistribution Of Public Results - Video Input: Bosphorus 1080p2321 Results Range From 0 To 341 Frames Per Second183654729010812614416218019821623425227028830632434260120180240300

Based on OpenBenchmarking.org data, the selected test / test configuration (x264 2022-02-22 - Video Input: Bosphorus 1080p) has an average run-time of 2 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 1080pRun-Time48121620Min: 1 / Avg: 1.68 / Max: 13

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 1080pDeviation3691215Min: 0 / Avg: 1.19 / 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.

AMDIntelOpenBenchmarking.orgRelative Core Scaling To Basex264 CPU Core ScalingVideo Input: Bosphorus 1080p246810121416243264510152025

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
Loongson LoongArch 64-bit
loongarch64
Loongson-3A5000-HV, Loongson-3A6000-HV
Intel / AMD x86 32-bit
i686
(Many Processors)
ARMv7 32-bit
armv7l
ARMv7 Cortex-A53 4-Core, ARMv7 Cortex-A7 4-Core, ARMv7 Cortex-A72 4-Core
ARMv8 64-bit
arm64
Apple M1, Apple M1 Max, Apple M1 Pro, Apple M3 Max, Apple M4, Apple M4 Pro
ARMv8 64-bit
aarch64
ARMv8 Cortex-A53 4-Core, ARMv8 Cortex-A57, ARMv8 Cortex-A72, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A73 2-Core, ARMv8 Cortex-A76, ARMv8 Cortex-A76 4-Core, ARMv8 Cortex-A78E, ARMv8 Cortex-A78E 6-Core, ARMv8 Cortex-A78E 8-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 16-Core, ARMv8 Neoverse-N1 32-Core, ARMv8 Neoverse-N1 64-Core, ARMv8 Neoverse-N1 80-Core, ARMv8 Neoverse-N2, ARMv8 Neoverse-N2 16-Core, ARMv8 Neoverse-V1, ARMv8 Neoverse-V1 16-Core, ARMv8 Neoverse-V1 64-Core, ARMv8 Neoverse-V2, ARMv8 rev 0, Ampere ARMv8 Neoverse-N1 256-Core, AmpereOne 192-Core, Apple, Apple M1, Phytium FT-E2000, Qualcomm, Rockchip ARMv8 Cortex-A76 4-Core, Rockchip ARMv8 Cortex-A76 6-Core

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 398 Benchmark Results

Intel Core i7-7700 - Gigabyte Z170XP-SLI-CF - Intel Xeon E3-1200 v6

Ubuntu 24.04 - 6.8.0-51-generic - GNOME Shell 46.0

1 System - 21 Benchmark Results

2 x Intel Xeon E5-2680 v4 - Dell Precision Tower 7810 [0KJCC5] - Intel Xeon E7 v4

Debian 12 - 6.1.0-29-amd64 - GCC 12.2.0

1 System - 37 Benchmark Results

4 x Intel Xeon - OpenStack Foundation Nova v27.1.1 - Intel 440FX 82441FX PMC

Ubuntu 22.04 - 5.15.0-130-generic - 1.3.255

1 System - 2 Benchmark Results

AMD Ryzen 9 7950X3D 16-Core - Red Hat KVM - Intel 440FX 82441FX PMC

Ubuntu 24.04 - 6.8.0-48-generic - GCC 13.3.0

1 System - 2 Benchmark Results

Intel Core i9-12900K - Red Hat KVM - Intel 440FX 82441FX PMC

Ubuntu 24.04 - 6.8.0-48-generic - GCC 13.3.0

1 System - 2 Benchmark Results

AMD Ryzen 9 7950X3D 16-Core - Red Hat KVM - Intel 440FX 82441FX PMC

Ubuntu 24.04 - 6.8.0-48-generic - GCC 13.3.0

2 Systems - 21 Benchmark Results

AMD Ryzen 9 9900X 12-Core - MSI MPG X670E CARBON WIFI - AMD Raphael

Debian 12 - 6.1.0-30-amd64 - Xfce

1 System - 20 Benchmark Results

AMD Ryzen Threadripper 2990WX 32-Core - MSI X399 SLI PLUS - AMD 17h

Debian 12 - 6.1.0-29-amd64 - GCC 12.2.0

1 System - 35 Benchmark Results

Intel Core i7-1165G7 - System76 Lemur Pro - 40GB

Ubuntu 20.04.4 LTS - 6.12.9 - GCC 9.4.0

1 System - 35 Benchmark Results

AMD Ryzen 7 7840HS - Framework FRANMZCP07 - 94GB

Ubuntu 20.04.4 LTS - 6.12.9 - GCC 9.4.0

1 System - 15 Benchmark Results

Intel Core 2 6700 - Gigabyte G41M-Combo - Intel 4 DRAM + ICH7

Debian 12 - 6.1.0-29-amd64 - GCC 12.2.0

9 Systems - 11 Benchmark Results

Intel Celeron J1900 - VXL BAT-I2 v2.0 - Intel Atom Z36xxx

Debian 12 - 6.1.0-18-amd64 - LXDE 0.10.1

1 System - 255 Benchmark Results

Apple M4 - Apple Mac mini - 16GB

macOS 15.0 - 24.0.0 - OpenCL 1.2

1 System - 255 Benchmark Results

Apple M4 Pro - Apple Mac mini - 24GB

macOS 15.2 - 24.2.0 - OpenCL 1.2

1 System - 17 Benchmark Results

Intel Core 2 Duo E8300 - Gigabyte G41M-Combo - Intel 4 DRAM + ICH7

Debian 12 - 6.1.0-29-amd64 - GCC 12.2.0

Most Popular Test Results

Find More Test Results