MPEG-DASH open source tools and cloud services

Preview:

Citation preview

Media Web Symposium 2013 1

DYNAMIC ADAPTIVE STREAMING OVER HTTP (MPEG-DASH)OPEN SOURCE TOOLS | CLOUD SERVICES

bitmovin / AAU Klagenfurt

Stefan Lederer

Lakeside Science and Technology ParkBuilding B01 9020 KlagenfurtAustria | Europe Tel.: 0043 463 2700 8747eMail: office@bitmovin.net  www.bitmovin.net www.bitcodin.com

bitmovin

  Universitätsstrasse 65-779020 KlagenfurtAustria | Europe Tel.: 0043 463 2700 3623eMail: stefan.lederer@itec.aau.atList: dash@itec.uni-klu.ac.at  dash.itec.aau.at

Alpen Adria Universität Klagenfurt

 

VIDEO PREDOMINANT ON THE INTERNET Real-time video is more than 50% of the traffic at peak periods

Mobile traffic is growing exponentially, all delivered over the top (OTT)

Source: http://www.sandvine.com/downloads/documents/Phenomena_1H_2012/Sandvine_Global_Internet_Phenomena_Report_1H_2012.pdfbitmovin / AAU Klagenfurt Media Web Symposium 2013 2

... BUT THERE ARE PROBLEMS!

Wrong format Wrong protocol Plugin required DRM issues Long start-up delay Low quality Frequent stalls Bitrate intense No DVD/PVR experience ….bitmovin / AAU Klagenfurt Media Web Symposium 2013 3

4

… AND HETEROGENEOUS DEVICES

Desktop/Laptop Mobile Living Room

bitmovin / AAU Klagenfurt Media Web Symposium 2013

IPTV

DYNAMIC ADAPTIVE STREAMING OVER HTTP (DASH)

http://multimediacommunication.blogspot.com/2010/05/http-streaming-of-mpeg-media.html

Proprietary Solutions

3GPP Rel.9 Adaptive HTTP Streaming

International Standards V1 International Standards V2

Apple HTTP Live Streaming

Adobe HTTP Dynamic Streaming

Microsoft Smooth Streaming

Netflix Akamai

Movestreaming

Amazon . . .

OIPF HTTP Adaptive Streaming MPEG-DASH

3GPP Rel.10 DASH

Zeit

V3…

bitmovin / AAU Klagenfurt Media Web Symposium 2013 5

DYNAMIC ADAPTIVE STREAMING OVER HTTP

Dynamic adaption to the network conditions Usage of existing and cheap Internet (HTTP) Infrastructure Streaming-Logic is located at the Client Flexible and scalable

Different Quality Representations Changing Bandwidth

Choose the appropriate Segment

bitmovin / AAU Klagenfurt Media Web Symposium 2013 6

© bitmovin

7

DASH REFERENCE ARCHITECTURE

bitmovin / AAU Klagenfurt Media Web Symposium 2013

© bitmovin

DASH@GPAC: MP4Box & MP42TS

Multimedia Packagers• MPEG-2 TS for DASH profiles• ISOBMFF Packager & Analyser

DASH Segmenter• ISOBMFF and M2TS segments

- All DASH profiles supported- URL-template naming scheme• Segment indexing (SIDX)• GOP-align segments or fragments (MediaSourceExtension)• Automatic AdaptationSet selection

- Media type, codec, language, PAR- Handle groups (same media but not switchable)

DASH live simulator- Manages MPD update and timeline continuity

http://gpac.sourceforge.net

DASHENCODER DASH Content Generation Tool

Encoding + Multiplexing + MPD generation Generates isoffmain profile compliant MPDs Fully configurable

using a config-file Enables batch processing Currently uses x264

and GPAC‘s MP4Box Easy extensible to further

encoders & multiplexers http://dash.itec.aau.at

bitmovin / AAU Klagenfurt Media Web Symposium 2013 9

© bitmovin

DASH DATASETS Dataset with DASH Content

50 Kbit/s to 8 Mbit/s, 320x240 to 1920x1080 Long sequences in high quality Various segment-length versions Free available for DASH experiments PSNR values per frame DASH datasets for scientific evaluations: player, adaption

logics, cache performance, etc.

Problem: Content Rights CC-Attribution 2.0 Generic (CC-BY 2.0) License or similar Free to Share, Free to Remix

bitmovin / AAU Klagenfurt Media Web Symposium 2013 10

11

DISTRIBUTED DASH DATASET Can be used for real-world evaluations

simulation of switching between different CDNs client may dynamically switch between the mirrors

e.g., in case the one currently used causes any issues Currently mirrored at different sites across Europe:

Klagenfurt, Paris, and Prague Open for new mirrors/participants RedBull Playstreet sequence:

Segment lengths of 2, 4, 6, 10, and 15 seconds ISOFF-Main and ISOFF-Live profiles 17 representations, 100kbps to 6 Mbps, 320x240 to 1920x1080

bitmovin / AAU Klagenfurt Media Web Symposium 2013

12

DASH VLC PLUGIN DASH implementation based on the well-known VLC

player Enables the integration of a variety of adaptation logics

and profiles for evaluations in research and development Very flexible structure that could be easily extended Fully integrated in the

VLC structure Part of future

VLC releases

bitmovin / AAU Klagenfurt Media Web Symposium 2013

13

Open source library that simplifies DASH, by bitmovin Handles the download and xml parsing of the MPD Implements the full MPEG-DASH standard according to ISO/IEC

23009-1 Cross platform build system for Windows, Linux, Mac, etc. Configurable download interface, OO-based interface to the MPD Comprehensive sample player using FFMPEG and Qt-based GUI Public mailing list for support requests and code contributions Online documentation Supported by the Internet Foundation Austria

bitmovin / AAU Klagenfurt Media Web Symposium 2013Available at: www.bitmovin.net/libdash

DASH IN JAVASCRIPT (DASH-JS) Completely implemented in JavaScript – no (3rd party)

plugins required Makes use of the Media Source API provided by Google

Chrome Support for WebM and ISOBMFF

Provides time based and byte based buffers E.g., use as input for adaptation logics

Flexible adaptation logics Easy to extend existing ones or integrate your own

Various Showcases at: http://dash.itec.aau.at, http://dash-mse-test.appspot.com

bitmovin / AAU Klagenfurt Media Web Symposium 2013 14

Integrated in Osmo4• Many input formats and

codecs• Composition engine

(SVG, BIFS, X3D) Try it!• Included in libgpac• Independent from player

DASHClient• DASH ISOBMFF, M2TS (+ HLS)

- With or without bitstreamSwitching- Support for multiple Periods• All profiles except onDemand

(ongoing)- VoD through « live » or « main »• Local files and http(s) playback• Various download policies

DASH@GPAC: Playback

LibgpacDASH Engine+ ISOBMFF

+ MPEG-2 TS

GPAC DASH PlaybackMPD

MediaSegments

Bring Your Own DASH APP !!

http://gpac.sourceforge.net

16

MPD CONFORMANCE VALIDATOR

Cloud-based validation of MPEG-DASH MPDs for standard-compliance

Based on the conformance and reference software for DASH

Online validation via file upload, URI, and plain text input

bitmovin / AAU Klagenfurt Media Web Symposium 2013

17

DASH OVER CCN Enables DASH-based Streaming on top of Content

Centric Networks

Caching Efficient, Connectionless, Multi-Link & Reliable Transfer, etc.

Open Source DASH over CCN Plugin for VLC for usage with CCNx

bitmovin / AAU Klagenfurt Media Web Symposium 2013

18

ADVANTAGES CLOUD EN-/TRANSCODING

How cloud-services can help? Faster time to market High scalability for increasing number of users

Activation/Suspension of additional instances Compensation of fluctuating user numbers

(e.g. evening vs. the rest of the day) Reduced costs for hardware infrastructure, support and

maintenance Redundancy of systems and providers No/Low costs before market entry Cheap for testing new technologies such as adaptive Streaming

bitmovin / AAU Klagenfurt Media Web Symposium 2013

19

E.g.: www.bitcodin.com Cloud-based Multimedia Encoding Service In closed test phase Input:

Live Stream (e.g. RTP, HTTP, etc.) Upload/Batch, User Generated Content etc. Support for most popular formats/codecs

Output: MPEG-DASH as well as Apple HLS Output Additionally the most popular formats/codecs Distribution to arbitrary servers/CDNs/platforms

bitmovin / AAU Klagenfurt Media Web Symposium 2013

20

WHY CLOUD SERVICES? Comprehensive Interfaces (API) for the integration in

existing encoding chains High reliability due to the usage of multiple cloud

instances and multiple quality representations If one instance fails, the client automatically chooses

another quality representation Different operation models:

Private-Cloud on you own hardware Public Cloud-Infrastructure usage:

bitmovin / AAU Klagenfurt Media Web Symposium 2013

CONCLUSIONS End-to-end DASH tools available

GPAC (DASHEncoder) provide support for ISOBMFF, M2TS, etc. DASH VLC plugin and libdash (world first DASH player) DASH-JS for easy Web integration (HTML5, Javascript)

Flexible architecture, easy to extend, e.g.: Add your own buffer model Add your own bandwidth estimation, adaptation logic

Use cloud infrastructure to reduce costs/time to market Open source ressources:

http://dash.itec.aau.at | http://gpac.sourceforge.net

Feel free to use it, please acknowledge/reference us … and feel free to contribute to the projects

bitmovin / AAU Klagenfurt Media Web Symposium 2013 21

Media Web Symposium 2013 22

Questions, Comments?

bitmovin / AAU Klagenfurt

Lakeside Science and Technology ParkBuilding B01 9020 KlagenfurtAustria | Europe Tel.: 0043 463 27008747eMail: office@bitmovin.net www.bitmovin.net | www.bitcodin.com

bitmovin 

http://www.bitmovin.nethttp://dash.itec.aau.at

Recommended