Data Compression in Multimedia Text Imag
Data Compression in Multimedia Text Imag
IJESRT
INTERNATIONAL JOURNAL OF ENGINEERING SCIENCES & RESEARCH
TECHNOLOGY
Data Compression in Multimedia (Text,Image,Audio and Video)
R.Mahalakshmi*, S.K.Mahendran
*Department of Compter Science,Madurai Kamaraj University College, India
Department of Computer Science, Bharathiar University, India
Abstracts
Multimedia files are large and consume lots of hard disk space. The files size makes it time-consuming to
move them from place to place over school networks or to distribute over the Internet.
Compression shrinks files, making them smaller and more practical to store and share.
Compression works by removing repetitious or redundant information, effectively summarizing the contents
of a file in a way that preserves as much of the original meaning as possible.
Data compression
Data compression is the process of encoding data Figure 1: Examples of data compressed as digital like 1’s
using a representation that reduces the overall size of and 0.s to reduce the space
data. This reduction is possible when the original dataset . A compressed file appears to increase the speed of
contains some type of redundancy. Data data transfer over an uncompressed file. Data
compression, also called compaction, the process of compression involves a certain amount of raw data being
reducing the amount of data needed for the storage or processed and stored in a much more compact form. The
transmission of a given piece of information, typically processing is done by computer applications that use
by the use of encoding techniques. Multimedia specific compression algorithms. There are many of
compression is employing tools and techniques in order these, each with its own strengths and weaknesses and
to reduce the file size of various media formats. With the particular areas where they are used.
development of World Wide Web the importance of
compress algorithm was highlighted because it performs Compression and decompression
faster in networks due to its highly reduced file Compressing a file is the process by which a large
size. Furthermore with the popularity of voice and video file is converted to a smaller file, such as a 10 KB
conferencing over the internet, compression method (Kilobyte or 1000 bytes) file converted to a 1 KB file.
http: // www.ijesrt.com (C)International Journal of Engineering Sciences & Research Technology
[376]
[Mahalakshmi, 3(10): October, 2014] ISSN: 2277-9655
Scientific Journal Impact Factor: 3.449
(ISRA), Impact Factor: 2.114
Mathematical
methods of Lossy compressions are devised to do this. There is one important point to note
and Wavelet about text compression and that is it needs to use a
lossless method. This means the method must not
JPEG Encoding
Transformation
discard any data when it compresses the data. If this was
H.x so, the data when it is uncompressed would be
Advantages: Can reduce the file size more than in the incomplete. Some techniques used by general purpose
Lossless Compression compressors such as zip, gzip, bzip2, 7zip, etc, and some
Static
Disadvantages: The original file cannot be taken after types of models of text compression are,
Semiadaptive or Semistatic
the decompression
i. Mathematical And Wavelet Transformation
http: // www.ijesrt.com (C)International Journal of Engineering Sciences & Research Technology
[378]
[Mahalakshmi, 3(10): October, 2014] ISSN: 2277-9655
Scientific Journal Impact Factor: 3.449
(ISRA), Impact Factor: 2.114
JPEG
example, the frequencies of symbols in English language 117.1875). Most of compression techniques are,
GIF
computed from a large corpus of English texts could be
PNG
used as the model.
A semiadaptive or semistatic model is a fixed
model that is constructed from the data to be Joint Photographic Experts Group created the
compressed. or example, the symbol frequencies standard. The standard specifies the algorithm used for
computed from the text to be compressed can be used as compression and decompression (codec). Lossy
the model. This model has to be included as a part of the compression - some visual quality is lost. The jpg format
compressed data. is good with photographs. It is not so good with high
An adaptive model changes during the contrast pictures like screenshots or computer art. It
compression. At a given point in compression, the model relies on the eye not being sensitive to tiny changes of
is a function of the previously compressed part of the color. Compression can be varied when the image is
data. Since that part of the data is available to the saved. This format recompresses each time it is saved
decompressor at the corresponding point in and repeated saving may lose quality. You should
decompression, there is no need to store the model. For always work with uncompressed formats before saving
example, we could start compressing using a uniform in the target format.
distribution of symbols but then adjust that distribution The Graphics Interchange Format is based on
towards the symbol frequencies in the already processed limiting the colors used in the image. Typically up to 256
Example 1:
Uncompressed text:
"I am dumb and because I am dumb, I can't
even tell you that I am dumb.
”
Compressed text: Figure 3: various format of image
"$1 and because $1, I can't even tell you that $1. $1=[I The above figure of image is saved in
am dumb]" the bitmap, gif, png and jpeg formats. The last three are
popular web page formats. As can be seen the most
Image compression efficient format is jpeg at 8KB file size because it is
Image compression is an application of data designed to store information on millions of colours that
compression that encodes the original image with few may blend into each other e.g. a photograph or
bits. The objective of image compression is to reduce the complexly coloured image. The least efficient is bitmap,
redundancy of the image and to store or transmit data in and that is why this type of image is not commonly found
an efficient form. Images make up a very big part of the on web pages . Both gif and png are designed to store
(web page traffic) data. The image contains a lot of images that have relatively distinct areas of plain
information compared to text. Even a small image sized colours.
http: // www.ijesrt.com (C)International Journal of Engineering Sciences & Research Technology
[379]
[Mahalakshmi, 3(10): October, 2014] ISSN: 2277-9655
Scientific Journal Impact Factor: 3.449
(ISRA), Impact Factor: 2.114
MPEG
There are two leading audio compression,
Dolby AC-3
Figure 4 : Compression of image at 20%
The original size of the image is 3.09MB, it
compress at the level of 20% to reduce the file size as MPEG-1 Layer 2 audio compression, also known
1.30MB. in this to save and share 1.78MB space. It as Musicam, is specified in ISO/IEC IS 13818-3. MPEG
compress at the level of 100% to reduce the file size as audio compression delivers near–CD quality audio using
119.45KB. in this to save 2.97MB space. a technique called sub-band encoding. MPEG audio
compression is used mainly in Europe and is used by
most direct-to-home satellite providers in the United
States. MPEG audio compression is a two-channel
system, but it can encode a Dolby Pro-Logic signal,
which includes two additional channels for rear and
center speakers. (This is analogous to the way in which
a Dolby Pro-Logic signal is carried by a BTSC
[Broadcast Television System Committee] signal as part
of an NTSC transmission).
Dolby AC-3 is a more advanced system than MPEG
Figure 5: Compression of image at 100% audio compression. AC-3 was selected as the audio
compression system for digital television in North
Audio compression America and is specified by ATSC Standard A/52. AC-
Audio compression the amount of data in a 3 encodes up to six discrete channels: left, right, center,
recorded waveform is reduced for transmission. This is and left-rear, right-rear, and sub-woofer speakers. The
used in CD and MP3 encoding, internet radio, and the sub-woofer channel carries only low frequencies and is
like. Audio level compression is the dynamic range commonly referred to as a 0.1 channel because it has
difference between loud and quiet of an audio waveform such a limited frequency range. Thus, AC-3 5.1 gets its
is reduced. This is used in guitar effects racks, recording name from five full channels and a 0.1 channel. In
studios, etc. Audio compression is a form of data addition, AC-3 has a two-channel mode that can be used
compression designed to reduce the size of audio files. to carry stereo and Dolby Pro-Logic encoded signals.
Audio compression algorithms are implemented in
computer software as audio codecs. Generic data Video compression
compression algorithms work with audio data but the Video compression refers to reducing the quantity
compression ratios are low (around 50-60% of original of data used to represent video images. Compressed
size) and they do not work in real time and are therefore video can effectively reduce the bandwidth required to
not practical. Specific audio "lossless" and "lossy" transmit digital video via terrestrial broadcast, via cable,
algorithms have been created. Lossy algorithms provide or via satellite services. It is the process of converting
far greater compression ratios and are used in digital video into a format that takes up less storage
mainstream consumer audio devices. space or transmission bandwidth. It is an essential
technology for applications such as digital television
(terrestrial, cable or satellite transmission), optical
storage/reproduction, mobile television,
videoconferencing, and Internet video streaming. Video
compression standards make it possible for products
from different manufacturers (e.g. encoders, decoders,
and storage media) to interoperate. An encoder converts
Figure 6: Audio compression wave video into a compressed format and a decoder convert’s
http: // www.ijesrt.com (C)International Journal of Engineering Sciences & Research Technology
[380]
[Mahalakshmi, 3(10): October, 2014] ISSN: 2277-9655
Scientific Journal Impact Factor: 3.449
(ISRA), Impact Factor: 2.114
compressed video back into an uncompressed format. plainly impractical. The most popular internet video
MPEG-1
One of the big advantages of digital video is that it can compression standards are,
MPEG-4
be compressed for reduced bandwidth applications
including transmission over satellite, cable TV and
Internet-based networks. Compressed video is DV
particularly useful for reducing storage requirements H.261 AND H.263
especially in the broadcast and government markets. DIVX
FLASH VIDEO
MPEG-1 is a compression standard for audio
and moving pictures, with support for bit rates up to 1.5
Mbit/sec. This is a popular standard for streaming videos
as .mpg files over the internet. The ubiquitous MP3
format, standing for MPEG 1 Audio Layer 3, is a famed
standard for audio compression.
MPEG-4 is a popular object-based
compression standard for multimedia compression.
Objects in a frame are tracked independently and
Figure 7: Various format of video compressed together to form an MPEG4 stream. The
result is an efficient compression standard flexible over
Uncompressed video that we record from a a vast range of bit rates. Its interactivity provides
video camera(e.g. movies) occupies huge amount of developers to control independent objects in a scene with
data. For example, a video clip recorded with a ease.
resolution of 720x576(PAL), with a refresh rate of 25fps DV is a high-resolution digital video format
and 8-bit color depth takes: which employs lossy compression where certain
redundant information in a file is permanently deleted,
720 x 576 x 25 x 8 + 2 x (360 x 576 x 25 x 8) = 1.66 so that even when the file is uncompressed, only a part
Mb/s (luminance + chrominance) of the original information is still there.
H.261 is standard for duplex communication
If we take HDTV(High definition television) which uses over ISDN lines and supports data rates in multiples of
a resolution of 1920x1080 64Kbit/s. The algorithm uses intraframe and interframe
compression. H.263 is an enhanced version of the H.261
1920 x 1080 x 60 x 8 + 2 x (960 x 1080 x 60 x 8) = 1.99 codec that improves quality of video streaming over
Gb/s modems.
DivX Compression is an application that
(Note: In YUV color space, each pixel has one employs MPEG-4 compression standards to facilitate
brightness(luminance) value and two fast downloads over DSL/cable modem, without
color(chrominance) compromising on video quality.
Values) The most popular compression format for
videos on the internet is .flv or Flash Video. FLV and
If no compression was used, a video with F4V are container file formats which play videos on the
dimensions of 640 x 480 pixels (with each pixel using internet through Adobe Flash Player. Encoding of audio
24bits to store its color information) would need and video data for FLV files are same as those for SWF
640x480x24 = 7,372,800bits of memory storage per files. This format is the favorite choice for embedded
frame. If the video was played at a frame rate of 24fps video on the web as it compresses video to low bitrates
then one second's playback would consume and maintains optimum quality.
7,372,800x24 = 176,947,200bits or 22,118,400Bytes or
21,600KB. One minute's playback would need Conclusion
21,600x60 = 1,296,000KB or 1,265.625MB or 1.27GB. Data compression is the art of finding short
This is about 25% the size of a standard DVD disc. So, descriptions for long strings. Every compression
a standard DVD disc could hold about 4 minutes of algorithm can be decomposed into zero or more
uncompressed 640x480 video. Note: this example video transforms, a model, and a coder. Lossless compressors
contains no audio track. If it did more storage would be ignore meaningless data in selecting contexts.
required. So, storing video in an uncompressed format is Meaningless or random data has no predictive value and
is itself not compressible. A lossy compressor not only
http: // www.ijesrt.com (C)International Journal of Engineering Sciences & Research Technology
[381]
[Mahalakshmi, 3(10): October, 2014] ISSN: 2277-9655
Scientific Journal Impact Factor: 3.449
(ISRA), Impact Factor: 2.114
References
1. S. Bozoki, R.L. Lagendijk, Scene adaptive rate
control in a distributed parallel MPEG video
encoder, in: International Conference on Image
Processing, vol. 2, 1997, pp. 780783.
2. O. Cantineau, J.D. Legat, client parallelization
of an MPEG-2 codec on a TMS320C80 video
processor, in: 1998 International Conference on
Image Processing, vol. 3, 1998, pp. 977980.
3. K. Sayood, Introduction to Data Compression.
4. G. Held and T. R. Marshall, Data and Image
Compression: Tools and Techniques.
5. B. Furht, S. W. Smoliar, H-J. Zang, “Video and
Image Processing in Multimedia Systems”,
Kluwer Academic Pub, 1996.
6. CLARKE, R. J. Digital compression of still
images and video. London: Academic press.
1995, pp. 285-299
7. http://www.newmediarepublic.com/dvideo/co
mpression/adv08.html (3. Feb. 2006)