ENEE 631 Project Video Codec and Shot Segmentation

Slides:



Advertisements
Similar presentations
Introduction to H.264 / AVC Video Coding Standard Multimedia Systems Sharif University of Technology November 2008.
Advertisements

MPEG-1: A Standard for Digital Storage of Audio and Video Nimrod Peleg Update: Dec
MPEG4 Natural Video Coding Functionalities: –Coding of arbitrary shaped objects –Efficient compression of video and images over wide range of bit rates.
INTERNATIONAL CONFERENCE ON TELECOMMUNICATIONS, ICT '09. TAREK OUNI WALID AYEDI MOHAMED ABID NATIONAL ENGINEERING SCHOOL OF SFAX New Low Complexity.
Basics of MPEG Picture sizes: up to 4095 x 4095 Most algorithms are for the CCIR 601 format for video frames Y-Cb-Cr color space NTSC: 525 lines per frame.
Technion - IIT Dept. of Electrical Engineering Signal and Image Processing lab Transrating and Transcoding of Coded Video Signals David Malah Ran Bar-Sella.
MPEG-4 Objective Standardize algorithms for audiovisual coding in multimedia applications allowing for Interactivity High compression Scalability of audio.
1 Video Coding Concept Kai-Chao Yang. 2 Video Sequence and Picture Video sequence Large amount of temporal redundancy Intra Picture/VOP/Slice (I-Picture)
Internet Video By Mo Li. Video over the Internet Introduction Video & Internet: the problems Solutions & Technologies in use Discussion.
Source Coding for Video Application
Chapter 7 End-to-End Data
Department of Computer Engineering University of California at Santa Cruz Video Compression Hai Tao.
Overview of Fine Granularity Scalability in MPEG-4 Video Standard Weiping Li, Fellow, IEEE.
JPEG.
CS :: Fall 2003 MPEG Video (Part 2) Ketan Mayer-Patel.
H.264 / MPEG-4 Part 10 Nimrod Peleg March 2003.
CS :: Fall 2003 MPEG-1 Video (Part 1) Ketan Mayer-Patel.
Error Resilience in a Generic Compressed Video Stream Transmitted over a Wireless Channel Muhammad Bilal
Fundamentals of Multimedia Chapter 10 Basic Video Compression Techniques Ze-Nian Li & Mark S. Drew 건국대학교 인터넷미디어공학부 임 창 훈.
ITU-T Recommendation H.261
1 Image and Video Compression: An Overview Jayanta Mukhopadhyay Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur,
Why Compress? To reduce the volume of data to be transmitted (text, fax, images) To reduce the bandwidth required for transmission and to reduce storage.
Video Compression Concepts Nimrod Peleg Update: Dec
MPEG-2 Digital Video Coding Standard
Image and Video Compression
GODIAN MABINDAH RUTHERFORD UNUSI RICHARD MWANGI.  Differential coding operates by making numbers small. This is a major goal in compression technology:
Introduction to JPEG Alireza Shafaei ( ) Fall 2005.
ECE472/572 - Lecture 12 Image Compression – Lossy Compression Techniques 11/10/11.
 Coding efficiency/Compression ratio:  The loss of information or distortion measure:
MPEG MPEG-VideoThis deals with the compression of video signals to about 1.5 Mbits/s; MPEG-AudioThis deals with the compression of digital audio signals.
Video Coding. Introduction Video Coding The objective of video coding is to compress moving images. The MPEG (Moving Picture Experts Group) and H.26X.
MPEG-1 and MPEG-2 Digital Video Coding Standards Author: Thomas Sikora Presenter: Chaojun Liang.
Video Compression Techniques By David Ridgway.
JPEG. The JPEG Standard JPEG is an image compression standard which was accepted as an international standard in  Developed by the Joint Photographic.
JPEG CIS 658 Fall 2005.
Adaptive Multi-path Prediction for Error Resilient H.264 Coding Xiaosong Zhou, C.-C. Jay Kuo University of Southern California Multimedia Signal Processing.
Codec structuretMyn1 Codec structure In an MPEG system, the DCT and motion- compensated interframe prediction are combined. The coder subtracts the motion-compensated.
June, 1999 An Introduction to MPEG School of Computer Science, University of Central Florida, VLSI and M-5 Research Group Tao.
Image Compression Fasih ur Rehman. Goal of Compression Reduce the amount of data required to represent a given quantity of information Reduce relative.
Compression video overview 演講者:林崇元. Outline Introduction Fundamentals of video compression Picture type Signal quality measure Video encoder and decoder.
Image Processing Architecture, © 2001, 2002 Oleh TretiakPage 1Lecture 15 ECEC-453 Image Processing Architecture 3/11/2004 Exam Review Oleh Tretiak Drexel.
Rate-distortion Optimized Mode Selection Based on Multi-channel Realizations Markus Gärtner Davide Bertozzi Classroom Presentation 13 th March 2001.
Advances in digital image compression techniques Guojun Lu, Computer Communications, Vol. 16, No. 4, Apr, 1993, pp
JPEG Image Compression Standard Introduction Lossless and Lossy Coding Schemes JPEG Standard Details Summary.
JPEG.
CS654: Digital Image Analysis
Video Compression—From Concepts to the H.264/AVC Standard
Introduction to Image and Video Coding Algorithms
Page 11/28/2016 CSE 40373/60373: Multimedia Systems Quantization  F(u, v) represents a DCT coefficient, Q(u, v) is a “quantization matrix” entry, and.
Block-based coding Multimedia Systems and Standards S2 IF Telkom University.
Image Processing Architecture, © Oleh TretiakPage 1Lecture 7 ECEC 453 Image Processing Architecture Lecture 8, February 5, 2004 JPEG: A Standard.
(B1) What are the advantages and disadvantages of digital TV systems? Hint: Consider factors on noise, data security, VOD etc. 1.
MPEG CODING PROCESS. Contents  What is MPEG Encoding?  Why MPEG Encoding?  Types of frames in MPEG 1  Layer of MPEG1 Video  MPEG 1 Intra frame Encoding.
Introduction to MPEG Video Coding Dr. S. M. N. Arosha Senanayake, Senior Member/IEEE Associate Professor in Artificial Intelligence Room No: M2.06
CMPT365 Multimedia Systems 1 Media Compression - Video Spring 2015 CMPT 365 Multimedia Systems.
MPEG Video Coding I: MPEG-1 1. Overview  MPEG: Moving Pictures Experts Group, established in 1988 for the development of digital video.  It is appropriately.
H. 261 Video Compression Techniques 1. H.261  H.261: An earlier digital video compression standard, its principle of MC-based compression is retained.
Introduction to H.264 / AVC Video Coding Standard Multimedia Systems Sharif University of Technology November 2008.
Present by 楊信弘 Advisor: 鄭芳炫
JPEG Compression What is JPEG? Motivation
CSI-447: Multimedia Systems
Multimedia Outline Compression RTP Scheduling Spring 2000 CS 461.
JPEG.
Video Compression - MPEG
Supplement, Chapters 6 MC Course, 2009.
Standards Presentation ECE 8873 – Data Compression and Modeling
MPEG4 Natural Video Coding
MPEG-1 MPEG is short for the ‘Moving Picture Experts Group‘.
MPEG-1 MPEG is short for the ‘Moving Picture Experts Group‘.
Presentation transcript:

ENEE 631 Project Video Codec and Shot Segmentation Aravind Sundaresan Vikas Raykar 11/27/2018 ENEE 631 Project: Video Codec

Main features/ functionality Can encode monochrome video with frame dimensions (16*M, 16*N). Codes the sequence as a series of I/P frames. The I/P decision is made according to suitability of each method. (Example: when a scene change is detected, the subsequent frame is coded INTRA). The frames are periodically coded as INTRA according to the INTRA refresh rate parameter. Temporal prediction is closed loop. Performs full-pel Motion Estimation in a window of of dimensions 48 x 48. Macroblocks within an I-frame are coded as INTRA/ INTER according to the compression achieved. Has a resynchronization marker at frame level. 11/27/2018 ENEE 631 Project: Video Codec

ENEE 631 Project: Video Codec Video Codec Structure The Video Codec is split into two programs Encoder and Decoder. Both of them have three layers. Top Layer: Takes care of interface and I/O. Performs the necessary Initializations. Splits the input into frames and feeds them to the next layer sequentially. 11/27/2018 ENEE 631 Project: Video Codec

Video Encoder - Block diagram Top Layer Intermediate Layer Input Raw frame Recon. frame Bottom Layer Bitstream Residue frame Recon. Residue frame Encoder Blocks ME, MC 11/27/2018 ENEE 631 Project: Video Codec

ENEE 631 Project: Video Codec Video Codec Structure Intermediate Layer. This Layer performs the frame level manipulations and also takes care of the frame-level and macroblock-level decision making in the encoder. Performs Motion Estimation and Compensation or removes 128 from the frame to get Residue Frame. Feeds the residue frame to the frame encode layer. The reconstructed residue frame is used to reconstruct the current frame for future prediction. Bottom Layer: This layer performs the actual coding. A hybrid coding technique, that employs both predictive coding to remove temporal redundancy and transform coding to remove spatial redundancy is used. The frame is split into macroblocks and each macroblock is coded separately. The bits generated are put in the bitstream. 11/27/2018 ENEE 631 Project: Video Codec

Top Layer (Interface Layer) Performs the necessary initializations (such as Loading Huffman tables). Serves as interface between user and the actual encoder. Input sequence is read and passed as frames to the lower layer. Very first frame is forced to be INTRA. Subsequent frames are by default directed to be coded as INTER. The lower layer may dynamically decide to code such a frame AS INTRA according to various parameters (scene change / INTRA refresh). 11/27/2018 ENEE 631 Project: Video Codec

Intermediate Layer (Control Layer) This is an important layer in that most of the decision making is performed here. These decisions are aimed at selecting the best coding technique according to the input frame. The decisions made and the functions performed are listed below. Intra / Inter Decision. The top layer has the ability to force the Intra Option. The Intermediate layer has the option to change the INTER option to INTRA. If the number of consecutive frames coded as P-frames equals a certain parameter (INTRA REFRESH RATE), the next frame is coded as an I-frame. 11/27/2018 ENEE 631 Project: Video Codec

Intermediate Layer (Control Layer) Motion Estimation and Compensation. In case of Intra Macroblocks, 128 is subtracted from the Macroblock. Based on the output of the Motion Estimation a decision is made whether to code the frame as INTER. The frame to be coded is split into a MC frame and Residue frame (in case of INTRA frame, the MC frame comprises of pixels with value 128). The Residue frame is passed to the Encode frame layer. The layer returns the reconstructed residue frame which is added to the MC frame to be used for future prediction. (Closed Loop prediction to avoid error accumulation) 11/27/2018 ENEE 631 Project: Video Codec

Bottom Layer (Encoder Layer) The frame is split into Macroblocks each of which comprises of 4 blocks. The macroblocks are read in raster scan order and coded sequentially and the blocks in the Macroblock are also similarly coded. Each macroblock consists of a header followed by the coefficient data. The header contains Coded Information (Coded/ Not coded, INTRA/ INTER, etc) Motion Vector (for INTRA MBs) Coded Block Pattern Optionally include the Quantizer (or differential Quantizer). 11/27/2018 ENEE 631 Project: Video Codec

Bottom Layer (Encoder Layer) The coding Procedure is described below. Each block is transform coded using the DCT. The DCT coefficients are quantized. The Quantization tables for INTRA and INTER blocks are different. Resulting matrix is split into DC and AC coefficients which are scanned in a zigzag manner and coded using fixed Huffman tables and run-length coding techniques. For run-length values not found in the table the run-length and level values are coded using an ESCAPE code and fixed length codes. If none of the blocks contain any coefficients, the MB is 'not coded'. If only some of the blocks are coded, the corresponding bit is set in the CBP. 11/27/2018 ENEE 631 Project: Video Codec

Video Decoder - Block diagram Top Layer Intermediate Layer Output Ref. frame Cur. Recon. frame Bottom Layer Bitstream Recon. Residue frame Decoder Blocks MC 11/27/2018 ENEE 631 Project: Video Codec

ENEE 631 Project: Video Codec Decoded Frames 11/27/2018 ENEE 631 Project: Video Codec

ENEE 631 Project: Video Codec Results 30 frames encoded Size of compressed stream = 434096 bytes Size of 30 frames: 30.240.352 = 2534400 bytes Compression = 17% Greater Compression can be achieved by Increasing quantizer step Increase ratio of P frames to I frames (current ratio 10:1) 11/27/2018 ENEE 631 Project: Video Codec