Video Streaming via Transcoding Jianping Fan Department of Computer Science University of North Carolina at Charlotte Charlotte, NC 28223

Slides:



Advertisements
Similar presentations
T.Sharon-A.Frank 1 Multimedia Compression Basics.
Advertisements

MPEG: A Video Compression Standard for Multimedia Applications Václav Hlaváč CTU Prague, Initial material were slides of Didier.
INTERNATIONAL CONFERENCE ON TELECOMMUNICATIONS, ICT '09. TAREK OUNI WALID AYEDI MOHAMED ABID NATIONAL ENGINEERING SCHOOL OF SFAX New Low Complexity.
A Performance Analysis of the ITU-T Draft H.26L Video Coding Standard Anthony Joch, Faouzi Kossentini, Panos Nasiopoulos Packetvideo Workshop 2002 Department.
Automatic Video Shot Detection from MPEG Bit Stream Jianping Fan Department of Computer Science University of North Carolina at Charlotte Charlotte, NC.
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.
-1/20- MPEG 4, H.264 Compression Standards Presented by Dukhyun Chang
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.
Chapter 7 End-to-End Data
Issues for Multimedia Privacy & Security ---- Video Content Privacy Protection, Copyright Protection & Database Access Control Jianping Fan Dept of Computer.
MPEG: A Video Compression Standard for Multimedia Applications Didier Le Gall Communications of the ACM Volume 34, Number 4 Pages 46-58, 1991.
Department of Computer Engineering University of California at Santa Cruz Video Compression Hai Tao.
MPEG: A Video Compression Standard for Multimedia Applications Didier Le Gall Communications of the ACM Volume 34, Number 4 Pages 46-58, 1991.
A New Content-Based Hybrid Video Transcoding Method YongQing Liang YapPeng Tan Presented by Robert Hung.
Introduction to Video Transcoding Of MCLAB Seminar Series By Felix.
CS :: Fall 2003 MPEG-1 Video (Part 1) Ketan Mayer-Patel.
Transform Domain Distributed Video Coding. Outline  Another Approach  Side Information  Motion Compensation.
T.Sharon-A.Frank 1 Multimedia Image Compression 2 T.Sharon-A.Frank Coding Techniques – Hybrid.
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.
©Brooks/Cole, 2003 Chapter 15 Data Compression. ©Brooks/Cole, 2003 Realize the need for data compression. Differentiate between lossless and lossy compression.
An Introduction to H.264/AVC and 3D Video Coding.
MPEG2 FGS Implementation ECE 738 Advanced Digital Image Processing Author: Deshan Yang 05/01/2003.
January 26, Nick Feamster Development of a Transcoding Algorithm from MPEG to H.263.
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
EE 5359 H.264 to VC 1 Transcoding Vidhya Vijayakumar Multimedia Processing Lab MSEE, University of Arlington Guided.
1 Motivation Video Communication over Heterogeneous Networks –Diverse client devices –Various network connection bandwidths Limitations of Scalable Video.
Image Compression - JPEG. Video Compression MPEG –Audio compression Lossy / perceptually lossless / lossless 3 layers Models based on speech generation.
JPEG 2000 Image Type Image width and height: 1 to 2 32 – 1 Component depth: 1 to 32 bits Number of components: 1 to 255 Each component can have a different.
Kai-Chao Yang Hierarchical Prediction Structures in H.264/AVC.
MPEG-2 Standard By Rigoberto Fernandez. MPEG Standards MPEG (Moving Pictures Experts Group) is a group of people that meet under ISO (International Standards.
ECE472/572 - Lecture 12 Image Compression – Lossy Compression Techniques 11/10/11.
1 Image Compression. 2 GIF: Graphics Interchange Format Basic mode Dynamic mode A LZW method.
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: (Moving Pictures Expert Group) A Video Compression Standard for Multimedia Applications Seo Yeong Geon Dept. of Computer Science in GNU.
DATA COMPRESSION LOSSY COMPRESSION METHODS What it is… A compression of information that is acceptable in pictures or videos, but not texts or programs.
Picture typestMyn1 Picture types There are three types of coded pictures. I (intra) pictures are fields or frames coded as a stand-alone still image. These.
CS :: Fall 2003 Media Scaling / Content Adaptation Ketan Mayer-Patel.
June, 1999 An Introduction to MPEG School of Computer Science, University of Central Florida, VLSI and M-5 Research Group Tao.
Image Compression Supervised By: Mr.Nael Alian Student: Anwaar Ahmed Abu-AlQomboz ID: IT College “Multimedia”
Chapter 2 : Imaging and Image Representation Computer Vision Lab. Chonbuk National University.
IBM QBIC: Query by Image and Video Content Jianping Fan Department of Computer Science University of North Carolina at Charlotte Charlotte, NC 28223
Image/Video Coding Techniques for IPTV Applications Wen-Jyi Hwang ( 黃文吉 ) Department of Computer Science and Information Engineering, National Taiwan Normal.
Fine Granularity Scalability in MPEG-4 Video by Weiping Li Presentation by Warren Cheung.
Transcoding based optimum quality video streaming under limited bandwidth *Michael Medagama, **Dileeka Dias, ***Shantha Fernando *Dialog-University of.
Video Compression and Standards
Flow Control in Compressed Video Communications #2 Multimedia Systems and Standards S2 IF ITTelkom.
COMPARATIVE STUDY OF HEVC and H.264 INTRA FRAME CODING AND JPEG2000 BY Under the Guidance of Harshdeep Brahmasury Jain Dr. K. R. RAO ID MS Electrical.
John Hamann Vickey Yeh Compression of Stereo Images.
(B1) What are the advantages and disadvantages of digital TV systems? Hint: Consider factors on noise, data security, VOD etc. 1.
Jianping Fan Department of Computer Science University of North Carolina at Charlotte Charlotte, NC Relevance Feedback for Image Retrieval.
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.
6/9/20161 Video Compression Techniques Image, Video and Audio Compression standards have been specified and released by two main groups since 1985: International.
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.
JPEG Compression What is JPEG? Motivation
Automatic Video Shot Detection from MPEG Bit Stream
Data Compression.
JPEG Image Coding Standard
MPEG-1 Video Coding Standard
Data Compression.
Video Compression - MPEG
Security Issues for Visual Data: Copyright and Access Control
Multimedia networking: outline
CIS679: MPEG MPEG.
Standards Presentation ECE 8873 – Data Compression and Modeling
Multimedia networking: outline
Presentation transcript:

Video Streaming via Transcoding Jianping Fan Department of Computer Science University of North Carolina at Charlotte Charlotte, NC

query object feature extraction Cluster 1 Cluster i Cluster n Subcluster i1Subcluster ij Subcluster im Subregion ij1Subregion ijl Subregion ijr Object ijrm Disk for cluster 1Disk for cluster i 1. Why we need transcoding? Networks?

1. Why we need transcoding? How can I access video in database over networks? Networks a. Videos in database are encoded, fixed and stored. b. Network conditions are always changing! Streaming Videos via Trancoding!

2. Key parameters for transcoding a. Video coding format used in database system. Bit rate for the retrieved video! b. Network conditions such as bandwidth! c. Client’s QoS parameters: Quality such as resolution Delay Quality of Presentation of video

3. Basic requirements transcoding Original bit stream Bit stream sent to client via network a. Bit rate after transcoding should be close to network bandwidth! b. Quality of transcoded video should be accepted by clients! Not induce too much quantization error again! c. Easy for implementation!

4. Case study: Streaming MPEG-1 video over ISDN MPEG-1 Stream ISDN Network Transcoder MPEG-1 Encoder Real-Time Transcoder network MPEG-1 player Error 1 Error 2 Error 1 + Error 2 should be accepted by clients!

5. Quality of Video Parameters for defining Quality of Video: a. Frame rate-The number of still pictures displayed per second to give the viewer perception of motion. b. Color depth-The number of bits per pixel for representing color information. c. Frame resolution-Typically expressed as the width and height in pixels.

6. Simple Transcoding Real-time decoding and real-time re-encoding MPEG-1 Stream MPEG-1 Decoder Real-time H.263 Encoder ISDN Network real-time Too Expensive & Too much Errors!

6. Simple Transcoding Where the bit rate comes from? a.Frame rate b.Frame resolution c.Color depth

7. Transcoding via Spatial Sampling Spatial Resolution Reduction: reduction resolution What will happen when we reduce MPEG video’s resolution?

7. Transcoding via Spatial Sampling Spatial Resolution Reduction: time GOP 4GOP 3GOP 2GOP 1 IBBPBBPBBBP GOP

7. Transcoding via Spatial Sampling Spatial Resolution Reduction: I frame New I frame What will happen if do like this? Sample filtering?

7. Transcoding via Spatial Sampling Spatial Resolution Reduction: How to do it? Y U V How to code I frame? I frame

7. Transcoding via Spatial Sampling Spatial Resolution Reduction: Sample filtering We can do this easily on original image, can we this sample filtering on compressed domain (DCT coefficients)? DC and AC coefficients! I-macroblock

7. Transcoding via Spatial Sampling Spatial Resolution Reduction: Sample filtering

7. Transcoding via Spatial Sampling Spatial Resolution Reduction: If we do resolution reduction on I frames, there are two questions: (1) how we can do this on P & B frames? (2) what’s the influence on motion compensation?

7. Transcoding via Spatial Sampling Spatial Resolution Reduction: Original I FrameOriginal P Frame Transcoding I frame ? How we can use transcoded I frame in the decoder side to get P frame?

7. Transcoding via Spatial Sampling Spatial Resolution Reduction: Original I FrameOriginal P Frame Transcoding I frameTranscoding P frame transcoding ?

7. Transcoding via Spatial Sampling Spatial Resolution Reduction: I or P frame P frame Motion vectors & DCT coefficients of compensated errors How to sample the motion vectors?

8. Transcoding via Temporal Sampling Temporal Resolution Reduction (frame dropping): Frame dropping (1) Which frame should be dropped? (2) What is the influence if we drop some frames?

7. Transcoding via Temporal Sampling Temporal Resolution Reduction (frame dropping): (1) We cannot drop I frames in a GOP (group of pictures). (2) If we drop a P frame, how about its B frames? Drop B frame together or refine motion vectors? IBP (1) It is no problem for us dropping B frames, but bit rate for them is low!

8. Transcoding via Temporal Sampling Temporal Resolution Reduction (frame dropping): I BB P B BP I BB P How we can get compensation of B from another P frame? trancoding

8. Transcoding via Temporal Sampling IPP Motion vector 1Motion vector 2 Motion vector 3 (1) What’s the relationship between motion vector 3 and motion vector 1 and motion vector 2? DCT I P (2) What’s the relationship between the DCT coefficients between I frame and frame after one P is dropped?

9. Transcoding via Averaging Video Averaging Videos Select DC coefficient for each block! DC AC 63 DC

9. Transcoding via Averaging Video Averaging Videos If we just select DC coefficients for I frame, what’s influence on P frames and B frames? I P ? averaging

10. Transcoding via Reducing Color Depth Color depth reduction via binary: binary 8 bits 1 bit (1) How to do this on the compressed domain? (2) What’s the influence on P and B frames?

11. Transcoding via Re-Quantization Re-Quantization Quantization is an efficient way to reduce the redundancy information, but also induce errors in the picture! In current video and image coding standards such as MPEG-*, H.26*, JPEG-*, they use two parameters to define quantization: (1) Scale; (2) Quantization table. We can only change scale to realize re-quantization! What’s the influence for motion compensation?

12. Transcoding with Network Condition MPEG-1 Stream ISDN Network Adaptive Transcoder Parameters should be used for adaptive trancoder design: a. Frame rateb. resolution c. Color depthd. Averaging

12. Transcoding with Network Condition MPEG-1 Stream ISDN Network Adaptive Transcoder Problem: Adaptive Transcoder Design Subject to: Network bandwidth (changing) Source video bit rate ? Network should be used for selecting parameters!

13. Transcoding with Client QoS MPEG-1 Stream ISDN Network Adaptive Transcoder Problem: Adaptive Transcoder Design Subject to: Client’s QoS Source video bit rate ?

14. Open Discussion a. Why we select streaming for video not download? b. How transcoder can adapt? c. Can we do transcode fully on compressed domain?

How can we support content-adaptive video transcoding?

Do we keep the dominant video contents?