Video over the Internet CS 7270 Networked Applications & Services.

Slides:



Advertisements
Similar presentations
Jung-Hwan Low Redundancy Layered Multiple Description Scalable Coding Using The Subband Extension Of H.264/AVC Department of Electrical.
Advertisements

Streaming Video over the Internet
Introduction to H.264 / AVC Video Coding Standard Multimedia Systems Sharif University of Technology November 2008.
A Graduate Course on Multimedia Technology 3. Multimedia Communication © Wolfgang Effelsberg Media Scaling and Media Filtering Definition of.
MPEG: A Video Compression Standard for Multimedia Applications Václav Hlaváč CTU Prague, Initial material were slides of Didier.
Internet Video By Mo Li. Video over the Internet Introduction Video & Internet: the problems Solutions & Technologies in use Discussion.
Yi Liang Department of Electrical Engineering Stanford University April 19, 2000 Loss Recovery and Adaptive Playout Control for Packet Voice Communications.
Multimedia Streaming Protocols1 Multimedia Streaming: Jun Lu Xinran (Ryan) Wu CSE228 Multimedia Systems Challenges and Protocols.
Streaming Video over the Internet: Approaches and Directions Dapeng Wu, Yiwei Thomas Hou et al. Presented by: Abhishek Gupta
Application layer (continued) Week 4 – Lecture 2.
1 Sangeun Han, Athina Markopoulou Transmitting Scalable Video over a DiffServ network EE368C Project Proposal Sangeun Han, Athina Markopoulou 1/30/01.
MPEG: A Video Compression Standard for Multimedia Applications Didier Le Gall Communications of the ACM Volume 34, Number 4 Pages 46-58, 1991.
Rate-Distortion Optimized Layered Coding with Unequal Error Protection for Robust Internet Video Michael Gallant, Member, IEEE, and Faouzi Kossentini,
Streaming Media. Unicast Redundant traffic Multicast One to many.
Video Streaming: An FEC-Based Novel Approach Jianfei Cai, Chang Wen Chen Electrical and Computer Engineering, Canadian Conference on.
Error Resilience in a Generic Compressed Video Stream Transmitted over a Wireless Channel Muhammad Bilal
Real-time Transport Protocol Matt Boutell CS457: Computer Networks November 15, 2001.
CT20A6100 MACHINE VISION AND DIGITAL IMAGE ANALYSIS MPEG Pauli Jutila Cristina Petre.
Streaming Video Gabriel Nell UC Berkeley. Outline Scalable MPEG-4 video – Layered coding method – Integrated transport-decoder buffer model RAP streaming.
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.
Multi-Path Transport of FGS Video Jian Zhou, Huai-Rong Shao, Chia Shen and Ming-Ting Sun ICME 2003.
Statistical Multiplexer of VBR video streams By Ofer Hadar Statistical Multiplexer of VBR video streams By Ofer Hadar.
CS :: Fall 2003 Layered Coding and Networking Ketan Mayer-Patel.
Using Interleaving to Ameliorate the Effects of Packet Loss in a Video Stream Mark Claypool and Yali Zhu Computer Science Department Worcester Polytechnic.
Variable Bit Rate Video Coding April 18, 2002 (Compressed Video over Networks: Chapter 9)
On Error Preserving Encryption Algorithms for Wireless Video Transmission Ali Saman Tosun and Wu-Chi Feng The Ohio State University Department of Computer.
Add image. 3 “ Content is NOT king ” today 3 40 analog cable digital cable Internet 100 infinite broadcast Time Number of TV channels.
CS 218 F 2003 Nov 3 lecture:  Streaming video/audio  Adaptive encoding (eg, layered encoding)  TCP friendliness References: r J. Padhye, V.Firoiu, D.
CIS679: RTP and RTCP r Review of Last Lecture r Streaming from Web Server r RTP and RTCP.
Electrical Engineering National Central University Video-Audio Processing Laboratory Data Error in (Networked) Video M.K.Tsai 04 / 08 / 2003.
Ali Saman Tosun Computer Science Department
Streaming Video over the Internet Dapeng Wu Electrical & Computer Engineering University of Florida.
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.
Audio Compression Usha Sree CMSC 691M 10/12/04. Motivation Efficient Storage Streaming Interactive Multimedia Applications.
Computer Networks: Multimedia Applications Ivan Marsic Rutgers University Chapter 3 – Multimedia & Real-time Applications.
Streaming Stored Audio and Video (1) and Video (1) Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot.
1 Lecture 17 – March 21, 2002 Content-delivery services. Multimedia services Reminder  next week individual meetings and project status report are due.
CS :: Fall 2003 Media Scaling / Content Adaptation Ketan Mayer-Patel.
Video Streaming Concepts Reading: John G. Apostolopoulos, Wai- tian Tan, Susie J. Wee, “Video Streaming: Concepts, Algorithms, and Systems”, HP Laboratories.
1 o characteristics – From an application-level API to the physical layer – CBR, VBR, ABR and UBR – Cell: bytes – Virtual circuits: virtual channel.
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.
Compression video overview 演講者:林崇元. Outline Introduction Fundamentals of video compression Picture type Signal quality measure Video encoder and decoder.
03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing Streaming 1.
Advances in digital image compression techniques Guojun Lu, Computer Communications, Vol. 16, No. 4, Apr, 1993, pp
Scalable Video Coding and Transport Over Broad-band wireless networks Authors: D. Wu, Y. Hou, and Y.-Q. Zhang Source: Proceedings of the IEEE, Volume:
Methods of Handling Packet Loss for Multimedia Applications by Hansen Bow.
Fine Granularity Scalability in MPEG-4 Video by Weiping Li Presentation by Warren Cheung.
AIMS’99 Workshop Heidelberg, May 1999 Assessing Audio Visual Quality P905 - AQUAVIT Assessment of Quality for audio-visual signals over Internet.
Overview of Digital Video Compression Multimedia Systems and Standards S2 IF Telkom University.
3GPP2 Evolution Workshop Multimedia Codecs and Protocols 3GPP2 TSG-C SWG1.2.
Flow Control in Multimedia Communication Multimedia Systems and Standards S2 IF Telkom University.
Fundamentals of Multimedia Chapter 17 Wireless Networks 건국대학교 인터넷미디어공학부 임 창 훈.
(B1) What are the advantages and disadvantages of digital TV systems? Hint: Consider factors on noise, data security, VOD etc. 1.
1 Multimedia Outline Compression RTP Scheduling. 2 Compression Overview Encoding and Compression –Huffman codes Lossless –data received = data sent –used.
Technical Seminar Presentation Presented by : SARAT KUMAR BEHERA NATIONAL INSTITUTE OF SCIENCE AND TECHNOLOGY [1] Presented By SARAT KUMAR BEHERA Roll.
Multimedia Communication Systems Techniques, Standards, and Networks Chapter 6 Multimedia Communication Across Networks.
Networked Multimedia Basics. Network Characteristics.
Introduction to H.264 / AVC Video Coding Standard Multimedia Systems Sharif University of Technology November 2008.
19 – Multimedia Networking
Klara Nahrstedt Spring 2009
Error Recovery.
Injong Rhee ICMCS’98 Presented by Wenyu Ren
Video Compression - MPEG
Video Multicast over the Internet (IEEE Network, March/April 1999)
Multimedia networking: outline
CSE679: Multimedia and Networking
CIS679: MPEG-2 Review of MPEG-1 MPEG-2 Multimedia and networking.
Standards Presentation ECE 8873 – Data Compression and Modeling
Multimedia networking: outline
Presentation transcript:

Video over the Internet CS 7270 Networked Applications & Services

Reading “Video Streaming: Concepts, Algorithms,and Systems”, John G. Apostolopoulos, Wai- tian Tan, Susie J. Wee, HP Laboratories Palo Alto Very nicely written tutorial But written in 2002

Classification of video apps Point2point vs multicast vs broadcast –Is there a “reverse channel”? –Pros and cons of reverse channel Real-time vs pre-recorded video –What about “almost real-time”? Interactive vs non-interactive video Static vs dynamic channels CBR vs VBR channels –Do not confuse with CBR/VBR encoding Packet-switched vs circuit-switched channels QoS support?

Overview of video compression Distinguish between standards (e.g., MPEG-2) and particular codecs (e.g., WMV) Spatial redundancy in images/video Temporal redundancy in video Perceptual redundancy (much less understood and exploited)

JPEG image compression Convert RGB image to luminance (intensity) and chrominance components Partition image in 8x8 blocks Compute 2-D Discrete-Cosine Transform (DCT) coefficients of each block –Natural images have mostly low-frequency content Quantization of most important coefficients Variable-length encoding (remember Huffman coding?) of quantized coefficients to produce compressed bitstream

Video compression Apply image compression for each frame? –Does not exploit temporal redundancy Motion estimation Partition frame in 16x16 blocks Identify closest block in previous frame, and compute motion vector Encode the prediction error, as well as the motion vector for each block

Prediction dependences between frames Intracoded frames (I), predicted frames (P), and interpolated frames (B) Inherently VBR encoding The GOP and its significance

Video standards What do the standards specify? –Encode and decoder implementations? –Bit syntax? –Decoding process?

Video streaming challenges Video download or video streaming? –Let’s define carefully each option –Consider the standard “navigation” requirements (pause, fast-forward, rewind, scene selection, etc) –Which option is better? 1.Time-varying bandwidth 2.Delay jitter 3.Packet losses

Time-varying bandwidth and rate control What does rate control mean? –How would you do rate control? Available bandwidth estimation and its application in rate control Video streaming over TCP –TCP is a window (not rate) based transport protocol –TCP adjusts the window size based on AIMD congestion- control algorithm –Nevertheless, TCP is often used in video streaming, especially when receiver window is appropriately sized How would you calculate the receiver window size to set the streaming rate at a certain value? Video streaming over UDP –Congestion control? –TCP friendlyness

Rate control techniques Transcoding –Requires application-layer gateways Multiple encodings of same file –Burden for the server (and potentially the user) Scalable compression (or layered coding)

Jitter (delay variations) Why is this a problem? Solution: Playback buffering –Key question: how long should the playback buffer (or playback delay) be? –Several research proposals for Adaptive Playback Buffer schemes Playback buffers have additional advantages: –Allow retransmissions of lost packets –Smooth throughput variations (e.g., due to TCP) –Loss resilience through interleaving

Effect of playout buffering

Packet losses Common in Internet paths due to congestion or short-term outages –Key characteristic: losses take place in bursts Solutions? 1.Retransmissions Commonly used, but constrained by delay budget and playback delay 2.Forward Error Correction Introduce bandwidth overhead (and potentially delay) 3.Loss/error concealment Less effective in highly compressed video, but also commonly used 4.Loss resilient video coding

Need for loss-resilient codecs Some video codecs are not resilient to losses –Loss of bitstream synchronization Need for Resync markers (placed where?) Place most important data just after markers –Error propagation across frames How can reverse channel help?

Error-resilient video coding methods Scalable (layered) video coding –Base layer plus several enhancement layers –Useful if network provides several classes of service or priorities Multiple description coding (MDC) video –Several “descriptions” of the same video –The more descriptions you receive, the better –Significant redundancy among descriptions –What if all descriptions are subject to simultaneous losses? MDC video with path diversity

Multiple description video and path diversity

Adaptive video streaming over HTTP Read: –“Watching Video over the Web, Part 1 (streaming protocols”, by Ali Begen et al.

Reading “I Tube, You Tube, Everybody Tubes: Analyzing the World’s Largest User Generated Content Video System”, by M.Cha et al. Appeared at IMC’07

YouTube basics How can we crawl all posted videos? Metadata for each video? –# of views –# of ratings –Average rating (stars) –# comments -> user interaction –Links from other sites –Director Several categories of videos –The paper focuses on ENTertainment and “How to & DIY” (SCI) categories

UGC vs non-UGC traces

Pareto principle in video popularity Also known as the “80-20” (or 90-10) rule Associated with highly skewed distributions Caused by positive-feedback effects (“the rich get richer”) Does non-UGC content (say movies from NetFlix) follow a similar pattern? A practical implication of this skewness: caching works!

Video popularity: power-law? Definition of power-law: Prob[X>x] ~ c*x -a for large x How would you check if a random variable X follows a power-law? The popularity of YouTube videos appears to be a power-law with an exponential cutoff in very large values (truncated tail)

What causes the “truncated-tails”? Authors’ conjecture: truncated tails can result from “fetch-only-once” effect? –As opposed to “fetch-again”, every time we access a popular Web page such as CNN.com

Analysis of “long tail” phenomemon What can prevent/reduce the “long tail” effect for unpopular videos? 1.Natural reasons: some video clips were not meant to be seen by many people (e.g., family or friend videos) 2.Sampling filters: Uploaders do not post their less interesting videos 3.Information filters: Search engines return most popular/linked content (older videos are more affected by such filtering)

Do users mostly see new content? Very recent videos (about a month old) get more requests But overall, the popularity does not seem to depend on the video’s age

Content duplication/aliases What does this mean? Why is it important? How to detect aliases, say in YouTube?

Illegal uploads of video content Mostly due to copyrighted material Major issue for all UGC applications How to detect/measure? The paper reports that only 5% of the deleted videos were marked by YouTube as “copyright violations”