4k wavelet based lossless video/still camera codec -aka Red+

4k wavelet based lossless video/still camera codec -aka Red+

Postby dmytty » Wed Apr 24, 2013 7:03 pm

The open source Dirac / Schrödinger codec has potential to form the basis for a lossy or lossless video compression and playback. As such it could be something to rival Red Camera's JEPG2000 based lossy codec compression scheme - and even beat it when considering color schemes and possibly compression ratio.

If implemented on Parallella, this codec could be the basis for a 1080p or 4k video camera with lossless quality. This would be a beast of a camera, and if using an existing lens mount such as Pentax/Canon/Nikon, the camera would rival Red Camera.

The 32 bit nature would allow the use of a sensor such as Sigma's Foveon, which captures full RGB color at each pixel - unlike the the Bayer type sensors 'fake it till ya make it' approach. The Foven type sensors not only provides for better color but also eliminates the need for antialiasing lenses which are used to eliminate moire but can also reduce resolution.

If achieved, high frame rate encoding (10+fps) would allow for unique photography techniques that are not offered by any other DSLR.


Wavelet based lossy/lossless encoding

Dirac was developed by the British Broadcasting Corporation (BBC) as a lossless archiving and studio level editing protocol. It is capable of transmitting lossless 1080p signals over legacy 480p equipment (cabling, boards, etc) offering a compression ratio greater than 2:1 in it's infancy. It was also used as a codec to transmit video signals from the 2008 Beijing Olympics to London.

After developing the protocol, the BBC released it to the community. The lead technical developer of Dirac at the BBC (Tim Borer) maintains an interest in furthering Dirac development and has stated in private communications that there is significant potential for further gains in Dirac version 2.

Schroedinger 1.0.11
January 23rd, 2012

A new release of Schrödinger is available. Schrödinger (or “schro” for short) is a cross-platform implementation of the Dirac video compression specification as a C library. Many media frameworks such as GStreamer and ffmpeg and applications such as VLC use schro to encode and decode Dirac video.

Existing Dirac usage

Dirac has been implemented on a Xilinx Virtex-5 FPGA for the BBC as a commercial project

As of July 2011, Dirac Pro studio compression products were being introduced to the market:
HDX-SDI 1485Mbps HD-SDI to 270Mbps SDI Encoder/Decoder using DIRAC PRO by NuMedia

A product such as this could be created:

There is also a university project attempting to create a VHDL implementation for Altera FPGA. Status unknown.

Other projects have proposed to used Dirac as a codec and were/are looking for a device. These people could be great developers for Parallella projects.

This is a list of past(?) video encoding projects that have a cause of death likely due to lack of hardware:


Curious to see how it could be implemented...FPGA + parallel core or just FPGA or just parallel core?

A historical perspective...wavelets vs JPEG and h.263 [circa 2000]
http://research.microsoft.com/apps/pubs ... x?id=68769

Wavelets vs H.264 (DCT)
http://x264dev.multimedia.cx/archives/317 (circa 2010)
Canadian team's wavelet based CRC-WVC codec beats h.264? (circa 2007)
http://www.google.com/url?sa=t&rct=j&q= ... 2I&cad=rja

CRC-WVC codecteams paper (pdf) (2007) (copy and paste this link into a new tab/windows to avoid free registration)

CRC-WVC codec team interview (2012) ... dead link on first?
https://crc.ca/en/html/crc/home/mediazo ... ideo_codec
http://www.ic.gc.ca/eic/site/069.nsf/vw ... 11-eng.pdf

Reference to CRC-WVC codec C Code implementation using gcc (2008)
http://proceedings.spiedigitallibrary.o ... eid=811594

Note: Communication with the lead researcher of CRC indicates that the project has been "terminated". Further inquiries outstanding. No publicly accessible source code or research is available.
Posts: 6
Joined: Mon Apr 22, 2013 8:35 pm

Return to Image and Video Processing

Who is online

Users browsing this forum: No registered users and 2 guests