MPEG Compression Standards: Name-Md. Sahjad Farouqui CLASS - CS-S4 (A) REGISTRATION NO - 12150035
MPEG Compression Standards: Name-Md. Sahjad Farouqui CLASS - CS-S4 (A) REGISTRATION NO - 12150035
MPEG Compression Standards: Name-Md. Sahjad Farouqui CLASS - CS-S4 (A) REGISTRATION NO - 12150035
Uncompressed video (and audio) data are huge. In HDTV, the bit rate easily exceeds 1 Gbps. --
big problems for storage and network communications.
For example:One of the formats defined for HDTV broadcasting within the United States is
1920 pixels horizontally by 1080 lines vertically, at 30 frames per second.
If these numbers are all multiplied together, along with 8 bits for each of the three primary
colors, the total data rate required would be approximately 1.5 Gb/sec.
Because of the 6 MHz channel bandwidth allocated, each channel will only support a data rate
of 19.2 Mb/sec, which is further reduced to 18 Mb/sec by the fact that the channel must also
support audio, transport, and ancillary data information.
As can be seen, this restriction in data rate means that the original signal must be compressed
by a figure of approximately 83:1. This number seems all the more impressive when it is
realized that the intent is to deliver very high quality video to the end user, with as few visible
artifacts as possible.
MPEG
Bitrate
Information stored/transmitted per unit time
Usually measured in Mbps (Megabits per second)
Ranges from < 1 Mbps to > 40 Mbps
Resolution
Number of pixels per frame
Ranges from 160x120 to 1920x1080
FPS (frames per second)
Usually 24, 25, 30, or 60
Dont need more because of limitations of the human eye
Lossy Compression
It is the class of data encoding methods that uses inexact approximations (or partial
data discarding) to represent the content. These techniques are used to reduce data
size for storage, handling, and transmitting content.
Loosy Codecs
Intraframe Compression
Within a single frame, areas of similar color and texture can be coded with
fewer bits than the original, thus reducing the data rate with minimal loss in
noticeable visual quality.
Interframe Compression
Instead of storing complete frames, temporal compression stores only what
has changed from one frame to the next, which dramatically reduces the
amount of data that needs to be stored while still achieving high-quality
images.
Working Of MPEG
I frame (intra-coded)
Coded without reference to other frames
P frame (predictive-coded)
Coded with reference to a previous reference frame (either I or
P)
Size is usually about 1/3rd of an I frame
B frame (bi-directional predictive-coded)
Coded with reference to both previous and future reference
frames (either I or P)
Size is usually about 1/6th of an I frame
Group Of Pictures
Longer GOP lengths encode video more efficiently by reducing the number of
I-frames but are less desirable during short-duration effects such as fast
transitions or quick camera pans. MPEG video may be classified as long-
GOP or short-GOP. The term long-GOP refers to the fact that several P- and B-
frames are used between I-frame intervals. At the other end of the spectrum,
short-GOP MPEG is synonymous with I-frameonly MPEG. Formats such as IMX
use I-frameonly MPEG-2, which reduces temporal artifacts and improves
editing performance. However, I-frameonly formats have a significantly higher
data rate because each frame must store enough data to be completely self-
contained. Therefore, although the decoding demands on your computer are
decreased, there is a greater demand for scratch disk speed and capacity.
Maximum GOP length depends on the specifications of the playback device.
The minimum GOP length depends on the GOP pattern. For example, an IP
pattern can have a length as short as two frames.
Motion Vector
DCT Formula :
MPEG Block Diagram
MPEG-1
MPEG-1 is the earliest format specification in the family of MPEG formats. Because
of its low bit rate, MPEG-1 has been popular for online distribution and in formats
such as Video CD (VCD). DVDs can also store MPEG-1 video, though MPEG-2 is
more commonly used. Although the MPEG-1 standard actually allows high
resolutions, almost all applications use NTSC- or PAL-compatible image dimensions
at quarter resolution or lower.
Common MPEG-1 formats include 320 x 240, 352 x 240 at 29.97 fps (NTSC), and
352 x 288 at 25 fps (PAL). Maximum data rates are often limited to around
1.5 Mbps. MPEG-1 only supports progressive-scan video.
MPEG-1 supports three layers of audio compression, called MPEG-1 Layers 1, 2,
and 3. MPEG-1 Layer 2 audio is used in some formats such as HDV and DVD, but
MPEG-1 Layer 3 (also known as MP3) is by far the most common. In fact, MP3
audio compression has become so popular that it is usually used independently of
video.
MPEG-1 elementary stream files often have extensions such as .m1v and .m1a, for
video and audio, respectively.
MPEG-2
Advantages Disadvantages
Occupies less disk space. Picture flashes, blurs when there is too
much movement on screen
Reading and writing is faster.
Higher bitrate often does not solve this
File transferring is faster. problem
The order of bytes is independent.
Overall sharp picture
Audio and video stay in sync with each
other