19
Introduction System Overview Video Adaptation Transcoding Summary Adaptive Video Streaming for Mobile Devices Jens Brandt Institut f¨ ur Betriebssystem und Rechnerverbund Technische Universit¨ at Braunschweig 12. March 2007 Jens Brandt IBR, TU Braunschweig 1

Adaptive Video Streaming for Mobile Devices · Mobile devices: Smartphones, PDAs, Pocket Multimedia Players 300 – 600 MHz 64 – 128 MB RAM Small screen resolutions ⇒ Great heterogeneity

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Adaptive Video Streaming for Mobile Devices · Mobile devices: Smartphones, PDAs, Pocket Multimedia Players 300 – 600 MHz 64 – 128 MB RAM Small screen resolutions ⇒ Great heterogeneity

Introduction System Overview Video Adaptation Transcoding Summary

Adaptive Video Streaming for Mobile Devices

Jens Brandt

Institut fur Betriebssystem und RechnerverbundTechnische Universitat Braunschweig

12. March 2007

Jens Brandt IBR, TU Braunschweig 1

Page 2: Adaptive Video Streaming for Mobile Devices · Mobile devices: Smartphones, PDAs, Pocket Multimedia Players 300 – 600 MHz 64 – 128 MB RAM Small screen resolutions ⇒ Great heterogeneity

Introduction System Overview Video Adaptation Transcoding Summary

Outline

Introduction

System Overview

Video Adaptation

Transcoding

Summary

Jens Brandt IBR, TU Braunschweig 2

Page 3: Adaptive Video Streaming for Mobile Devices · Mobile devices: Smartphones, PDAs, Pocket Multimedia Players 300 – 600 MHz 64 – 128 MB RAM Small screen resolutions ⇒ Great heterogeneity

Introduction System Overview Video Adaptation Transcoding Summary

Motivation

Mobile devices:

Smartphones, PDAs, Pocket Multimedia Players300 – 600 MHz64 – 128 MB RAMSmall screen resolutions

⇒ Great heterogeneity of mobile devices

Video streams

High data ratesComplex to decodeFixed encoding parameters

Jens Brandt IBR, TU Braunschweig 3

Page 4: Adaptive Video Streaming for Mobile Devices · Mobile devices: Smartphones, PDAs, Pocket Multimedia Players 300 – 600 MHz 64 – 128 MB RAM Small screen resolutions ⇒ Great heterogeneity

Introduction System Overview Video Adaptation Transcoding Summary

Approach

Video adaptation

Different versions of video streams to support different devices

Traditional approach:

Differently encoded versions of each stream on each server

Dynamic approach:

Individual adaptation in the network

Jens Brandt IBR, TU Braunschweig 4

Page 5: Adaptive Video Streaming for Mobile Devices · Mobile devices: Smartphones, PDAs, Pocket Multimedia Players 300 – 600 MHz 64 – 128 MB RAM Small screen resolutions ⇒ Great heterogeneity

Introduction System Overview Video Adaptation Transcoding Summary

Scenario

Signaling by RTSP

Transport by RTP

Discovery based on SLP

Gateway Cooperation

Session Transfer

Jens Brandt IBR, TU Braunschweig 5

Page 6: Adaptive Video Streaming for Mobile Devices · Mobile devices: Smartphones, PDAs, Pocket Multimedia Players 300 – 600 MHz 64 – 128 MB RAM Small screen resolutions ⇒ Great heterogeneity

Introduction System Overview Video Adaptation Transcoding Summary

Adaptation Dimensions

Spatial resolution: reducing the resolution of each frame

Temporal resolution: reducing the number of frames

Detail resolution: increasing the quantization level

Bit stream syntax: changing the syntax of the stream

Semantic: changing the content of a video

. . .

Jens Brandt IBR, TU Braunschweig 6

Page 7: Adaptive Video Streaming for Mobile Devices · Mobile devices: Smartphones, PDAs, Pocket Multimedia Players 300 – 600 MHz 64 – 128 MB RAM Small screen resolutions ⇒ Great heterogeneity

Introduction System Overview Video Adaptation Transcoding Summary

User Interviews

Measurement of perceived quality by subjective tests

4 different video sequences:

Soccer sceneAnimation videoMovie trailerNews sequence

Encoded at different frame rates (25, 12, 5 fps)

Presented to potential users on a PDA

Jens Brandt IBR, TU Braunschweig 7

Page 8: Adaptive Video Streaming for Mobile Devices · Mobile devices: Smartphones, PDAs, Pocket Multimedia Players 300 – 600 MHz 64 – 128 MB RAM Small screen resolutions ⇒ Great heterogeneity

Introduction System Overview Video Adaptation Transcoding Summary

Jens Brandt IBR, TU Braunschweig 8

Page 9: Adaptive Video Streaming for Mobile Devices · Mobile devices: Smartphones, PDAs, Pocket Multimedia Players 300 – 600 MHz 64 – 128 MB RAM Small screen resolutions ⇒ Great heterogeneity

Introduction System Overview Video Adaptation Transcoding Summary

Jens Brandt IBR, TU Braunschweig 9

Page 10: Adaptive Video Streaming for Mobile Devices · Mobile devices: Smartphones, PDAs, Pocket Multimedia Players 300 – 600 MHz 64 – 128 MB RAM Small screen resolutions ⇒ Great heterogeneity

Introduction System Overview Video Adaptation Transcoding Summary

Client Capabilities

Determination of the adaptation method at the gateway

Requirements of the client

Device capabilitiesUser’s preferences

CC/PP to describe a client profile(Composite Capabilities/Preferences Profile)

ProcessorNetwork connectionScreen resolutionVideo encoding formatUser’s preferences

4 Components: Hardware, Software, User, Priorities

Jens Brandt IBR, TU Braunschweig 10

Page 11: Adaptive Video Streaming for Mobile Devices · Mobile devices: Smartphones, PDAs, Pocket Multimedia Players 300 – 600 MHz 64 – 128 MB RAM Small screen resolutions ⇒ Great heterogeneity

Introduction System Overview Video Adaptation Transcoding Summary

Client Profile

<?xml version="1.0"?><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

xmlns:ccpp="http://www.w3.org/2002/11/08-ccpp-schema#"xmlns:ex="http://www.beispiel.de/schema#">

<rdf:Description rdf:about="http://example.de/schema#Profile"><ccpp:component>

<ex:Hardware rdf:about="http://example.de/schema#Hardware"><ex:DisplayWidth>320</ex:DisplayWidth><ex:DisplayHeight>240</ex:DisplayHeight>

</ex:Hardware></ccpp:component></rdf:Description></rdf:RDF>

Jens Brandt IBR, TU Braunschweig 11

Page 12: Adaptive Video Streaming for Mobile Devices · Mobile devices: Smartphones, PDAs, Pocket Multimedia Players 300 – 600 MHz 64 – 128 MB RAM Small screen resolutions ⇒ Great heterogeneity

Introduction System Overview Video Adaptation Transcoding Summary

Decoder - Encoder

Encoding parameters are defined at encoding time

Cascaded Pixel Domain Transcoder (CPDT):

DataManipulation

Transcoder

Decoder Encoder

very flexible, but computational intensive

Improvements:

Minimizing the needed decoding stepsReusing information from the original data

Jens Brandt IBR, TU Braunschweig 12

Page 13: Adaptive Video Streaming for Mobile Devices · Mobile devices: Smartphones, PDAs, Pocket Multimedia Players 300 – 600 MHz 64 – 128 MB RAM Small screen resolutions ⇒ Great heterogeneity

Introduction System Overview Video Adaptation Transcoding Summary

Transcoding

Transcoding = manipulation in the compressed domain

Linearity of the DCT:

DCT (B) = DCT (X ·A·Y ) = DCT (X )·DCT (A)·DCT (Y )

⇒ Every linear pixel transformation can be computed in thefrequency domain.

Jens Brandt IBR, TU Braunschweig 13

Page 14: Adaptive Video Streaming for Mobile Devices · Mobile devices: Smartphones, PDAs, Pocket Multimedia Players 300 – 600 MHz 64 – 128 MB RAM Small screen resolutions ⇒ Great heterogeneity

Introduction System Overview Video Adaptation Transcoding Summary

Transcoding Example: Requantisation

⇒ Not usable for spatial resolution adaptation

Jens Brandt IBR, TU Braunschweig 14

Page 15: Adaptive Video Streaming for Mobile Devices · Mobile devices: Smartphones, PDAs, Pocket Multimedia Players 300 – 600 MHz 64 – 128 MB RAM Small screen resolutions ⇒ Great heterogeneity

Introduction System Overview Video Adaptation Transcoding Summary

Transcoding Example: Requantisation

⇒ Not usable for spatial resolution adaptation

Jens Brandt IBR, TU Braunschweig 14

Page 16: Adaptive Video Streaming for Mobile Devices · Mobile devices: Smartphones, PDAs, Pocket Multimedia Players 300 – 600 MHz 64 – 128 MB RAM Small screen resolutions ⇒ Great heterogeneity

Introduction System Overview Video Adaptation Transcoding Summary

Multidimensional Transcoding

Different specialized transcoding architectures exist

A combined architecture is missing

Multidimensional transcoding by using a transcoder chain

Spatial, temporal and detail resolution reduction:

Jens Brandt IBR, TU Braunschweig 15

Page 17: Adaptive Video Streaming for Mobile Devices · Mobile devices: Smartphones, PDAs, Pocket Multimedia Players 300 – 600 MHz 64 – 128 MB RAM Small screen resolutions ⇒ Great heterogeneity

Introduction System Overview Video Adaptation Transcoding Summary

Summary

Mobile devices:

Limited ResourcesGreat heterogeneity

⇒ Video Adaptation is mandatory

Adaptation on multimedia gateways

Determination of transcoding method on the gateway

Based on the client’s capabilities

Multidimensional transcoding

Fine-grain Adaptation

Jens Brandt IBR, TU Braunschweig 16

Page 18: Adaptive Video Streaming for Mobile Devices · Mobile devices: Smartphones, PDAs, Pocket Multimedia Players 300 – 600 MHz 64 – 128 MB RAM Small screen resolutions ⇒ Great heterogeneity

Introduction System Overview Video Adaptation Transcoding Summary

Questions?

Jens Brandt<[email protected]>

Jens Brandt IBR, TU Braunschweig 17

Page 19: Adaptive Video Streaming for Mobile Devices · Mobile devices: Smartphones, PDAs, Pocket Multimedia Players 300 – 600 MHz 64 – 128 MB RAM Small screen resolutions ⇒ Great heterogeneity

Introduction System Overview Video Adaptation Transcoding Summary

Implementation

Jens Brandt IBR, TU Braunschweig 18