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, 47 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.09120K240K360K480K600K
* 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 7 November 2024.
Bosphorus 1080p52.3%Bosphorus 4K47.7%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,203 public results since 28 May 2022 with the latest data as of 8 November 2024.

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
94th
29
247 +/- 16
90th
6
221 +/- 6
89th
6
214 +/- 21
88th
24
211 +/- 3
85th
4
198 +/- 3
84th
15
190 +/- 5
81st
4
181 +/- 22
81st
3
180 +/- 9
78th
3
168 +/- 19
76th
5
158 +/- 1
Mid-Tier
75th
< 156
75th
3
155 +/- 3
75th
4
151 +/- 3
74th
3
149 +/- 6
72nd
15
143 +/- 3
70th
4
138 +/- 1
67th
4
132 +/- 4
67th
7
131 +/- 7
66th
10
128 +/- 16
66th
5
127 +/- 1
65th
16
123 +/- 6
65th
18
123 +/- 10
63rd
4
118 +/- 2
62nd
5
114 +/- 11
58th
3
110 +/- 4
58th
3
110 +/- 10
57th
4
108 +/- 5
55th
4
105 +/- 1
55th
4
105 +/- 2
55th
11
105 +/- 9
53rd
11
100 +/- 2
Median
50th
96
50th
23
95 +/- 9
50th
4
94 +/- 2
48th
15
90 +/- 5
43rd
4
77 +/- 3
41st
3
73 +/- 3
41st
3
72 +/- 2
40th
3
71 +/- 4
40th
3
71 +/- 3
38th
13
67 +/- 2
37th
5
64 +/- 5
36th
16
61 +/- 1
36th
8
61 +/- 4
32nd
6
53 +/- 2
31st
4
52 +/- 1
30th
3
51 +/- 1
30th
5
50 +/- 2
27th
13
46 +/- 4
27th
6
46 +/- 6
26th
3
44 +/- 2
Low-Tier
25th
< 43
25th
4
42 +/- 1
25th
4
41 +/- 5
23rd
3
39 +/- 2
22nd
8
38 +/- 3
21st
3
33 +/- 2
18th
5
30 +/- 2
18th
3
29 +/- 1
17th
5
28 +/- 2
16th
8
26 +/- 4
15th
11
25 +/- 1
OpenBenchmarking.orgDistribution Of Public Results - Video Input: Bosphorus 1080p2177 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-Time3691215Min: 1 / Avg: 1.62 / Max: 12

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.2 / 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 1080p2468101214162432641.48332.96664.44995.93327.4165

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
ARMv8 64-bit
aarch64
ARMv8 Cortex-A53 4-Core, ARMv8 Cortex-A72, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A73 2-Core, 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, Qualcomm, Rockchip ARMv8 Cortex-A76 4-Core, Rockchip ARMv8 Cortex-A76 6-Core

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 36 Benchmark Results

AMD Ryzen 9 7950X3D 16-Core - ASUS TUF GAMING X670E-PLUS WIFI - AMD Device 14d8

Fedora 41 - 6.11.5-300.fc41.x86_64 - KDE Plasma 6.2.2

2 Systems - 69 Benchmark Results

2 x Intel Xeon E5-2680 v4 - Dell PowerEdge R630 02C2CP - 98GB

Debian GNU - 6.8.12-3-pve - GCC 12.2.0

2 Systems - 40 Benchmark Results

2 x Intel Xeon E5-2680 v4 - Dell PowerEdge R630 02C2CP - 98GB

Debian GNU - 6.8.12-3-pve - GCC 12.2.0

2 Systems - 541 Benchmark Results

ARMv8 Cortex-A76 - Raspberry Pi 5 Model B Rev 1.0 - Broadcom BCM2712

Ubuntu 24.04 - 6.8.0-1012-raspi - KDE Plasma 5.27.11

1 System - 17 Benchmark Results

Intel Core 2 6700 - ASUS P5PE-VM - Intel 82865G

Debian 12 - 6.1.0-18-amd64 - X Server 1.21.1.7

1 System - 52 Benchmark Results

ARMv8 Cortex-A76 - Raspberry Pi 5 Model B Rev 1.0 - Broadcom BCM2712

Debian 12 - 6.6.51+rpt-rpi-2712 - X Server

Most Popular Test Results

Find More Test Results