|Original author(s)||Laurent Aimar|
|Written in||C, Assembly|
|License||GPL-2.0-or-later (a proprietary licensing scheme is also available)|
x264 is a free and open-source software library and a command-line utility developed by VideoLAN for encoding video streams into the H.264/MPEG-4 AVC video coding format. It is released under the terms of the GNU General Public License.
x264 was originally developed by Laurent Aimar, who stopped development in 2004 after being hired by ATEME.[circular reference] Loren Merritt then took over development. Later, in 2008, Fiona Glaser joined the project. They both stopped contributing in 2014. Today, x264 is primarily developed by Anton Mitrofanov and Henrik Gramner.
x264 provides a command line interface as well as an API. The former is used by many graphical user interfaces, such as Staxrip and MeGUI. The latter is used by many other interfaces, such as HandBrake and FFmpeg.
x264 implements a large number of features compared to other H.264 encoders.
Further information: H.264/MPEG-4 AVC § Software encoders
x264 contains some psychovisual enhancements which aim to increase the subjective video quality of the encoded video.
x264 has won awards in the following codec comparisons:
x264 has SIMD assembly code acceleration on x86, PowerPC (using AltiVec), and ARMv7 (using NEON) platforms.
x264 is able to use Periodic Intra Refresh instead of keyframes, which enables each frame to be capped to the same size enabling each slice to be immediately transmitted in a single UDP or TCP packet and on arrival immediately decoded. Periodic Intra Refresh can replace keyframes by using a column of intra blocks that move across the video from one side to the other, thereby "refreshing" the image. In effect, instead of a big keyframe, the keyframe is "spread" over many frames. The video is still seekable: a special header, called the SEI Recovery Point, tells the decoder to "start here, decode X frames, and then start displaying the video." This hides the refresh effect from the user while the frame loads. Motion vectors are restricted so that blocks on one side of the refresh column don't reference blocks on the other side, effectively creating a demarcation line in each frame.
In April 2010, the x264 project announced full Blu-ray compliant video encoding capability making x264 the first free Blu-ray compliant software H.264 encoder. x264 has always had the ability to create video streams that are playable on most Blu-ray devices. However, it was up to the user to choose appropriate conversion settings. The default x264 preset chooses adequate compatibility for Blu-ray players but it is now possible to choose more complex conversion settings while simply maintaining compatibility by explicitly enabling Blu-ray compatibility mode. Blu-ray compatibility can be useful when striving for cross device compatibility, especially in the realm of high definition hardware media players.
x264 has been used to author commercial Blu-ray Disc titles released by Warner Bros.
In November 2010, Fiona Glaser, an x264 developer, published information in which she claims that one of Tandberg Telecom's (a Cisco Systems subsidiary) patent applications from December 2008 contains a step-by-step description of an algorithm she committed to the x264 codebase around two months earlier. This was relayed by media, which remarked that the company who filed the patent was following the x264 project IRC development channel and was known to the project developers, leading to Tandberg claiming that they discovered the algorithm independently.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
In addition to being free to use under the GNU GPL, x264 is also available under a commercial license. Contact email@example.com for more details.
So why the deja vu? Because this patent application was an exact, step-by-step description of the algorithm I came up with for decimate_score (and later coeff_level_run) in x264 in 2008!
Tandberg hardly employed any subtlety. The company has one of its employers following the x264 project's IRC development channel and the guy who registered the patent is known to the X264 project.
((cite web)): CS1 maint: unfit URL (link)