DSS - Compression Audio & Video Test by Andres Burbano MAT 2 - UCSB

Winter 2008 - Course with Professor Stephen Travis Pope - TA Amichi Amar

Darwin Streaming Server - Compression Audio & Video Test. Because Darwin Streaming Server is an open source project supported by the community, I want to contribute doing an analysis of some alternatives of compression in video and audio.The alternatives selected are:

Video compression: H264, MPEG-4, JPG 2000.
Audio compression: MPEG-4 Audio, MACE 6:1, Miu-Law.

The conclusion is simple, there is no only one alternative (H264) for Video Stream using DSS, it depends on the ideas and objectives. So here is some information that can be useful to take a decision, have a look and decide what to do.

Conditions:*Software used to export videos: QuickTime Broadcaster 1.5.2 * The format is Quick Time (.mov).* DSS 5.5.5.

http://developer.apple.com/opensource/server/streaming/index.html

"Who should use Darwin Streaming Server?
While sharing the same code base as QuickTime Streaming Server, Darwin Streaming Server is an open source project intended for developers who need to stream QuickTime and MPEG-4 media on alternative platforms such as Windows, Linux, and Solaris, or those developers who need to extend and/or modify the existing streaming server code to fit their needs. Darwin Streaming Server is only supported by the open source community and is not eligible for technical support from Apple. Apple hosts a number of email discussion lists for Darwin Streaming Server users and developers to share ideas and discuss deployment scenarios."

Application (Idea 1)

* 1 Lectures Web Site DSS.
* 2 Lectures Web Site A Flash.

Compression Infromation

TESTS - Videos


H264
http://en.wikipedia.org/wiki/H.264

"H.264 is a standard for video compression. It is also known as MPEG-4 Part 10, or MPEG-4 AVC (for Advanced Video Coding). It was written by the ITU-T Video Coding Experts Group (VCEG) together with the ISO/IEC Moving Picture Experts Group (MPEG) as the product of a partnership effort known as the Joint Video Team (JVT). The ITU-T H.264 standard and the ISO/IEC MPEG-4 Part 10 standard (formally, ISO/IEC 14496-10) are jointly maintained so that they have identical technical content. The final drafting work on the first version of the standard was completed in May 2003."

MPG-4 Audio http://en.wikipedia.org/wiki/MPEG-4_Structured_Audio

"MPEG-4 Structured Audio is an ISO/IEC standard for describing sound. The sound descriptions generate audio when compiled (or interpreted) by a compliant decoder. MPEG-4 Structured Audio consists of several components, most notably an audio programming language called SAOL. SAOL is historically related to Csound and other so-called Music-N languages. It was created by an MIT Media Lab grad student named Eric Scheirer while he was studying under Barry Vercoe during the 1990s."



TEST 1

320 *240
Video H264 + 15 FPS + quality medium
Audio MPEG-4 22.Khz 16 bits mono Pake 1400 bytes / 100 mscs

http://www.burbane.org/html/dss_01.html

Video Quality [good] [fair] [bad]
* Comment:

Audio Quality [good] [fair] [bad]
* Comment: Noise reduction

Text Quality [good] [fair] [bad]
* Comment: Small text is readable.

Size [2.9 MB]


H264
http://en.wikipedia.org/wiki/H.264

"H.264 is a standard for video compression. It is also known as MPEG-4 Part 10, or MPEG-4 AVC (for Advanced Video Coding). It was written by the ITU-T Video Coding Experts Group (VCEG) together with the ISO/IEC Moving Picture Experts Group (MPEG) as the product of a partnership effort known as the Joint Video Team (JVT). The ITU-T H.264 standard and the ISO/IEC MPEG-4 Part 10 standard (formally, ISO/IEC 14496-10) are jointly maintained so that they have identical technical content. The final drafting work on the first version of the standard was completed in May 2003."

MACE 6:1 http://developer.apple.com/documentation/
QuickTime/INMAC/SOUND/imsoundmgr.9.htm

"MACE also relieves some distribution problems by reducing the number of disks required for shipping an application that relies heavily on sound. MACE has made some kinds of applications, such as talking dictionaries and foreign language-instruction software, more feasible than before.

* Compression. The Sound Manager can compress a buffer of digital audio data either in the original buffer or in a separate buffer. If a segment of audio data is too large to fit into a single buffer, your application can make repeated calls to the compression routine."


TEST 2

320 *240
Video H264 + 15 FPS + quality medium
Audio MACE 6:1 22 Khz 8 bits mono Pake 1438 bytes / 100 mscs

http://www.burbane.org/html/dss_02.html

Video Quality [good] [fair] [bad]
* Comment:

Audio Quality [good] [fair] [bad]
* Comment: Better ambient sound

Text Quality [good] [fair] [bad]
* Comment: Small text is readable.

Size [2.9 MB]


H264
http://en.wikipedia.org/wiki/H.264

"H.264 is a standard for video compression. It is also known as MPEG-4 Part 10, or MPEG-4 AVC (for Advanced Video Coding). It was written by the ITU-T Video Coding Experts Group (VCEG) together with the ISO/IEC Moving Picture Experts Group (MPEG) as the product of a partnership effort known as the Joint Video Team (JVT). The ITU-T H.264 standard and the ISO/IEC MPEG-4 Part 10 standard (formally, ISO/IEC 14496-10) are jointly maintained so that they have identical technical content. The final drafting work on the first version of the standard was completed in May 2003."

Miu-Law compresion http://en.wikipedia.org/wiki/%CE%9Claw_algorithm

"µ-law algorithm (pronounced mu-law) is a companding algorithm, primarily used in the digital telecommunication systems of North America and Japan . As with other companding algorithms, its purpose is to reduce the dynamic range of an audio signal. In the analog domain, this can increase the signal-to-noise ratio (SNR) achieved during transmission, and in the digital domain, it can reduce the quantization error (hence increasing signal to quantization noise ratio). These SNR increases can be traded instead for reduced bandwidth for equivalent SNR."




TEST 3

320 *240
Video H264 + 15 FPS + quality medium
Audio MiuLaw 2:1 22.Khz 16 bits mono Pake 1438 bytes / 100 mscs

http://www.burbane.org/html/dss_03.html

Video Quality [good] [fair] [bad]
* Comment:

Audio Quality [good] [fair] [bad]
* Comment:

Text Quality [good] [fair] [bad]
* Comment: Small text is readable.

Size [3.7 MB]


JPG 2000
http://en.wikipedia.org/wiki/JPG_2000

"JPEG 2000 is a wavelet-based image compression standard. It was created by the Joint Photographic Experts Group committee in the year 2000 with the intention of superseding their original discrete cosine transform-based JPEG standard (created about 1991). The standardized filename extension is .jp2 for ISO/IEC 15444-1 conforming files and .jpx for the extended part-2 specifications, published as ISO/IEC 15444-2, while the MIME type is image/jp2."

MPG-4 Audio http://en.wikipedia.org/wiki/MPEG-4_Structured_Audio

"MPEG-4 Structured Audio is an ISO/IEC standard for describing sound. The sound descriptions generate audio when compiled (or interpreted) by a compliant decoder. MPEG-4 Structured Audio consists of several components, most notably an audio programming language called SAOL. SAOL is historically related to Csound and other so-called Music-N languages. It was created by an MIT Media Lab grad student named Eric Scheirer while he was studying under Barry Vercoe during the 1990s."


TEST 4

320 *240
Video JPEG 2000 + 15 FPS + quality medium
Audio MPEG-4 22.Khz 16 bits mono Pake 1400 bytes / 100 mscs

http://www.burbane.org/html/dss_04.html

Video Quality [good] [fair] [bad]
* Comment: Problems with continuity.

Audio Quality [good] [fair] [bad]
* Comment: Noise reduction

Text Quality [good] [fair] [bad]
* Comment:

Size [9.5 MB]


JPG 2000
http://en.wikipedia.org/wiki/JPG_2000

"JPEG 2000 is a wavelet-based image compression standard. It was created by the Joint Photographic Experts Group committee in the year 2000 with the intention of superseding their original discrete cosine transform-based JPEG standard (created about 1991). The standardized filename extension is .jp2 for ISO/IEC 15444-1 conforming files and .jpx for the extended part-2 specifications, published as ISO/IEC 15444-2, while the MIME type is image/jp2."

MACE 6:1http://developer.apple.com/documentation/
QuickTime/INMAC/SOUND/imsoundmgr.9.htm

"MACE also relieves some distribution problems by reducing the number of disks required for shipping an application that relies heavily on sound. MACE has made some kinds of applications, such as talking dictionaries and foreign language-instruction software, more feasible than before.

* Compression. The Sound Manager can compress a buffer of digital audio data either in the original buffer or in a separate buffer. If a segment of audio data is too large to fit into a single buffer, your application can make repeated calls to the compression routine."

 


TEST 5

320 *240
Video JPEG 2000 + 15 FPS + quality medium
Audio MACE 6:1 22 Khz 8 bits mono Pake 1438 bytes / 100 mscs

http://www.burbane.org/html/dss_05.html

Video Quality [good] [fair] [bad]
* Comment: Problems with continuity

Audio Quality [good] [fair] [bad]
* Comment: Better ambient sound

Text Quality [good] [fair] [bad]
* Comment:

Size [9.5 MB]


JPG 2000
http://en.wikipedia.org/wiki/JPG_2000

"JPEG 2000 is a wavelet-based image compression standard. It was created by the Joint Photographic Experts Group committee in the year 2000 with the intention of superseding their original discrete cosine transform-based JPEG standard (created about 1991). The standardized filename extension is .jp2 for ISO/IEC 15444-1 conforming files and .jpx for the extended part-2 specifications, published as ISO/IEC 15444-2, while the MIME type is image/jp2."

Miu-Law compresion http://en.wikipedia.org/wiki/%CE%9Claw_algorithm

"µ-law algorithm (pronounced mu-law) is a companding algorithm, primarily used in the digital telecommunication systems of North America and Japan . As with other companding algorithms, its purpose is to reduce the dynamic range of an audio signal. In the analog domain, this can increase the signal-to-noise ratio (SNR) achieved during transmission, and in the digital domain, it can reduce the quantization error (hence increasing signal to quantization noise ratio). These SNR increases can be traded instead for reduced bandwidth for equivalent SNR."



TEST 6

320 *240
Video JPEG 2000 + 15 FPS + quality medium
Audio MiuLaw 2:1 22.Khz 16 bits mono Pake 1438 bytes / 100 mscs

http://www.burbane.org/html/dss_06.html

Video Quality [good] [fair] [bad]
* Comment: Problems with continuity

Audio Quality [good] [fair] [bad]
* Comment:

Text Quality [good] [fair] [bad]
* Comment:

Size [10.3 MB]


MPEG-4 Video
http://en.wikipedia.org/wiki/MPEG-4

"MPEG-4 is a collection of methods defining compression of audio and visual (AV) digital data. It was introduced in late 1998 and designated a standard for a group of audio and video coding formats and related technology agreed upon by the ISO/IEC Moving Picture Experts Group (MPEG) under the formal standard ISO/IEC 14496. Uses of MPEG-4 include compression of AV data for web (streaming media) and CD distribution, voice (telephone, videophone) and broadcast television applications."

MPG-4 Audio http://en.wikipedia.org/wiki/MPEG-4_Structured_Audio

"MPEG-4 Structured Audio is an ISO/IEC standard for describing sound. The sound descriptions generate audio when compiled (or interpreted) by a compliant decoder. MPEG-4 Structured Audio consists of several components, most notably an audio programming language called SAOL. SAOL is historically related to Csound and other so-called Music-N languages. It was created by an MIT Media Lab grad student named Eric Scheirer while he was studying under Barry Vercoe during the 1990s."


TEST 7

320 *240
Video MPG4 + 15 FPS + quality medium
Audio MPEG-4 22.Khz 16 bits mono Pake 1400 bytes / 100 mscs

http://www.burbane.org/html/dss_07.html

Video Quality [good] [fair] [bad]
* Comment: Evident artifact squares

Audio Quality [good] [fair] [bad]
* Comment: Noise reduction

Text Quality [good] [fair] [bad]
* Comment:

Size [2.1 MB]


MPEG-4 Video
http://en.wikipedia.org/wiki/MPEG-4

"MPEG-4 is a collection of methods defining compression of audio and visual (AV) digital data. It was introduced in late 1998 and designated a standard for a group of audio and video coding formats and related technology agreed upon by the ISO/IEC Moving Picture Experts Group (MPEG) under the formal standard ISO/IEC 14496. Uses of MPEG-4 include compression of AV data for web (streaming media) and CD distribution, voice (telephone, videophone) and broadcast television applications."

MACE 6:1http://developer.apple.com/documentation/
QuickTime/INMAC/SOUND/imsoundmgr.9.htm

"MACE also relieves some distribution problems by reducing the number of disks required for shipping an application that relies heavily on sound. MACE has made some kinds of applications, such as talking dictionaries and foreign language-instruction software, more feasible than before.

* Compression. The Sound Manager can compress a buffer of digital audio data either in the original buffer or in a separate buffer. If a segment of audio data is too large to fit into a single buffer, your application can make repeated calls to the compression routine."


TEST 8

320 *240
Video MPG4 + 15 FPS + quality medium
Audio MACE 6:1 22 Khz 8 bits mono Pake 1438 bytes / 100 mscs

http://www.burbane.org/html/dss_08.html

Video Quality [good] [fair] [bad]
* Comment: Evident artifact squares

Audio Quality [good] [fair] [bad]
* Comment: Better ambient sound

Text Quality [good] [fair] [bad]
* Comment:

Size [2.0 MB]


MPEG-4 Video
http://en.wikipedia.org/wiki/MPEG-4

"MPEG-4 is a collection of methods defining compression of audio and visual (AV) digital data. It was introduced in late 1998 and designated a standard for a group of audio and video coding formats and related technology agreed upon by the ISO/IEC Moving Picture Experts Group (MPEG) under the formal standard ISO/IEC 14496. Uses of MPEG-4 include compression of AV data for web (streaming media) and CD distribution, voice (telephone, videophone) and broadcast television applications."

Miu-Law compresion http://en.wikipedia.org/wiki/%CE%9Claw_algorithm

"µ-law algorithm (pronounced mu-law) is a companding algorithm, primarily used in the digital telecommunication systems of North America and Japan . As with other companding algorithms, its purpose is to reduce the dynamic range of an audio signal. In the analog domain, this can increase the signal-to-noise ratio (SNR) achieved during transmission, and in the digital domain, it can reduce the quantization error (hence increasing signal to quantization noise ratio). These SNR increases can be traded instead for reduced bandwidth for equivalent SNR."


TEST 9

320 *240
Video MPG4 + 15 FPS + quality medium
Audio MiuLaw 2:1 22.Khz 16 bits mono Pake 1438 bytes / 100 mscs

http://www.burbane.org/html/dss_09.html

Video Quality [good] [fair] [bad]
* Comment: Evident artifact squares

Audio Quality [good] [fair] [bad]
* Comment:

Text Quality [good] [fair] [bad]
* Comment:

Size [2.9 MB]

 

References and Sources
+ Darwing Streamig Server + Wikipedia Streaming +

Thanks to:
(S T Pope).

Contact

aburbano@umail.ucsb.edu
http://burbane.org