SlideShare a Scribd company logo
1 of 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

More Related Content

Recently uploaded

Recently uploaded (20)

Weeding your micro service landscape.pdf
Weeding your micro service landscape.pdfWeeding your micro service landscape.pdf
Weeding your micro service landscape.pdf
 
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...
 
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...
 
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
 
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit Milan
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit MilanWorkshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit Milan
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit Milan
 
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
 
What is a Recruitment Management Software?
What is a Recruitment Management Software?What is a Recruitment Management Software?
What is a Recruitment Management Software?
 
Modern binary build systems - PyCon 2024
Modern binary build systems - PyCon 2024Modern binary build systems - PyCon 2024
Modern binary build systems - PyCon 2024
 
Encryption Recap: A Refresher on Key Concepts
Encryption Recap: A Refresher on Key ConceptsEncryption Recap: A Refresher on Key Concepts
Encryption Recap: A Refresher on Key Concepts
 
The Evolution of Web App Testing_ An Ultimate Guide to Future Trends.pdf
The Evolution of Web App Testing_ An Ultimate Guide to Future Trends.pdfThe Evolution of Web App Testing_ An Ultimate Guide to Future Trends.pdf
The Evolution of Web App Testing_ An Ultimate Guide to Future Trends.pdf
 
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
 
[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse
[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse
[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse
 
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
 
Software Engineering - Introduction + Process Models + Requirements Engineering
Software Engineering - Introduction + Process Models + Requirements EngineeringSoftware Engineering - Introduction + Process Models + Requirements Engineering
Software Engineering - Introduction + Process Models + Requirements Engineering
 
Effective Strategies for Wix's Scaling challenges - GeeCon
Effective Strategies for Wix's Scaling challenges - GeeConEffective Strategies for Wix's Scaling challenges - GeeCon
Effective Strategies for Wix's Scaling challenges - GeeCon
 
Community is Just as Important as Code by Andrea Goulet
Community is Just as Important as Code by Andrea GouletCommunity is Just as Important as Code by Andrea Goulet
Community is Just as Important as Code by Andrea Goulet
 
Abortion Clinic In Johannesburg ](+27832195400*)[ 🏥 Safe Abortion Pills in Jo...
Abortion Clinic In Johannesburg ](+27832195400*)[ 🏥 Safe Abortion Pills in Jo...Abortion Clinic In Johannesburg ](+27832195400*)[ 🏥 Safe Abortion Pills in Jo...
Abortion Clinic In Johannesburg ](+27832195400*)[ 🏥 Safe Abortion Pills in Jo...
 
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 ...
 
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
 
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...
 

Featured

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)
 

Featured (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!