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

%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
shinachiaurasa2
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 

Recently uploaded (20)

%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 

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!