VC-2
   HOME

TheInfoList



OR:

Dirac is an open and royalty-free
video compression format A video coding format (or sometimes video compression format) is a content representation format for storage or transmission of digital video content (such as in a data file or bitstream). It typically uses a standardized video compression al ...
, specification and system developed by
BBC Research & Development BBC Research & Development is the technical research department of the BBC. Function It has responsibility for researching and developing advanced and emerging media technologies for the benefit of the corporation, and wider UK and European ...
. Schrödinger and dirac-research (formerly just called "Dirac") are open and royalty-free software implementations (
video codec A video codec is software or hardware that compresses and decompresses digital video. In the context of video compression, ''codec'' is a portmanteau of ''encoder'' and ''decoder'', while a device that only compresses is typically called an '' ...
s) of Dirac. Dirac format aims to provide high-quality video compression for Ultra HDTV and beyond, and as such competes with existing formats such as
H.264 Advanced Video Coding (AVC), also referred to as H.264 or MPEG-4 Part 10, is a video compression standard based on block-oriented, motion-compensated coding. It is by far the most commonly used format for the recording, compression, and distr ...
and VC-1. The specification was finalised in January 2008, and further developments are only bug fixes and constraints. In September of that year, version 1.0.0 of an
I-frame In the field of video compression a video frame is compressed using different algorithms with different advantages and disadvantages, centered mainly around amount of data compression. These different algorithms for video frames are called pict ...
only subset known as ''Dirac Pro'' was released and has since been standardised by the
SMPTE The Society of Motion Picture and Television Engineers (SMPTE) (, rarely ), founded in 1916 as the Society of Motion Picture Engineers or SMPE, is a global professional association of engineers, technologists, and executives working in the m ...
as ''VC-2''. Version 2.2.3 of the full Dirac specification, including
motion compensation Motion compensation in computing, is an algorithmic technique used to predict a frame in a video, given the previous and/or future frames by accounting for motion of the camera and/or objects in the video. It is employed in the encoding of video d ...
and inter-frame coding, was issued a few days later. Dirac Pro was used internally by the BBC to transmit HDTV pictures at the Beijing Olympics in 2008. The format implementations are named in honour of the theoretical physicists
Paul Dirac Paul Adrien Maurice Dirac (; 8 August 1902 – 20 October 1984) was an English theoretical physicist who is regarded as one of the most significant physicists of the 20th century. He was the Lucasian Professor of Mathematics at the Univer ...
and
Erwin Schrödinger Erwin Rudolf Josef Alexander Schrödinger (, ; ; 12 August 1887 – 4 January 1961), sometimes written as or , was a Nobel Prize-winning Austrian physicist with Irish citizenship who developed a number of fundamental results in quantum theo ...
, who shared the 1933
Nobel Prize in physics ) , image = Nobel Prize.png , alt = A golden medallion with an embossed image of a bearded man facing left in profile. To the left of the man is the text "ALFR•" then "NOBEL", and on the right, the text (smaller) "NAT•" then " ...
.


Technology

Dirac supports resolutions of
HDTV High-definition television (HD or HDTV) describes a television system which provides a substantially higher image resolution than the previous generation of technologies. The term has been used since 1936; in more recent times, it refers to the g ...
(1920×1080) and greater, and is claimed to provide significant savings in data rate and improvements in quality over video compression formats such as MPEG-2 Part 2, MPEG-4 Part 2 and its competitors, e.g.
Theora Theora is a free lossy video compression format. It is developed by the Xiph.Org Foundation and distributed without licensing fees alongside their other free and open media projects, including the Vorbis audio format and the Ogg contai ...
, and WMV. Dirac's implementers make the preliminary claim of "''a two-fold reduction in bit rate over MPEG-2 for high definition video''", which makes it comparable to standards such as H.264/MPEG-4 AVC and VC-1. Dirac supports both constant bit rate and variable bit rate operation. When the low delay syntax is used, the bit rate will be constant for each area (Dirac slice) in a picture to ensure constant latency. Dirac supports lossy and
lossless Lossless compression is a class of data compression that allows the original data to be perfectly reconstructed from the compressed data with no loss of information. Lossless compression is possible because most real-world data exhibits statistic ...
compression modes. Dirac employs wavelet compression, like the JPEG 2000 and PGF image formats and the
Cineform CineForm Intermediate is an open source (from October 2017) video codec developed for CineForm Inc by David Taylor, David Newman and Brian Schunck. On March 30, 2011, the company was acquired by GoPro which in particular wanted to use the 3D film c ...
professional video codec, instead of the discrete cosine transforms used in
MPEG The Moving Picture Experts Group (MPEG) is an alliance of working groups established jointly by ISO and IEC that sets standards for media coding, including compression coding of audio, video, graphics, and genomic data; and transmission and f ...
compression formats. Two of the specific wavelets Dirac can use are nearly identical to JPEG 2000's (known as the 5/3 and 9/7 wavelets), as well as two more derived from them. Dirac can be used in AVI, Ogg and Matroska container formats and is also registered for use in the MPEG-4 file format and MPEG-2 transport streams.


VC-2

Dirac Pro was proposed to the SMPTE for standardisation. The Dirac Pro specification defines an
I-frame In the field of video compression a video frame is compressed using different algorithms with different advantages and disadvantages, centered mainly around amount of data compression. These different algorithms for video frames are called pict ...
only subset of the main Dirac Specification, aimed for professional and studio use in high bitrate applications. In 2010, the SMPTE standardised Dirac Pro as VC-2. * SMPTE 2042-1:2009 VC-2 Video Compression * SMPTE 2042-2:2009 VC-2 Level Definitions * RP (Recommended Practices) 2047-1-2009 – VC-2 Mezzanine Level Compression of 1080P High Definition Video Sources * SMPTE 2047-2:2010 Carriage of VC-2 Compressed Video over HD-SDI * RP 2042-3:2010 – VC-2 Conformance Specification The basic spec was updated in 2012, adding a new profile for lossless and near-lossless archiving.


Software implementations

Two software implementations of the specification currently exist. The first is the BBC's reference implementation, formerly just called ''Dirac'' but renamed ''dirac-research'' to avoid confusion. It is written in C++ and released under the
Mozilla Public License The Mozilla Public License (MPL) is a free and open-source weak copyleft license for most Mozilla Foundation software such as Firefox and Thunderbird The MPL license is developed and maintained by Mozilla, which seeks to balance the concerns ...
, GNU GPL 2 and GNU LGPL
free software license A free-software license is a notice that grants the recipient of a piece of software extensive rights to modify and redistribute that software. These actions are usually prohibited by copyright law, but the rights-holder (usually the author) ...
s. Version 1.0.0 of this implementation was released on 17 September 2008. A second implementation called ''Schrödinger'' was funded by the BBC and aims to provide high-performance, portable version of the codec whilst remaining 100% bitstream compatible. Schrödinger is written in ANSI C and released under the same licenses as dirac-research, as well as the highly-permissive
MIT License The MIT License is a permissive free software license originating at the Massachusetts Institute of Technology (MIT) in the late 1980s. As a permissive license, it puts only very limited restriction on reuse and has, therefore, high license comp ...
. The Schrödinger project also provides
GStreamer GStreamer is a pipeline-based multimedia framework that links together a wide variety of media processing systems to complete complex workflows. For instance, GStreamer can be used to build a system that reads files in one format, processes the ...
plugins to enable the library to be used with that framework. On 22 February 2008, Schrödinger 1.0.0 was released. This release was able to decode HD720/25p in real-time on a Core Duo laptop. As of the release of Schrödinger-1.0.9, ''"Schrödinger outperforms dirac-research in most encoding situations, both in terms of encoding speed and visual quality"''. With that release, most of the encoding tools in dirac-research have been ported over to Schrödinger, giving Schrödinger the same as or better compression efficiency than dirac-research. An encoder quality testing system has been put in place at BBC to check how well new encoding tools work and to make sure bugs that affect quality are quickly fixed.


Patents

The BBC does not own any patents on Dirac. They previously had some patent applications with plans to irrevocably grant a royalty-free licence for their Dirac-related patents to everyone, but they let the applications lapse. In addition, the developers have said they will try to ensure that Dirac does not infringe on any third party patents, enabling the public to use Dirac for any purpose.


Desktop playback and encoding

As of November 2008, Dirac video playback is supported by
VLC media player VLC media player (previously the VideoLAN Client and commonly known as simply VLC) is a free and open-source, portable, cross-platform media player software and streaming media server developed by the VideoLAN project. VLC is available for desk ...
(version 0.9.2 or newer), and by applications using the
GStreamer GStreamer is a pipeline-based multimedia framework that links together a wide variety of media processing systems to complete complex workflows. For instance, GStreamer can be used to build a system that reads files in one format, processes the ...
framework (such as
Songbird A songbird is a bird belonging to the suborder Passeri of the perching birds (Passeriformes). Another name that is sometimes seen as the scientific or vernacular name is Oscines, from Latin ''oscen'', "songbird". The Passeriformes contains 5000 ...
,
Rhythmbox Rhythmbox is a free and open-source audio player software, tag editor and music organizer for digital audio files on Linux and Unix-like systems. Rhythmbox is designed to work well under GNOME, but can function on other desktop environments. I ...
and Totem). Support has also been added to
FFmpeg FFmpeg is a free and open-source software project consisting of a suite of libraries and programs for handling video, audio, and other multimedia files and streams. At its core is the command-line ffmpeg tool itself, designed for processing of vid ...
. Applications which can encode to Dirac include MediaCoder,
LiVES Lives may refer to: * The plural form of a '' life'' * Lives, Iran, a village in Khuzestan Province, Iran * The number of lives in a video game * '' Parallel Lives'', aka ''Lives of the Noble Greeks and Romans'', a series of biographies of famous ...
and
OggConvert OggConvert is a free and open-source transcoder for digital audio and video files of various types into the free Ogg Vorbis audio format, and the Theora, VP8 and Dirac video formats. It supports Ogg, Matroska and WebM containers for output. ...
, as well as
FFmpeg FFmpeg is a free and open-source software project consisting of a suite of libraries and programs for handling video, audio, and other multimedia files and streams. At its core is the command-line ffmpeg tool itself, designed for processing of vid ...
.


Performance

The algorithms in the Dirac specification have been designed with the intention to provide a competitive performance as compared to state-of-the-art international standards. Whether they succeeded is an open question; while at least one comparison exists which used implementations from the second quarter of 2008—it shows x264 scoring higher than Dirac—it is now somewhat out of date. A study on the performances of the Dirac codec, dated from August 2009, finds that the quality obtained on SDTV is inferior to the H.264 output and did not include HD content.


References


External links

*
BBC Research & Development page on VC-2
{{Compression Software Implementations BBC Research & Development Free video codecs Lossless compression algorithms SMPTE standards Wavelets Open formats