Software:x265

From HandWiki
Short description: HEVC/H.265 encoder

X265
X265 (HEVC encoder, logo).svg
Developer(s)MulticoreWare
Initial release2013; 11 years ago (2013)
Written inC++, x86 assembly
Standard(s)HEVC
TypeVideo codec
LicenseGPL-2.0-or-later,[1] or optionally an on-request commercial license[2]
Websitex265.org

x265 is an encoder for creating digital video streams in the High Efficiency Video Coding (HEVC/H.265) video compression format developed by the Joint Collaborative Team on Video Coding (JCT-VC).[3][4][5] It is available as a command-line app or a software library, under the terms of GNU General Public License (GPL) version 2 or later; however, customers may request a commercial license.[2][6]

History

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.[2] Development on x265 began in March 2013.[6] MulticoreWare made the source code for x265 publicly available on July 23, 2013.[3][4]

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.[2] In February 2014, x265 was integrated into the popular multimedia transcoding tool FFmpeg and its fork Libav.[7]

Version 1.0 was completed in May 2014.[8] The stable version (2.0) was released on July 14, 2016.[9]

Technical details

x265 source code is written in C++ and x86 assembly.[2]

x265 supports the Main, Main 10, Main 12 and Main Still Picture profiles[10] 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.[11] 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.[12] 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[13] 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 VQM in 2015, x265 delivered video quality on par with the reference encoder of the royalty-free VP9 format that competes with HEVC.[14] A codec comparison from 2015 found x265 to be a leading HEVC implementation measured by SSIM metric.[15] 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.[16]

Usage

x265 can be invoked as a command-line app or integrated into another application through the application programming interface.[17][18]

Open-source adopters

Open source software projects which utilize x265 for HEVC encoding

Commercial adopters

Commercial products that utilize x265 for HEVC encoding

  • x265 HEVC Upgrade[34]

References

  1. "Bitbucket". https://bitbucket.org/multicoreware/x265_git/src/master/source/x265.cpp. 
  2. 2.0 2.1 2.2 2.3 2.4 "x265 Mission Statement". Bitbucket. 2013-07-24. https://bitbucket.org/multicoreware/x265_git/wiki/Mission. 
  3. 3.0 3.1 Joel Hruska (2013-07-23). "H.265 benchmarked: Does the next-generation video codec live up to expectations?". ExtremeTech. http://www.extremetech.com/computing/162027-h-265-benchmarked-does-the-next-generation-video-codec-live-up-to-expectations. 
  4. 4.0 4.1 Chris Angelini (2013-07-23). "Next-Gen Video Encoding: x265 Tackles HEVC/H.265". Tom's Hardware. http://www.tomshardware.com/reviews/x265-hevc-encoder,3565.html. 
  5. "HEVC / H.265 Explained" (in en-US). https://www.x265.org/hevc-h265/. 
  6. 6.0 6.1 "x265 Development Road Map". Bitbucket. 2013-07-23. https://bitbucket.org/multicoreware/x265/wiki/RoadMap. 
  7. Volker Zota (heise online), 14. 2. 2014: Videokodierung: HEVC/H.265-Encoder hält Einzug bei FFmpeg und LibAV
  8. "multicoreware / x265 / Commits — Bitbucket". https://bitbucket.org/multicoreware/x265/commits/tag/1.0. 
  9. "[x265 [ANN] x265 2.0 released"]. 13 July 2016. https://mailman.videolan.org/pipermail/x265-devel/2016-July/010528.html. 
  10. "Command Line Options — x265 documentation". http://x265.readthedocs.org/en/default/cli.html#cmdoption--profile. 
  11. "Command Line Options — x265 documentation". http://x265.readthedocs.org/en/default/cli.html?highlight=color%20space#cmdoption--input-csp. 
  12. "x265 Documentation — x265 documentation". http://x265.readthedocs.org/en/default/. 
  13. "MulticoreWare demonstrates high quality 4K 10-bit real-time HEVC video encoding with x265". Design And Reuse. http://www.design-reuse.com/news/37109/multicoreware-4k-10-bit-real-time-hevc-video-encoding-with-x265.html. 
  14. Jan Ozer, April 2015: The Great UHD Codec Debate: Google's VP9 Vs. HEVC/H.265
  15. Jan Ozer, November 9, 2015: Moscow State Releases First HEVC Comparison
  16. Ozer, Jan. "Netflix Finds x265 20% More Efficient than VP9 - Streaming Media Magazine". Streaming Media Magazine. http://www.streamingmedia.com/Articles/Editorial/Featured-Articles/Netflix-Finds-x265-20-More-Efficient-than-VP9-113346.aspx. 
  17. "x265 CLI Documentation". https://x265.readthedocs.io/en/3.4/cli.html. 
  18. "x265 API Documentation". http://x265.readthedocs.org/en/default/api.html. 
  19. "Avidemux – News". http://fixounet.free.fr/avidemux/news.html. 
  20. "General Documentation". http://ffmpeg.org/general.html. 
  21. "HandBrake: Features". https://handbrake.fr/features.php. 
  22. "x265 GUI Encoder with Internet Friendly Media Encoder!". https://x265.github.io. 
  23. berrinam (7 May 2023). "MeGUI". SourceForge. http://sourceforge.net/projects/megui. 
  24. "OpenShot". http://www.openshot.org/features/. 
  25. "ShareX 13.1.0 - changelog". 2020-03-01. https://getsharex.com/changelog/#sharex-1310---2020-03-01. 
  26. "Shotcut". https://www.shotcut.org/features/. 
  27. "StaxRip". https://staxrip.readthedocs.io/. 
  28. "x265vfw". http://mpxplay.sourceforge.net/. 
  29. "BBright – Ultra HD / 4K Video Products and Laser Light Sources". BBright. http://www.bbright.com/#!prx265/c1xqn. 
  30. "DaVinci Resolve 16 | Blackmagic Design". https://www.blackmagicdesign.com/products/davinciresolve/. 
  31. "Squeeze Desktop Pro – Sorenson Media". Sorenson Media. http://www.sorensonmedia.com/squeeze/squeeze-desktop/squeeze-pro/. 
  32. "Video Workflow Automation Software – Vantage Workflow Features & Benefits – Telestream". http://www.telestream.net/vantage/overview.htm#VantageFormat. 
  33. "TMPGEnc Video Mastering Works 6". http://tmpgenc.pegasys-inc.com/en/product/tvmw6.html. 
  34. "x265 HEVC Upgrade". x265. http://x265.com. 

External links