Docsity

Basic Compression Techniques, Study notes of Technology

Toggle sidebar
bg1
MODULE : 2
1. What is mean by compression and CODEC? Why
compression needed ? Ouline the significance of CODECin
terms of multimedia system .
Ans: Compression :
Compression is the process of reducing the size of audio,
video, or image files by removing unnecessary or redundant
data so that they take less storage space and transmit
faster.
CODEC :
CODEC stands for Coder–Decoder (or Compressor–
Decompressor).
It is a software or hardware tool that compresses data for
storage/transmission and decompresses it for playback.
Example: MP3, MP4
Compression is Needed :
a. Saves storage space
b. Reduces transmission time
c. Uses less bandwidth
d. Enables smooth streaming of multimedia
Significance of CODEC in Multimedia Syst em :
a. Makes large audio/video files smaller
b. Ensures proper encoding and decoding of media
c. Improves streaming quality
d. Supports compatibility between devices and media
players
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Basic Compression Techniques and more Study notes Technology in PDF only on Docsity!

MODULE : 2

  1. What is mean by compression and CODEC? Why compression needed? Ouline the significance of CODEC in terms of multimedia system . Ans: Compression : Compression is the process of reducing the size of audio, video, or image files by removing unnecessary or redundant data so that they take less storage space and transmit faster. CODEC : CODEC stands for Coder–Decoder (or Compressor– Decompressor). It is a software or hardware tool that compresses data for storage/transmission and decompresses it for playback. Example: MP3, MP4 Compression is Needed : a. Saves storage space b. Reduces transmission time c. Uses less bandwidth d. Enables smooth streaming of multimedia Significance of CODEC in Multimedia System : a. Makes large audio/video files smaller b. Ensures proper encoding and decoding of media c. Improves streaming quality d. Supports compatibility between devices and media players

2.What do you mean by lossy and lossless compression techniques ? Ans: Lossy Compression : Lossy compression reduces file size by permanently removing some unnecessary data. The original file cannot be completely restored. Example: JPEG, MP3 Lossless Compression : Lossless compression reduces file size without losing any data. The original file can be perfectly restored after decompression. Example: PNG 3.Discuss the pros and cons of both of the techniques . Ans: 1. Lossy Compression : Pros: a. Greatly reduces file size b. Saves storage space c. Faster transmission and streaming Cons: a. Some data is permanently lost b. Quality may decrease c. Not suitable where high accuracy is required Example: JPEG, MP3

  1. Lossless Compression : Pros:

i. Reduces size of sound files.

i. Reduces size of vedio files(audio +images). ii. Only sound signals. ii. Moving images + sound . iii. Less complex. iii. More complex. iv. Smaller compared to vedio.

iv. Larger compared to audio. v. Example: MP3, AAC. v. Example: MP4, MPEG- 4

One common audio compression scheme is MP3 (MPEG- 1 Audio Layer III): Working (Illustration): a. The audio signal is converted into digital form. b. Unnecessary sounds (which human ears cannot hear clearly) are removed using perceptual coding. c. Remaining data is compressed using encoding techniques. d. The compressed file is stored as an MP3 file. Result: a. Smaller file size b. Acceptable sound quality c. Suitable for music storage and streaming

  1. What is vedio compression? What is the need of vedio compression? Ans: Video compression is the process of reducing the size of video files by removing redundant and unnecessary data while

maintaining acceptable quality. Need of Video Compression : a. Reduces large file size b. Saves storage space c. Decreases bandwidth usage d. Enables smooth streaming and faster transmission e. Makes video sharing easier f. Example: MP4, MPEG- 4

  1. Explain MPEG2 compression scheme. Ans: MPEG- 2 is a video compression standard used in DVDs and digital TV. Working: a. Divides video into I, P, and B frames b. Removes extra data between frames (motion compensation) c. Uses DCT and coding to reduce size d. Use: DVD and TV broadcasting
  2. Explain JPEG compression scheme. “JPEG is not always an ideal compression solution “ Justify the statement. Ans: JPEG is a lossy image compression technique used for photographs. Working: a. Image is divided into 8×8 blocks. b. Discrete Cosine Transform (DCT) is applied.

codes to less frequent data. Used in: a. Image compression like JPEG b. Audio compression like MP3 c. ZIP file compression

  1. Explain Huffman coding Or Write a short note on Huffman coding Ans: Huffman coding is a lossless data compression technique developed by David A. Huffman. It works by assigning: a. Shorter binary codes to frequently occurring symbols b. Longer binary codes to less frequent symbols c. This reduces the overall file size without losing any data. Uses: a. Image compression like JPEG b. Audio compression like MP3 c. File compression tools d. It is widely used in multimedia and data compression systems.
  2. Difference between the BMP, JPG, GIF, and TIFF image file formats mentioning where each is used. Ans:

Format Full form Compression type

Where it is used

I. BMP Bitmap Uncompressed / Lossless

Windows images, simple graphics

II. JPEG Joint Photographic Experts Group

Lossy Photographs, web images

III. GIF Graphics Interchange Format

Lossless(limite d colors)

Animations, small web graphics

IV. TIFF Tagged Image File Format

Lossless/ High quality.

Printing, scanning, publishing

  1. Differentiate between MPEG2 and MPEG4. Ans:

MPEG2 MPEG4 i. Older standard i. Newer standard ii. Lower compression efficiency.

ii. Higher compression efficiency. iii. Larger file size. iii. Smaller file size. iv. Less efficient. iv. Better quality. v. Used in DVD, Digital TV. V. used in internet streaming, mobile devices.