Distributed Multimedia Systems. 2.Coding. László Böszörményi Distributed Multimedia Systems Coding - 1

Size: px
Start display at page:

Download "Distributed Multimedia Systems. 2.Coding. László Böszörményi Distributed Multimedia Systems Coding - 1"

Transcription

1 Distributed Multimedia Systems 2.Coding László Böszörményi Distributed Multimedia Systems Coding - 1

2 Audio Encoding - Basics Audio (sound) wave One-dimensional acoustic (pressure) wave Causes vibration in the eardrum or in a microphone Frequency range of human ear Hz (20 KHz) Perception nearly logarithmic, relation of amplitudes A and B is expressed as db = 20 log 10 (A/B) Very low pressure (20 μpascal) Conversation Heavy traffic Rock band Pain threshold 0 db db 80 db 120 db 130 db László Böszörményi Distributed Multimedia Systems Coding - 2

3 Nyquist s Theorem (1924) If the highest frequency of a signal is H [Hz] (filtered at H) then it can be reconstructed by 2H samples/sec If a channel can take V different values, the maximum data rate b NY max of the channel is b NY max = 2H log 2 V [bps] Example H = 3000 Hz (voice grade line) V = 2 (binary signals, log 2 V =1) b NY max = 6000 bps = 6 Kbps Remark Noiseless channels do not exist Higher data rates can be achieved by tricky encoding! László Böszörményi Distributed Multimedia Systems Coding - 3

4 Shannon s Theorem (1948) If the bandwidth of a noisy channel (subject to, e.g. thermal noise) is H [Hz] and the signal-to-noise ratio (SNR) is S/N The maximum data rate b max SH of the channel b max SH = H log 2 (1+S/N) [bps] If S << N S/N 0 b max SH = 0 (log 2 (1) = 0) This result is independent of signal levels / encoding! Example (cont d): H = Hz S/N = (i.e. SNR = 30 db) SNR = 10 log 10 (S/N) [db]) (log 10 (10 3 ) = 3) b max SH * log 2 (1+1000) bps (log 2 (1024)=10) László Böszörményi Distributed Multimedia Systems Coding - 4

5 Analog Digital Conversion (ADC) Sampling of the audio wave in every ΔT secs If the sound wave is a linear superposition of noiseless sine waves, with a maximum frequency f : Sampling rate = 2f, more is useless: Nyquist theorem E.g. CDs are sampled with 44.1 KHz 2 * 20 KHz Channels with noise (Shannon thereom) Sampling rate = Bandwidth * log 2 (1+Signal/Noise) Quantization Precision of the digital sample depends on the number of bits used Quantization noise Error due to finite number of bits/sample László Böszörményi Distributed Multimedia Systems Coding - 5

6 Analog Digital Conversion (ADC) Sampling of the audio wave in every ΔT secs If the sound wave is a linear superposition of noiseless sine waves, with a maximum frequency f : Sampling rate = 2f, more is useless: Nyquist theorem E.g. CDs are sampled with 44.1 KHz 2 * 20 KHz Channels with noise (Shannon thereom) Sampling rate = Bandwidth * log 2 (1+Signal/Noise) Quantization Precision of the digital sample depends on the number of bits Quantization noise Error due to finite number of bits/sample László Böszörményi Distributed Multimedia Systems Coding - 6

7 Audio Encoding - Example A sine wave Sampling the sine wave (32 different values need 5 bits) Quantizing the samples to 4 bits: 16 different values possible László Böszörményi Distributed Multimedia Systems Coding - 7

8 Audio Encoding - Standards Telephone samples /sec (up to 4 KHz) Needs 64 Kb/s (Pulse code modulation, PCM, 8-bit samples in Europe), or 56 Kb/s (USA, Japan 7 bits) Enhancements: Differential PCM, Adaptive DPCM Audio CDs samples /sec (up to 20 KHz) 16-bit samples: quantization error is small but audible (the dynamic range of the ear is ca. 1 million) Needs Kb/s for mono, Mb/s for stereo MP-3 (MPEG-1 audio layer 3) compression Based on psycho acoustic models (128 Kb/s) László Böszörményi Distributed Multimedia Systems Coding - 8

9 Analog Video - Basics Sequence of images flashing faster than 50/sec Makes the impression of continuous movie TV (black-and-white) An electron beam scans rapidly the image From left to right and from top to bottom At the end of the scan (a frame) the scan retraces NTSC scans 525 lines (483 effective), 30 frames/sec PAL and SECAM: 625 lines (576), 25 frames/sec 25 frames/s produce smooth motion, but flicker Interlacing solves this 50 half frames (fields) / sec Non interlaced: progressive scanning László Böszörményi Distributed Multimedia Systems Coding - 9

10 Analog Video - Example László Böszörményi Distributed Multimedia Systems Coding - 10

11 Analog Video color 3 beams for the 3 additive primary colors Red, green, blue (RGB) RGB to YUV (Similar in NTSC: YIQ) Blue color difference The eye is more sensitive for luminance Luminance (brightness), signal (or channel) Y Chrominance (color), signals U and V, less resolution Y = 0.30R G B U = (B Y) * V = (R Y) * :4:4: Y,U,V same resolution 4:2:2: U,V half horizontal resol. 4:2:0: U,V half hor.+vert. resol. 3*16*16 / (16*16+2*8*8) = 2 Red color difference László Böszörményi Distributed Multimedia Systems Coding - 11

12 Digital Video Encoding Simplest representation Rectangular grid of picture elements, pixels 3 * 8 bits (for RGB) means 16 million colors more than enough Smoothness vs. flickering Smoothness: number of different images (> 25/s) Flicker: number of refresh of the display (> 70/s) Good computer monitors rescan with > 70Hz The image is repainted from RAM no interlace Common configurations (4:3 aspect ratio) VGA (640*480), SVGA (800*600), XGA (1024*768) XGA needs 472 Mbps/s (at 25 frame/s) László Böszörményi Distributed Multimedia Systems Coding - 12

13 Picture Compression, JPEG (1) Source image JPEG compression DCT Quantization Entropy c. Compressed image Encoding (at source) 1. Block preparation, RGB YUV, or YIQ Squared blocks of 4 pixels in U, V are averaged (wins 1:2) 128 is extracted from each element: 0 in the middle Each matrix is divided into 8 * 8 pixel blocks 2. Discrete Cosine Transformation (DCT) to each block Converts the 64 signals in the spatial dimensions into 64 spatial frequencies similar to fast Fourier transformation Energy compaction and decorrelation effects DCT(0, 0): DC value, the average of the 64 input signals For a homogenous image all other (AC) values were = 0 Principally without loss apart from rounding errors László Böszörményi Distributed Multimedia Systems Coding - 13

14 Forward and Inverse DCT with for otherw. with for otherw. László Böszörményi Distributed Multimedia Systems Coding - 14

15 Picture Compression, JPEG (2) 3. Quantization is lossy, wins bits Divides each DCT coefficient by a weight A set of standardized weight tables 4. Differential coding of the DC values 5. Linearization and run-length coding Zig zag scan, to get long runs of 0 6. Huffman (variable bit length) coding Frequent codes with less bits Decoding (at destination) Applies the same steps in reverse order, Decoding takes ca. the same time roughly symmetric Ca. 20:1 compression effect, with loss Entropy Coding, lossless László Böszörményi Distributed Multimedia Systems Coding - 15

16 Entropy and Huffman Coding A measure of the uncertainty about the next code to come out of a coder Low when we are pretty sure, high otherwise Maximum when all probabilities are equal Entropy = p n log 2 (1/ p n ) n (Shannon) Huffman: Create code symbols based on the probability of each symbols occurrence Code length is variable, shorter codes for common symbols László Böszörményi Distributed Multimedia Systems Coding - 16

17 Picture Compression, JPEG (3) RGB input data and block preparation László Böszörményi Distributed Multimedia Systems Coding - 17

18 Picture Compression, JPEG (4) One block of the Y matrix and the DCT coefficients László Böszörményi Distributed Multimedia Systems Coding - 18

19 Picture Compression, JPEG (4) Computation of the quantized DCT coefficients László Böszörményi Distributed Multimedia Systems Coding - 19

20 Picture Compression, JPEG (5) Order of quantized values when transmitted László Böszörményi Distributed Multimedia Systems Coding - 20

21 DCT-effect Example László Böszörményi Distributed Multimedia Systems Coding - 21

22 Video Compression DV camcorders often use JPEG-like compr. No time for sophisticated compressions Compression in the time domain Difference between consecutive frames is often small Remove inter-frame redundancy Sophisticated encoding, (relatively) fast decoding László Böszörményi Distributed Multimedia Systems Coding - 22

23 Residual Frame The residual frame is typically much simpler Also called DFD (displaced frame difference) Residual image, not motion compensated yet László Böszörményi Distributed Multimedia Systems Coding - 23

24 Basic Idea Parts (blocks) of the input are matched against the referenced frames Costs CPU and memory (for the referenced frames) The size of the search area is not standardized If there is a good match (blocks are similar ) Only the motion vector + difference must be encoded If no good match: block encoded as usual Previous (reference) Frame Current (input) Frame László Böszörményi Distributed Multimedia Systems Coding - 24

25 Motion Estimation and Compensation Motion Estimation Creates a model of the current frame usually via blockmatching based on reference frames (past + future) Goal Accurate model minimal energy Acceptable computation Motion Compensation Subtract model from the frame usually block-based Produce a motion compensated residual frame This is coded along with the motion vectors The encoded residual is decoded and reconstructed to the decoded frame The reconstructed frame is stored as reference László Böszörményi Distributed Multimedia Systems Coding - 25

26 Estimation + Compensation Diagram Current frame Reference Reference Frame(s) frame(s) Reconstructed frame Motion compensation Model Motion estimation Model Reconstruction Encode residual Motion vectors Decode residual Quality as seen at the decoder László Böszörményi Distributed Multimedia Systems Coding - 26

27 Motion Estimation Example frame 1 frame 2 motion vectors László Böszörményi Distributed Multimedia Systems Coding - 27

28 Block Matching Usual standards (MPEG-1,2,4, H.261,3) use it For each block of luminance (e.g. 16*16) in the current frame the best match is searched for in the reference frame Search area centered around current block The best match provides minimum energy E.g. Mean Squared Error (MSE) N-1 Σ MSE = (Current i,j -Ref i,j ) 2 / N 2 i=0 N-1 Σ i=0 N-1 Sum of Abs. Errors.: SAE = Current i,j Ref i,j László Böszörményi Distributed Multimedia Systems Coding - 28 Σ i=0 N-1 Σ i=0

29 Block Matching Example Current block (-1,1) (0,1) (1,1) (-1,0) (1,0) (-1,-1) (1,-1) (0,-1) Reference area MSE for middle position (0, 0): ( (1-4) 2 + (3-2) 2 + (2-3) 2 + (6-4) 2 + (4-2) 2 + (3-2) 2 + (5-4) 2 + (4-3) 2 + (3-3) 2 ) / 9 = 2.44 Motion vector (x,y) -1,-1 0,-1 1,-1-1,0 0,0 1,0-1,1 0,1 1,1 MSE László Böszörményi Distributed Multimedia Systems Coding - 29

30 Encoder + Decoder Steps Encoder 1. Calculate energy difference between current block and neighboring regions of the reference 2. Select the best matching (lowest error) region 3. Subtract matching region from current block 4. Encode and transmit the difference block 5. Encode and transmit the motion vector Decoder 1. Decode the difference block and the motion vector 2. Add the difference to the matching region in the reference frame (pointed to by the motion vector) László Böszörményi Distributed Multimedia Systems Coding - 30

31 Full search Search Window and Order Search is restricted to a limited area: search window Inside SW comparison at all possible positions Search order Relevant with early termination (totalsae > minsae) Raster order Spiral order: finds best match sooner László Böszörményi Distributed Multimedia Systems Coding - 31

32 Fast not full Search (TSS) Three-Step (N-Step) Search Search window size = 2 N Search location (0,0) 2. S:= 2 N-1 (step size) 3. Search 8 locations ±S pixels around (0,0) 4. Make the location with smallest SAE new origin 5. S:= S / 2 6. Repeat 3-5 until S= TSS with N = 3; (S = 4, 2, 1) FS algorithms may miss the global minimum László Böszörményi Distributed Multimedia Systems Coding - 32

33 Fast not full Search (NNS) Nearest Neighbors Search Motion vectors are predicted from neighboring ones Neighboring MVs often similar Difference has small values H-263 and MPEG-4 use median of 3 previous motion vectors 1. Search location (0,0) 2. Set search origin to the predicted vector location 3. Search 4 neighboring positions (+ shape) 4. If search origin is best, of edge of SW reached: stop; otherwise set the best match as new origin 5. Go to NNS with median predicted vector (-4,3) 0 László Böszörményi Distributed Multimedia Systems Coding - 33

34 The Moving Pictures Experts Group ISO/IEC JTC1 SC29 WG11 better known as MPEG Traditional MPEG Subgroups for Requirements Audio Video Systems Test Implementation Studies Liaison HoD Head of Delegation New for MPEG-4 SNHC Coding of hybrid natural/synthetic objects New for MPEG-7 MDS Multimedia Description Schemes László Böszörményi Distributed Multimedia Systems Coding - 34

35 The MPEG Standardization Process 1. Requirements 2. Call for proposals 3. Evaluation 4. Core experiments 5. Draft specification 6. National bodies agree Practically speaking Initial requirements may need revising Core experiments are done in multiple rounds Spec drafting & NB agreement in multiple rounds László Böszörményi Distributed Multimedia Systems Coding - 35

36 Stages of Standardization To obtain an International Standard WD Working Draft CD Committee Draft FCD Final CD DIS Draft IS FDIS Final DIS IS International Standard To amend an International Standard PDAM Proposed Draft Amendment FPDAM Final PDAM DAM Draft Amendment Amd Amendment László Böszörményi Distributed Multimedia Systems Coding - 36

37 MPEG-1, MPEG-2, H.261 In the MPEG family, MPEG-1 and MPEG-2 concentrate on compression see others later H.261 (H.263, H.264): similar standards of CCITT (ITU) for video conferencing MPEG-1 and MPEG-2 are asymmetrical and use both intra- and inter-frame coding Standard Compression Bandwidth MPEG-1 < 200:1 1.5 Mbps Usage CD-ROM MPEG-2 < 200:1 4 Mbps Digital TV H : :1 p * 64 Kbps Video conferencing (ISDN) Videophone László Böszörményi Distributed Multimedia Systems Coding - 37

38 MPEG Data Layers Handles data buffering, describes Bit rate + min. decoder storage 16*16 pixels luminance + 2 * (8*8) pixels chrominance = 4 * (8*8) luminance + 2 * (8*8) chrominance László Böszörményi Distributed Multimedia Systems Coding - 38

39 MPEG frame kinds I (Intracoded) frames Self-contained JPEG-like pictures (DCT on 8*8 blocks) They must be sent periodically for synchronization P (Predictive) frames Block-by-block difference with last I/P frame Builds motion vector, based on Macro Blocks (MB) B (Bi-directional) frames Differences with last and next frame I/P frame Previously hidden areas can be better predicted from next frame D (DC coefficients only) frames for fast forward GOP (Group of Picture) Typically 15 frames, with 2 prediction levels László Böszörményi Distributed Multimedia Systems Coding - 39

40 MPEG Compression Input stream Frame 1 Frame 2 Frame 3 Frame 4 Frame 5 Frame 6 Frame 7 MPEG compression Decoding, transmission and presentation order may differ, e.g. IPBB.. Forward prediction Compressed stream I frame B frame B frame P frame B frame B frame I frame Bidirectional prediction GOP (Group of Picture) László Böszörményi Distributed Multimedia Systems Coding - 40

41 MPEG Video Encoding Scheme Depending on I or P frames Video input IDCT DCT Inverse Quantizer Quantizer Entropy Encoding Encoded bit stream Buffer Motion Estimator Motion Compensator Referenced Frames (I or P) László Böszörményi Distributed Multimedia Systems Coding - 41

42 MPEG Video Decoding Scheme Encoded bit stream Buffer Entropy Decoding Inverse Quantizer IDCT + + Video output Motion Compensator Referenced Frames László Böszörményi Distributed Multimedia Systems Coding - 42

43 MPEG-1 Audio Encoding Compatible with CD-DA and DAT (Tape) Three quality layers Transformation into the frequency domain Fast Fourier Transformation (FFT) 32 non-overlapping subbands Quantization may be different Controlled by the psychoacustic model Low noise: finer quantization High noise: coareser quantization Psychoacustic Model controls Division in 32 Frequency Bands Quantization Entropy Coding László Böszörményi Distributed Multimedia Systems Coding - 43

44 MPEG-1 Decoder Architecture Demultiplexes audio and video Synchronization by Time Stamps László Böszörményi Distributed Multimedia Systems Coding - 44

45 New concepts in H.264/AVC (1) Several small changes rather than one big change New structure elements Frames can be separated into slices Macroblocks can be partitioned Intra prediction Macroblocks may be predicted (from already encoded, decoded and reconstructed) samples within the same frame Otherwise handled similarly to inter-prediction: residual + motion New concepts for inter prediction Uses quarter pixel estimation (1/4 pixel) for luma Motion vectors are predicted as well One picture can have several reference pictures from a large set New concepts for B-Macroblocks A B-MB may refer two reference blocks (averaging) László Böszörményi Distributed Multimedia Systems Coding - 45

46 New concepts in H.264/AVC (2) Skipped macroblocks No residual is stored for a skipped macroblock Nevertheless, motion vectors are predicted for a skipped block Transformation process has slightly changed Is processed on 4x4 blocks Uses an integer transformation, similar to DCT, but faster Variable quantization Values of quantization table may change from block to block Extended entropy coding Two advanced methods for entropy coding (CAVLC/CABAC) Deblocking filter Avoids blocking-artifacts by applying a blur filter Switching slices Can be used for stream switching, e.g. for fast-forward Interlacing video (for TV) László Böszörményi Distributed Multimedia Systems Coding - 46

47 H.264/AVC Profiles H.264 PROFILES Baseline Main Extended High I Slices P Slices B Slices SI Slices SP Slices CAVLC CABAC Slice Groups Arbitrary Slice Order Redundant Slices Data Partitioning Weighted Prediction Interlace (Fields) Different Bit-Depth Different Chroma Subsampling (other than 4:2:0) 8x8 Transformation Scaling List in SPS László Böszörményi Distributed Multimedia Systems Coding - 47

48 Slices Frames are subdivided into slices A slice may contain 1..n macroblocks (MBs) Size of a slice does not need to be constant within a video Slices are independent coding elements Independent coding/decoding of slices Motion estimation only within slice of corresponding MB Slices help to limit the propagation of errors 2 Slices 4 Slices László Böszörményi Distributed Multimedia Systems Coding - 48

49 I-Slice Contains I-MBs (intra-coded) P-Slice Contains P-MBs and/or I-MBs Slice-Types A P-MB is predicted from one past or one future reference block B-Slice Contains B-MBs and/or I-MBs A B-MB can be predicted from two past or two future reference blocks Not included in the baseline profile SP-Slice (Switching P) and SI-Slice (Switching I) Enables switching between coded streams (see later) László Böszörményi Distributed Multimedia Systems Coding - 49

50 Macroblock General concept (not new) Contains data of corresponding 16x16 area of a picture Luma Blocks: 16x16 Pixel Chroma Blocks: 8x8 Pixel (for the sub-sampling default: 4:2:0) New concepts P- and B-Macroblocks can be partitioned Large partitions for homogenous areas Small partitions for areas with much information ( high-energy ) Partitions are the fundamental units of prediction I-Macroblocks may use intra-prediction László Böszörményi Distributed Multimedia Systems Coding - 50

51 Macroblock Partitions 1 macroblock partition of 16*16 luma samples and associated chroma samples 2 macroblock partitions of 16*8 luma samples and associated chroma samples 2 macroblock partitions of 8*16 luma samples and associated chroma samples 4 sub-macroblocks of 8*8 luma samples and associated chroma samples Macroblock partitions further partitioning of one 8x8 block 1 sub-macroblock partition of 8*8 luma samples and associated chroma samples 2 sub-macroblock partitions of 8*4 luma samples and associated chroma samples 2 sub-macroblock partitions of 4*8 luma samples and associated chroma samples 4 sub-macroblock partitions of 4*4 luma samples and associated chroma samples Sub-macroblock partitions Figure from: [2] László Böszörményi Distributed Multimedia Systems Coding - 51

52 Intra Prediction (1) 9 prediction modes for 4x4 luma sub-blocks Depending on 13 neighboring samples (from above, left, left-above and right-above) The mode with min. SAE is selected interpolation example: b c d e j k l m j k l m b c d e (b + c + d+ e + j + k + l + m + 4) / 8 b c d e f g h i b c d e f j x y k z x = (b + 2 c + d) / 4 0: vertical 1: horizontal 2: DC (average) 3: diagonal down left (45 to the left, interpolated) y = z = (d + 2 e + f) / 4 a j k l m b c d e a j k l b c d e a j k l m b c d b c d e f g h j k l m 4: diagonal down right (45 to the right, interpolated) 5: vertical right (26.6 to the left, interpolated) 6: horizontal down (26.6 below horizontal, interpolated) 7: vertical left (26.6 to the right of vert., interpolated) 8: horizontal up (26.6 above horizontal, interpolated) László Böszörményi Distributed Multimedia Systems Coding - 52

53 Intra Prediction (2) 4 prediction modes for 16x16 luma blocks, depending on 33 neighboring samples 0: vertical 1: horizontal 2: DC (average) 3: plane (diagonal) 4 prediction modes for 8x8 chroma blocks Similar to 16x16 luma modes Signalling the intra prediction modes 9 modes (for 16x16 luma) needed too much bits The mode itself is predicted (at both sides), and only changes to the most probably mode must be coded László Böszörményi Distributed Multimedia Systems Coding - 53

54 Inter Prediction (1) Tree structured motion compensation Several reference frames can be used Each MB-partition may refer to different frame(s) Each MB-partition has its own motion vector Each frame has one or two reference list(s) Lists contain past or future pictures Short-term (recently coded) pictures (identified by PicNum) Long-term (older) pictures (identifed by LongTermPicNum) Partitions of P-MBs may only refer to list-0 Partitions of B-MBs may refer list-0 and/or list-1 László Böszörményi Distributed Multimedia Systems Coding - 54

55 Inter Prediction (2) Reference list managment A sliding-window-process (SWP) is used to replace the oldest short-term reference frames The SWP is executed by both the encoder and decoder Lists can also be manipulated by explicit commands (adaptive memory control) Motion vectors May use interpolated pixels Luma: 1/4 pixel accuracy Chroma: 1/8 pixel accuracy Motion vectors are also predicted László Böszörményi Distributed Multimedia Systems Coding - 55

56 Pixel Interpolation - Luma Interpolation of luma pixel to 1/4 accuracy by 6-tap filter A aa B half-pel vert. pixel interpolation. e.g.: h = ( A 5 C + 20 G + 20 M 5 R + T + 16) / 32 C bb D Figure from: [2] E F G a b c H I J d cc dd h i j k m ee ff n K L M s N P Q R e p f q gg g r S half-pel hor. pixel interpolation. e.g.: b = ( E 5 F + 20 G + 20 H 5 I + J + 16) / 32 qpel pixel interpolation. e.g.: n = ( M + h + 1 ) / 2 T hh U very expensive process! László Böszörményi Distributed Multimedia Systems Coding - 56

57 Pixel Interpolation - Chroma Interpolation of chroma pixel to 1/8 using a linear scheme Figure from: [2] ( (8 xfracc ) * ( 8 yfracc ) * A + xfracc * ( 8 yfracc ) * B + ( 8 xfracc ) * yfracc * C + xfracc * yfracc * D + 32 ) / 64 László Böszörményi Distributed Multimedia Systems Coding - 57

58 Idea Motion Vector Prediction (1) Encoding a motion vector (MV) for each partition may cost a lot MVs of neighboring areas often highly correlated MVs are predicted from previously encoded MVs: MVp Only the difference is stored: MVD Motion vector prediction is calculated as the median of motion vectors from the topmost partition of the macroblock to the left (A) leftmost partition of the macroblock above (B) bottom- and leftmost partition of the macroblock right above (C) László Böszörményi Distributed Multimedia Systems Coding - 58

59 Example Motion Vector Prediction (2) Assume encoder sets motion vector of current macroblock partition to (-12/4) Motion vector prediction from previously decoded motion vectors: x = median (8,16,0) = 8 y = median (4,16,3) = 4 mvp (x/y) = (8/4) Motion vector value: (decoded) (8/4) + (-12/4) = (-4/8) 16/16 B 0/3 C 8/4 Note: Motion vector values are in ¼ pixel units (for luma) A -12/4 already decoded motion vector value (contains mvp) László Böszörményi Distributed Multimedia Systems Coding - 59

60 B-Macroblocks A B-MB can use as reference (a partition of same size of) one past or one future frame one past and one future frame (Bi-Prediction) two past frames two future frames Prediction modes Motion-compensated Prediction (default for Bi-Prediction) Using average of both reference partitions Two motion vectors Direct Prediction Used for skipped B-MBs No motion vector is stored for a direct predicted B-MB Motion vectors are rather predicted from previous blocks Weighted Prediction Each reference sample is scaled by a weighting factor Can also be applied to P-Macroblocks May be used e.g. when one scene fades into another László Böszörményi Distributed Multimedia Systems Coding - 60

61 1. DCT-based integer transform Transformation (1) Operates on 4x4 blocks of residual data (1 DC and 15 AC coefficients) Based on matrix multiplications (with weighting) The core part of the transform can be computed only with additions, subtractions and shift operations Inverse DCT-based transform: E i is a predefined weighting matrix required for scaling the coefficients (in order to approximate to DCT) Y = C T i ( Y E ) C = [ coeffs] i i a ab 2 a ab ab b b 2 ab 2 a a 2 ab 2 ab ab 1 2 b 1 ab 1 2 b Figures from: [1] László Böszörményi Distributed Multimedia Systems Coding - 61

62 Transformation (2) 2. Hadamard (generalized Fourier) transformation DC coefficients of all 4x4 blocks are grouped together and transformed again with a Hadamard transformation All 16 luma DC coefficients of a 16x16 intra block All 8 (2x4) chroma DC coefficients of an intra block Figures from: [1] DC coefficient (c 00 ) of a 4x4 luma block Inverse Hadamard transform for luma DC coefficients: Number of 4x4 block of residual coefficients (ordered as stored in bitstream) f 1 1 = c 1 c 1 c 1 c c c c c c c c c c c c c DC coefficients of a both chroma 2x2 blocks László Böszörményi Distributed Multimedia Systems Coding - 62

63 Quantization Based on quantization tables and scaling lists Basic operation: Z i,j = round(y i,j / Q step ) Quantization parameters (QPs) Control the selection of the quantizer step Q step Higher QP higher values in qt higher quantization worse quality Lower QP lower values in qt lower quantization better quality H.264/AVC defines standard default scaling lists Sequence Parameter Sets Non-default scaling lists can be defined László Böszörményi Distributed Multimedia Systems Coding - 63

64 Entropy Coding CAVLC Context Adaptive Variable Length Coding Takes advantage of several characteristics of quantized 4x4 blocks, e.g. Uses run length coding Advantageous for long runs of zeros Uses trailing-ones-signaling (how many TOs? which signs?) Because trailing non-zero coeffs. are often -1 or 1 CABAC Context Adaptive Binary Arithmetic Coding Better compression performance than CAVLC Higher complexity of computation (more expensive) Several different probability models (PM) A PM is selected according to the context of the syntax element Uses probability estimation for syntax elements CABAC decoding process covers ~45 pages in the H.264/AVC standard! László Böszörményi Distributed Multimedia Systems Coding - 64

65 Deblocking Filter To reduce blocking distortion Smoothes block edges Inter prediction uses filtered reference frames i.e. deblocking filter is an integral part of en/decoding Figure from: [3] deblocked picture László Böszörményi Distributed Multimedia Systems Coding - 65

66 Further Concepts (1) SP / SI Slices Enable switching between different streams (e.g. streams with different bitrates) Instead of inserting I-Slices (as entry points) the encoder creates an SP-Slice that has the same content as e.g. the P-Slice of stream-2: Stream-1 I P P P P P P SP = Stream-2 I P P B P P P Can be decoded by either using previous P or SP Slice Can also be used for random access within one stream (by the decoder) László Böszörményi Distributed Multimedia Systems Coding - 66

67 Further Concepts (2) Arbitrary Slice Ordering Slices in a coded frame may follow any decoding order E.g. the 1. MB-number of slice-2 may be smaller than the 1. MBnumber of slice-1 Slice Groups ( Flexible Macroblock Ordering ) Can be used for error resilience A macroblock-to-slice-group map defines to which group a MB belongs to i.e. Slices must not contain contiguous macroblocks The standard already predefines some slice-group-maps Interleaved map Dispersed map Foreground- and background-map Redundant Slices Support for interlacing (i.e. fields rather than frames) László Böszörményi Distributed Multimedia Systems Coding - 67

68 Bitstream Format Bitstream of H.264 is organized in NAL Units (Network Abstraction Layer) A NAL-Unit has a one-byte header which includes the NAL-Unit-type: Sequence Parameter Set Picture Parameter Set Slice Supplemental Enhancement Information (SEI) NAL Header RBSP (raw byte sequence payload) NAL Header RBSP László Böszörményi Distributed Multimedia Systems Coding - 68

69 Header fields Bitstream Coding Typically Exp-Golomb codes (i.e. variable length codes) leadingzerobits = -1; for( b = 0;!b; leadingzerobits++ ) b = read_bits( 1 ) codenum = 2 leadingzerobits 1 + read_bits( leadingzerobits ) Additional variants used: Signed Exp-Golomb Truncated Exp-Golomb Mapped Exp-Golomb Code is an index of a table Both partners know the table Binary Code Value László Böszörményi Distributed Multimedia Systems Coding - 69

70 Performance of H.264/AVC Figure from: [3] László Böszörményi Distributed Multimedia Systems Coding - 70

Module 8 VIDEO CODING STANDARDS. Version 2 ECE IIT, Kharagpur

Module 8 VIDEO CODING STANDARDS. Version 2 ECE IIT, Kharagpur Module 8 VIDEO CODING STANDARDS Lesson 27 H.264 standard Lesson Objectives At the end of this lesson, the students should be able to: 1. State the broad objectives of the H.264 standard. 2. List the improved

More information

Chapter 2 Introduction to

Chapter 2 Introduction to Chapter 2 Introduction to H.264/AVC H.264/AVC [1] is the newest video coding standard of the ITU-T Video Coding Experts Group (VCEG) and the ISO/IEC Moving Picture Experts Group (MPEG). The main improvements

More information

COMP 249 Advanced Distributed Systems Multimedia Networking. Video Compression Standards

COMP 249 Advanced Distributed Systems Multimedia Networking. Video Compression Standards COMP 9 Advanced Distributed Systems Multimedia Networking Video Compression Standards Kevin Jeffay Department of Computer Science University of North Carolina at Chapel Hill jeffay@cs.unc.edu September,

More information

Video coding standards

Video coding standards Video coding standards Video signals represent sequences of images or frames which can be transmitted with a rate from 5 to 60 frames per second (fps), that provides the illusion of motion in the displayed

More information

Overview: Video Coding Standards

Overview: Video Coding Standards Overview: Video Coding Standards Video coding standards: applications and common structure ITU-T Rec. H.261 ISO/IEC MPEG-1 ISO/IEC MPEG-2 State-of-the-art: H.264/AVC Video Coding Standards no. 1 Applications

More information

Motion Video Compression

Motion Video Compression 7 Motion Video Compression 7.1 Motion video Motion video contains massive amounts of redundant information. This is because each image has redundant information and also because there are very few changes

More information

Introduction to Video Compression Techniques. Slides courtesy of Tay Vaughan Making Multimedia Work

Introduction to Video Compression Techniques. Slides courtesy of Tay Vaughan Making Multimedia Work Introduction to Video Compression Techniques Slides courtesy of Tay Vaughan Making Multimedia Work Agenda Video Compression Overview Motivation for creating standards What do the standards specify Brief

More information

Video compression principles. Color Space Conversion. Sub-sampling of Chrominance Information. Video: moving pictures and the terms frame and

Video compression principles. Color Space Conversion. Sub-sampling of Chrominance Information. Video: moving pictures and the terms frame and Video compression principles Video: moving pictures and the terms frame and picture. one approach to compressing a video source is to apply the JPEG algorithm to each frame independently. This approach

More information

The H.26L Video Coding Project

The H.26L Video Coding Project The H.26L Video Coding Project New ITU-T Q.6/SG16 (VCEG - Video Coding Experts Group) standardization activity for video compression August 1999: 1 st test model (TML-1) December 2001: 10 th test model

More information

An Overview of Video Coding Algorithms

An Overview of Video Coding Algorithms An Overview of Video Coding Algorithms Prof. Ja-Ling Wu Department of Computer Science and Information Engineering National Taiwan University Video coding can be viewed as image compression with a temporal

More information

A video signal consists of a time sequence of images. Typical frame rates are 24, 25, 30, 50 and 60 images per seconds.

A video signal consists of a time sequence of images. Typical frame rates are 24, 25, 30, 50 and 60 images per seconds. Video coding Concepts and notations. A video signal consists of a time sequence of images. Typical frame rates are 24, 25, 30, 50 and 60 images per seconds. Each image is either sent progressively (the

More information

Multimedia Communications. Video compression

Multimedia Communications. Video compression Multimedia Communications Video compression Video compression Of all the different sources of data, video produces the largest amount of data There are some differences in our perception with regard to

More information

Chapter 10 Basic Video Compression Techniques

Chapter 10 Basic Video Compression Techniques Chapter 10 Basic Video Compression Techniques 10.1 Introduction to Video compression 10.2 Video Compression with Motion Compensation 10.3 Video compression standard H.261 10.4 Video compression standard

More information

Video 1 Video October 16, 2001

Video 1 Video October 16, 2001 Video Video October 6, Video Event-based programs read() is blocking server only works with single socket audio, network input need I/O multiplexing event-based programming also need to handle time-outs,

More information

Audio and Video II. Video signal +Color systems Motion estimation Video compression standards +H.261 +MPEG-1, MPEG-2, MPEG-4, MPEG- 7, and MPEG-21

Audio and Video II. Video signal +Color systems Motion estimation Video compression standards +H.261 +MPEG-1, MPEG-2, MPEG-4, MPEG- 7, and MPEG-21 Audio and Video II Video signal +Color systems Motion estimation Video compression standards +H.261 +MPEG-1, MPEG-2, MPEG-4, MPEG- 7, and MPEG-21 1 Video signal Video camera scans the image by following

More information

Multimedia Communications. Image and Video compression

Multimedia Communications. Image and Video compression Multimedia Communications Image and Video compression JPEG2000 JPEG2000: is based on wavelet decomposition two types of wavelet filters one similar to what discussed in Chapter 14 and the other one generates

More information

Video Compression. Representations. Multimedia Systems and Applications. Analog Video Representations. Digitizing. Digital Video Block Structure

Video Compression. Representations. Multimedia Systems and Applications. Analog Video Representations. Digitizing. Digital Video Block Structure Representations Multimedia Systems and Applications Video Compression Composite NTSC - 6MHz (4.2MHz video), 29.97 frames/second PAL - 6-8MHz (4.2-6MHz video), 50 frames/second Component Separation video

More information

Ch. 1: Audio/Image/Video Fundamentals Multimedia Systems. School of Electrical Engineering and Computer Science Oregon State University

Ch. 1: Audio/Image/Video Fundamentals Multimedia Systems. School of Electrical Engineering and Computer Science Oregon State University Ch. 1: Audio/Image/Video Fundamentals Multimedia Systems Prof. Ben Lee School of Electrical Engineering and Computer Science Oregon State University Outline Computer Representation of Audio Quantization

More information

H.261: A Standard for VideoConferencing Applications. Nimrod Peleg Update: Nov. 2003

H.261: A Standard for VideoConferencing Applications. Nimrod Peleg Update: Nov. 2003 H.261: A Standard for VideoConferencing Applications Nimrod Peleg Update: Nov. 2003 ITU - Rec. H.261 Target (1990)... A Video compression standard developed to facilitate videoconferencing (and videophone)

More information

Advanced Computer Networks

Advanced Computer Networks Advanced Computer Networks Video Basics Jianping Pan Spring 2017 3/10/17 csc466/579 1 Video is a sequence of images Recorded/displayed at a certain rate Types of video signals component video separate

More information

complex than coding of interlaced data. This is a significant component of the reduced complexity of AVS coding.

complex than coding of interlaced data. This is a significant component of the reduced complexity of AVS coding. AVS - The Chinese Next-Generation Video Coding Standard Wen Gao*, Cliff Reader, Feng Wu, Yun He, Lu Yu, Hanqing Lu, Shiqiang Yang, Tiejun Huang*, Xingde Pan *Joint Development Lab., Institute of Computing

More information

The Multistandard Full Hd Video-Codec Engine On Low Power Devices

The Multistandard Full Hd Video-Codec Engine On Low Power Devices The Multistandard Full Hd Video-Codec Engine On Low Power Devices B.Susma (M. Tech). Embedded Systems. Aurora s Technological & Research Institute. Hyderabad. B.Srinivas Asst. professor. ECE, Aurora s

More information

ELEC 691X/498X Broadcast Signal Transmission Fall 2015

ELEC 691X/498X Broadcast Signal Transmission Fall 2015 ELEC 691X/498X Broadcast Signal Transmission Fall 2015 Instructor: Dr. Reza Soleymani, Office: EV 5.125, Telephone: 848 2424 ext.: 4103. Office Hours: Wednesday, Thursday, 14:00 15:00 Time: Tuesday, 2:45

More information

Principles of Video Compression

Principles of Video Compression Principles of Video Compression Topics today Introduction Temporal Redundancy Reduction Coding for Video Conferencing (H.261, H.263) (CSIT 410) 2 Introduction Reduce video bit rates while maintaining an

More information

Research Topic. Error Concealment Techniques in H.264/AVC for Wireless Video Transmission in Mobile Networks

Research Topic. Error Concealment Techniques in H.264/AVC for Wireless Video Transmission in Mobile Networks Research Topic Error Concealment Techniques in H.264/AVC for Wireless Video Transmission in Mobile Networks July 22 nd 2008 Vineeth Shetty Kolkeri EE Graduate,UTA 1 Outline 2. Introduction 3. Error control

More information

ITU-T Video Coding Standards

ITU-T Video Coding Standards An Overview of H.263 and H.263+ Thanks that Some slides come from Sharp Labs of America, Dr. Shawmin Lei January 1999 1 ITU-T Video Coding Standards H.261: for ISDN H.263: for PSTN (very low bit rate video)

More information

Video Compression - From Concepts to the H.264/AVC Standard

Video Compression - From Concepts to the H.264/AVC Standard PROC. OF THE IEEE, DEC. 2004 1 Video Compression - From Concepts to the H.264/AVC Standard GARY J. SULLIVAN, SENIOR MEMBER, IEEE, AND THOMAS WIEGAND Invited Paper Abstract Over the last one and a half

More information

MPEG-2. ISO/IEC (or ITU-T H.262)

MPEG-2. ISO/IEC (or ITU-T H.262) 1 ISO/IEC 13818-2 (or ITU-T H.262) High quality encoding of interlaced video at 4-15 Mbps for digital video broadcast TV and digital storage media Applications Broadcast TV, Satellite TV, CATV, HDTV, video

More information

Video (Fundamentals, Compression Techniques & Standards) Hamid R. Rabiee Mostafa Salehi, Fatemeh Dabiran, Hoda Ayatollahi Spring 2011

Video (Fundamentals, Compression Techniques & Standards) Hamid R. Rabiee Mostafa Salehi, Fatemeh Dabiran, Hoda Ayatollahi Spring 2011 Video (Fundamentals, Compression Techniques & Standards) Hamid R. Rabiee Mostafa Salehi, Fatemeh Dabiran, Hoda Ayatollahi Spring 2011 Outlines Frame Types Color Video Compression Techniques Video Coding

More information

Digital Image Processing

Digital Image Processing Digital Image Processing 25 January 2007 Dr. ir. Aleksandra Pizurica Prof. Dr. Ir. Wilfried Philips Aleksandra.Pizurica @telin.ugent.be Tel: 09/264.3415 UNIVERSITEIT GENT Telecommunicatie en Informatieverwerking

More information

The H.263+ Video Coding Standard: Complexity and Performance

The H.263+ Video Coding Standard: Complexity and Performance The H.263+ Video Coding Standard: Complexity and Performance Berna Erol (bernae@ee.ubc.ca), Michael Gallant (mikeg@ee.ubc.ca), Guy C t (guyc@ee.ubc.ca), and Faouzi Kossentini (faouzi@ee.ubc.ca) Department

More information

A Novel Approach towards Video Compression for Mobile Internet using Transform Domain Technique

A Novel Approach towards Video Compression for Mobile Internet using Transform Domain Technique A Novel Approach towards Video Compression for Mobile Internet using Transform Domain Technique Dhaval R. Bhojani Research Scholar, Shri JJT University, Jhunjunu, Rajasthan, India Ved Vyas Dwivedi, PhD.

More information

Midterm Review. Yao Wang Polytechnic University, Brooklyn, NY11201

Midterm Review. Yao Wang Polytechnic University, Brooklyn, NY11201 Midterm Review Yao Wang Polytechnic University, Brooklyn, NY11201 yao@vision.poly.edu Yao Wang, 2003 EE4414: Midterm Review 2 Analog Video Representation (Raster) What is a video raster? A video is represented

More information

Implementation of an MPEG Codec on the Tilera TM 64 Processor

Implementation of an MPEG Codec on the Tilera TM 64 Processor 1 Implementation of an MPEG Codec on the Tilera TM 64 Processor Whitney Flohr Supervisor: Mark Franklin, Ed Richter Department of Electrical and Systems Engineering Washington University in St. Louis Fall

More information

PAL uncompressed. 768x576 pixels per frame. 31 MB per second 1.85 GB per minute. x 3 bytes per pixel (24 bit colour) x 25 frames per second

PAL uncompressed. 768x576 pixels per frame. 31 MB per second 1.85 GB per minute. x 3 bytes per pixel (24 bit colour) x 25 frames per second 191 192 PAL uncompressed 768x576 pixels per frame x 3 bytes per pixel (24 bit colour) x 25 frames per second 31 MB per second 1.85 GB per minute 191 192 NTSC uncompressed 640x480 pixels per frame x 3 bytes

More information

COMP 9519: Tutorial 1

COMP 9519: Tutorial 1 COMP 9519: Tutorial 1 1. An RGB image is converted to YUV 4:2:2 format. The YUV 4:2:2 version of the image is of lower quality than the RGB version of the image. Is this statement TRUE or FALSE? Give reasons

More information

06 Video. Multimedia Systems. Video Standards, Compression, Post Production

06 Video. Multimedia Systems. Video Standards, Compression, Post Production Multimedia Systems 06 Video Video Standards, Compression, Post Production Imran Ihsan Assistant Professor, Department of Computer Science Air University, Islamabad, Pakistan www.imranihsan.com Lectures

More information

In MPEG, two-dimensional spatial frequency analysis is performed using the Discrete Cosine Transform

In MPEG, two-dimensional spatial frequency analysis is performed using the Discrete Cosine Transform MPEG Encoding Basics PEG I-frame encoding MPEG long GOP ncoding MPEG basics MPEG I-frame ncoding MPEG long GOP encoding MPEG asics MPEG I-frame encoding MPEG long OP encoding MPEG basics MPEG I-frame MPEG

More information

Digital Video Telemetry System

Digital Video Telemetry System Digital Video Telemetry System Item Type text; Proceedings Authors Thom, Gary A.; Snyder, Edwin Publisher International Foundation for Telemetering Journal International Telemetering Conference Proceedings

More information

A Study on AVS-M video standard

A Study on AVS-M video standard 1 A Study on AVS-M video standard EE 5359 Sahana Devaraju University of Texas at Arlington Email:sahana.devaraju@mavs.uta.edu 2 Outline Introduction Data Structure of AVS-M AVS-M CODEC Profiles & Levels

More information

Module 8 VIDEO CODING STANDARDS. Version 2 ECE IIT, Kharagpur

Module 8 VIDEO CODING STANDARDS. Version 2 ECE IIT, Kharagpur Module 8 VIDEO CODING STANDARDS Lesson 24 MPEG-2 Standards Lesson Objectives At the end of this lesson, the students should be able to: 1. State the basic objectives of MPEG-2 standard. 2. Enlist the profiles

More information

Lecture 2 Video Formation and Representation

Lecture 2 Video Formation and Representation 2013 Spring Term 1 Lecture 2 Video Formation and Representation Wen-Hsiao Peng ( 彭文孝 ) Multimedia Architecture and Processing Lab (MAPL) Department of Computer Science National Chiao Tung University 1

More information

An Efficient Low Bit-Rate Video-Coding Algorithm Focusing on Moving Regions

An Efficient Low Bit-Rate Video-Coding Algorithm Focusing on Moving Regions 1128 IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY, VOL. 11, NO. 10, OCTOBER 2001 An Efficient Low Bit-Rate Video-Coding Algorithm Focusing on Moving Regions Kwok-Wai Wong, Kin-Man Lam,

More information

Digital Media. Daniel Fuller ITEC 2110

Digital Media. Daniel Fuller ITEC 2110 Digital Media Daniel Fuller ITEC 2110 Daily Question: Video How does interlaced scan display video? Email answer to DFullerDailyQuestion@gmail.com Subject Line: ITEC2110-26 Housekeeping Project 4 is assigned

More information

Contents. xv xxi xxiii xxiv. 1 Introduction 1 References 4

Contents. xv xxi xxiii xxiv. 1 Introduction 1 References 4 Contents List of figures List of tables Preface Acknowledgements xv xxi xxiii xxiv 1 Introduction 1 References 4 2 Digital video 5 2.1 Introduction 5 2.2 Analogue television 5 2.3 Interlace 7 2.4 Picture

More information

Lecture 2 Video Formation and Representation

Lecture 2 Video Formation and Representation Wen-Hsiao Peng, Ph.D. Multimedia Architecture and Processing Laboratory (MAPL) Department of Computer Science, National Chiao Tung University March 2013 Wen-Hsiao Peng, Ph.D. (NCTU CS) MAPL March 2013

More information

AUDIOVISUAL COMMUNICATION

AUDIOVISUAL COMMUNICATION AUDIOVISUAL COMMUNICATION Laboratory Session: Recommendation ITU-T H.261 Fernando Pereira The objective of this lab session about Recommendation ITU-T H.261 is to get the students familiar with many aspects

More information

Lecture 23: Digital Video. The Digital World of Multimedia Guest lecture: Jayson Bowen

Lecture 23: Digital Video. The Digital World of Multimedia Guest lecture: Jayson Bowen Lecture 23: Digital Video The Digital World of Multimedia Guest lecture: Jayson Bowen Plan for Today Digital video Video compression HD, HDTV & Streaming Video Audio + Images Video Audio: time sampling

More information

International Journal for Research in Applied Science & Engineering Technology (IJRASET) Motion Compensation Techniques Adopted In HEVC

International Journal for Research in Applied Science & Engineering Technology (IJRASET) Motion Compensation Techniques Adopted In HEVC Motion Compensation Techniques Adopted In HEVC S.Mahesh 1, K.Balavani 2 M.Tech student in Bapatla Engineering College, Bapatla, Andahra Pradesh Assistant professor in Bapatla Engineering College, Bapatla,

More information

Overview of the H.264/AVC Video Coding Standard

Overview of the H.264/AVC Video Coding Standard 560 IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY, VOL. 13, NO. 7, JULY 2003 Overview of the H.264/AVC Video Coding Standard Thomas Wiegand, Gary J. Sullivan, Senior Member, IEEE, Gisle

More information

CHROMA CODING IN DISTRIBUTED VIDEO CODING

CHROMA CODING IN DISTRIBUTED VIDEO CODING International Journal of Computer Science and Communication Vol. 3, No. 1, January-June 2012, pp. 67-72 CHROMA CODING IN DISTRIBUTED VIDEO CODING Vijay Kumar Kodavalla 1 and P. G. Krishna Mohan 2 1 Semiconductor

More information

Part1 박찬솔. Audio overview Video overview Video encoding 2/47

Part1 박찬솔. Audio overview Video overview Video encoding 2/47 MPEG2 Part1 박찬솔 Contents Audio overview Video overview Video encoding Video bitstream 2/47 Audio overview MPEG 2 supports up to five full-bandwidth channels compatible with MPEG 1 audio coding. extends

More information

Study of AVS China Part 7 for Mobile Applications. By Jay Mehta EE 5359 Multimedia Processing Spring 2010

Study of AVS China Part 7 for Mobile Applications. By Jay Mehta EE 5359 Multimedia Processing Spring 2010 Study of AVS China Part 7 for Mobile Applications By Jay Mehta EE 5359 Multimedia Processing Spring 2010 1 Contents Parts and profiles of AVS Standard Introduction to Audio Video Standard for Mobile Applications

More information

Reduced complexity MPEG2 video post-processing for HD display

Reduced complexity MPEG2 video post-processing for HD display Downloaded from orbit.dtu.dk on: Dec 17, 2017 Reduced complexity MPEG2 video post-processing for HD display Virk, Kamran; Li, Huiying; Forchhammer, Søren Published in: IEEE International Conference on

More information

Video Over Mobile Networks

Video Over Mobile Networks Video Over Mobile Networks Professor Mohammed Ghanbari Department of Electronic systems Engineering University of Essex United Kingdom June 2005, Zadar, Croatia (Slides prepared by M. Mahdi Ghandi) INTRODUCTION

More information

Joint Optimization of Source-Channel Video Coding Using the H.264/AVC encoder and FEC Codes. Digital Signal and Image Processing Lab

Joint Optimization of Source-Channel Video Coding Using the H.264/AVC encoder and FEC Codes. Digital Signal and Image Processing Lab Joint Optimization of Source-Channel Video Coding Using the H.264/AVC encoder and FEC Codes Digital Signal and Image Processing Lab Simone Milani Ph.D. student simone.milani@dei.unipd.it, Summer School

More information

INTERNATIONAL TELECOMMUNICATION UNION. SERIES H: AUDIOVISUAL AND MULTIMEDIA SYSTEMS Coding of moving video

INTERNATIONAL TELECOMMUNICATION UNION. SERIES H: AUDIOVISUAL AND MULTIMEDIA SYSTEMS Coding of moving video INTERNATIONAL TELECOMMUNICATION UNION CCITT H.261 THE INTERNATIONAL TELEGRAPH AND TELEPHONE CONSULTATIVE COMMITTEE (11/1988) SERIES H: AUDIOVISUAL AND MULTIMEDIA SYSTEMS Coding of moving video CODEC FOR

More information

Video Processing Applications Image and Video Processing Dr. Anil Kokaram

Video Processing Applications Image and Video Processing Dr. Anil Kokaram Video Processing Applications Image and Video Processing Dr. Anil Kokaram anil.kokaram@tcd.ie This section covers applications of video processing as follows Motion Adaptive video processing for noise

More information

Digital Television Fundamentals

Digital Television Fundamentals Digital Television Fundamentals Design and Installation of Video and Audio Systems Michael Robin Michel Pouiin McGraw-Hill New York San Francisco Washington, D.C. Auckland Bogota Caracas Lisbon London

More information

Improvement of MPEG-2 Compression by Position-Dependent Encoding

Improvement of MPEG-2 Compression by Position-Dependent Encoding Improvement of MPEG-2 Compression by Position-Dependent Encoding by Eric Reed B.S., Electrical Engineering Drexel University, 1994 Submitted to the Department of Electrical Engineering and Computer Science

More information

IMAGE SEGMENTATION APPROACH FOR REALIZING ZOOMABLE STREAMING HEVC VIDEO ZARNA PATEL. Presented to the Faculty of the Graduate School of

IMAGE SEGMENTATION APPROACH FOR REALIZING ZOOMABLE STREAMING HEVC VIDEO ZARNA PATEL. Presented to the Faculty of the Graduate School of IMAGE SEGMENTATION APPROACH FOR REALIZING ZOOMABLE STREAMING HEVC VIDEO by ZARNA PATEL Presented to the Faculty of the Graduate School of The University of Texas at Arlington in Partial Fulfillment of

More information

Performance Evaluation of Error Resilience Techniques in H.264/AVC Standard

Performance Evaluation of Error Resilience Techniques in H.264/AVC Standard Performance Evaluation of Error Resilience Techniques in H.264/AVC Standard Ram Narayan Dubey Masters in Communication Systems Dept of ECE, IIT-R, India Varun Gunnala Masters in Communication Systems Dept

More information

Multimedia. Course Code (Fall 2017) Fundamental Concepts in Video

Multimedia. Course Code (Fall 2017) Fundamental Concepts in Video Course Code 005636 (Fall 2017) Multimedia Fundamental Concepts in Video Prof. S. M. Riazul Islam, Dept. of Computer Engineering, Sejong University, Korea E-mail: riaz@sejong.ac.kr Outline Types of Video

More information

ABSTRACT ERROR CONCEALMENT TECHNIQUES IN H.264/AVC, FOR VIDEO TRANSMISSION OVER WIRELESS NETWORK. Vineeth Shetty Kolkeri, M.S.

ABSTRACT ERROR CONCEALMENT TECHNIQUES IN H.264/AVC, FOR VIDEO TRANSMISSION OVER WIRELESS NETWORK. Vineeth Shetty Kolkeri, M.S. ABSTRACT ERROR CONCEALMENT TECHNIQUES IN H.264/AVC, FOR VIDEO TRANSMISSION OVER WIRELESS NETWORK Vineeth Shetty Kolkeri, M.S. The University of Texas at Arlington, 2008 Supervising Professor: Dr. K. R.

More information

MULTIMEDIA TECHNOLOGIES

MULTIMEDIA TECHNOLOGIES MULTIMEDIA TECHNOLOGIES LECTURE 08 VIDEO IMRAN IHSAN ASSISTANT PROFESSOR VIDEO Video streams are made up of a series of still images (frames) played one after another at high speed This fools the eye into

More information

Professor Laurence S. Dooley. School of Computing and Communications Milton Keynes, UK

Professor Laurence S. Dooley. School of Computing and Communications Milton Keynes, UK Professor Laurence S. Dooley School of Computing and Communications Milton Keynes, UK The Song of the Talking Wire 1904 Henry Farny painting Communications It s an analogue world Our world is continuous

More information

Video coding. Summary. Visual perception. Hints on video coding. Pag. 1

Video coding. Summary. Visual perception. Hints on video coding. Pag. 1 Hints on video coding TLC Network Group firstname.lastname@polito.it http://www.telematica.polito.it/ Computer Networks Design and Management- 1 Summary Visual perception Analog and digital TV Image coding:

More information

MPEG-1 and MPEG-2 Digital Video Coding Standards

MPEG-1 and MPEG-2 Digital Video Coding Standards Heinrich-Hertz-Intitut Berlin - Image Processing Department, Thomas Sikora Please note that the page has been produced based on text and image material from a book in [sik] and may be subject to copyright

More information

MPEG-2. Lecture Special Topics in Signal Processing. Multimedia Communications: Coding, Systems, and Networking

MPEG-2. Lecture Special Topics in Signal Processing. Multimedia Communications: Coding, Systems, and Networking 1-99 Special Topics in Signal Processing Multimedia Communications: Coding, Systems, and Networking Prof. Tsuhan Chen tsuhan@ece.cmu.edu Lecture 7 MPEG-2 1 Outline Applications and history Requirements

More information

Lecture 1: Introduction & Image and Video Coding Techniques (I)

Lecture 1: Introduction & Image and Video Coding Techniques (I) Lecture 1: Introduction & Image and Video Coding Techniques (I) Dr. Reji Mathew Reji@unsw.edu.au School of EE&T UNSW A/Prof. Jian Zhang NICTA & CSE UNSW jzhang@cse.unsw.edu.au COMP9519 Multimedia Systems

More information

Comparative Study of JPEG2000 and H.264/AVC FRExt I Frame Coding on High-Definition Video Sequences

Comparative Study of JPEG2000 and H.264/AVC FRExt I Frame Coding on High-Definition Video Sequences Comparative Study of and H.264/AVC FRExt I Frame Coding on High-Definition Video Sequences Pankaj Topiwala 1 FastVDO, LLC, Columbia, MD 210 ABSTRACT This paper reports the rate-distortion performance comparison

More information

So far. Chapter 4 Color spaces Chapter 3 image representations. Bitmap grayscale. 1/21/09 CSE 40373/60373: Multimedia Systems

So far. Chapter 4 Color spaces Chapter 3 image representations. Bitmap grayscale. 1/21/09 CSE 40373/60373: Multimedia Systems So far. Chapter 4 Color spaces Chapter 3 image representations Bitmap grayscale page 1 8-bit color image Can show up to 256 colors Use color lookup table to map 256 of the 24-bit color (rather than choosing

More information

1 Introduction Motivation Modus Operandi Thesis Outline... 2

1 Introduction Motivation Modus Operandi Thesis Outline... 2 Contents 1 Introduction 1 1.1 Motivation................................... 1 1.2 Modus Operandi............................... 1 1.3 Thesis Outline................................. 2 2 Background 3 2.1

More information

ATSC vs NTSC Spectrum. ATSC 8VSB Data Framing

ATSC vs NTSC Spectrum. ATSC 8VSB Data Framing ATSC vs NTSC Spectrum ATSC 8VSB Data Framing 22 ATSC 8VSB Data Segment ATSC 8VSB Data Field 23 ATSC 8VSB (AM) Modulated Baseband ATSC 8VSB Pre-Filtered Spectrum 24 ATSC 8VSB Nyquist Filtered Spectrum ATSC

More information

17 October About H.265/HEVC. Things you should know about the new encoding.

17 October About H.265/HEVC. Things you should know about the new encoding. 17 October 2014 About H.265/HEVC. Things you should know about the new encoding Axis view on H.265/HEVC > Axis wants to see appropriate performance improvement in the H.265 technology before start rolling

More information

Video coding using the H.264/MPEG-4 AVC compression standard

Video coding using the H.264/MPEG-4 AVC compression standard Signal Processing: Image Communication 19 (2004) 793 849 Video coding using the H.264/MPEG-4 AVC compression standard Atul Puri a, *, Xuemin Chen b, Ajay Luthra c a RealNetworks, Inc., 2601 Elliott Avenue,

More information

Introduction to image compression

Introduction to image compression Introduction to image compression 1997-2015 Josef Pelikán CGG MFF UK Praha pepca@cgg.mff.cuni.cz http://cgg.mff.cuni.cz/~pepca/ Compression 2015 Josef Pelikán, http://cgg.mff.cuni.cz/~pepca 1 / 12 Motivation

More information

Chapter 2 Video Coding Standards and Video Formats

Chapter 2 Video Coding Standards and Video Formats Chapter 2 Video Coding Standards and Video Formats Abstract Video formats, conversions among RGB, Y, Cb, Cr, and YUV are presented. These are basically continuation from Chap. 1 and thus complement the

More information

ITU-T Video Coding Standards H.261 and H.263

ITU-T Video Coding Standards H.261 and H.263 19 ITU-T Video Coding Standards H.261 and H.263 This chapter introduces ITU-T video coding standards H.261 and H.263, which are established mainly for videophony and videoconferencing. The basic technical

More information

CM3106 Solutions. Do not turn this page over until instructed to do so by the Senior Invigilator.

CM3106 Solutions. Do not turn this page over until instructed to do so by the Senior Invigilator. CARDIFF UNIVERSITY EXAMINATION PAPER Academic Year: 2013/2014 Examination Period: Examination Paper Number: Examination Paper Title: Duration: Autumn CM3106 Solutions Multimedia 2 hours Do not turn this

More information

OL_H264e HDTV H.264/AVC Baseline Video Encoder Rev 1.0. General Description. Applications. Features

OL_H264e HDTV H.264/AVC Baseline Video Encoder Rev 1.0. General Description. Applications. Features OL_H264e HDTV H.264/AVC Baseline Video Encoder Rev 1.0 General Description Applications Features The OL_H264e core is a hardware implementation of the H.264 baseline video compression algorithm. The core

More information

Novel VLSI Architecture for Quantization and Variable Length Coding for H-264/AVC Video Compression Standard

Novel VLSI Architecture for Quantization and Variable Length Coding for H-264/AVC Video Compression Standard Rochester Institute of Technology RIT Scholar Works Theses Thesis/Dissertation Collections 2005 Novel VLSI Architecture for Quantization and Variable Length Coding for H-264/AVC Video Compression Standard

More information

OL_H264MCLD Multi-Channel HDTV H.264/AVC Limited Baseline Video Decoder V1.0. General Description. Applications. Features

OL_H264MCLD Multi-Channel HDTV H.264/AVC Limited Baseline Video Decoder V1.0. General Description. Applications. Features OL_H264MCLD Multi-Channel HDTV H.264/AVC Limited Baseline Video Decoder V1.0 General Description Applications Features The OL_H264MCLD core is a hardware implementation of the H.264 baseline video compression

More information

Video Coding IPR Issues

Video Coding IPR Issues Video Coding IPR Issues Developing China s standard for HDTV and HD-DVD Cliff Reader, Ph.D. www.reader.com Agenda Which technology is patented? What is the value of the patents? Licensing status today.

More information

STUDY OF AVS CHINA PART 7 JIBEN PROFILE FOR MOBILE APPLICATIONS

STUDY OF AVS CHINA PART 7 JIBEN PROFILE FOR MOBILE APPLICATIONS EE 5359 SPRING 2010 PROJECT REPORT STUDY OF AVS CHINA PART 7 JIBEN PROFILE FOR MOBILE APPLICATIONS UNDER: DR. K. R. RAO Jay K Mehta Department of Electrical Engineering, University of Texas, Arlington

More information

SUMMIT LAW GROUP PLLC 315 FIFTH AVENUE SOUTH, SUITE 1000 SEATTLE, WASHINGTON Telephone: (206) Fax: (206)

SUMMIT LAW GROUP PLLC 315 FIFTH AVENUE SOUTH, SUITE 1000 SEATTLE, WASHINGTON Telephone: (206) Fax: (206) Case 2:10-cv-01823-JLR Document 154 Filed 01/06/12 Page 1 of 153 1 The Honorable James L. Robart 2 3 4 5 6 7 UNITED STATES DISTRICT COURT FOR THE WESTERN DISTRICT OF WASHINGTON AT SEATTLE 8 9 10 11 12

More information

Application of SI frames for H.264/AVC Video Streaming over UMTS Networks

Application of SI frames for H.264/AVC Video Streaming over UMTS Networks Technische Universität Wien Institut für Nacrichtentechnik und Hochfrequenztecnik Universidad de Zaragoza Centro Politécnico Superior MASTER THESIS Application of SI frames for H.264/AVC Video Streaming

More information

A Big Umbrella. Content Creation: produce the media, compress it to a format that is portable/ deliverable

A Big Umbrella. Content Creation: produce the media, compress it to a format that is portable/ deliverable A Big Umbrella Content Creation: produce the media, compress it to a format that is portable/ deliverable Distribution: how the message arrives is often as important as what the message is Search: finding

More information

Communication Theory and Engineering

Communication Theory and Engineering Communication Theory and Engineering Master's Degree in Electronic Engineering Sapienza University of Rome A.A. 2018-2019 Practice work 14 Image signals Example 1 Calculate the aspect ratio for an image

More information

Chapter 3 Fundamental Concepts in Video. 3.1 Types of Video Signals 3.2 Analog Video 3.3 Digital Video

Chapter 3 Fundamental Concepts in Video. 3.1 Types of Video Signals 3.2 Analog Video 3.3 Digital Video Chapter 3 Fundamental Concepts in Video 3.1 Types of Video Signals 3.2 Analog Video 3.3 Digital Video 1 3.1 TYPES OF VIDEO SIGNALS 2 Types of Video Signals Video standards for managing analog output: A.

More information

PACKET-SWITCHED networks have become ubiquitous

PACKET-SWITCHED networks have become ubiquitous IEEE TRANSACTIONS ON IMAGE PROCESSING, VOL. 13, NO. 7, JULY 2004 885 Video Compression for Lossy Packet Networks With Mode Switching and a Dual-Frame Buffer Athanasios Leontaris, Student Member, IEEE,

More information

Rounding Considerations SDTV-HDTV YCbCr Transforms 4:4:4 to 4:2:2 YCbCr Conversion

Rounding Considerations SDTV-HDTV YCbCr Transforms 4:4:4 to 4:2:2 YCbCr Conversion Digital it Video Processing 김태용 Contents Rounding Considerations SDTV-HDTV YCbCr Transforms 4:4:4 to 4:2:2 YCbCr Conversion Display Enhancement Video Mixing and Graphics Overlay Luma and Chroma Keying

More information

MPEGTool: An X Window Based MPEG Encoder and Statistics Tool 1

MPEGTool: An X Window Based MPEG Encoder and Statistics Tool 1 MPEGTool: An X Window Based MPEG Encoder and Statistics Tool 1 Toshiyuki Urabe Hassan Afzal Grace Ho Pramod Pancha Magda El Zarki Department of Electrical Engineering University of Pennsylvania Philadelphia,

More information

MULTIMEDIA COMPRESSION AND COMMUNICATION

MULTIMEDIA COMPRESSION AND COMMUNICATION MULTIMEDIA COMPRESSION AND COMMUNICATION 1. What is rate distortion theory? Rate distortion theory is concerned with the trade-offs between distortion and rate in lossy compression schemes. If the average

More information

Intra-frame JPEG-2000 vs. Inter-frame Compression Comparison: The benefits and trade-offs for very high quality, high resolution sequences

Intra-frame JPEG-2000 vs. Inter-frame Compression Comparison: The benefits and trade-offs for very high quality, high resolution sequences Intra-frame JPEG-2000 vs. Inter-frame Compression Comparison: The benefits and trade-offs for very high quality, high resolution sequences Michael Smith and John Villasenor For the past several decades,

More information

Multimedia Systems Video I (Basics of Analog and Digital Video) Mahdi Amiri April 2011 Sharif University of Technology

Multimedia Systems Video I (Basics of Analog and Digital Video) Mahdi Amiri April 2011 Sharif University of Technology Course Presentation Multimedia Systems Video I (Basics of Analog and Digital Video) Mahdi Amiri April 2011 Sharif University of Technology Video Visual Effect of Motion The visual effect of motion is due

More information

CONTEXT-BASED COMPLEXITY REDUCTION

CONTEXT-BASED COMPLEXITY REDUCTION CONTEXT-BASED COMPLEXITY REDUCTION APPLIED TO H.264 VIDEO COMPRESSION Laleh Sahafi BSc., Sharif University of Technology, 2002. A THESIS SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE DEGREE

More information

Part II Video. General Concepts MPEG1 encoding MPEG2 encoding MPEG4 encoding

Part II Video. General Concepts MPEG1 encoding MPEG2 encoding MPEG4 encoding Part II Video General Concepts MPEG1 encoding MPEG2 encoding MPEG4 encoding Video General Concepts Video generalities Video is a sequence of frames consecutively transmitted and displayed so to provide

More information

Modeling and Evaluating Feedback-Based Error Control for Video Transfer

Modeling and Evaluating Feedback-Based Error Control for Video Transfer Modeling and Evaluating Feedback-Based Error Control for Video Transfer by Yubing Wang A Dissertation Submitted to the Faculty of the WORCESTER POLYTECHNIC INSTITUTE In partial fulfillment of the Requirements

More information

Visual Communication at Limited Colour Display Capability

Visual Communication at Limited Colour Display Capability Visual Communication at Limited Colour Display Capability Yan Lu, Wen Gao and Feng Wu Abstract: A novel scheme for visual communication by means of mobile devices with limited colour display capability

More information