Accessing Music and Video

From CompSciWiki
Revision as of 22:24, 6 December 2009 by KevinQ (Talk | contribs)

Jump to: navigation, search

COMP1260 > Using the Internet



Introduction

 

...by students

HI!
This is some text!

Codec

A codec is a device or computer program capable of encoding and/or decoding a digital data stream or signal[1]. Codecs are used to encode a data stream or signal for storage, or decoding them for playback and editing. Codecs are a key component of audio and video playback, creation and distribution. In general raw audio and video is far too large for distribution and storage, for instance we need 118 Gb (or about 26 single layer DVDs) to store a raw video 90 minutes in length at VHS quality[2]. To remedy this we use codecs to compress (encode) the data before it is stored or distributed. As a consequence any user who wishes to playback the media must have the same codec to uncompress (decode) the data.

Codec Types

There are two types of codecs:

  • Lossy Codecs: Lossy codecs achieve compression by reducing the quality of the media by some amount, but employ some alogrithm to give the impression of the data being there. Some examples of popular lossy codecs include: Mp3, Wma, and Mp4.
  • Lossless Codecs: Lossless codecs achieve compression while retaining all information present in the original media. Lossless codecs are generally prefered if the media is going to be put through further processing (ie editing), in which case the constant reprocessing on lossy codecs would cause the media to degrade in quality at each step. Some examples of popular lossless codecs include: FLAC, APE, and FFMPEG



Digital Audio

Digital Audio uses digital signals (binary) for reproducing sounds. As such, it is the representation used by modern computers to playback, record, and edit audio.

Audio Playback

Digital Video

Video Playback

Acquiring Media

One Type of Early Punch Cards


Further Readings

History of Operating Systems on Wikipedia: http://en.wikipedia.org/wiki/History_of_operating_systems
Computer History Timeline: http://www.computerhistory.org/timeline/?category=sl
Operating System Timeline: http://trillian.randomstuff.org.uk/~stephen/history/timeline-OS.html
Detailed Timeline of Non-UNIX Operating Systems: http://www.oshistory.net/metadot/index.pl?id=2165;isa=Category;op=show
Screenshots of Major Operating Systems: http://www.guidebookgallery.org/guis

References

  1. http://en.wikipedia.org/wiki/Codec
  2. http://www.fastvideoindexer.com/articles/VideoSizes/VideoSize.htm

Previous Page: Roles of the Operating System

Next Page: Protecting your Computer