Bit Rate Reduction Video Transcoding with Distributed Computing

Similar documents
Copyright Notice. Springer papers: Springer. Pre-prints are provided only for personal use. The final publication is available at link.springer.

Energy-Aware MPEG-4 4 FGS Streaming

Advanced Video Coding: The new H.264 video compression standard

MPEG-2. And Scalability Support. Nimrod Peleg Update: July.2004

Homogeneous Transcoding of HEVC for bit rate reduction

Lecture 13 Video Coding H.264 / MPEG4 AVC

JPEG 2000 vs. JPEG in MPEG Encoding

Scalable Video Coding

Review and Implementation of DWT based Scalable Video Coding with Scalable Motion Coding.

Cross Layer Protocol Design

Video Compression MPEG-4. Market s requirements for Video compression standard

Compressed-Domain Video Processing and Transcoding

VIDEO COMPRESSION STANDARDS

LIST OF TABLES. Table 5.1 Specification of mapping of idx to cij for zig-zag scan 46. Table 5.2 Macroblock types 46

RTSR: Enhancing Real-time H.264 Video Streaming using Deep Learning based Video Super Resolution Spring 2017 CS570 Project Presentation June 8, 2017

Fundamentals of Video Compression. Video Compression

DigiPoints Volume 1. Student Workbook. Module 8 Digital Compression

CODING METHOD FOR EMBEDDING AUDIO IN VIDEO STREAM. Harri Sorokin, Jari Koivusaari, Moncef Gabbouj, and Jarmo Takala

A real-time SNR scalable transcoder for MPEG-2 video streams

2014 Summer School on MPEG/VCEG Video. Video Coding Concept

Zonal MPEG-2. Cheng-Hsiung Hsieh *, Chen-Wei Fu and Wei-Lung Hung

EE 5359 H.264 to VC 1 Transcoding

Laboratoire d'informatique, de Robotique et de Microélectronique de Montpellier Montpellier Cedex 5 France

Chapter 11.3 MPEG-2. MPEG-2: For higher quality video at a bit-rate of more than 4 Mbps Defined seven profiles aimed at different applications:

Video Compression Method for On-Board Systems of Construction Robots

International Journal of Emerging Technology and Advanced Engineering Website: (ISSN , Volume 2, Issue 4, April 2012)

No-reference perceptual quality metric for H.264/AVC encoded video. Maria Paula Queluz

Digital Video Processing

Parallelism In Video Streaming

Upcoming Video Standards. Madhukar Budagavi, Ph.D. DSPS R&D Center, Dallas Texas Instruments Inc.

JPEG decoding using end of block markers to concurrently partition channels on a GPU. Patrick Chieppe (u ) Supervisor: Dr.

DIGITAL TELEVISION 1. DIGITAL VIDEO FUNDAMENTALS

STUDY AND IMPLEMENTATION OF VIDEO COMPRESSION STANDARDS (H.264/AVC, DIRAC)

The Scope of Picture and Video Coding Standardization

VIDEO AND IMAGE PROCESSING USING DSP AND PFGA. Chapter 3: Video Processing

Smart Video Transcoding Solution for Surveillance Applications. White Paper. AvidBeam Technologies 12/2/15

Scalable Extension of HEVC 한종기

Adaptive Quantization for Video Compression in Frequency Domain

Introduction to Video Encoding

Outline Introduction MPEG-2 MPEG-4. Video Compression. Introduction to MPEG. Prof. Pratikgiri Goswami

Video Transcoding Architectures and Techniques: An Overview. IEEE Signal Processing Magazine March 2003 Present by Chen-hsiu Huang

Overview, implementation and comparison of Audio Video Standard (AVS) China and H.264/MPEG -4 part 10 or Advanced Video Coding Standard

Customizing Progressive JPEG for Efficient Image Storage

QoE Characterization for Video-On-Demand Services in 4G WiMAX Networks

An Efficient Motion Estimation Method for H.264-Based Video Transcoding with Arbitrary Spatial Resolution Conversion

IMAGE COMPRESSION USING HYBRID QUANTIZATION METHOD IN JPEG

Investigation of the GoP Structure for H.26L Video Streams

SNR Scalable Transcoding for Video over Wireless Channels

Video Compression Standards (II) A/Prof. Jian Zhang

VHDL Implementation of H.264 Video Coding Standard

Week 14. Video Compression. Ref: Fundamentals of Multimedia

Video Compression An Introduction

In the name of Allah. the compassionate, the merciful

H.264/AVC und MPEG-4 SVC - die nächsten Generationen der Videokompression

Tutorial T5. Video Over IP. Magda El-Zarki (University of California at Irvine) Monday, 23 April, Morning

Introduction to Video Compression

Smoooth Streaming over wireless Networks Sreya Chakraborty Final Report EE-5359 under the guidance of Dr. K.R.Rao

5LSE0 - Mod 10 Part 1. MPEG Motion Compensation and Video Coding. MPEG Video / Temporal Prediction (1)

A video streaming technique, in which video content is played back while the video data is being downloaded from an origin server, is useful for the

Lecture 5: Error Resilience & Scalability

PERFORMANCE ANALYSIS OF AN H.263 VIDEO ENCODER FOR VIRAM

VC 12/13 T16 Video Compression

ECE 417 Guest Lecture Video Compression in MPEG-1/2/4. Min-Hsuan Tsai Apr 02, 2013

TKT-2431 SoC design. Introduction to exercises. SoC design / September 10

Complexity Reduced Mode Selection of H.264/AVC Intra Coding

VIDEO streaming applications over the Internet are gaining. Brief Papers

Objective: Introduction: To: Dr. K. R. Rao. From: Kaustubh V. Dhonsale (UTA id: ) Date: 04/24/2012

A Novel Deblocking Filter Algorithm In H.264 for Real Time Implementation

Interactive Progressive Encoding System For Transmission of Complex Images

Perceptual Coding. Lossless vs. lossy compression Perceptual models Selecting info to eliminate Quantization and entropy encoding

Megapixel Video for. Part 2 of 4. Brought to You by. Presented by Video Security Consultants

Comparative Study of Partial Closed-loop Versus Open-loop Motion Estimation for Coding of HDTV

BANDWIDTH-EFFICIENT ENCODER FRAMEWORK FOR H.264/AVC SCALABLE EXTENSION. Yi-Hau Chen, Tzu-Der Chuang, Yu-Jen Chen, and Liang-Gee Chen

Scalable Multi-DM642-based MPEG-2 to H.264 Transcoder. Arvind Raman, Sriram Sethuraman Ittiam Systems (Pvt.) Ltd. Bangalore, India

Computer and Machine Vision

Compression of Stereo Images using a Huffman-Zip Scheme

EE 5359 Low Complexity H.264 encoder for mobile applications. Thejaswini Purushotham Student I.D.: Date: February 18,2010

TKT-2431 SoC design. Introduction to exercises

THE EVIDENCE THEORY FOR COLOR SATELLITE IMAGE COMPRESSION

Lecture 7, Video Coding, Motion Compensation Accuracy

Efficient MPEG-2 to H.264/AVC Intra Transcoding in Transform-domain

PREFACE...XIII ACKNOWLEDGEMENTS...XV

University of Mustansiriyah, Baghdad, Iraq

Joint Impact of MPEG-2 Encoding Rate and ATM Cell Losses on Video Quality

OVERVIEW OF IEEE 1857 VIDEO CODING STANDARD

4G WIRELESS VIDEO COMMUNICATIONS

Robust MPEG-2 SNR Scalable Coding Using Variable End-of-Block

STACK ROBUST FINE GRANULARITY SCALABLE VIDEO CODING

THIS TUTORIAL on evaluating the performance of video

Reduced Frame Quantization in Video Coding

Real-Time Course. Video Streaming Over network. June Peter van der TU/e Computer Science, System Architecture and Networking

Mark Kogan CTO Video Delivery Technologies Bluebird TV

MPEG-2 Patent Portfolio License Illustrative Cross-Reference Chart Ctry. Patent No. Claims Category Description Standard Sections

Mpeg 1 layer 3 (mp3) general overview

System Modeling and Implementation of MPEG-4. Encoder under Fine-Granular-Scalability Framework

Research on Transcoding of MPEG-2/H.264 Video Compression

Implementing Interactive Operations of MPEG-2 Compressed Video

AUDIO COMPRESSION USING WAVELET TRANSFORM

Fast Implementation of VC-1 with Modified Motion Estimation and Adaptive Block Transform

Block-based Watermarking Using Random Position Key

Transcription:

Bit Rate Reduction Video Transcoding with Distributed Computing Fareed Jokhio, Tewodros Deneke, S ebastien Lafond, Johan Lilius Åbo Akademi University Department of Information Technologies Joukahainengatan 3-5, 20520 Turku, Finland Email: {fjokhio, tdeneke, slafond, jolilius}@abo.fi 16.2.2012 Fareed Jokhio, Tewodros Deneke, S ebastien Lafond, Johan Lilius 1

Introduction Clients may have different devices with different screen resolution and processing power. TV, computer, Mobile device Different Network Bandwidths Local Area Network Wireless Local Area Network Wide Area Network Metropolitan Area Network 16.2.2012 Åbo Akademi University - Domkyrkotorget 3, 20500 Åbo, FINLAND 2

Compressed video is decoded A video is stored and transmitted in compressed form Different Decoders (eg. MPEG 1, 2, 4 H.263, H.264, Quicktime etc.) A device may not have all these decoder 16.2.2012 Åbo Akademi University - Domkyrkotorget 3, 20500 Åbo, FINLAND 3

Solution Multiple copies. Simple and fast Waste of storage Transcoding Convert a compressed video into another compressed video with lower bit rate or in other formats. 16.2.2012 Åbo Akademi University - Domkyrkotorget 3, 20500 Åbo, FINLAND 4

Video Transcoding In video transcoding the compressed video needs to be processed to produce another compressed video with different characteristics. The new video can have different bit rate, frame rate, frame resolution, or any combination of these. It is also possible to transcode a video in an entirely different video format. 16.2.2012 Fareed Jokhio, Tewodros Deneke, S ebastien Lafond, Johan Lilius 5

Decoding Encoding 16.2.2012 Åbo Akademi University - Domkyrkotorget 3, 20500 Åbo, FINLAND 6

Transcoding 16.2.2012 Åbo Akademi University - Domkyrkotorget 3, 20500 Åbo, FINLAND 7

MPEG stream frame types A MPEG stream consists of 3 types of frames I Frames The original picture represented can be reconstructed without reference to other frames P Frames The original picture has to be reconstructed with reference to the past constructed I or P frames B Frames The original picture has to be reconstructed with reference to the past and future constructed I or P frames

MPEG video stream

Bit rate reduction video transcoding Video resolution and frame rate are unchanged Video quality is degraded Less bit rate is achieved by applying inverse quantization and then again quantization with increased quantization step at the encoder side in the transcoder Some DCT coefficients become zero after coarser quantization Input Stream Output Stream Q 1-1 Q 2 16.2.2012 Åbo Akademi University - Domkyrkotorget 3, 20500 Åbo, FINLAND 10

Video segmentation To segment the source video into smaller parts, there must be an Intra frame at the beginning of every segment. An intra frame followed by a sequence of P and B frames is termed a group of pictures (GOP). We segmented video with: equal number of group of pictures (GOP) segmentation, equal size segmentation (in mega bytes, kilo bytes, etc.) 16.2.2012 Åbo Akademi University - Domkyrkotorget 3, 20500 Åbo, FINLAND 11

Video Transcoding with Message Passing Interface To segment the source video into smaller parts, there must be an Intra frame at the beginning of every segment. We have chosen the MPI (message passing interface) for our transcoder. This standard is flexible, efficient, portable, practical and easy for application development. The MPI is used for MIMD (multiple instructions multiple data) systems The MPI standard is open source. 16.2.2012 Åbo Akademi University - Domkyrkotorget 3, 20500 Åbo, FINLAND 12

Video Transcoding with Message Passing Interface In the MPI model the computation can be done on a set of machines. Every machine will get its part of the work and communication among different machines is possible through sending and receiving messages. The data transfer among two machines will be done through send and receive messages 16.2.2012 Åbo Akademi University - Domkyrkotorget 3, 20500 Åbo, FINLAND 13

Video sequence used for experiments The big buck bunny video is used as source video. 4CIF (704x576) resolution 24fps, 79.9 MB size 00:09:56 play time 14314 total frames 16.2.2012 Åbo Akademi University - Domkyrkotorget 3, 20500 Åbo, FINLAND 14

Profiling Results (ffmpeg) Ffmpeg was used for transcoding. The MPI based version of ffmpeg can execute on 1. Cluster of computers 2. Multi-core systems 3. Multi-processor based workstations Video encoding 79.46% Video decoding 19.82% 16.2.2012 Åbo Akademi University - Domkyrkotorget 3, 20500 Åbo, FINLAND 15

Results MPI based transcoder has 10 to 20% overheads (It includes video segmentation time). It can provide 3 to 5 times speed up using 7 worker nodes. Video segmentation with equal number of Intra frames is more efficient than equal size segmentations. 16.2.2012 Åbo Akademi University - Domkyrkotorget 3, 20500 Åbo, FINLAND 16

Analysis Peak Signal to Noise Ratio is used to measure the quality of images. PSNR for individual frames is shown below 16.2.2012 Åbo Akademi University - Domkyrkotorget 3, 20500 Åbo, FINLAND 17

Analysis Average Peak Signal to Noise Ratio is used to measure the quality of video. If the value of APSNR is above 30 it means the video quality is acceptable. Maximum value for APSNR is 100 16.2.2012 Åbo Akademi University - Domkyrkotorget 3, 20500 Åbo, FINLAND 18

Conclusion Message passing based video transcoder can provide significant speed up Among two segmentation methods, equal number of Intra frames segmentation is more efficient than equal size segmentation. Same transcoder can also be used for other type of transcoding such as Spatial resolution reduction transcoding Temperal resoltuion reduction transcoding Spatiotemporal resolution reduction transcoding 16.2.2012 Åbo Akademi University - Domkyrkotorget 3, 20500 Åbo, FINLAND 19