ArticleslgStudy

computer science

Dirac (video compression format)

Dirac (video compression format) is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Dirac (video compression format) rather than just read about it. In short: Dirac (and Dirac Pro, a subset standardised as SMPTE VC-2) is an open and royalty-free video compression format, specification and software video codec developed by BBC Research & Development. Dirac aimed to provide high-quality video compression for Ultra HDTV and competed with existing formats such as H.264.

Key takeaways

  • Dirac (video compression format) belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Dirac (video compression format) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Dirac (video compression format) from memory before moving on to harder problems.

Reference excerpt

Dirac (and Dirac Pro, a subset standardised as SMPTE VC-2) is an open and royalty-free video compression format, specification and software video codec developed by BBC Research & Development. Dirac aimed to provide high-quality video compression for Ultra HDTV and competed with existing formats such as H.264. The specification was finalised in January 2008, and further developments were only bug fixes and constraints. In September of that year, version 1.0.0 of an I-frame only subset known as Dirac Pro was released and was standardised by the SMPTE as VC-2. Version 2.2.3 of the full Dirac specification, including motion compensation 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. Two open source and royalty-free video codec software implementations, libschrodinger and dirac-research, were developed. The format implementations were named in honour of the theoretical physicists Paul Dirac and Erwin Schrödinger, who shared the 1933 Nobel Prize in Physics.

Technology Dirac supports resolutions of HDTV (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 such as Theora and WMV. Dirac's implementers made a preliminary claim of "a two-fold reduction in bit rate over MPEG-2 for high definition video", which makes it comparable to VC-1 and simpler profiles of H.264. Dirac supports both constant bit rate and variable bit rate operation. When the low delay syntax is used, the bit rate is constant for each area (Dirac slice) in a picture to ensure constant latency. Dirac supports lossy and lossless compression modes. Dirac employs wavelet compression, like the JPEG 2000 and PGF image formats and the Cineform professional video codec, instead of the discrete cosine transforms used in MPEG 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 Ogg and Matroska container formats and is also registered for use in the ISO base media (MP4) file format and MPEG transport streams.

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.

VC-2 Dirac Pro, an I-frame only subset of the Dirac specification, was proposed to the SMPTE for standardisation. Dirac Pro is designed for professional and studio use of high definition video in high bitrate applications. In 2010, the SMPTE standardised Dirac Pro as VC-2. Although work on the original Dirac codec has largely stopped, the VC-2 codec has continued to be adapted and updated for HD and UHD post-production environments. The SMPTE standards (ST) and recommended practices (RP) are as follows:

SMPTE ST 2042-1:2022 – VC-2 Video Compression SMPTE ST 2042-2:2017 – VC-2 Level Definitions SMPTE RP 2042-3:2022 – VC-2 Conformance Specification SMPTE ST 2042-4:2018 — Mapping a VC-2 Stream into the MXF Generic Container SMPTE RP 2047-1:2023 – VC-2 Mezzanine Level Compression of 1080P High Definition Video Sources SMPTE ST 2047-2:2010 — Carriage of VC-2 Compressed Video over HD-SDI SMPTE RP 2047-3:2023 — VC-2 Level 65 Compression of High Definition Video Sources for Use with a Standard Definition Infrastructure SMPTE ST 2047-4:2011 — Carriage of Level 65 VC-2 Compressed Video Over the SDTV SDI SMPTE RP 2047-5:2022 — VC-2 Level 66 Compression of Ultra-High Definition Video Sources for Use with a High Definition Infrastructure IETF RFC 8450 — RTP Payload Format for VC-2 High Quality (HQ) Profile

Software implementations

Two software implementations were initially developed. The BBC's reference implementation, initially called Dirac but renamed dirac-research to avoid confusion, was 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 and defines the Dirac bitstream format. A second implementation called Schrödinger was funded by the BBC and aimed to provide a high-performance, portable version of the codec whilst remaining 100% bitstream compatible. Schrödinger was written in ANSI C and released under the same licenses as dirac-research, as well as the highly-permissive MIT License. GStreamer plugins were included to enable the library to be used with that framework. On 22 February 2008, Schrödinger 1.0.0 was released, and was able to decode HD720/25p in real-time on a Core Duo laptop. By the March 2010 release of Schrödinger version 1.0.9, it was outperforming 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 were ported over to Schrödinger, giving Schrödinger the same as or better compression efficiency than dirac-research. Development of Schrödinger ceased after the 1.0.11 release in 2012. After the standardisation of Dirac Pro as SMPTE VC-2, development began on an open source reference VC-2 encoder. The code is provided in a git repository by the BBC and is available on GitHub. 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.

Desktop playback and encoding Dirac video playback is supported by VLC media player since version 0.9.2 (2008), and by applications using the GStreamer framework. Support has also been added to FFmpeg. Applications which can encode to Dirac include FFmpeg, MediaCoder, LiVES and OggConvert.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Dirac (video compression format)

Start with the simplest possible case. Write down what Dirac (video compression format) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Dirac (video compression format) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Dirac (video compression format) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Dirac (video compression format)

In research
Dirac (video compression format) appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Dirac (video compression format) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Dirac (video compression format) is common in secondary-school and first-year university syllabi. It links to neighbouring topics BBC Research & Development, Free video codecs, Lossless compression algorithms, so understanding it makes those chapters shorter.
In everyday life
Look for Dirac (video compression format) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Dirac (video compression format)” →

How to study Dirac (video compression format) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Dirac (video compression format) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Dirac (video compression format) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Dirac (video compression format) in simple terms?

Dirac (and Dirac Pro, a subset standardised as SMPTE VC-2) is an open and royalty-free video compression format, specification and software video codec developed by BBC Research & Development. Dirac aimed to provide high-quality video compression for Ultra HDTV and competed with existing formats su…

Why does Dirac (video compression format) matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Dirac (video compression format)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Dirac (video compression format).

Tags

  • BBC Research & Development
  • Free video codecs
  • Lossless compression algorithms
  • Open formats
  • SMPTE standards
  • Wavelets

Keep exploring