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

                                           Stefan Lederer
                  bitmovin                                            Alpen Adria Universität
                  Lakeside Science and Technology Park                Klagenfurt
                  Building B01                                        Universitätsstrasse 65-77
                  9020 Klagenfurt                                     9020 Klagenfurt
                  Austria | Europe                                    Austria | Europe

                  Tel.:  0043 463 2700 8747                           Tel.:    0043 463 2700 3623
                  eMail: office@bitmovin.net                          eMail:   stefan.lederer@itec.aau.at
                                                                      List:    dash@itec.uni-klu.ac.at
                  www.bitmovin.net
                  www.bitcodin.com                                    dash.itec.aau.at
bitmovin / AAU Klagenfurt                      Media Web Symposium 2013                                     1
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.pdf
    bitmovin / 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
… AND HETEROGENEOUS DEVICES
Desktop/Laptop                 Mobile                   Living Room

                                                         IPTV




 bitmovin / AAU Klagenfurt   Media Web Symposium 2013           4
DYNAMIC ADAPTIVE STREAMING OVER HTTP (DASH)
Proprietary Solutions        International Standards V1        International Standards V2

     Apple HTTP Live
       Streaming
                                3GPP Rel.9 Adaptive
                                                                      3GPP Rel.10 DASH
      Adobe HTTP                  HTTP Streaming
   Dynamic Streaming
                                                                                         V3…
    Microsoft Smooth
       Streaming
                                        OIPF HTTP Adaptive
                                                                      MPEG-DASH
                                            Streaming

    Netflix       Akamai

      Movestreaming

   Amazon            ...
                                                                                    Zeit

  http://multimediacommunication.blogspot.com/2010/05/http-streaming-of-mpeg-media.html
 bitmovin / AAU Klagenfurt          Media Web Symposium 2013                    5
DYNAMIC ADAPTIVE STREAMING OVER HTTP
Different Quality
Representations                                            Changing Bandwidth
                                                                                © bitmovin




                                                                     Choose the appropriate
    Dynamic adaption to the network conditions                            Segment
    Usage of existing and cheap Internet (HTTP) Infrastructure
    Streaming-Logic is located at the Client
    Flexible and scalable
bitmovin / AAU Klagenfurt       Media Web Symposium 2013                        6
DASH REFERENCE ARCHITECTURE




                                                       © bitmovin



bitmovin / AAU Klagenfurt   Media Web Symposium 2013   7
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

  bitmovin / AAU Klagenfurt     Media Web Symposium 2013   9
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
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           11
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   12
 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
                            Available at:     www.bitmovin.net/libdash
bitmovin / AAU Klagenfurt                   Media Web Symposium 2013     13
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
DASH@GPAC: Playback
    DASHClient                            Integrated in Osmo4
    • DASH ISOBMFF, M2TS (+ HLS)           • Many input formats and
     - With or without bitstreamSwitching     codecs
     - Support for multiple Periods        • Composition engine
    • All profiles except onDemand            (SVG, BIFS, X3D)
      (ongoing)                            Try it!
     - VoD through « live » or « main »    • Included in libgpac
    • Local files and http(s) playback • Independent from player
    • Various download policies

                                                             GPAC DASH
         MPD                                                 Playback

Media                                            Bring Your Own
Segments                                         DASH APP !!
                               http://gpac.sourceforge.net
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   16
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   17
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   18
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        19
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       20
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
http://www.bitmovin.net
http://dash.itec.aau.at



Questions, Comments?

bitmovin
Lakeside Science and Technology Park
Building B01
9020 Klagenfurt
Austria | Europe

Tel.:    0043 463 27008747
eMail:   office@bitmovin.net

www.bitmovin.net | www.bitcodin.com



bitmovin / AAU Klagenfurt              Media Web Symposium 2013   22