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, 6 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.11100K200K300K400K500K
* 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 17 March 2024.
Bosphorus 1080p51.3%Bosphorus 4K48.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 1,867 public results since 28 May 2022 with the latest data as of 17 March 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
96th
29
247 +/- 16
94th
3
233 +/- 29
91st
6
221 +/- 6
90th
6
214 +/- 21
89th
23
211 +/- 3
86th
4
198 +/- 3
84th
15
190 +/- 5
81st
4
181 +/- 22
81st
3
180 +/- 9
77th
3
168 +/- 19
76th
5
158 +/- 1
Mid-Tier
75th
< 157
73rd
15
143 +/- 3
70th
4
138 +/- 1
68th
6
132 +/- 6
68th
4
132 +/- 4
67th
10
128 +/- 16
67th
5
127 +/- 1
65th
18
123 +/- 10
65th
11
121 +/- 6
64th
4
118 +/- 2
62nd
5
114 +/- 11
58th
3
110 +/- 4
58th
3
110 +/- 10
56th
4
105 +/- 2
56th
3
105 +/- 3
56th
11
105 +/- 9
54th
11
100 +/- 2
53rd
19
99 +/- 3
Median
50th
96
50th
4
94 +/- 2
48th
15
90 +/- 5
43rd
4
77 +/- 3
41st
3
73 +/- 3
41st
3
72 +/- 2
40th
3
71 +/- 3
40th
3
71 +/- 4
37th
12
65 +/- 5
37th
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
27th
13
46 +/- 4
26th
3
44 +/- 2
Low-Tier
25th
< 44
24th
4
42 +/- 1
24th
4
41 +/- 5
22nd
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 1080p1859 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.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.15 / 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 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, 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

2 Systems - 15 Benchmark Results

Intel Core i7-12700 - Gigabyte B660 GAMING X DDR4 - 4 x 8192 MB 3600MHz Corsair CMW16GX4M2C3600C18

Microsoft Windows 11 Pro Build 22631 - 10.0.22631.3155 - 551.61

1 System - 37 Benchmark Results

Intel Atom x6425E - v1.1 - Intel Device 4b7f

Ubuntu 20.04 - 5.15.0-91-generic - LXQt 0.14.1

1 System - 2 Benchmark Results

Intel Core i5-12450H - (5.26 BIOS) - Intel Alder Lake PCH

Ubuntu 22.04 - 6.5.0-25-generic - GNOME Shell 42.9

1 System - 14 Benchmark Results

Intel Core i5-14600KF - ASRock B760M-HDV/M.2 - 2 x 16384MB 4800MHz Kingston KF560C36-16

Microsoft Windows 11 Pro Build 22631 - 10.0.22631.3235 - 551.76

1 System - 46 Benchmark Results

2 x Intel Xeon Gold 6226R - (5.14 BIOS) - 8 x 65536 MB 2934MHz Samsung M393A8G40AB2-CVF

Microsoft Windows Server 2022 Standard Build 20348 - 10.0.20348.2322 - 9.0.10.106

1 System - 46 Benchmark Results

AMD EPYC 7763 64-Core - AIC AURIGA Lite - 8 x 65536MB 2933MHz Samsung M393A8G40AB2-CVF

Microsoft Windows Server 2022 Standard Build 20348 - 10.0.20348.2322 - 9.0.10.112

2 Systems - 390 Benchmark Results

ARMv8 Cortex-A76 - BCM2835 Raspberry Pi 5 Model B Rev 1.0 - 8GB

Ubuntu 23.10 - 6.5.0-1011-raspi - GNOME Shell 45.2

1 System - 53 Benchmark Results

Intel Xeon W-3223 - Apple Mac Pro - Intel 12

macOS 14.2.1 - 23.2.0 - GCC 15.0.0 + Clang 15.0.0

1 System - 37 Benchmark Results

AMD Ryzen 5 3600 6-Core - ASRock B550M-ITX/ac - AMD Starship

Ubuntu 22.04 - 6.5.0-1014-oem - OpenCL 3.0 + OpenCL 2.0 pocl 1.8 Linux +Asserts RELOC LLVM 11.1.0 SLEEF DISTRO POCL_DEBUG

1 System - 205 Benchmark Results

AMD Ryzen 7 8700G - Gigabyte B650I AORUS ULTRA - AMD Device 14e8

Ubuntu 22.04 - 6.5.0-21-generic - GNOME Shell 42.9

1 System - 1 Benchmark Result

AMD Ryzen 7 8700G - 28GB - 0GB Virtual Disk + 8GB Virtual Disk + 1100GB Virtual Disk

Ubuntu 22.04 - 5.15.133.1-microsoft-standard-WSL2 - Wayland

1 System - 205 Benchmark Results

AMD Ryzen 7 8700G - Gigabyte B650I AORUS ULTRA - AMD Device 14e8

Ubuntu 22.04 - 6.5.0-21-generic - GNOME Shell 42.9

1 System - 37 Benchmark Results

Intel Core i9-14900K - ASUS TUF GAMING Z790-PRO WIFI - Intel Device 7a27

Ubuntu 23.10 - 6.5.0-21-generic - X Server

1 System - 37 Benchmark Results

AMD Ryzen 7 7745HX - Shenzhen Meigao Electronic Equipment DRFXI - AMD Device 14d8

Fedora Linux 40 - 6.8.0-0.rc5.41.fc40.x86_64 - OpenCL 2.1 AMD-APP

1 System - 37 Benchmark Results

AMD Ryzen 9 7950X 16-Core - ASUS ROG STRIX X670E-E GAMING WIFI - AMD Device 14d8

Ubuntu 22.04 - 6.5.0-1014-oem - X Server

Most Popular Test Results

Find More Test Results