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, 46 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 16 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,232 public results since 28 May 2022 with the latest data as of 17 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
95th
29
247 +/- 16
90th
6
221 +/- 6
89th
6
214 +/- 21
89th
24
211 +/- 3
86th
4
198 +/- 3
84th
15
190 +/- 5
81st
4
181 +/- 22
81st
3
180 +/- 9
78th
3
168 +/- 19
76th
5
158 +/- 1
76th
3
155 +/- 3
Mid-Tier
75th
< 155
75th
4
151 +/- 3
75th
3
149 +/- 6
73rd
15
143 +/- 3
70th
4
138 +/- 1
67th
4
132 +/- 4
67th
7
131 +/- 7
67th
10
128 +/- 16
66th
5
127 +/- 1
65th
18
123 +/- 10
65th
16
123 +/- 6
64th
3
119 +/- 13
64th
4
118 +/- 2
62nd
5
114 +/- 11
58th
3
110 +/- 4
58th
3
110 +/- 10
57th
4
108 +/- 5
56th
4
105 +/- 2
56th
4
105 +/- 1
56th
11
105 +/- 9
54th
11
100 +/- 2
51st
4
96 +/- 10
Median
50th
95
50th
24
94 +/- 11
50th
4
94 +/- 2
48th
15
90 +/- 5
43rd
4
77 +/- 3
42nd
3
73 +/- 3
41st
3
72 +/- 2
41st
3
71 +/- 4
41st
3
71 +/- 3
38th
13
67 +/- 2
37th
5
64 +/- 5
36th
8
61 +/- 4
36th
16
61 +/- 1
32nd
6
53 +/- 2
32nd
4
52 +/- 1
30th
3
51 +/- 1
30th
5
50 +/- 2
28th
13
46 +/- 4
28th
8
45 +/- 5
27th
3
44 +/- 2
Low-Tier
25th
< 43
25th
4
42 +/- 1
25th
4
41 +/- 5
23rd
3
39 +/- 2
23rd
8
38 +/- 3
21st
3
33 +/- 2
19th
5
30 +/- 2
18th
3
29 +/- 1
18th
5
28 +/- 2
17th
8
26 +/- 4
16th
11
25 +/- 1
OpenBenchmarking.orgDistribution Of Public Results - Video Input: Bosphorus 1080p2232 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.63 / 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.18 / 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.733.465.196.928.65

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-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, Qualcomm, Rockchip ARMv8 Cortex-A76 4-Core, Rockchip ARMv8 Cortex-A76 6-Core

Recent Test Results

OpenBenchmarking.org Results Compare

6 Systems - 67 Benchmark Results

2 x AMD Opteron 6276 - ASUS KGPE-D16 v1.0 - AMD RD890 + SB7x0

Debian 13 - 6.11.5-amd64 - X Server

6 Systems - 67 Benchmark Results

2 x AMD Opteron 6276 - ASUS KGPE-D16 v1.0 - AMD RD890 + SB7x0

Debian 13 - 6.11.5-amd64 - X Server

3 Systems - 19 Benchmark Results

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

Debian 12 - 6.6.51+rpt-rpi-2712 - KDE Plasma 5.27.5

4 Systems - 4 Benchmark Results

ARMv8 Cortex-A57 - quill - 8GB

Debian GNU - 4.9.253-l4t-r32.6 - GCC 12.2.0

4 Systems - 5 Benchmark Results

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

Debian GNU - 6.6.51+rpt-rpi-2712 - GCC 12.2.0

4 Systems - 69 Benchmark Results

2 x AMD Opteron 6276 - ASUS KGPE-D16 v1.0 - AMD RD890 + SB7x0

Debian 13 - 6.11.5-amd64 - X Server

1 System - 34 Benchmark Results

AMD Ryzen 5 5600U - Oracle VirtualBox v1.2 - Intel 440FX 82441FX PMC

openSUSE 15.6 - 6.4.0-150600.23.25-default - KDE Plasma 5.27.11

1 System - 36 Benchmark Results

Intel Core i5-1135G7 - Oracle VirtualBox v1.2 - Intel 440FX 82441FX PMC

openSUSE 15.6 - 6.4.0-150600.23.25-default - KDE Plasma 5.27.11

Most Popular Test Results

Find More Test Results