NUS.SOC.CS5248 Ooi Wei Tsang Systems Support for Continuous Media OOI WEI TSANG.

Slides:



Advertisements
Similar presentations
MPEG: A Video Compression Standard for Multimedia Applications Václav Hlaváč CTU Prague, Initial material were slides of Didier.
Advertisements

NUS.SOC.CS5248 Ooi Wei Tsang 1 Adaptive Playout. NUS.SOC.CS5248 Ooi Wei Tsang 2 You are Here Network Encoder Sender Middlebox Receiver Decoder.
29.1 Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
NUS.SOC.CS Roger Zimmermann (based on slides by Ooi Wei Tsang) MPEG + RTP.
MPEG + RTP.
1 NUS.SOC.CS5248 OOI WEI TSANG Playout Buffer Management.
Source Coding for Video Application
Chapter 7 End-to-End Data
NUS.SOC.CS Roger Zimmermann (based in part on slides by Ooi Wei Tsang) Media Compression.
Spring 2003CS 4611 Multimedia Outline Compression RTP Scheduling.
By Max Havir. Video Compression MPEG1 MPEG2 MPEG4 MPEG7 MPEG21 Cinepak Motion JPEG A Motion JPEG B H.261 H.263 Sorenson Video Divx.
MPEG: A Video Compression Standard for Multimedia Applications Didier Le Gall Communications of the ACM Volume 34, Number 4 Pages 46-58, 1991.
NUS.SOC.CS Roger Zimmermann (based on slides by Ooi Wei Tsang) Systems Support for Continuous Media.
Department of Computer Engineering University of California at Santa Cruz Video Compression Hai Tao.
CS335 Principles of Multimedia Systems Multimedia Over IP Networks -- III Hao Jiang Computer Science Department Boston College Nov. 13, 2007.
MPEG: A Video Compression Standard for Multimedia Applications Didier Le Gall Communications of the ACM Volume 34, Number 4 Pages 46-58, 1991.
T.Sharon-A.Frank 1 Multimedia Size of Data Frame.
CSc 461/561 Multimedia Systems Part B: 2. Lossy Compression
CS :: Fall 2003 MPEG-1 Video (Part 1) Ketan Mayer-Patel.
CSc 461/561 CSc 461/561 Multimedia Systems 0. Introduction.
Using Redundancy and Interleaving to Ameliorate the Effects of Packet Loss in a Video Stream Yali Zhu, Mark Claypool and Yanlin Liu Department of Computer.
Using Interleaving to Ameliorate the Effects of Packet Loss in a Video Stream Mark Claypool and Yali Zhu Computer Science Department Worcester Polytechnic.
Nus.soc.cs5248 Ooi Wei Tsang Recent Papers from conferences.
Project Presentation. Reminder 13th November 1 – 5pm Read your s/Visit web sites for more information (later)
1 Image and Video Compression: An Overview Jayanta Mukhopadhyay Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur,
©Brooks/Cole, 2003 Chapter 15 Data Compression. ©Brooks/Cole, 2003 Realize the need for data compression. Differentiate between lossless and lossy compression.
CSE679: MPEG r MPEG-1 r MPEG-2. MPEG r MPEG: Motion Pictures Experts Group r Standard for encoding videos/movies/motion pictures r Evolving set of standards.
Image and Video Compression
Video Streaming via Transcoding Jianping Fan Department of Computer Science University of North Carolina at Charlotte Charlotte, NC 28223
NUS.SOC.CS Roger Zimmermann (based in part on slides by Ooi Wei Tsang) Media Compression.
ECE472/572 - Lecture 12 Image Compression – Lossy Compression Techniques 11/10/11.
MPEG: A Video Compression Standard for Multimedia Applications Didier Le Gall Communications of the ACM Volume 34, Number 4 Pages 46-58, 1991.
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.
M P E G A Presentation by Sebastian Graf and Thomas Winterscheid.
MPEG-1 and MPEG-2 Digital Video Coding Standards Author: Thomas Sikora Presenter: Chaojun Liang.
MPEG: (Moving Pictures Expert Group) A Video Compression Standard for Multimedia Applications Seo Yeong Geon Dept. of Computer Science in GNU.
Video Compression Techniques By David Ridgway.
1 Dude, Where is My Packet?. NUS.SOC.CS5248 OOI WEI TSANG 2 Overview Characteristics of the Internet General techniques Error recovery for audio Effect.
NUS.SOC.CS5248 Ooi Wei Tsang 1 CS6282 Very Large Scale Distributed Systems Ooi Wei Tsang SOC
NUS.SOC.CS Roger Zimmermann (based on slides by Ooi Wei Tsang) Systems Support for Continuous Media.
MPEG MPEG : Motion Pictures Experts Group MPEG : ISO Committee Widely Used Video Compression Standard.
June, 1999 An Introduction to MPEG School of Computer Science, University of Central Florida, VLSI and M-5 Research Group Tao.
8. 1 MPEG MPEG is Moving Picture Experts Group On 1992 MPEG-1 was the standard, but was replaced only a year after by MPEG-2. Nowadays, MPEG-2 is gradually.
NUS.SOC.CS Roger Zimmermann (based in part on slides by Ooi Wei Tsang) Media Compression.
Compression video overview 演講者:林崇元. Outline Introduction Fundamentals of video compression Picture type Signal quality measure Video encoder and decoder.
NUS.SOC.CS Roger Zimmermann (based on slides by Ooi Wei Tsang) Systems Support for Continuous Media.
NUS.SOC.CS5248 Ooi Wei Tsang Rate Adaptations. NUS.SOC.CS5248 Ooi Wei Tsang You are Here Network Encoder Sender Middlebox Receiver Decoder.
NUS.SOC.CS Roger Zimmermann (based in part on slides by Ooi Wei Tsang) Rate Adaptations.
Video Compression and Standards
CHAPTER-VIDEO COMPRESSION STANDARDS 1. Contents  What is Video Compression?  Why Video compression?  Video Compression Standards  Evaluation of Video.
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.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 19 – Multimedia Transport Subsystem (Part 2) + Midterm Review Klara Nahrstedt Spring 2014.
1 Part A Multimedia Production Chapter 2 Multimedia Basics Digitization, Coding-decoding and Compression Information and Communication Technology.
NUS.SOC.CS5248 OOI WEI TSANG 1 Previously, on CS5248..
NUS.SOC.CS5248 Ooi Wei Tsang Systems Support for Continuous Media.
NUS.SOC.CS Roger Zimmermann (based in part on slides by Ooi Wei Tsang) Rate Adaptations.
H. 261 Video Compression Techniques 1. H.261  H.261: An earlier digital video compression standard, its principle of MC-based compression is retained.
Media Compression.
Media Compression.
CS5248: Systems Support for Continuous Media
Project Proposal Due Next Mon. Submit by
Error Recovery.
Rate Adaptations.
MPEG + RTP.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Media Compression.
Data Compression.
Video Compression - MPEG
CS6282 Very Large Scale Distributed Systems
Standards Presentation ECE 8873 – Data Compression and Modeling
Presentation transcript:

NUS.SOC.CS5248 Ooi Wei Tsang Systems Support for Continuous Media OOI WEI TSANG

NUS.SOC.CS5248 OOI Wei Tsang Scope of this class Systems Support: Application Middleware Operating System Continuous Media: Video, audio, animation

NUS.SOC.CS5248 OOI Wei Tsang Local Media Applications Watch Movie Listen to Music Video Editing : (Much Less Interesting …)

NUS.SOC.CS5248 OOI Wei Tsang Network Media Applications Live Webcast Pre-recorded Webcast Video Conferencing Video on Demand

NUS.SOC.CS5248 OOI Wei Tsang Categories Interactive Non- Interactive Live Video Conferencing NUSLive, NUSCast Pre- recorded Lecture/Video on Demand

NUS.SOC.CS5248 OOI Wei Tsang Streaming Media Requires Reliable networks Low latency Bounded latency Plenty of bandwidth Not in today’s Internet.

NUS.SOC.CS5248 OOI Wei Tsang Overview Network Encoder Sender Middlebox Receiver Decoder

NUS.SOC.CS5248 OOI Wei Tsang We will NOT Design new codec Study media processing CS6212/CS5240 Attempt to improve the Internet EE5910

NUS.SOC.CS5248 Ooi Wei Tsang Summary of Topics Covered

NUS.SOC.CS5248 OOI Wei Tsang Sample of Topics Covered Review of Media Compression Network Communication Model Network Encoder Sender Middlebox Receiver Decoder

NUS.SOC.CS5248 OOI Wei Tsang Sample of Topics Covered Adaptation Video on Demand Network Encoder Sender Middlebox Receiver Decoder

NUS.SOC.CS5248 OOI Wei Tsang Sample of Topics Covered Buffering Audio/Video Synchronization Packet Loss Recovery Network Encoder Sender Middlebox Receiver Decoder

NUS.SOC.CS5248 OOI Wei Tsang Sample of Topics Covered Caching Application-Level Multicast Network Encoder Sender Middlebox Receiver Decoder

NUS.SOC.CS5248 OOI Wei Tsang Lecture Philosophy Cover the breadth, rather than depth Classic papers, rather than recent papers

NUS.SOC.CS5248 Ooi Wei Tsang Class Organization

NUS.SOC.CS5248 OOI Wei Tsang Goals Learn about existing techniques and systems Learn about current research efforts Learn about how to do research

NUS.SOC.CS5248 OOI Wei Tsang Philosophy Research oriented Students are expected to be mature and independent What you learned is more important than grade

NUS.SOC.CS5248 OOI Wei Tsang Please don’t ask.. “Is this equation important?” “Is this equation examinable?” “Do I have to memorize this header format?” “Post answer to quiz/survey/review”

NUS.SOC.CS5248 OOI Wei Tsang Please do ask.. “What is the effect of changing k in the equation?” “Why did the designer added this bit in the header?”

NUS.SOC.CS5248 OOI Wei Tsang Academic Honesty No copying among students No copying from published work ZERO TOLERENCE to Plagiarism

NUS.SOC.CS5248 OOI Wei Tsang Discussion? Strongly encouraged.. but must acknowledge all contributions write up solutions independently

NUS.SOC.CS5248 OOI Wei Tsang Gilligan’s Island Rule Discuss with friends Throw notes away Go watch “Gilligan’s Island” (or “Phua Chu Kang”, or “Super Sunday”) Write down your solution

NUS.SOC.CS5248 Ooi Wei Tsang Continuous Assessments

NUS.SOC.CS5248 OOI Wei Tsang Continuous Assessments Project (50%) Paper Survey (20%) Paper Review (15%) One of Programming Assignment Random Quizzes Class Participation Mid-term

NUS.SOC.CS5248 OOI Wei Tsang Research Project Define a problem Propose a solution Implement the solution Evaluate the solution

NUS.SOC.CS5248 OOI Wei Tsang Types of Project New problem + solution Existing problem + new solution Existing problem + existing solutions + comparisons + new insights See website for more..

NUS.SOC.CS5248 OOI Wei Tsang Variations Combine with your own research subjected to your advisor’s approval Combine with another class project subjected to the other instructor’s approval must be more significant

NUS.SOC.CS5248 OOI Wei Tsang Research Project Deliverables: page paper poster presentation demo (if applicable) In a group of 1 to n students

NUS.SOC.CS5248 OOI Wei Tsang Survey Paper In-depth study of a topic 4-10 papers expected Suggested list of topics available (can be the same topic as your project!)

NUS.SOC.CS5248 OOI Wei Tsang Survey Paper summarize recent results organize, generalize, categorize add understanding

NUS.SOC.CS5248 OOI Wei Tsang Survey Paper Deliverables: page survey paper Individual work

NUS.SOC.CS5248 OOI Wei Tsang Paper Reviews Read, summarize, and criticize 10 papers One is assigned almost weekly Deliverables: One page report per paper

NUS.SOC.CS5248 OOI Wei Tsang Expected Workload Read 3-4 papers per week Some hours of coding per week

NUS.SOC.CS5248 OOI Wei Tsang Office Hours Saturday 11 am – 12 noon SOC or for appointment or just pop in

NUS.SOC.CS5248 OOI Wei Tsang Web Sites Main Website IVLE Website

NUS.SOC.CS5248 Ooi Wei Tsang Questions

NUS.SOC.CS5248 Ooi Wei Tsang Review of Media Compression

NUS.SOC.CS5248 OOI Wei Tsang You are Here Network Encoder Sender Middlebox Receiver Decoder

NUS.SOC.CS5248 OOI Wei Tsang Why compress? “Bandwidth Not Enough” “Disk Space Not Enough” Size of Uncompressed DVD Movie =

NUS.SOC.CS5248 OOI Wei Tsang Why compress? “Bandwidth Not Enough” “Disk Space Not Enough” Size of Uncompressed DVD Movie = 720 x 576 x 3 x 25 x 60 x 120 = 208.6GB

NUS.SOC.CS5248 Ooi Wei Tsang JPEG Compression

Original Image (1153KB) 1:1

Original Image (1153KB) 3.5:1

Original Image (1153KB) 17:1

Original Image (1153KB) 27:1

Original Image (1153KB) 72:1

Original Image (1153KB) 192:1

NUS.SOC.CS5248 OOI Wei Tsang Compression Ratio QualitySizeRatio Raw TIFF1153KB1:1 Zipped TIFF982KB1.2:1 Q=100331KB3.5:1 Q=7067KB17:1 Q=4043KB27:1 Q=1016KB72:1 Q=16KB192:1

NUS.SOC.CS5248 OOI Wei Tsang Magic of JPEG Throw away information we cannot see Color information “Low-frequency signals” Rearrange data for good compression Use standard compression

NUS.SOC.CS5248 OOI Wei Tsang Throw away color information Y VU

NUS.SOC.CS5248 OOI Wei Tsang Color Sub-sampling 4:4:4 4:2:2 4:2:0 4:1:1

Original Image (1153KB)

NUS.SOC.CS5248 OOI Wei Tsang Discrete Cosine Transform DCT demo applet and source code is available on the web.

NUS.SOC.CS5248 OOI Wei Tsang Quantization /=

NUS.SOC.CS5248 OOI Wei Tsang Differential Coding

NUS.SOC.CS5248 OOI Wei Tsang Zig-zag ordering , 3, 2, 4, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0

NUS.SOC.CS5248 OOI Wei Tsang Run-Length Encoding , 3, 2, 4, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0 (27, 1) (3, 1) (2, 1), (4, 1), (1, 2), (0, 5), (1, 1), (0, 4)

NUS.SOC.CS5248 OOI Wei Tsang Idea: Motion JPEG Compress every frame in a video as JPEG DVD-quality video = 208.6GB Reduction ratio = 27:1 Final size = 7.7GB

NUS.SOC.CS5248 Ooi Wei Tsang Video Compression

NUS.SOC.CS5248 OOI Wei Tsang Temporal Redundancy

NUS.SOC.CS5248 OOI Wei Tsang Motion Estimation

NUS.SOC.CS5248 OOI Wei Tsang Bi-directional Prediction

NUS.SOC.CS5248 OOI Wei Tsang H.261 I-Frame P-Frame

NUS.SOC.CS5248 OOI Wei Tsang MPEG-1 B-Frame

NUS.SOC.CS5248 OOI Wei Tsang MPEG Frame Pattern Example display sequence: IBBPBBP … Example encoding sequence: IPBBPBB

NUS.SOC.CS5248 OOI Wei Tsang Compression Ratio Frame TypeTypical Ratio I10:1 P20:1 B50:1

NUS.SOC.CS5248 OOI Wei Tsang Sequence sequence header: width height frame rate bit rate :

NUS.SOC.CS5248 OOI Wei Tsang GOP: Group of Picture gop header: time :

NUS.SOC.CS5248 OOI Wei Tsang Picture pic header: number type (I,P,B) :

NUS.SOC.CS5248 OOI Wei Tsang Picture

NUS.SOC.CS5248 OOI Wei Tsang Slice

NUS.SOC.CS5248 OOI Wei Tsang Macroblock

NUS.SOC.CS5248 OOI Wei Tsang Block YY YY U V 1 Macroblock =

NUS.SOC.CS5248 OOI Wei Tsang MPEG in daily life MPEG Standards Bit-rateUsage MPEG-11.5MbpsVCD MPEG Mbps DVD, SVCD, HDTV MPEG-4Scalable QuickTime, DivX;)

NUS.SOC.CS5248 OOI Wei Tsang Impact on Systems Design How to package data into packets? How to deal with packet loss? How to deal with bursty traffic? How to predict decoding time? :