SlideShare a Scribd company logo
1 of 26
Download to read offline
Berlin 10/10/2016
Efficient Trick Modes in MPEG-DASH
Adaptive Streaming with GStreamer
Visla Systems Ltd
Wojciech Przybyl
- New to gst community
- 10+ years experience in Linux & Media products development
- SetTopBox & DVR development
- SoC: ST / Broadcom / TI / Freescale
ABOUT
VISLA SYSTEMS
ADAPTIVE
STREAMING
CLASSIC
TRICK MODES
EFFICIENT
TRICK MODES
DEMO Q & A
MPEG-DASH - Dynamic Adaptive Streaming over HTTP
- Codec agnostic: H.264, H.265, VP8, VP9, PCM, AAC, AC-3, DTS etc.
- Containers: MPEG-2 TS, ISOBMFF (MP4)
- Independent downloadable fragments 1-5 sec long
- Adaptive bitrate & framerate
- Streams download over HTTP 1.1
ABOUT
VISLA SYSTEMS
ADAPTIVE
STREAMING
CLASSIC
TRICK MODES
EFFICIENT
TRICK MODES
DEMO Q & A
Simple MPEG-DASH pipeline in GStreamer
ABOUT
VISLA SYSTEMS
ADAPTIVE
STREAMING
CLASSIC
TRICK MODES
EFFICIENT
TRICK MODES
DEMO Q & A
gst-launch-1.0 souphttpsrc ! dashdemux ! qtdemux ! queue ! h264parse ! avdec_h264 ! autovideosink
ABOUT
VISLA SYSTEMS
ADAPTIVE
STREAMING
CLASSIC
TRICK MODES
EFFICIENT
TRICK MODES
DEMO Q & A
- Trick Modes: Speed and Direction != x1
- Gstreamer API: gst_event_new_seek()
- Judging Trick Modes
- efficiency
- user experience
- complexity
- cost
ABOUT
VISLA SYSTEMS
ADAPTIVE
STREAMING
CLASSIC
TRICK MODES
EFFICIENT
TRICK MODES
DEMO Q & A
Simple Trick Modes
- Play it all but faster
- Download all
- Decode all
- Discard frames in a sink element
ABOUT
VISLA SYSTEMS
ADAPTIVE
STREAMING
CLASSIC
TRICK MODES
EFFICIENT
TRICK MODES
DEMO Q & A
Simple Trick Modes
ABOUT
VISLA SYSTEMS
ADAPTIVE
STREAMING
CLASSIC
TRICK MODES
EFFICIENT
TRICK MODES
DEMO Q & A
- Local playback with low speed is OK
- What about the bandwidth?
- What about higher speeds: x30?
ABOUT
VISLA SYSTEMS
ADAPTIVE
STREAMING
CLASSIC
TRICK MODES
EFFICIENT
TRICK MODES
DEMO Q & A
- Efficiency: None / Impossible
- User Experience: Perfect until it hits the limit
- Complexity: Simple
- Cost: Low
ABOUT
VISLA SYSTEMS
ADAPTIVE
STREAMING
CLASSIC
TRICK MODES
EFFICIENT
TRICK MODES
DEMO Q & A
Pause & Seek Trick Modes
Pause Playback →
Seek&Flush
Download
Decode
Present
← Repeat
ABOUT
VISLA SYSTEMS
ADAPTIVE
STREAMING
CLASSIC
TRICK MODES
EFFICIENT
TRICK MODES
DEMO Q & A
Pause and Seek
ABOUT
VISLA SYSTEMS
ADAPTIVE
STREAMING
CLASSIC
TRICK MODES
EFFICIENT
TRICK MODES
DEMO Q & A
- Efficiency: Moderate
- User Experience: Moderate
- Complexity: Moderate
- Cost: Low
ABOUT
VISLA SYSTEMS
ADAPTIVE
STREAMING
CLASSIC
TRICK MODES
EFFICIENT
TRICK MODES
DEMO Q & A
Key frames only Trick Modes
- Download key frames only
- Perform the rest as in Simple Tick Mode
ABOUT
VISLA SYSTEMS
ADAPTIVE
STREAMING
CLASSIC
TRICK MODES
EFFICIENT
TRICK MODES
DEMO Q & A
Key frames only
ABOUT
VISLA SYSTEMS
ADAPTIVE
STREAMING
CLASSIC
TRICK MODES
EFFICIENT
TRICK MODES
DEMO Q & A
- Every DASH fragment starts with a key frame
- Add sidx&ssix box and use HTTP GET RANGE request
- Should we add more I frames when reencoding?
- qtdemux is behind dashdemux
ABOUT
VISLA SYSTEMS
ADAPTIVE
STREAMING
CLASSIC
TRICK MODES
EFFICIENT
TRICK MODES
DEMO Q & A
- Efficiency: High
- User Experience: Moderate / Poor
- Complexity: High
- Cost: Low
ABOUT
VISLA SYSTEMS
ADAPTIVE
STREAMING
CLASSIC
TRICK MODES
EFFICIENT
TRICK MODES
DEMO Q & A
Efficient Trick Modes
- Download separate (Sub)Representation per speed
holding only&all the frames which are going to be presented
- Perform the rest as in Simple Trick Mode
- Frames discarding is done during stream encoding
ABOUT
VISLA SYSTEMS
ADAPTIVE
STREAMING
CLASSIC
TRICK MODES
EFFICIENT
TRICK MODES
DEMO Q & A
Efficient Trick Modes
ABOUT
VISLA SYSTEMS
ADAPTIVE
STREAMING
CLASSIC
TRICK MODES
EFFICIENT
TRICK MODES
DEMO Q & A
- Bandwidth & Processing Power for speed x5
is the same as at speed x1
- Image quality stays (almost) the same
- Bitrate per frame at speed x5 is the same as at speed x1
ABOUT
VISLA SYSTEMS
ADAPTIVE
STREAMING
CLASSIC
TRICK MODES
EFFICIENT
TRICK MODES
DEMO Q & A
- Image quality stays (almost) the same
- Why almost?
- True for speed x1 vs x5
- Almost true for speed x1 vs x30 → Stream is I frames only
ABOUT
VISLA SYSTEMS
ADAPTIVE
STREAMING
CLASSIC
TRICK MODES
EFFICIENT
TRICK MODES
DEMO Q & A
Status
- Proof of Concept stage done
- Choosing correct (Sub)Representation might be tricky
- Manifest's attributes:
@bandwidth
@frameRate
@MaxPlayoutRate
ABOUT
VISLA SYSTEMS
ADAPTIVE
STREAMING
CLASSIC
TRICK MODES
EFFICIENT
TRICK MODES
DEMO Q & A
- Efficiency: Perfect
- User Experience: Perfect
- Complexity: Moderate
- Cost: High
Cost = (Storage+Encoding+Packaging+Encryption) * N bitrates * M fps substreams
+Delivery
ABOUT
VISLA SYSTEMS
ADAPTIVE
STREAMING
CLASSIC
TRICK MODES
EFFICIENT
TRICK MODES
DEMO Q & A
DEMO
ABOUT
VISLA SYSTEMS
ADAPTIVE
STREAMING
CLASSIC
TRICK MODES
EFFICIENT
TRICK MODES
DEMO Q & A
Questions and (hopefully) Answers
ABOUT
VISLA SYSTEMS
ADAPTIVE
STREAMING
CLASSIC
TRICK MODES
EFFICIENT
TRICK MODES
DEMO Q & A
Thank you
Wojciech Przybyl
wojciech@visla.co.uk

More Related Content

Similar to Wojciech Przybyl - Efficient Trick Modes with MPEG-DASH.pdf

Escolhendo o Processador DaVinciTM para sua Aplicação de ...
Escolhendo o Processador DaVinciTM para sua Aplicação de ...Escolhendo o Processador DaVinciTM para sua Aplicação de ...
Escolhendo o Processador DaVinciTM para sua Aplicação de ...
Videoguy
 
Escolhendo o Processador DaVinciTM para sua Aplicação de ...
Escolhendo o Processador DaVinciTM para sua Aplicação de ...Escolhendo o Processador DaVinciTM para sua Aplicação de ...
Escolhendo o Processador DaVinciTM para sua Aplicação de ...
Videoguy
 
A10_CompactTrainingv5.pdf (1).pdf
A10_CompactTrainingv5.pdf (1).pdfA10_CompactTrainingv5.pdf (1).pdf
A10_CompactTrainingv5.pdf (1).pdf
neoalt
 
Insights on the Performance and Configuration of AVB and TSN in Automotive Ap...
Insights on the Performance and Configuration of AVB and TSN in Automotive Ap...Insights on the Performance and Configuration of AVB and TSN in Automotive Ap...
Insights on the Performance and Configuration of AVB and TSN in Automotive Ap...
RealTime-at-Work (RTaW)
 
Nebulas Solutions Group | R75 Event
Nebulas Solutions Group | R75 EventNebulas Solutions Group | R75 Event
Nebulas Solutions Group | R75 Event
nebulassolutions
 

Similar to Wojciech Przybyl - Efficient Trick Modes with MPEG-DASH.pdf (20)

The Road to End-to-End Encryption in Jitsi Meet
The Road to End-to-End Encryption in Jitsi MeetThe Road to End-to-End Encryption in Jitsi Meet
The Road to End-to-End Encryption in Jitsi Meet
 
Escolhendo o Processador DaVinciTM para sua Aplicação de ...
Escolhendo o Processador DaVinciTM para sua Aplicação de ...Escolhendo o Processador DaVinciTM para sua Aplicação de ...
Escolhendo o Processador DaVinciTM para sua Aplicação de ...
 
Escolhendo o Processador DaVinciTM para sua Aplicação de ...
Escolhendo o Processador DaVinciTM para sua Aplicação de ...Escolhendo o Processador DaVinciTM para sua Aplicação de ...
Escolhendo o Processador DaVinciTM para sua Aplicação de ...
 
Edge 2014: MPEG DASH – Tomorrow's Format Today
Edge 2014: MPEG DASH – Tomorrow's Format TodayEdge 2014: MPEG DASH – Tomorrow's Format Today
Edge 2014: MPEG DASH – Tomorrow's Format Today
 
Storage Performance measurement using Tivoli productivity Center
Storage Performance measurement using Tivoli productivity CenterStorage Performance measurement using Tivoli productivity Center
Storage Performance measurement using Tivoli productivity Center
 
FlashSystem 7300 Midrange Enterprise for Hybrid Cloud L2 Sellers Presentation...
FlashSystem 7300 Midrange Enterprise for Hybrid Cloud L2 Sellers Presentation...FlashSystem 7300 Midrange Enterprise for Hybrid Cloud L2 Sellers Presentation...
FlashSystem 7300 Midrange Enterprise for Hybrid Cloud L2 Sellers Presentation...
 
Introduction to Amazon Elastic Transcoder
 Introduction to Amazon Elastic Transcoder  Introduction to Amazon Elastic Transcoder
Introduction to Amazon Elastic Transcoder
 
produse Evertz
produse Evertzproduse Evertz
produse Evertz
 
A10_CompactTrainingv5.pdf (1).pdf
A10_CompactTrainingv5.pdf (1).pdfA10_CompactTrainingv5.pdf (1).pdf
A10_CompactTrainingv5.pdf (1).pdf
 
Oded Coster - Stack Overflow behind the scenes - how it's made - Codemotion M...
Oded Coster - Stack Overflow behind the scenes - how it's made - Codemotion M...Oded Coster - Stack Overflow behind the scenes - how it's made - Codemotion M...
Oded Coster - Stack Overflow behind the scenes - how it's made - Codemotion M...
 
The SaltStack Pub Crawl - Fosscomm 2016
The SaltStack Pub Crawl - Fosscomm 2016The SaltStack Pub Crawl - Fosscomm 2016
The SaltStack Pub Crawl - Fosscomm 2016
 
Инновации Cisco для операторов связи
Инновации Cisco для операторов связиИнновации Cisco для операторов связи
Инновации Cisco для операторов связи
 
Visual system integrator_svi
Visual system integrator_sviVisual system integrator_svi
Visual system integrator_svi
 
EMC Vmax3 tech-deck deep dive
EMC Vmax3 tech-deck deep diveEMC Vmax3 tech-deck deep dive
EMC Vmax3 tech-deck deep dive
 
Webinar Renesas - IoT é Segura? Com Renesas Synergy sim! E o SSP 1.5 tornou a...
Webinar Renesas - IoT é Segura? Com Renesas Synergy sim! E o SSP 1.5 tornou a...Webinar Renesas - IoT é Segura? Com Renesas Synergy sim! E o SSP 1.5 tornou a...
Webinar Renesas - IoT é Segura? Com Renesas Synergy sim! E o SSP 1.5 tornou a...
 
Insights on the Performance and Configuration of AVB and TSN in Automotive Ap...
Insights on the Performance and Configuration of AVB and TSN in Automotive Ap...Insights on the Performance and Configuration of AVB and TSN in Automotive Ap...
Insights on the Performance and Configuration of AVB and TSN in Automotive Ap...
 
Nebulas Solutions Group | R75 Event
Nebulas Solutions Group | R75 EventNebulas Solutions Group | R75 Event
Nebulas Solutions Group | R75 Event
 
Flyers Media Player RK3288 2GB.pdf
Flyers Media Player RK3288 2GB.pdfFlyers Media Player RK3288 2GB.pdf
Flyers Media Player RK3288 2GB.pdf
 
Squire Technologies:SVI 9220
Squire Technologies:SVI 9220Squire Technologies:SVI 9220
Squire Technologies:SVI 9220
 
Hands-On: Deploy Remote Graphics Desktops for Content Production (CMP422) - A...
Hands-On: Deploy Remote Graphics Desktops for Content Production (CMP422) - A...Hands-On: Deploy Remote Graphics Desktops for Content Production (CMP422) - A...
Hands-On: Deploy Remote Graphics Desktops for Content Production (CMP422) - A...
 

More from JunZhao68

1-MIV-tutorial-part-1.pdf
1-MIV-tutorial-part-1.pdf1-MIV-tutorial-part-1.pdf
1-MIV-tutorial-part-1.pdf
JunZhao68
 
GOP-Size_report_11_16.pdf
GOP-Size_report_11_16.pdfGOP-Size_report_11_16.pdf
GOP-Size_report_11_16.pdf
JunZhao68
 
02-VariableLengthCodes_pres.pdf
02-VariableLengthCodes_pres.pdf02-VariableLengthCodes_pres.pdf
02-VariableLengthCodes_pres.pdf
JunZhao68
 
MHV-Presentation-Forman (1).pdf
MHV-Presentation-Forman (1).pdfMHV-Presentation-Forman (1).pdf
MHV-Presentation-Forman (1).pdf
JunZhao68
 
CODA_presentation.pdf
CODA_presentation.pdfCODA_presentation.pdf
CODA_presentation.pdf
JunZhao68
 
http3-quic-streaming-2020-200121234036.pdf
http3-quic-streaming-2020-200121234036.pdfhttp3-quic-streaming-2020-200121234036.pdf
http3-quic-streaming-2020-200121234036.pdf
JunZhao68
 
03-Reznik-DASH-IF-workshop-2019-CAE.pdf
03-Reznik-DASH-IF-workshop-2019-CAE.pdf03-Reznik-DASH-IF-workshop-2019-CAE.pdf
03-Reznik-DASH-IF-workshop-2019-CAE.pdf
JunZhao68
 
Overview_of_H.264.pdf
Overview_of_H.264.pdfOverview_of_H.264.pdf
Overview_of_H.264.pdf
JunZhao68
 
20160927-tierney-improving-performance-40G-100G-data-transfer-nodes.pdf
20160927-tierney-improving-performance-40G-100G-data-transfer-nodes.pdf20160927-tierney-improving-performance-40G-100G-data-transfer-nodes.pdf
20160927-tierney-improving-performance-40G-100G-data-transfer-nodes.pdf
JunZhao68
 
20230320-信息技术-人工智能系列深度报告:AIGC行业综述篇——开启AI新篇章-国海证券.pdf
20230320-信息技术-人工智能系列深度报告:AIGC行业综述篇——开启AI新篇章-国海证券.pdf20230320-信息技术-人工智能系列深度报告:AIGC行业综述篇——开启AI新篇章-国海证券.pdf
20230320-信息技术-人工智能系列深度报告:AIGC行业综述篇——开启AI新篇章-国海证券.pdf
JunZhao68
 
3 Open-Source-SYCL-Intel-Khronos-EVS-Workshop_May19.pdf
3 Open-Source-SYCL-Intel-Khronos-EVS-Workshop_May19.pdf3 Open-Source-SYCL-Intel-Khronos-EVS-Workshop_May19.pdf
3 Open-Source-SYCL-Intel-Khronos-EVS-Workshop_May19.pdf
JunZhao68
 
2020+HESP+Technical+Deck+-+HESP+Alliance.pdf
2020+HESP+Technical+Deck+-+HESP+Alliance.pdf2020+HESP+Technical+Deck+-+HESP+Alliance.pdf
2020+HESP+Technical+Deck+-+HESP+Alliance.pdf
JunZhao68
 

More from JunZhao68 (16)

1-MIV-tutorial-part-1.pdf
1-MIV-tutorial-part-1.pdf1-MIV-tutorial-part-1.pdf
1-MIV-tutorial-part-1.pdf
 
GOP-Size_report_11_16.pdf
GOP-Size_report_11_16.pdfGOP-Size_report_11_16.pdf
GOP-Size_report_11_16.pdf
 
02-VariableLengthCodes_pres.pdf
02-VariableLengthCodes_pres.pdf02-VariableLengthCodes_pres.pdf
02-VariableLengthCodes_pres.pdf
 
MHV-Presentation-Forman (1).pdf
MHV-Presentation-Forman (1).pdfMHV-Presentation-Forman (1).pdf
MHV-Presentation-Forman (1).pdf
 
CODA_presentation.pdf
CODA_presentation.pdfCODA_presentation.pdf
CODA_presentation.pdf
 
http3-quic-streaming-2020-200121234036.pdf
http3-quic-streaming-2020-200121234036.pdfhttp3-quic-streaming-2020-200121234036.pdf
http3-quic-streaming-2020-200121234036.pdf
 
NTTW4-FFmpeg.pdf
NTTW4-FFmpeg.pdfNTTW4-FFmpeg.pdf
NTTW4-FFmpeg.pdf
 
03-Reznik-DASH-IF-workshop-2019-CAE.pdf
03-Reznik-DASH-IF-workshop-2019-CAE.pdf03-Reznik-DASH-IF-workshop-2019-CAE.pdf
03-Reznik-DASH-IF-workshop-2019-CAE.pdf
 
Practical Programming.pdf
Practical Programming.pdfPractical Programming.pdf
Practical Programming.pdf
 
Overview_of_H.264.pdf
Overview_of_H.264.pdfOverview_of_H.264.pdf
Overview_of_H.264.pdf
 
20160927-tierney-improving-performance-40G-100G-data-transfer-nodes.pdf
20160927-tierney-improving-performance-40G-100G-data-transfer-nodes.pdf20160927-tierney-improving-performance-40G-100G-data-transfer-nodes.pdf
20160927-tierney-improving-performance-40G-100G-data-transfer-nodes.pdf
 
100G Networking Berlin.pdf
100G Networking Berlin.pdf100G Networking Berlin.pdf
100G Networking Berlin.pdf
 
20230320-信息技术-人工智能系列深度报告:AIGC行业综述篇——开启AI新篇章-国海证券.pdf
20230320-信息技术-人工智能系列深度报告:AIGC行业综述篇——开启AI新篇章-国海证券.pdf20230320-信息技术-人工智能系列深度报告:AIGC行业综述篇——开启AI新篇章-国海证券.pdf
20230320-信息技术-人工智能系列深度报告:AIGC行业综述篇——开启AI新篇章-国海证券.pdf
 
3 Open-Source-SYCL-Intel-Khronos-EVS-Workshop_May19.pdf
3 Open-Source-SYCL-Intel-Khronos-EVS-Workshop_May19.pdf3 Open-Source-SYCL-Intel-Khronos-EVS-Workshop_May19.pdf
3 Open-Source-SYCL-Intel-Khronos-EVS-Workshop_May19.pdf
 
2020+HESP+Technical+Deck+-+HESP+Alliance.pdf
2020+HESP+Technical+Deck+-+HESP+Alliance.pdf2020+HESP+Technical+Deck+-+HESP+Alliance.pdf
2020+HESP+Technical+Deck+-+HESP+Alliance.pdf
 
5 - Advanced SVE.pdf
5 - Advanced SVE.pdf5 - Advanced SVE.pdf
5 - Advanced SVE.pdf
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 

Wojciech Przybyl - Efficient Trick Modes with MPEG-DASH.pdf

  • 1. Berlin 10/10/2016 Efficient Trick Modes in MPEG-DASH Adaptive Streaming with GStreamer Visla Systems Ltd Wojciech Przybyl
  • 2. - New to gst community - 10+ years experience in Linux & Media products development - SetTopBox & DVR development - SoC: ST / Broadcom / TI / Freescale ABOUT VISLA SYSTEMS ADAPTIVE STREAMING CLASSIC TRICK MODES EFFICIENT TRICK MODES DEMO Q & A
  • 3. MPEG-DASH - Dynamic Adaptive Streaming over HTTP - Codec agnostic: H.264, H.265, VP8, VP9, PCM, AAC, AC-3, DTS etc. - Containers: MPEG-2 TS, ISOBMFF (MP4) - Independent downloadable fragments 1-5 sec long - Adaptive bitrate & framerate - Streams download over HTTP 1.1 ABOUT VISLA SYSTEMS ADAPTIVE STREAMING CLASSIC TRICK MODES EFFICIENT TRICK MODES DEMO Q & A
  • 4. Simple MPEG-DASH pipeline in GStreamer ABOUT VISLA SYSTEMS ADAPTIVE STREAMING CLASSIC TRICK MODES EFFICIENT TRICK MODES DEMO Q & A
  • 5. gst-launch-1.0 souphttpsrc ! dashdemux ! qtdemux ! queue ! h264parse ! avdec_h264 ! autovideosink ABOUT VISLA SYSTEMS ADAPTIVE STREAMING CLASSIC TRICK MODES EFFICIENT TRICK MODES DEMO Q & A
  • 6. - Trick Modes: Speed and Direction != x1 - Gstreamer API: gst_event_new_seek() - Judging Trick Modes - efficiency - user experience - complexity - cost ABOUT VISLA SYSTEMS ADAPTIVE STREAMING CLASSIC TRICK MODES EFFICIENT TRICK MODES DEMO Q & A
  • 7. Simple Trick Modes - Play it all but faster - Download all - Decode all - Discard frames in a sink element ABOUT VISLA SYSTEMS ADAPTIVE STREAMING CLASSIC TRICK MODES EFFICIENT TRICK MODES DEMO Q & A
  • 8. Simple Trick Modes ABOUT VISLA SYSTEMS ADAPTIVE STREAMING CLASSIC TRICK MODES EFFICIENT TRICK MODES DEMO Q & A
  • 9. - Local playback with low speed is OK - What about the bandwidth? - What about higher speeds: x30? ABOUT VISLA SYSTEMS ADAPTIVE STREAMING CLASSIC TRICK MODES EFFICIENT TRICK MODES DEMO Q & A
  • 10. - Efficiency: None / Impossible - User Experience: Perfect until it hits the limit - Complexity: Simple - Cost: Low ABOUT VISLA SYSTEMS ADAPTIVE STREAMING CLASSIC TRICK MODES EFFICIENT TRICK MODES DEMO Q & A
  • 11. Pause & Seek Trick Modes Pause Playback → Seek&Flush Download Decode Present ← Repeat ABOUT VISLA SYSTEMS ADAPTIVE STREAMING CLASSIC TRICK MODES EFFICIENT TRICK MODES DEMO Q & A
  • 12. Pause and Seek ABOUT VISLA SYSTEMS ADAPTIVE STREAMING CLASSIC TRICK MODES EFFICIENT TRICK MODES DEMO Q & A
  • 13. - Efficiency: Moderate - User Experience: Moderate - Complexity: Moderate - Cost: Low ABOUT VISLA SYSTEMS ADAPTIVE STREAMING CLASSIC TRICK MODES EFFICIENT TRICK MODES DEMO Q & A
  • 14. Key frames only Trick Modes - Download key frames only - Perform the rest as in Simple Tick Mode ABOUT VISLA SYSTEMS ADAPTIVE STREAMING CLASSIC TRICK MODES EFFICIENT TRICK MODES DEMO Q & A
  • 15. Key frames only ABOUT VISLA SYSTEMS ADAPTIVE STREAMING CLASSIC TRICK MODES EFFICIENT TRICK MODES DEMO Q & A
  • 16. - Every DASH fragment starts with a key frame - Add sidx&ssix box and use HTTP GET RANGE request - Should we add more I frames when reencoding? - qtdemux is behind dashdemux ABOUT VISLA SYSTEMS ADAPTIVE STREAMING CLASSIC TRICK MODES EFFICIENT TRICK MODES DEMO Q & A
  • 17. - Efficiency: High - User Experience: Moderate / Poor - Complexity: High - Cost: Low ABOUT VISLA SYSTEMS ADAPTIVE STREAMING CLASSIC TRICK MODES EFFICIENT TRICK MODES DEMO Q & A
  • 18. Efficient Trick Modes - Download separate (Sub)Representation per speed holding only&all the frames which are going to be presented - Perform the rest as in Simple Trick Mode - Frames discarding is done during stream encoding ABOUT VISLA SYSTEMS ADAPTIVE STREAMING CLASSIC TRICK MODES EFFICIENT TRICK MODES DEMO Q & A
  • 19. Efficient Trick Modes ABOUT VISLA SYSTEMS ADAPTIVE STREAMING CLASSIC TRICK MODES EFFICIENT TRICK MODES DEMO Q & A
  • 20. - Bandwidth & Processing Power for speed x5 is the same as at speed x1 - Image quality stays (almost) the same - Bitrate per frame at speed x5 is the same as at speed x1 ABOUT VISLA SYSTEMS ADAPTIVE STREAMING CLASSIC TRICK MODES EFFICIENT TRICK MODES DEMO Q & A
  • 21. - Image quality stays (almost) the same - Why almost? - True for speed x1 vs x5 - Almost true for speed x1 vs x30 → Stream is I frames only ABOUT VISLA SYSTEMS ADAPTIVE STREAMING CLASSIC TRICK MODES EFFICIENT TRICK MODES DEMO Q & A
  • 22. Status - Proof of Concept stage done - Choosing correct (Sub)Representation might be tricky - Manifest's attributes: @bandwidth @frameRate @MaxPlayoutRate ABOUT VISLA SYSTEMS ADAPTIVE STREAMING CLASSIC TRICK MODES EFFICIENT TRICK MODES DEMO Q & A
  • 23. - Efficiency: Perfect - User Experience: Perfect - Complexity: Moderate - Cost: High Cost = (Storage+Encoding+Packaging+Encryption) * N bitrates * M fps substreams +Delivery ABOUT VISLA SYSTEMS ADAPTIVE STREAMING CLASSIC TRICK MODES EFFICIENT TRICK MODES DEMO Q & A
  • 25. Questions and (hopefully) Answers ABOUT VISLA SYSTEMS ADAPTIVE STREAMING CLASSIC TRICK MODES EFFICIENT TRICK MODES DEMO Q & A