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

2 Minutes, 10 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.04100K200K300K400K500K
* 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 13 April 2024.
Bosphorus 1080p51.5%Bosphorus 4K48.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 1,912 public results since 28 May 2022 with the latest data as of 15 April 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)
96th
6
250 +/- 28
95th
29
247 +/- 16
94th
3
233 +/- 29
91st
6
221 +/- 6
89th
6
214 +/- 21
89th
23
211 +/- 3
86th
4
198 +/- 3
84th
15
190 +/- 5
81st
4
181 +/- 22
80th
3
180 +/- 9
77th
3
168 +/- 19
Mid-Tier
75th
< 158
75th
5
158 +/- 1
75th
3
155 +/- 3
72nd
15
143 +/- 3
70th
4
138 +/- 1
67th
6
132 +/- 6
67th
4
132 +/- 4
66th
10
128 +/- 16
66th
5
127 +/- 1
65th
18
123 +/- 10
65th
11
121 +/- 6
64th
4
118 +/- 2
62nd
5
114 +/- 11
58th
3
110 +/- 10
58th
3
110 +/- 4
55th
4
105 +/- 2
55th
11
105 +/- 9
55th
3
105 +/- 3
53rd
11
100 +/- 2
52nd
19
99 +/- 3
Median
50th
97
50th
4
94 +/- 2
48th
15
90 +/- 5
42nd
4
77 +/- 3
41st
3
73 +/- 3
40th
3
72 +/- 2
40th
3
71 +/- 3
40th
3
71 +/- 4
37th
12
65 +/- 5
36th
5
64 +/- 5
35th
16
61 +/- 1
35th
8
61 +/- 4
31st
4
53 +/- 1
30th
4
52 +/- 1
29th
3
51 +/- 1
29th
5
50 +/- 2
27th
3
47 +/- 7
26th
13
46 +/- 4
26th
3
44 +/- 2
Low-Tier
25th
< 44
24th
4
42 +/- 1
24th
4
41 +/- 5
23rd
3
39 +/- 2
22nd
8
38 +/- 3
20th
3
33 +/- 2
18th
5
30 +/- 2
17th
3
29 +/- 1
15th
9
25 +/- 1
OpenBenchmarking.orgDistribution Of Public Results - Video Input: Bosphorus 1080p1909 Results Range From 0 To 329 Frames Per Second183654729010812614416218019821623425227028830632434250100150200250

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.63 / Max: 12

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsVideo Input: Bosphorus 1080pDeviation3691215Min: 0 / Avg: 1.14 / 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 1080p468101214162432641.47292.94584.41875.89167.3645

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-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 6-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, Ampere ARMv8 Neoverse-N1 256-Core, Apple M1, Rockchip ARMv8 Cortex-A76 4-Core, Rockchip ARMv8 Cortex-A76 6-Core

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 1 Benchmark Result

AMD Eng Sample 100-000000425_37/24_N - ASRockRack ROMED8-2T v1.03 - AMD Starship

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

1 System - 214 Benchmark Results

1 System - 46 Benchmark Results

Snapdragon Compute - Microsoft Windows Dev Kit 2023 - 1 x 32768 MB 2092MHz Hynix H9HCNNNFAMMLXR-

Microsoft Windows Server 2025 Standard Build 26085 - 10.0.26085.1 - 10.0.26085.1

1 System - 211 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.4xlarge - Amazon Device 0200

Amazon Linux 2023.4.20240401 - 6.1.82-99.168.amzn2023.aarch64 - GCC 11.4.1 20230605

1 System - 201 Benchmark Results

Ampere Altra Max - HPE ProLiant RL300 Gen11 - 16 x 32768 MB 3200MHz Samsung M393A4K40EB3-CWE

Microsoft Windows Server 2025 Standard Build 26085 - 10.0.26085.1 - 10.0.26085.1

1 System - 208 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.4xlarge - Amazon Device 0200

Amazon Linux 2023.4.20240401 - 6.1.82-99.168.amzn2023.aarch64 - GCC 11.4.1 20230605

1 System - 192 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.4xlarge - Amazon Device 0200

Amazon Linux 2023.4.20240401 - 6.1.82-99.168.amzn2023.aarch64 - GCC 11.4.1 20230605

1 System - 188 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.4xlarge - Amazon Device 0200

Amazon Linux 2023.4.20240401 - 6.1.82-99.168.amzn2023.aarch64 - GCC 11.4.1 20230605

1 System - 152 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.4xlarge - Amazon Device 0200

Amazon Linux 2023.4.20240401 - 6.1.82-99.168.amzn2023.aarch64 - GCC 11.4.1 20230605

1 System - 148 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.4xlarge - Amazon Device 0200

Amazon Linux 2023.4.20240401 - 6.1.82-99.168.amzn2023.aarch64 - GCC 11.4.1 20230605

1 System - 147 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.4xlarge - Amazon Device 0200

Amazon Linux 2023.4.20240401 - 6.1.82-99.168.amzn2023.aarch64 - GCC 11.4.1 20230605

1 System - 144 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.4xlarge - Amazon Device 0200

Amazon Linux 2023.4.20240401 - 6.1.82-99.168.amzn2023.aarch64 - GCC 11.4.1 20230605

1 System - 129 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.4xlarge - Amazon Device 0200

Amazon Linux 2023.4.20240401 - 6.1.82-99.168.amzn2023.aarch64 - GCC 11.4.1 20230605

1 System - 122 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.4xlarge - Amazon Device 0200

Amazon Linux 2023.4.20240401 - 6.1.82-99.168.amzn2023.aarch64 - GCC 11.4.1 20230605

Most Popular Test Results

Find More Test Results