SlideShare a Scribd company logo
3
Most read
4
Most read
6
Most read
Codecs




   Presented By:
   09BCE035
   Arpan Patel
What is a Codec ?
• Codec stands for enCOder/DECoder or
  COmpressor/DECompressor

• It is a software or hardware that
  compresses and decompresses audio and
  video data streams.
Why do we need codecs?
• The purpose of codecs is to reduce the size of digital audio
  samples and video frames in order to speed up transmission
  and save storage space.

• Because video and music files are large, they become difficult
  to transfer across the Internet quickly. To help speed up
  downloads, mathematical "codecs" were built to encode
  ("shrink") a signal for transmission and then decode it for
  viewing or editing. Without codecs, downloads would take
  three to five times longer than they do now.
Codec Types : Lossy or Lossless?
 • There are two types of codecs : lossy and lossless.

 • As the name implies, the lossy codecs shrink the video file
   dramatically by dropping detail, like creating a JPEG image
   from a RAW photo.
   E.g.: MP3, OGG Vorbis, AAC, WMA, AC3, RealAudio,etc

 • Lossless codecs lose very little information, if any, and the
   resulting files are quite large.
   E.g: Wave, AIFF, FLAC, ALAC
Classification of Codecs:
• Audio Codecs
• Video Codecs
• Text Codecs
Audio Codecs:
• Audio codecs (encoder-decoder) are programs that reduce this
  file size and can be split into two main categories - "lossy" and
  "lossless".

• A "lossy" codec (e.g. MP3, OGG Vorbis, AAC) uses knowledge of
  human hearing to try and discard as much of the original audio
  signal as possible, whilst attempting to make the audio sound
  as close as possible to the original. These codecs typically
  achieve a filesize of 10%-20% of the original.

• A "lossless" codec (e.g. FLAC) performs the same function as
  "winzip" - i.e. it compresses an audio file without discarding any
  of the information. These codecs typically achieve a filesize of
  50%-60% of the original filesize, but the audio playback will be
  bit-for-bit identical to the original file.
Video Codecs:
• Codecs are software that enable your devices (Camera, Editor,
  Player) to perform video encoding and/or decoding (think
  video compression and de-compression). Obviously the Blu-
  ray player needs only to decode a video stream. All these
  Codecs are based on standards (often de-facto company
  standards).

• All video streams are embedded in multimedia (video)
  containers. It is a common misconception that .AVI (Windows)
  and .MOV (Quicktime on Macs) already define what kind of
  video format it is. These containers include information which
  Codec is used in the file. If your system does not have the
  proper Codec installed the video won't play.
About Video Compression:

• Video compression is clearly our friend because without a lot of
  compression we would have a very hard time handling the massive
  data we get from a 1080p video stream.

• Think of two mega pixels per frame at 24, 30 or 60 frames per
  second (translates to 48, 60 or even 120 mega pixels data per
  second). On the flip side, video compression reduces the possible
  image quality we can get.

• Overall video compression is about the trade-off between:
• Data volume
  • Data storage needs
  • Data processing speed (in camera, on computer)
• Image quality
  • Detail
  • Color
Codecs
Image Source: http://www.avnetwork.com/av-technology/0002/understanding-video-codecs/81041
Text Codecs
• A Text Codec is a function that transforms text into (when
  encoding) or out of (when decoding) another kind of
  representation. Usually, the most human-readable
  representation is said to be "decoded".

• "Encoders" will turn the (selected or whole) text into
  something less readable, "Decoders" try to revert those
  effects as good as possible.
• E.g.: ROT-13, Base64, URI Codecs, Unicode Codecs, Case
  Encoders, CMML, BiM
Codecs and Containers
 A container is what we typically associate with
  the file format. Containers "contain" the various
  components of a video: the stream of images,
  the sound, and anything else.

 For example, you could have multiple
  soundtracks and subtitles included in a video
  file, if the container format allows it. Example of
  popular containers are OGG, Matroska, AVI,
  MPEG.

 Codecs are ways of "coding" and "decoding"
  streams. Their job is typically to compress data
  (and decompress it when playing it back) so
  that you can store and transmit files with a
  smaller filesize.
                                                        Image Source:
                                                        http://www.pitivi.org/manual/codecs
                                                        containers.html

More Related Content

PPTX
Video compression
PPT
Video Compression Basics - MPEG2
PDF
Video Compression
PPTX
Audio compression
PPT
Compression
PDF
Gstreamer: an Overview
PDF
Chapter 5 - Data Compression
PPTX
Digital video
Video compression
Video Compression Basics - MPEG2
Video Compression
Audio compression
Compression
Gstreamer: an Overview
Chapter 5 - Data Compression
Digital video

What's hot (20)

PPTX
Audio compression
PPT
Audio Codec
PPTX
Data Compression (Lossy and Lossless)
PPTX
Audio compression
PDF
Multimedia networking
PPT
Chapter 4 : SOUND
PPTX
Wavelet based image compression technique
PPTX
PPTX
Video coding standards ppt
PPTX
Multimedia chapter 4
PPTX
video compression techique
PPTX
Multimedia data and file format
PPTX
Fundamentals of Data compression
PPTX
Multimedia System & Design Ch 1, 2, 3 Multimedia
PPTX
Multimedia system, Architecture & Databases
PPTX
Point processing
PPT
Huffman Coding
PPTX
Security services and mechanisms
PDF
Video compression
PPTX
Digital Audio in Multimedia
Audio compression
Audio Codec
Data Compression (Lossy and Lossless)
Audio compression
Multimedia networking
Chapter 4 : SOUND
Wavelet based image compression technique
Video coding standards ppt
Multimedia chapter 4
video compression techique
Multimedia data and file format
Fundamentals of Data compression
Multimedia System & Design Ch 1, 2, 3 Multimedia
Multimedia system, Architecture & Databases
Point processing
Huffman Coding
Security services and mechanisms
Video compression
Digital Audio in Multimedia
Ad

Similar to Codecs (20)

DOCX
Codecs
ODP
A gentle introduction to video encoding [diveintomark]
PDF
Video formats guide
PPT
Media Encoding
PDF
Encoding Video for the Web - Webinar from ReelSEO.com
ODP
Presentació formats de vídeo [eng]
PPTX
File Formats
PDF
Preserving Audiovisual Materials (LIS 198-Digital Preservation)
PPTX
what_is_a_codec_2010
PPTX
Chapter 2 - MM Data and Compression.pptx
PDF
CHAPTER – 6 Video
DOCX
video-encoder.docx
PPTX
Mm video
PPTX
02.m3 cms sys-req4mediastreaming
PPTX
Chap55
PPT
PPT
Mpeg4copy 120428133000-phpapp01
PPTX
Video Workshop by Frederick Rodrigues
PPTX
penggunaan coding dan kompresi dalam komputer
Codecs
A gentle introduction to video encoding [diveintomark]
Video formats guide
Media Encoding
Encoding Video for the Web - Webinar from ReelSEO.com
Presentació formats de vídeo [eng]
File Formats
Preserving Audiovisual Materials (LIS 198-Digital Preservation)
what_is_a_codec_2010
Chapter 2 - MM Data and Compression.pptx
CHAPTER – 6 Video
video-encoder.docx
Mm video
02.m3 cms sys-req4mediastreaming
Chap55
Mpeg4copy 120428133000-phpapp01
Video Workshop by Frederick Rodrigues
penggunaan coding dan kompresi dalam komputer
Ad

Recently uploaded (20)

PDF
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
PDF
Trump Administration's workforce development strategy
PDF
advance database management system book.pdf
PDF
Paper A Mock Exam 9_ Attempt review.pdf.
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PPTX
History, Philosophy and sociology of education (1).pptx
PDF
Computing-Curriculum for Schools in Ghana
PPTX
Radiologic_Anatomy_of_the_Brachial_plexus [final].pptx
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PPTX
Unit 4 Skeletal System.ppt.pptxopresentatiom
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
A systematic review of self-coping strategies used by university students to ...
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PDF
IGGE1 Understanding the Self1234567891011
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PPTX
Introduction to Building Materials
PPTX
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
Trump Administration's workforce development strategy
advance database management system book.pdf
Paper A Mock Exam 9_ Attempt review.pdf.
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
History, Philosophy and sociology of education (1).pptx
Computing-Curriculum for Schools in Ghana
Radiologic_Anatomy_of_the_Brachial_plexus [final].pptx
Supply Chain Operations Speaking Notes -ICLT Program
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
Unit 4 Skeletal System.ppt.pptxopresentatiom
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
A systematic review of self-coping strategies used by university students to ...
Orientation - ARALprogram of Deped to the Parents.pptx
IGGE1 Understanding the Self1234567891011
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Introduction to Building Materials
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx

Codecs

  • 1. Codecs Presented By: 09BCE035 Arpan Patel
  • 2. What is a Codec ? • Codec stands for enCOder/DECoder or COmpressor/DECompressor • It is a software or hardware that compresses and decompresses audio and video data streams.
  • 3. Why do we need codecs? • The purpose of codecs is to reduce the size of digital audio samples and video frames in order to speed up transmission and save storage space. • Because video and music files are large, they become difficult to transfer across the Internet quickly. To help speed up downloads, mathematical "codecs" were built to encode ("shrink") a signal for transmission and then decode it for viewing or editing. Without codecs, downloads would take three to five times longer than they do now.
  • 4. Codec Types : Lossy or Lossless? • There are two types of codecs : lossy and lossless. • As the name implies, the lossy codecs shrink the video file dramatically by dropping detail, like creating a JPEG image from a RAW photo. E.g.: MP3, OGG Vorbis, AAC, WMA, AC3, RealAudio,etc • Lossless codecs lose very little information, if any, and the resulting files are quite large. E.g: Wave, AIFF, FLAC, ALAC
  • 5. Classification of Codecs: • Audio Codecs • Video Codecs • Text Codecs
  • 6. Audio Codecs: • Audio codecs (encoder-decoder) are programs that reduce this file size and can be split into two main categories - "lossy" and "lossless". • A "lossy" codec (e.g. MP3, OGG Vorbis, AAC) uses knowledge of human hearing to try and discard as much of the original audio signal as possible, whilst attempting to make the audio sound as close as possible to the original. These codecs typically achieve a filesize of 10%-20% of the original. • A "lossless" codec (e.g. FLAC) performs the same function as "winzip" - i.e. it compresses an audio file without discarding any of the information. These codecs typically achieve a filesize of 50%-60% of the original filesize, but the audio playback will be bit-for-bit identical to the original file.
  • 7. Video Codecs: • Codecs are software that enable your devices (Camera, Editor, Player) to perform video encoding and/or decoding (think video compression and de-compression). Obviously the Blu- ray player needs only to decode a video stream. All these Codecs are based on standards (often de-facto company standards). • All video streams are embedded in multimedia (video) containers. It is a common misconception that .AVI (Windows) and .MOV (Quicktime on Macs) already define what kind of video format it is. These containers include information which Codec is used in the file. If your system does not have the proper Codec installed the video won't play.
  • 8. About Video Compression: • Video compression is clearly our friend because without a lot of compression we would have a very hard time handling the massive data we get from a 1080p video stream. • Think of two mega pixels per frame at 24, 30 or 60 frames per second (translates to 48, 60 or even 120 mega pixels data per second). On the flip side, video compression reduces the possible image quality we can get. • Overall video compression is about the trade-off between: • Data volume • Data storage needs • Data processing speed (in camera, on computer) • Image quality • Detail • Color
  • 11. Text Codecs • A Text Codec is a function that transforms text into (when encoding) or out of (when decoding) another kind of representation. Usually, the most human-readable representation is said to be "decoded". • "Encoders" will turn the (selected or whole) text into something less readable, "Decoders" try to revert those effects as good as possible. • E.g.: ROT-13, Base64, URI Codecs, Unicode Codecs, Case Encoders, CMML, BiM
  • 12. Codecs and Containers  A container is what we typically associate with the file format. Containers "contain" the various components of a video: the stream of images, the sound, and anything else.  For example, you could have multiple soundtracks and subtitles included in a video file, if the container format allows it. Example of popular containers are OGG, Matroska, AVI, MPEG.  Codecs are ways of "coding" and "decoding" streams. Their job is typically to compress data (and decompress it when playing it back) so that you can store and transmit files with a smaller filesize. Image Source: http://www.pitivi.org/manual/codecs containers.html