Dirac (video compression format)

Dirac (video compression format)
Developer(s) David Schleef
Stable release 1.0.10 / October 7, 2010; 12 months ago (2010-10-07)
Operating system Cross-platform
Type Video codec
License MPL 1.1, GNU GPL 2, GNU LGPL 2, MIT License
Website diracvideo.org
Developed by BBC Research Department
Latest release 2.2.3[1] / 23 September 2008; 3 years ago (2008-09-23)
Type of format Video compression format
Contained by MPEG-TS, Ogg, AVI, MKV, MOV, MPEG-4 Part 12, etc.
Extended to VC-2
Standard(s) SMPTE 2042-1-2009, SMPTE 2042-2-2009 (a sub-set of Dirac)

Dirac is an open and royalty-free video compression format, specification and system developed by BBC Research at the BBC.[2][3][4][5] Schrödinger and dirac-research (formerly just called 'Dirac') are open and royalty-free software implementations (video codecs) of Dirac. Dirac format aims to provide high-quality video compression for Ultra HDTV[3] and beyond, and as such competes with existing formats such as H.264 and VC-1.

The specification was finalised in January 2008, and further developments are only bug fixes and constraints.[6] In September of that year, version 1.0.0 of an I-frame only subset known as Dirac Pro was released[7] and has since been standardised by the SMPTE as VC-2.[8][4] Version 2.2.3 of the full Dirac specification, including motion compensation and inter-frame coding, was issued a few days later.[9] Dirac Pro was used internally by the BBC to transmit HDTV pictures at the Beijing Olympics in 2008.[10][11][12]

The format implementations are named in honour of the theoretical physicists Paul Dirac and Erwin Schrödinger, who shared the 1933 Nobel Prize in physics.



Dirac supports resolutions of HDTV (1920x1080) 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, and WMV. Dirac's implementers make the preliminary claim of "a two-fold reduction in bit rate over MPEG-2 for high definition video",[13] which makes it comparable to the latest generation 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 compression modes.[14]

Dirac employs wavelet compression, instead of the discrete cosine transforms used in most older compression formats. Dirac is one of several projects attempting to apply wavelets to video compression. Others include Rududu,[15] Snow, cineform, REDCODE and the now discontinued Tarkin. Wavelet compression is also used in the JPEG 2000 and PGF compression standards for photographic images.

Dirac can be used in AVI, Ogg and Matroska container formats and is also registered for the use in the MPEG-4 file format[16] and MPEG-2 transport streams.[17]


Dirac Pro was proposed to the SMPTE for standardisation.[4][18][19] The Dirac Pro specification defines an I-frame only subset of the main Dirac Specification, aimed for professional and studio use in high bitrate applications.[1][20]In 2010 the SMPTE standardised Dirac Pro as VC-2.[21][8]

  • SMPTE 2042-1-2009 VC-2 Video Compression[8]
  • 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[22]

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, GNU GPL 2 and GNU LGPL free software licenses. 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 Schrödinger project also provides GStreamer plugins to enable the library to be used with that framework. On 22 February 2008, Schrödinger 1.0.0 was released.[23] 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".[24] 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.

As of Schrödinger-1.0.9, the developers identified several new features that are easy to add that will improve encoder quality. They are planning more frequent releases, perhaps one a month, introducing a new encoder feature each time.


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.[25]

Desktop playback and encoding

As of November 2008, Dirac video playback is supported by VLC media player (version 0.9.2 or newer), and by applications using the GStreamer framework (such as Songbird, Rhythmbox and Totem). Support has also been added to FFmpeg.[26]

Applications which can encode to Dirac include MediaCoder, LiVES and OggConvert, as well as FFmpeg.

A DirectShow filter exists for both Dirac and Schrödinger, although this is not supported on versions of Windows prior to Windows 2000[citation needed] and has seemingly not been updated since early 2009.


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[27] - it is now somewhat out of date, and is in any case of questionable scientific merit.[28] 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.[29] The study mentions HD in its conclusion, but the numbers on HD are conspicuously missing.


  1. ^ a b "Dirac Specifications". http://diracvideo.org/specifications/. Retrieved 2011-01-04. 
  2. ^ "FAQ - Diracvideo". diracvideo.org. http://diracvideo.org/wiki/index.php/FAQ#Flavours_of_Dirac. Retrieved 2009-08-30. 
  3. ^ a b "About Dirac". diracvideo.org. http://diracvideo.org/wiki/index.php/FAQ#About_Dirac. Retrieved 2009-08-30. 
  4. ^ a b c Tim Borer (2007) (PDF), BBC Research White Paper, WHP 159, November 2007, Open Technology Video Compression for Production and Post Production, http://downloads.bbc.co.uk/rd/pubs/whp/whp-pdf-files/WHP159.pdf, retrieved 2010-08-19 
  5. ^ "BBC R&D - Dirac". http://www.bbc.co.uk/rd/projects/dirac/index.shtml. Retrieved 2010-08-19. 
  6. ^ "Dirac Specifications". http://diracvideo.org/specifications/. 
  7. ^ "Dirac 1.0.0 released. [LWN.net"]. http://lwn.net/Articles/298755/. Retrieved 2011-01-04. 
  8. ^ a b c "SMPTE 2042-1-2009". http://store.smpte.org/product-p/st%202042-1-2009.htm. Retrieved 2010-08-18. 
  9. ^ Dirac Specification, Version 2.2.3. BBC. 2008-09-23. http://diracvideo.org/download/specification/dirac-spec-latest.pdf. Retrieved 2009-07-05. 
  10. ^ "Dirac Pro to bolster BBC HD links". Broadcast Magazine (East Midland Allied Press). http://www.broadcastnow.co.uk/news/2008/07/dirac_pro_to_bolster_bbc_hd_links.html. 
  11. ^ BBC pushes Dirac to the forefront
  12. ^ And now, Dirac from the Olympics, a new free codec!
  13. ^ "Dirac Overview". BBC R&D. http://www.bbc.co.uk/rd/projects/dirac/overview.shtml. Retrieved 2009-01-14. 
  14. ^ BBC Research (2008-09-23) (PDF). Dirac Specification. diracvideo.org. http://diracvideo.org/download/specification/dirac-spec-latest.pdf. Retrieved 2009-10-04. 
  15. ^ [1]
  16. ^ MP4 Registration Authority - Dirac Retrieved on 2009-07-05
  17. ^ SMPTE Registration Authority, LLC; Registration for format_identifier drac Retrieved on 2009-07-05
  18. ^ "Advancements in Compression and Transcoding: 2008 and Beyond - Supporting the March to 8K with SMPTE VC2 / Dirac". SMPTE. http://www.smpte.org/events/smpte_annual_tech/schedule/06wedspm1/. Retrieved 2009-08-30. 
  19. ^ "Worlds first high performance Dirac video codec implementation available". 2008-03-06. http://diracvideo.org/worlds-first-high-performance-dirac-video-codec-implementation-available/. Retrieved 2010-08-18. 
  20. ^ BBC. "Dirac Pro - WHAT IS DIRAC PRO?". http://www.bbc.co.uk/rd/projects/dirac/diracpro.shtml. Retrieved 2010-08-18. 
  21. ^ "Schroedinger-1.0.9 Released, Other news - SMPTE VC-2". 2010-03-04. http://diracvideo.org/2010/03/schroedinger-1-0-9-released/. Retrieved 2010-08-18. 
  22. ^ "SMPTE RP 2042-3-2010, VC-2 Conformance Specification". http://store.smpte.org/product-p/rp%202042-3-2010.htm. Retrieved 2010-08-18. 
  23. ^ Diracvideo.org Download section - schroedinger-1.0.0.tar.gz, 22-Feb-2008 13:52, 739K, Retrieved on 2009-08-07
  24. ^ "Schrödinger-1.0.9 Released". http://diracvideo.org/2010/03/schroedinger-1-0-9-released/. Retrieved 2010-03-11. 
  25. ^ "Do you infringe any patents? in official FAQ". Archived from the original on 4 August 2008. http://web.archive.org/web/20080804070759/http://diracvideo.org/wiki/FAQ#Do_you_infringe_any_patents.3F. Retrieved 2009-01-14. 
  26. ^ "Dirac Compatibility Matrix in official wiki". http://diracvideo.org/wiki/index.php/Dirac_Compatibility_Matrix. Retrieved 2009-01-14. 
  27. ^ "A performance assessment of the royalty-free and open video compression specifications Dirac, Dirac Pro, and Theora and their open-source implementations in Video on the Web". http://etill.net/projects/dirac_theora_evaluation/. Retrieved 2009-08-20. 
  28. ^ "Theora update". http://etill.net/projects/dirac_theora_evaluation/. Retrieved 2009-08-20. 
  29. ^ "Performance analysis and comparison of Dirac video codec with H.264 / MPEG-4 Part 10 AVC, see conclusion §5". http://www-ee.uta.edu/Dip/Courses/EE5359/ArunaRavi_MSThesis.pdf. Retrieved 2009-12-12. 

Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Dirac — may refer to: People Paul Dirac (1902–1984), British theoretical physicist, Nobel laureate, and a founder of the field of quantum physics Gabriel Andrew Dirac (1925–1984), graph theorist, Paul Dirac s stepson In physics Dirac bracket, a… …   Wikipedia

  • Dirac (Codec) — Pour les articles homonymes, voir Dirac. Dirac …   Wikipédia en Français

  • Dirac (codec) — Dirac is a prototype algorithm for the encoding and decoding of raw video. It was presented by the BBC in January 2004 as the basis of a new codec for the transmission of video over the Internet. The codec was finalised on January 21, 2008, and… …   Wikipedia

  • Dirac (codec) — Pour les articles homonymes, voir Dirac. Schrödinger …   Wikipédia en Français

  • Comparison of video codecs — A video codec is software or a device that provides encoding and decoding which may or may not include the use of video compression and/or decompression for digital video. The compression may employ lossy data compression, so quality measurement… …   Wikipedia

  • Data compression — Source coding redirects here. For the term in computer programming, see Source code. In computer science and information theory, data compression, source coding or bit rate reduction is the process of encoding information using fewer bits than… …   Wikipedia

  • Compression MPEG — Compression vidéo La compression vidéo est une méthode de compression de données, qui consiste à réduire la quantité de données, en limitant au maximum l impact sur la qualité visuelle de la vidéo. L intérêt de la compression vidéo est de réduire …   Wikipédia en Français

  • Compression Vidéo — La compression vidéo est une méthode de compression de données, qui consiste à réduire la quantité de données, en limitant au maximum l impact sur la qualité visuelle de la vidéo. L intérêt de la compression vidéo est de réduire les coûts de… …   Wikipédia en Français

  • Compression video — Compression vidéo La compression vidéo est une méthode de compression de données, qui consiste à réduire la quantité de données, en limitant au maximum l impact sur la qualité visuelle de la vidéo. L intérêt de la compression vidéo est de réduire …   Wikipédia en Français

  • Format Conteneur — Un format conteneur (wrapper ou container en anglais) est un format de fichier qui peut contenir divers types de données et celles ci sont compressées à l aide de codecs normalisés. Le fichier conteneur est utilisé pour pouvoir identifier et… …   Wikipédia en Français

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”