SlideShare une entreprise Scribd logo
1  sur  13
A Reference DASH Live Video
Source
Torbjörn Einarsson, MobiTV
2015-05-13
 Worked with video for 20 years
 16 at Ericsson Research
 4 at MobiTV
 Python for 13 years
 prototyping
 testing tools
 video transport, packaging, analysis, synthesis,
streaming servers
About me
Intro
 Video is exploding
 over HTTP
 Standard API in HTML-5
1. File download via URI
2. Streaming using MSE
 Media Source Extension
 MSE => segmented video
 Adaptive Bitrate
 Live
 Players in Javascript
 DASH is agreed way forward
 Standard from MPEG
 Can be extended with
encryption/DRM via EME
Encrypted Media Extensions
 Dynamic Adaptive Streaming over HTTP
 Standard from MPEG
 Borrows from HLS, Smoothstreaming etc
 Adds more use cases and flexibility
 Starting to get widely used
 Netflix (Chrome, IE11, Safari 8), Google
(Youtube/Chrome), Microsoft
 Two components
 MPD (manifest)
 Media
DASH
DASH IOP
 DASH is huge
 Too many options
 DASH-IF for IOP
 Guidelines
 Reference client:
 dash.js on Github
 Test vectors
 VoD
 Live
 Live testing is hard.
 Needs
 live feed
 live encoder
 Has timing issues
 => Live Simulator
 No feed/encoder
 Can do many test cases
MPD
 MPD is manifest
 XML description
 Media links
 Variants
 Timing
 VoD – duration
 Live – start, timeshift,
…
 Flexible:
 multiple periods
 multiple
representations
Media Segment
 MP4 (iso) files
 Hiearchy of boxes
 [size][type][content]
 Relatively easy to parse
and change
 Need to change number
& timing
Approach
 On-the-fly generation
 mod_python
 DASH VoD Source
 Live config (from scan)
 Options in URL
 Align available content
with wall-clock -> live sync
 MPD : VoD -> live
 Number template
 For time t, a certain segment #
is avail.
 Time-limited services
 Periods
 Use ElementTree package
 Segments:
 Infinite series with correct
timing
 Use struct package
 24/7 service one period (MPD never changes)
 This can be compared to show system delay depending on segment
duration (see demo)
 Time-shift-buffer-depth and minimum-update-period can be changed
 Time-limited services (with MPD updates)
 Multiple periods
 Ad signaling
 Add cues for client-side ad insertion
 UTCTiming
 Synchronize client clock with server in different ways
Some test cases
DEMO
 Apache2 server with mod_python
 Only basic usage
 State-less
 Hosted by DASH-IF at vm2.dashif.org
 Source Code
 Transferred copyright to DASH-IF and became Open
Source last week
https://github.com/Dash-Industry-Forum/dash-live-source-simulator
 Players
 Browser (Chrome): dash.js and shaka-player on Github
 Android: ExoPlayer on Github
Environment
Python 2 -> 3 conversion
 MP4 parsing a bit tricky,
since mixture of bytes
and strings
 [size][‘styp’][…]
 Integer divisions …
 Took half-a-day to do
conversion, but…
 Cannot run Python3 easily
 mod_python only runs
one Python version
 mod_wsgi only for 2.6
and 2.7 in our Apache 2.2
setup
The code stays Python 2 for now!
?
THANK YOU
teinarsson@mobitv.com

Contenu connexe

Dernier

Dernier (20)

UNI DI NAPOLI FEDERICO II - Il ruolo dei grafi nell'AI Conversazionale Ibrida
UNI DI NAPOLI FEDERICO II - Il ruolo dei grafi nell'AI Conversazionale IbridaUNI DI NAPOLI FEDERICO II - Il ruolo dei grafi nell'AI Conversazionale Ibrida
UNI DI NAPOLI FEDERICO II - Il ruolo dei grafi nell'AI Conversazionale Ibrida
 
A Deep Dive into Secure Product Development Frameworks.pdf
A Deep Dive into Secure Product Development Frameworks.pdfA Deep Dive into Secure Product Development Frameworks.pdf
A Deep Dive into Secure Product Development Frameworks.pdf
 
BusinessGPT - Security and Governance for Generative AI
BusinessGPT  - Security and Governance for Generative AIBusinessGPT  - Security and Governance for Generative AI
BusinessGPT - Security and Governance for Generative AI
 
Navigation in flutter – how to add stack, tab, and drawer navigators to your ...
Navigation in flutter – how to add stack, tab, and drawer navigators to your ...Navigation in flutter – how to add stack, tab, and drawer navigators to your ...
Navigation in flutter – how to add stack, tab, and drawer navigators to your ...
 
Alluxio Monthly Webinar | Simplify Data Access for AI in Multi-Cloud
Alluxio Monthly Webinar | Simplify Data Access for AI in Multi-CloudAlluxio Monthly Webinar | Simplify Data Access for AI in Multi-Cloud
Alluxio Monthly Webinar | Simplify Data Access for AI in Multi-Cloud
 
The Strategic Impact of Buying vs Building in Test Automation
The Strategic Impact of Buying vs Building in Test AutomationThe Strategic Impact of Buying vs Building in Test Automation
The Strategic Impact of Buying vs Building in Test Automation
 
Workshop - Architecting Innovative Graph Applications- GraphSummit Milan
Workshop -  Architecting Innovative Graph Applications- GraphSummit MilanWorkshop -  Architecting Innovative Graph Applications- GraphSummit Milan
Workshop - Architecting Innovative Graph Applications- GraphSummit Milan
 
GraphSummit Milan & Stockholm - Neo4j: The Art of the Possible with Graph
GraphSummit Milan & Stockholm - Neo4j: The Art of the Possible with GraphGraphSummit Milan & Stockholm - Neo4j: The Art of the Possible with Graph
GraphSummit Milan & Stockholm - Neo4j: The Art of the Possible with Graph
 
CERVED e Neo4j su una nuvola, migrazione ed evoluzione di un grafo mission cr...
CERVED e Neo4j su una nuvola, migrazione ed evoluzione di un grafo mission cr...CERVED e Neo4j su una nuvola, migrazione ed evoluzione di un grafo mission cr...
CERVED e Neo4j su una nuvola, migrazione ed evoluzione di un grafo mission cr...
 
Optimizing Operations by Aligning Resources with Strategic Objectives Using O...
Optimizing Operations by Aligning Resources with Strategic Objectives Using O...Optimizing Operations by Aligning Resources with Strategic Objectives Using O...
Optimizing Operations by Aligning Resources with Strategic Objectives Using O...
 
Test Automation Design Patterns_ A Comprehensive Guide.pdf
Test Automation Design Patterns_ A Comprehensive Guide.pdfTest Automation Design Patterns_ A Comprehensive Guide.pdf
Test Automation Design Patterns_ A Comprehensive Guide.pdf
 
From Theory to Practice: Utilizing SpiraPlan's REST API
From Theory to Practice: Utilizing SpiraPlan's REST APIFrom Theory to Practice: Utilizing SpiraPlan's REST API
From Theory to Practice: Utilizing SpiraPlan's REST API
 
^Clinic ^%[+27788225528*Abortion Pills For Sale In harare
^Clinic ^%[+27788225528*Abortion Pills For Sale In harare^Clinic ^%[+27788225528*Abortion Pills For Sale In harare
^Clinic ^%[+27788225528*Abortion Pills For Sale In harare
 
Abortion Pill Prices Jane Furse ](+27832195400*)[ 🏥 Women's Abortion Clinic i...
Abortion Pill Prices Jane Furse ](+27832195400*)[ 🏥 Women's Abortion Clinic i...Abortion Pill Prices Jane Furse ](+27832195400*)[ 🏥 Women's Abortion Clinic i...
Abortion Pill Prices Jane Furse ](+27832195400*)[ 🏥 Women's Abortion Clinic i...
 
Evolving Data Governance for the Real-time Streaming and AI Era
Evolving Data Governance for the Real-time Streaming and AI EraEvolving Data Governance for the Real-time Streaming and AI Era
Evolving Data Governance for the Real-time Streaming and AI Era
 
Modern binary build systems - PyCon 2024
Modern binary build systems - PyCon 2024Modern binary build systems - PyCon 2024
Modern binary build systems - PyCon 2024
 
OpenChain Webinar: AboutCode and Beyond - End-to-End SCA
OpenChain Webinar: AboutCode and Beyond - End-to-End SCAOpenChain Webinar: AboutCode and Beyond - End-to-End SCA
OpenChain Webinar: AboutCode and Beyond - End-to-End SCA
 
Abortion Pill Prices Germiston ](+27832195400*)[ 🏥 Women's Abortion Clinic in...
Abortion Pill Prices Germiston ](+27832195400*)[ 🏥 Women's Abortion Clinic in...Abortion Pill Prices Germiston ](+27832195400*)[ 🏥 Women's Abortion Clinic in...
Abortion Pill Prices Germiston ](+27832195400*)[ 🏥 Women's Abortion Clinic in...
 
COMPUTER AND ITS COMPONENTS PPT.by naitik sharma Class 9th A mittal internati...
COMPUTER AND ITS COMPONENTS PPT.by naitik sharma Class 9th A mittal internati...COMPUTER AND ITS COMPONENTS PPT.by naitik sharma Class 9th A mittal internati...
COMPUTER AND ITS COMPONENTS PPT.by naitik sharma Class 9th A mittal internati...
 
architecting-ai-in-the-enterprise-apis-and-applications.pdf
architecting-ai-in-the-enterprise-apis-and-applications.pdfarchitecting-ai-in-the-enterprise-apis-and-applications.pdf
architecting-ai-in-the-enterprise-apis-and-applications.pdf
 

En vedette

Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

En vedette (20)

Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 

A Reference DASH Live Video Source

  • 1. A Reference DASH Live Video Source Torbjörn Einarsson, MobiTV 2015-05-13
  • 2.  Worked with video for 20 years  16 at Ericsson Research  4 at MobiTV  Python for 13 years  prototyping  testing tools  video transport, packaging, analysis, synthesis, streaming servers About me
  • 3. Intro  Video is exploding  over HTTP  Standard API in HTML-5 1. File download via URI 2. Streaming using MSE  Media Source Extension  MSE => segmented video  Adaptive Bitrate  Live  Players in Javascript  DASH is agreed way forward  Standard from MPEG  Can be extended with encryption/DRM via EME Encrypted Media Extensions
  • 4.  Dynamic Adaptive Streaming over HTTP  Standard from MPEG  Borrows from HLS, Smoothstreaming etc  Adds more use cases and flexibility  Starting to get widely used  Netflix (Chrome, IE11, Safari 8), Google (Youtube/Chrome), Microsoft  Two components  MPD (manifest)  Media DASH
  • 5. DASH IOP  DASH is huge  Too many options  DASH-IF for IOP  Guidelines  Reference client:  dash.js on Github  Test vectors  VoD  Live  Live testing is hard.  Needs  live feed  live encoder  Has timing issues  => Live Simulator  No feed/encoder  Can do many test cases
  • 6. MPD  MPD is manifest  XML description  Media links  Variants  Timing  VoD – duration  Live – start, timeshift, …  Flexible:  multiple periods  multiple representations
  • 7. Media Segment  MP4 (iso) files  Hiearchy of boxes  [size][type][content]  Relatively easy to parse and change  Need to change number & timing
  • 8. Approach  On-the-fly generation  mod_python  DASH VoD Source  Live config (from scan)  Options in URL  Align available content with wall-clock -> live sync  MPD : VoD -> live  Number template  For time t, a certain segment # is avail.  Time-limited services  Periods  Use ElementTree package  Segments:  Infinite series with correct timing  Use struct package
  • 9.  24/7 service one period (MPD never changes)  This can be compared to show system delay depending on segment duration (see demo)  Time-shift-buffer-depth and minimum-update-period can be changed  Time-limited services (with MPD updates)  Multiple periods  Ad signaling  Add cues for client-side ad insertion  UTCTiming  Synchronize client clock with server in different ways Some test cases
  • 10. DEMO
  • 11.  Apache2 server with mod_python  Only basic usage  State-less  Hosted by DASH-IF at vm2.dashif.org  Source Code  Transferred copyright to DASH-IF and became Open Source last week https://github.com/Dash-Industry-Forum/dash-live-source-simulator  Players  Browser (Chrome): dash.js and shaka-player on Github  Android: ExoPlayer on Github Environment
  • 12. Python 2 -> 3 conversion  MP4 parsing a bit tricky, since mixture of bytes and strings  [size][‘styp’][…]  Integer divisions …  Took half-a-day to do conversion, but…  Cannot run Python3 easily  mod_python only runs one Python version  mod_wsgi only for 2.6 and 2.7 in our Apache 2.2 setup The code stays Python 2 for now!