x265 is a library for encoding video into the High Efficiency Video Coding (HEVC/H.265) video compression format that was developed and standardized by the ISO/IEC MPEG and ITU-T VCEG. x265 is offered under either version 2 of the GNU General Public License (GPL) or a commercial license, similar to the x264 project.
x265 builds on source code from x264, an open-source video encoder for the previous MPEG video coding standard H.264/MPEG-4 AVC. The project has licensed the rights to use the x264 source code. Development on x265 began in March 2013. MulticoreWare made the source code for x265 publicly available on July 23, 2013.
The x265 project was initially funded by a small group of charter licensee companies that direct the development requirements and receive commercial licenses to use x265 in their products without having to release their products under the GPL 2 license.
x265 supports the Main, Main 10, Main 12 and Main Still Picture profiles of HEVC (including intra-only profiles), utilizing a bit depth of either 8 bits or 10 bits per sample YCbCr with 4:2:0, 4:2:2 or 4:4:4 chroma subsampling. x265 supports most of the features of x264 including all rate control modes: Constant QP (CQP), Constant Rate Factor (CRF), Average Bit Rate (ABR), 2-pass or multi-pass and video buffering verifier rate control. Visual quality algorithms include CU-Tree (the successor to x264's macroblock-tree), adaptive quantization, b-pyramid, weighted prediction and psycho-visual optimizations (psy-rd and psy-rdoq). A fully lossless mode is also supported. Temporal scalability is supported, allowing for a video to be encoded into a base layer HEVC bitstream that is half the frame rate of the input video frame rate, and an enhancement layer that can be decoded along with the base layer to enable playback at the full frame rate.
In April 2015, at the NAB Show in Las Vegas, MulticoreWare demonstrated high quality real-time 4K 10-bit HEVC encoding at frame rates in excess of 60 FPS on a dual Intel Xeon E5 v3 server, occupying only one standard rack unit.
Quality and efficiency
Judged by the objective quality metric in 2015, x265 delivered video quality on par with the reference encoder of the royalty-free VP9 format that competes with HEVC. A codec comparison from 2015 found x265 to be a leading HEVC implementation measured by SSIM metric. In August 2016, Netflix published a comparison of x264, VP9, and x265 using video clips from 500 movies and TV shows using 6 different quality metrics and found that both VP9 and x265 have 40%–50% better quality at 1080p than x264. Netflix stated that with the VMAF metric (which closely mirrors human visual experience according to the author) x265 performed substantially (19% to 22%) better than VP9.
Open source adopters
Open source software projects which utilize x265 for HEVC encoding
- Internet Friendly Media Encoder
Commercial products that utilize x265 for HEVC encoding
- BBright SLED-4K and SLED-HD Encoder
- Black Magic DaVinci Resolve Studio[failed verification]
- Sorenson Squeeze Desktop Pro and Squeeze Server
- Telestream Vantage Media Processing Platform
- TMPGEnc Video Mastering Works
- x265 HEVC Upgrade
- "Release Notes". x265.readthedocs.io.
- "x265 Mission Statement". Bitbucket. 2013-07-24. Retrieved 2013-07-24.
- Joel Hruska (2013-07-23). "H.265 benchmarked: Does the next-generation video codec live up to expectations?". ExtremeTech. Retrieved 2013-07-23.
- Chris Angelini (2013-07-23). "Next-Gen Video Encoding: x265 Tackles HEVC/H.265". Tom's Hardware. Retrieved 2013-07-23.
- "x265 Development Road Map". Bitbucket. 2013-07-23. Retrieved 2013-07-23.
- Volker Zota (heise online), 14. 2. 2014: Videokodierung: HEVC/H.265-Encoder hält Einzug bei FFmpeg und LibAV
- "multicoreware / x265 / Commits — Bitbucket". bitbucket.org.
- "[x265] [ANN] x265 2.0 released".
- "Command Line Options — x265 documentation".
- "Command Line Options — x265 documentation".
- "x265 Documentation — x265 documentation".
- "MulticoreWare demonstrates high quality 4K 10-bit real-time HEVC video encoding with x265". Design And Reuse.
- Jan Ozer, April 2015: The Great UHD Codec Debate: Google's VP9 Vs. HEVC/H.265
- Jan Ozer, November 9, 2015: Moscow State Releases First HEVC Comparison
- Ozer, Jan. "Netflix Finds x265 20% More Efficient than VP9 - Streaming Media Magazine". Streaming Media Magazine. Retrieved 2016-11-09.
- "x265 CLI Documentation".
- "x265 API Documentation".
- "Avidemux – News".
- "General Documentation".
- "HandBrake: Features".
- "x265 GUI Encoder with Internet Friendly Media Encoder!".
- berrinam. "MeGUI". SourceForge.
- "ShareX 13.1.0 - changelog". 2020-03-01.
- "BBright – Ultra HD / 4K Video Products and Laser Light Sources". BBright.
- "DaVinci Resolve 16 | Blackmagic Design". www.blackmagicdesign.com. Retrieved 2020-07-17.
- "Squeeze Desktop Pro – Sorenson Media". Sorenson Media.
- "Video Workflow Automation Software – Vantage Workflow Features & Benefits – Telestream".
- "TMPGEnc Video Mastering Works 6".
- "x265 HEVC Upgrade". x265.