SlideShare ist ein Scribd-Unternehmen logo
1 von 12
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
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

Weitere ähnliche Inhalte

Was ist angesagt?

video compression techique
video compression techiquevideo compression techique
video compression techique
Ashish Kumar
 

Was ist angesagt? (20)

Multimedia compression
Multimedia compressionMultimedia compression
Multimedia compression
 
Data compression
Data  compressionData  compression
Data compression
 
Video compression
Video compressionVideo compression
Video compression
 
Compression: Video Compression (MPEG and others)
Compression: Video Compression (MPEG and others)Compression: Video Compression (MPEG and others)
Compression: Video Compression (MPEG and others)
 
MPEG-1 Part 2 Video Encoding
MPEG-1 Part 2 Video EncodingMPEG-1 Part 2 Video Encoding
MPEG-1 Part 2 Video Encoding
 
Mpeg 2
Mpeg 2Mpeg 2
Mpeg 2
 
Video signal-ppt
Video signal-pptVideo signal-ppt
Video signal-ppt
 
MPEG video compression standard
MPEG video compression standardMPEG video compression standard
MPEG video compression standard
 
Fundamentals of Data compression
Fundamentals of Data compressionFundamentals of Data compression
Fundamentals of Data compression
 
Chapter 5 - Data Compression
Chapter 5 - Data CompressionChapter 5 - Data Compression
Chapter 5 - Data Compression
 
Audio compression
Audio compressionAudio compression
Audio compression
 
A short history of video coding
A short history of video codingA short history of video coding
A short history of video coding
 
simple video compression
simple video compression simple video compression
simple video compression
 
video compression techique
video compression techiquevideo compression techique
video compression techique
 
Analog Video
Analog Video Analog Video
Analog Video
 
Video Compression Standards - History & Introduction
Video Compression Standards - History & IntroductionVideo Compression Standards - History & Introduction
Video Compression Standards - History & Introduction
 
Data Compression (Lossy and Lossless)
Data Compression (Lossy and Lossless)Data Compression (Lossy and Lossless)
Data Compression (Lossy and Lossless)
 
Image compression
Image compression Image compression
Image compression
 
Video Compression Basics
Video Compression BasicsVideo Compression Basics
Video Compression Basics
 
H.264 vs HEVC
H.264 vs HEVCH.264 vs HEVC
H.264 vs HEVC
 

Ähnlich wie Codecs

what_is_a_codec_2010
what_is_a_codec_2010what_is_a_codec_2010
what_is_a_codec_2010
Justin Giles
 
Beginning html5 media, 2nd edition
Beginning html5 media, 2nd editionBeginning html5 media, 2nd edition
Beginning html5 media, 2nd edition
ser
 
Video Workshop by Frederick Rodrigues
Video Workshop by Frederick RodriguesVideo Workshop by Frederick Rodrigues
Video Workshop by Frederick Rodrigues
Dan MacKinlay
 
Sound recording glossary
Sound recording glossarySound recording glossary
Sound recording glossary
amybrockbank
 
Adam Crittenden Sound Glossary Original
Adam Crittenden Sound Glossary OriginalAdam Crittenden Sound Glossary Original
Adam Crittenden Sound Glossary Original
Adam Crittenden
 

Ähnlich wie Codecs (20)

what_is_a_codec_2010
what_is_a_codec_2010what_is_a_codec_2010
what_is_a_codec_2010
 
Video Compression
Video CompressionVideo Compression
Video Compression
 
Media Encoding
Media Encoding Media Encoding
Media Encoding
 
Video Transcoding Terms Explained
Video Transcoding Terms Explained Video Transcoding Terms Explained
Video Transcoding Terms Explained
 
Beginning html5 media, 2nd edition
Beginning html5 media, 2nd editionBeginning html5 media, 2nd edition
Beginning html5 media, 2nd edition
 
Video formats
Video formatsVideo formats
Video formats
 
Slide
SlideSlide
Slide
 
Performance Analysis of Various Video Compression Techniques
Performance Analysis of Various Video Compression TechniquesPerformance Analysis of Various Video Compression Techniques
Performance Analysis of Various Video Compression Techniques
 
IG2 Task 1 Work Sheet Elliot
IG2 Task 1 Work Sheet ElliotIG2 Task 1 Work Sheet Elliot
IG2 Task 1 Work Sheet Elliot
 
Video Workshop by Frederick Rodrigues
Video Workshop by Frederick RodriguesVideo Workshop by Frederick Rodrigues
Video Workshop by Frederick Rodrigues
 
Preserving Audiovisual Materials (LIS 198-Digital Preservation)
Preserving Audiovisual Materials (LIS 198-Digital Preservation)Preserving Audiovisual Materials (LIS 198-Digital Preservation)
Preserving Audiovisual Materials (LIS 198-Digital Preservation)
 
IG2 Task 1 Work Sheet Elliot
IG2 Task 1 Work Sheet ElliotIG2 Task 1 Work Sheet Elliot
IG2 Task 1 Work Sheet Elliot
 
Thingy oldd
Thingy olddThingy oldd
Thingy oldd
 
Chap62
Chap62Chap62
Chap62
 
Sound recording glossary
Sound recording glossarySound recording glossary
Sound recording glossary
 
Multimedia revision 2017
Multimedia revision 2017Multimedia revision 2017
Multimedia revision 2017
 
CHAPTER – 6 Video
CHAPTER – 6    VideoCHAPTER – 6    Video
CHAPTER – 6 Video
 
Adam Crittenden Sound Glossary Original
Adam Crittenden Sound Glossary OriginalAdam Crittenden Sound Glossary Original
Adam Crittenden Sound Glossary Original
 
audio-codec.docx
audio-codec.docxaudio-codec.docx
audio-codec.docx
 
MARTINEZ KROMER RAWCooked
MARTINEZ KROMER RAWCookedMARTINEZ KROMER RAWCooked
MARTINEZ KROMER RAWCooked
 

Kürzlich hochgeladen

Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
MateoGardella
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
MateoGardella
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 

Kürzlich hochgeladen (20)

Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.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
  • 9.
  • 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