Dirac (video compression format)

Short description: Video compression format

DiracFilename extension| `drc`

|

Developed by| BBC Research & Development
Initial release| 6 March 2008; 18 years ago (2008-03-06)[1]
Latest release|

2.2.3[2]
(23 September 2008; 17 years ago (2008-09-23))

Type of format| Video coding format
Contained by|

* MPEG-TS
* Ogg
* Matroska
* MOV
* ISO/MPEG-4

Extended to| VC-2
Standard|

* SMPTE 2042-1-2022
* SMPTE 2042-2-2017 (Level Definitions)

Open format?| Yes[3]

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.[4][5][6] Dirac aimed to provide high-quality video compression for Ultra HDTV and competed with existing formats such as H.264.[3]

The specification was finalised in January 2008, and further developments were only bug fixes and constraints.[2] 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.[7][4][8] Version 2.2.3 of the full Dirac specification, including motion compensation and inter-frame coding, was issued a few days later.[2] Dirac Pro was used internally by the BBC to transmit HDTV pictures at the Beijing Olympics in 2008.[9][10]

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.

## Contents

* 1 Technology
* 1.1 Patents
* 2 VC-2
* 3 Software implementations
* 3.1 Desktop playback and encoding
* 4 Performance
* 5 References
* 6 External links

## 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.[11]

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

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

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.[13][14]

### 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.[5]

## VC-2

Dirac Pro, an I-frame only subset of the Dirac specification, was proposed to the SMPTE for standardisation.[4][15] Dirac Pro is designed for professional and studio use of high definition video in high bitrate applications.[6] In 2010, the SMPTE standardised Dirac Pro as VC-2.[8][16]

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:[17][18]

* 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

SchrödingerDeveloper(s)| David Schleef

|

Stable release|

1.0.11 / 23 January 2012; 14 years ago (2012-01-23)

Type| Video codec
License|

* MPL 1.1
* GNU GPL 2
* GNU LGPL 2
* MIT License

Website| sourceforge.net/projects/dirac

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

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

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".[20] 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.[21]

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

### 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.[23]

## Performance

The algorithms in the original Dirac specification were intended to provide compression performance comparable to mainstream video compression standards of the time. A 2009 comparison of the Dirac and H.264 codecs, which used implementations from the second quarter of 2008, showed x264 scoring slightly higher than Dirac.[24] Another 2009 comparison found similar results for standard definition content, but did not compare high definition (HD) video content.[25] These studies show that Dirac compression performance is close to that of MPEG-4 Part 2 Advanced Simple Profile (ASP, popularised as DivX). While also approaching low complexity H.264 encodes, a High Profile H.264 encoded video will have better compression for the same perceived quality.

Since 2010, royalty-free, open source video codecs such as VP8, VP9, and AV1 have been developed with better compression performance and more widespread adoption, including dominant streaming services such as YouTube and Netflix.[26][27]

## References

1. ↑ "Worlds first high performance Dirac video codec implementation available". Schrödinger project (Press release). SourceForge. 6 March 2008. Archived from the original on 14 December 2021. Retrieved 14 December 2021.
2. ↑ 2.0 2.1 2.2 2.3 "Dirac Specification, Version 2.2.3". diracvideo.org. BBC Research & Development. 23 September 2008. http://diracvideo.org/download/specification/dirac-spec-latest.pdf.
3. ↑ 3.0 3.1 Davies, T.J.; Borer, Tim; Suraparaju, A. (September 2005). "White Paper 124: Dirac video compression". BBC Research & Development. BBC. https://www.bbc.co.uk/rd/publications/whitepaper124.
4. ↑ 4.0 4.1 4.2 Borer, Tim (November 2007). "White Paper 159: Open Technology video compression for production and post production". BBC Research & Development. BBC. https://www.bbc.co.uk/rd/publications/whitepaper159.
5. ↑ 5.0 5.1 "Frequently Asked Questions". diracvideo.org. BBC Research & Development. http://diracvideo.org/wiki/index.php/FAQ.
6. ↑ 6.0 6.1 "Project: VC-2". BBC Research & Development. BBC. January 2009. https://www.bbc.co.uk/rd/projects/vc-2.
7. ↑ 7.0 7.1 Edge, Jake (17 September 2008). "Dirac 1.0.0 released.". https://lwn.net/Articles/298755/.
8. ↑ 8.0 8.1 "SMPTE Standard: 2042-1:2022, VC-2 Video Compression". Society of Motion Picture and Television Engineers. 2022. https://pub.smpte.org/pub/st2042-1/.
9. ↑ "Dirac Pro to bolster BBC HD links". Broadcast Magazine. East Midland Allied Press. 16 July 2008. https://www.broadcastnow.co.uk/dirac-pro-to-bolster-bbc-hd-links/1732462.article.
10. ↑ Yoshida, Junko (15 September 2008). "And now, Dirac from the Olympics, a new free codec!". EE Times (UBM Tech). https://www.eetimes.com/and-now-dirac-from-the-olympics-a-new-free-codec/.
11. ↑ "Dirac Overview". BBC Research & Development. http://www.bbc.co.uk/rd/projects/dirac/overview.shtml.
12. ↑ Davies, Thomas (6 February 2008). "Dirac: Wavelet transform". http://dirac.sourceforge.net/documentation/algorithm/algorithm/wlt_transform.xht.
13. ↑ "Codecs". MP4 Registration Authority. International Standards Organisation. https://mp4ra.org/#/codecs.
14. ↑ "List of Registered MPEG TS Identifiers". SMPTE Registration Authority. Society of Motion Picture and Television Engineers. https://smpte-ra.org/registered-mpeg-ts-ids.
15. ↑ "Advancements in Compression and Transcoding 2008 and Beyond – Supporting the March to 8K with Dirac and Dirac Pro (SMPTE VC2): The Dirac Family". SMPTE Technical Conference. IEEE. 2008. https://ieeexplore.ieee.org/xpl/conhome/7269233/proceeding. Retrieved 18 December 2023.
16. ↑ "Schroedinger-1.0.9 Released, Other news – SMPTE VC-2". diracvideo.org. BBC Research & Development. 4 March 2010. http://diracvideo.org/2010/03/schroedinger-1-0-9-released/.
17. ↑ "SMPTE 2042 family of documents (VC-2)". SMPTE Document Library. Society of Motion Picture and Television Engineers. https://pub.smpte.org/doc/2042/.
18. ↑ "SMPTE 2047 family of documents (VC-2)". SMPTE Document Library. Society of Motion Picture and Television Engineers. https://pub.smpte.org/doc/2047/.
19. ↑ "Schroedinger 1.0.0 released". LWN.net. Eklektix. 27 February 2008. https://lwn.net/Articles/271058/.
20. ↑ "Schrödinger-1.0.9 Released". diracvideo.org. BBC Research & Development. 4 March 2010. http://diracvideo.org/2010/03/schroedinger-1-0-9-released/.
21. ↑ "VC-2 Reference Encoder and Decoder". BBC. https://github.com/bbc/vc2-reference.
22. ↑ Heathcote, Jonathan (7 April 2021). "VC-2 Video coding: Getting it right". BBC Reaearch & Development. BBC. https://www.bbc.co.uk/rd/blog/2021-04-vc-2-video-coding-testing-tools.
23. ↑ "Wiki: Dirac Compatibility Matrix". diracvideo.org. BBC Research & Development. http://diracvideo.org/wiki/index.php/Dirac_Compatibility_Matrix.
24. ↑ Halbach, Till (March 2009). "A performance assessment of the royalty-free and open video compression specifications Dirac, Dirac Pro, and Theora and their open-source implementations". http://etill.net/projects/dirac_theora_evaluation/.
25. ↑ Ravi, Aruna; Rao, K. R. (July 2011). "Performance Analysis and Comparison of the Dirac Video Codec with H.264/MPEG-4 Part 10 AVC". International Journal of Wavelets, Multiresolution and Information Processing 9 (4): 635–654. doi:10.1142/S0219691311004341. https://www.worldscientific.com/doi/abs/10.1142/S0219691311004341. Retrieved 18 December 2023.
26. ↑ Shankland, Stephen (28 December 2012). "Google's new VP9 video technology reaches public view". CNET. https://www.cnet.com/tech/services-and-software/googles-new-vp9-video-technology-reaches-public-view/.
27. ↑ Peters, Jay (11 November 2021). "You can see Netflix's new AV1 streaming tech on select TVs and the PS4 Pro". The Verge. Vox Media. https://www.theverge.com/2021/11/10/22775150/netflix-av1-codec-tv-streaming-ps4-pro.

## External links

* A film clip where David Schleef talks about Dirac is available at the Internet Archive
* BBC Research & Development page on VC-2

* v
* t
* e

Multimedia compression and container formats

Video
compression|

| ISO, IEC, MPEG|

* MJPEG
* Motion JPEG 2000
* MPEG-1
* MPEG-2
* Part 2
* MPEG-4
* Part 2 / ASP
* Part 10 / AVC
* MPEG-H
* Part 2 / HEVC
* MPEG-I
* Part 3 / VVC

|

ITU-T, VCEG|

* H.120
* DCT
* H.261
* H.262
* H.263
* H.264 / AVC
* H.265 / HEVC
* H.266 / VVC
* DV

SMPTE|

* VC-1
* VC-2
* VC-3
* VC-5

TrueMotion|

* TrueMotion S
* DCT
* VP3
* VP6
* VP7
* VP8
* VP9
* AV1

Others|

* Apple Video
* AVS
* Bink
* Cinepak
* Daala
* DVI
* EVC
* FFV1
* Huffyuv
* Indeo
* Lagarith
* Microsoft Video 1
* MSU Lossless
* OMS Video
* Pixlet
* ProRes 422
* ProRes 4444
* QuickTime
* Animation
* Graphics
* RealVideo
* RTVideo
* SheerVideo
* Smacker
* Sorenson Video/Spark
* Theora
* Thor
* WMV
* XEB
* YULS

Audio
compression|

| ISO, IEC, MPEG|

* MPEG-1 Layer II
* Multichannel
* MPEG-1 Layer I
* MPEG-1 Layer III (MP3)
* AAC
* HE-AAC
* AAC-LD
* MPEG Surround
* MPEG-4 ALS
* MPEG-4 SLS
* MPEG-4 DST
* MPEG-4 HVXC
* MPEG-4 CELP
* MPEG-D USAC
* MPEG-H 3D Audio

|

ITU-T|

* G.711
* A-law
* µ-law
* G.718
* G.719
* G.722
* G.722.1
* G.722.2
* G.723
* G.723.1
* G.726
* G.728
* G.729
* G.729.1

IETF|

* Opus
* iLBC
* Speex
* Vorbis

3GPP|

* AMR
* AMR-WB
* AMR-WB+
* EVRC
* EVRC-B
* EVS
* GSM-HR
* GSM-FR
* GSM-EFR

ETSI|

* AC-3
* AC-4
* DTS

Others|

* ACELP
* ALAC
* Asao
* ATRAC
* AVS
* CELT
* Codec 2
* DRA
* FLAC
* iSAC
* Monkey's Audio
* TTA
* True Audio
* MT9
* Musepack
* OptimFROG
* OSQ
* QCELP
* RCELP
* RealAudio
* RTAudio
* SD2
* SHN
* SILK
* Siren
* SMV
* SVOPC
* TwinVQ
* VMR-WB
* VSELP
* WavPack
* WMA
* MQA
* aptX
* aptX HD
* aptX Low Latency
* aptX Adaptive
* LDAC
* LHDC
* LLAC

Image
compression|

| IEC, ISO,
IETF, W3C,
ITU-T, JPEG|

* CCITT Group 4
* DCT
* HEIF
* HEVC
* JPEG
* JPEG XR
* JPEG XT
* TIFF/EP
* Arithmetic
* JBIG
* JBIG2
* JPEG-LS
* JPEG 2000
* LZ
* GIF
* PNG
* TIFF
* TIFF/IT

|

Others|

* APNG
* BPG
* DjVu
* EXR
* FLIF
* ICER
* MNG
* PGF
* QTVR
* WBMP
* WebP

Containers|

| ISO, IEC|

* MPEG-ES
* MPEG-PES
* MPEG-PS
* MPEG-TS
* ISO base media file format
* MPEG-4 Part 14 (MP4)
* Motion JPEG 2000
* MPEG-21 Part 9
* MPEG media transport

|

ITU-T|

* H.222.0
* T.802

IETF|

* RTP
* Ogg

SMPTE|

* GXF
* MXF

Others|

* 3GP and 3G2
* AMV
* ASF
* AIFF
* AVI
* AU
* BPG
* Bink
* Smacker
* BMP
* DivX Media Format
* EVO
* Flash Video
* IFF
* M2TS
* Matroska
* WebM
* QuickTime File Format
* RatDVD
* RealMedia
* RIFF
* WAV
* MOD and TOD
* VOB, IFO and BUP

Collaborations|

* NETVC
* MPEG LA
* HEVC Advance

Methods|

* Discrete cosine transform
* DCT
* MDCT
* Entropy
* Arithmetic
* Huffman
* Modified
* FFT
* LPC
* ACELP
* CELP
* LSP
* WLPC
* Lossless
* Lossy
* LZ
* DEFLATE
* LZW
* PCM
* A-law
* µ-law
* ADPCM
* DPCM
* Transform
* Wavelet
* Daubechies
* DWT
* Transform

Lists|

* Comparison of audio coding formats
* Comparison of video codecs
* List of codecs

See Compression methods for techniques and Compression software for codecs

* v
* t
* e

Data compression software

Archivers with
compression
(comparison)|

| Free software|

* 7-Zip
* Archive Manager
* Ark
* Expander
* FreeArc
* Info-ZIP
* KGB Archiver
* PAQ
* PeaZip
* tar
* XAD (decompression only)
* Xarchiver
* Zipeg
* ZPAQ

|

Freeware|

* Filzip
* LHA
* StuffIt Expander (decompression only)
* The Unarchiver (decompression only)
* TUGZip
* ZipGenius

Commercial|

* ARC
* ALZip
* Archive Utility
* ARJ
* BetterZip
* JAR
* MacBinary
* PKZIP/SecureZIP
* PowerArchiver
* StuffIt
* WinAce
* WinRAR
* WinZip

Non-archiving
compressors|

| Generic|

* bzip2
* compress
* gzip
* lzip
* lzop
* pack
* rzip
* Snappy
* XZ Utils

|

For code|

UPX

Audio
compression
(comparison)|

| Lossy|

* Fraunhofer FDK AAC
* Nero AAC Codec
* Freeware Advanced Audio Coder (FAAC)
* Helix DNA Producer
* l3enc
* LAME
* TooLAME
* libavcodec
* libcelt
* libopus
* libspeex
* Musepack
* libvorbis
* Windows Media Encoder

|

Lossless|

* ALAC
* FLAC
* libavcodec
* Monkey's Audio
* mp4als
* OptimFROG
* Shorten
* TTA (True Audio)
* WavPack

Video
compression
(comparison)|

| Lossy|

| MPEG-4 ASP|

* 3ivx
* DivX
* Nero Digital
* FFmpeg
* HDX4
* Xvid

|

H.264 /
MPEG-4 AVC|

* CoreAVC
* Blu-code
* DivX
* FFmpeg
* Nero Digital
* OpenH264
* QuickTime
* x264

HEVC|

* DivX
* x265

Others|

* CineForm
* Cinepak
* Daala
* DNxHD
* Helix DNA Producer
* Indeo
* libavcodec
* Schrödinger (Dirac)
* SBC
* Sorenson
* VP7
* libtheora
* libvpx
* Windows Media Encoder

Lossless|

* FFV1
* Huffyuv
* Lagarith
* MSU Lossless
* YULS

* See also: compression methods and compression formats

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Dirac (video compression format). Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Software:Dirac_(video_compression_format)&oldid=718522"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template