SlideShare una empresa de Scribd logo
1 de 34
Multimedia
Streaming
Architecture
Noviembre, 2016
Audio & Video Delivery
• Time:
– The question is: ¿Live or not live? «Vivo»
• Media:
– From: Analog (e.g. Air)
– To: Digital (e.g. Internet)
• Authoring: Copyleft/Copyright
• Protecting: Encrypted or at least secured
A&V Digital Processing
• Hardware & Software:
– Open vs. Propietary
• Encoding:
– Audio / Video (Capture/Record)
– Analog/Digital (Compression / Lossless / Lossy)
• Transcode:
– Analog <-> Digital (Format)
– Hardware / CPU / GCPU
• Transmuxe:
– Digital A&V Format Conversion (a.k.a Transcode)
• Stream (Digital *Cast):
– Server / Client (Playback).
– Live Stream => Live (Re)Streaming (LS)
– Recorded File => Video On Demand (VOD)
Digital
Streaming
Technologies
Streaming Technologies
BENEFIT
LIVE
STREAMING
PSEUDO
STREAMING
PROGRESSIVE
DOWNLOAD
Real-time broadcasts X
Long clips X X
Immediate random access to different
parts of a movie
X X
Downloads entire movie X
Downloads required part of the movie X
Flv is cached on the local system X
Requires a specialized streaming server X
Requires a web server with php X
Can be stopped by firewalls X
Consistent high quality playback at any
connection speed
X X
Retransmits lost packets X X
Streaming Technologies
SCENARIO
LIVE
STREAMING
PSEUDO
STREAMING
PROGRESSIVE
DOWNLOAD
Live broadcasts X
Webtv X X
E learning X X
Online rich
Media presentation
X X
Movie trailers X X
Short product
training clip
X X
Offline
product (cd, dvd)
X
Streaming Protocols
– Internet Based (IP):
• UDP (Not Connection Oriented / Datagram)
– Real Time Streaming Protocol (RTSP) is a network control protocol designed by
RealNetworks (1996) for use in entertainment and communications systems to
establishing and controlling media sessions between end points
• TCP (Connection Oriented / Packet)
– RTMP (Real Time Messaging Protocol) created by Macromedia (Adobe) for
Internet stream of Flash Video (FLV ~ H.263 + MP3). Released for public use in 2005
– Web Real Time Communication (WebRTC) new project for native zero install any
browser open and free video streaming standart for Internet, started in 2011.
Supported by all major browsers Chrome, Firefox, Opera, Android & iOS
• Others:
– MPEG-2 Transport Stream (MPEG-TS) is a standard digital container format for
transmission and storage of audio, video, and Program and System Information
Protocol (PSIP) data.[3] It is used in broadcast systems such as Digital Video
Broadcasting (DVB), ATSC and IPTV
Streaming Protocols
– Web Based (HTTP):
• Progressive Download (Pseudostreaming): web server based method for seek and
buffering, Apache/Lighthttpd (mod_[h264|flvx]), Nginx (http_[mp4|flvx]_module,
Nimble Streamer and many others).
– HTML 5: Most of browsers are comming to support open & standart «video
audio» combos: WAVE PCM, MP4 H.264 (AAC o MP3), WebM, Ogg Theora
Vorbis, Ogg Opus.
• HTTP Live Streaming (HLS) created by Apple for streaming audio to its iPhone, iPad,
Mac, Apple TV devices (also PC) since 2009.
– Apple VOD formats takes video file from MPEG-4 / QuickTime MOV to H.264
Compression and audio files to AAC or MP3 compression.
– Apple LS formats uses MPEG-2 transport streams carrying H.264 video, AAC or
MP3 audio.
• Dynamic Adaptive Streaming over HTTP (mpeg-DASH) developed by MPEG
(Moving Picture Expert Group) is the ISO/IEC 23009-1:2012[14[ since April 2012.
Streaming Protocols
– Web Based (HTTP):
• HTTP Dynamic Streaming (HDS): created by Adobe as part of
Flash (>=10.1) using MP4 Fragment Format (ISO/IEC 14496-
12:2008) that allows fetch smaller portions of media than
HLS. Allows DRM on live or VOD. Improve RTMP Dynamic
Streaming (Flash >=6) and HTTP Progresive Download (Flash
>=7) from Adobe.
• Microsoft Smooth Streaming (MSS): is a pseudo-streaming
implementation introduced in 2008 by Microsoft as part of
their Silverlight architecture. Microsoft and Akamai works
on «www.smoothHD.com».
Streaming Protocols
–Web Based (HTTP):
• SHOUTcast cross-platform proprietary freeware for
streaming media (audio/MP3) over the Internet
developed by Nullsoft but owned by AOL.
• IceCast: cross-platform free software (GPLv2) mantained
by the Xiph.Org (www.icecast.org) for streaming the
following streams: Ogg (Vorbis, Speex, Flac, Theora),
Opus, WebM and MP3.
Audio & Video Formats
• They can’t be written neither this slide nor
this document…
Formats versus Protocols
H.264 + AAC
Live Transcoder
Not for free
Stream (Live) != File
Digital
Streaming
Architectures
Live Streaming (Transmuxing)
Live Streaming (RTMP)
Re-streaming
Live Streaming (RTSP)
Pseudo Streaming
• File formats: mp3, mp4, flv, oga, ogv, wav, webm, mkv
• Optimization: flash time marks seek, HTTP range header
• Packet loss retransmission: which is not available on live streaming
Keyframes
Play Back & Forward
Range Download
Only HTTP
Buffered
Current Playing
Lineal Download
FTP or HTTP
Video On Demand (VOD)
HTTP Live Streaming (HLS)
Live Streaming (HLS)
HLS Benefits & Tips
• HLS is not A&V is only the delivery way
• Supports (client-driven) adaptive bitrate
• Better experience:
– No “partial play”
– No “Complete download”
• Delivered over standard HTTP, so zero firewall
blocking policies.
• Developer and devices easy integration with
simple, text-based manifest format.
• No proprietary streaming servers required, so
more people streaming & playing back.
HLS Benefits & Tips
• User are dropping major vendors with
proprietary standards (i.e. Flash).
• Major browsers no longer support plugins
(zero install, plug & play, security,
licensing).
• HLS video is now supported on multicast
(RAMP Multicast Engine Startup).
HLS Playback Device Support
• Free
• Plays (Clics)
• Streams (Data)
HLS Playback Device Support
5 Minutes App Store Limit
HLS Playback Device Support
HLS Playback Device Bitrates
Adaptative Bitrate -> Simultaneous Multiple Bitrates (Variants)
HLS Playback Device Bitrates
Digital Streaming Architectures
(Amazon Web Services)
Media Sharing Architecture
• Bandwidth vs. Stream Transfer
• Security
• Compute (Encoding?)
• Storage
Media Serving Architecture
• Bandwidth vs. Stream Transfer
• Security
• Compute (Encoding?)
• Storage
Don’t Forget Security
• Hot-linking protection.
• Re-streaming protection.
• Domain locking geo-location and IP-based.
• Digital Right Management / DRM (Google
Wildevine, Microsoft Playready, Adobe Flash
Access, Apple Fairplay).
Streaming Solutions
• Services (Content Delivery Network / CDN)
– Akamai, Amazon Web Services (Elastic Transcoder /
CloudFront), Azure Media Services, bitmovin,
Ustream, Limelight Network, Tata Communications,
Brightcove Zencoder, encoding.com, Altitude
Multicast+, smoothHD.com
• Servers (Streaming Server / SS)
– Adobe Media Server, Apache, Elemental
Technologies, Helix Universal Server, Darwin SS,
Nginx, Nimble Streamer, Red5, Unified Origin, Unreal
Media Server, Microsoft IIS w/Smooth Streaming
Extension, Wowza Streaming Engine
olafrv@gmail.com
www.olafrv.com
@olafrv
Contactos

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Wireless application protocol ppt
Wireless application protocol  pptWireless application protocol  ppt
Wireless application protocol ppt
 
Multiplayer Online Gaming
Multiplayer Online GamingMultiplayer Online Gaming
Multiplayer Online Gaming
 
Sdn ppt
Sdn pptSdn ppt
Sdn ppt
 
Vision of cloud computing
Vision of cloud computingVision of cloud computing
Vision of cloud computing
 
Google app engine
Google app engineGoogle app engine
Google app engine
 
What is Virtualization and its types & Techniques.What is hypervisor and its ...
What is Virtualization and its types & Techniques.What is hypervisor and its ...What is Virtualization and its types & Techniques.What is hypervisor and its ...
What is Virtualization and its types & Techniques.What is hypervisor and its ...
 
Building Aneka clouds.ppt
Building Aneka clouds.pptBuilding Aneka clouds.ppt
Building Aneka clouds.ppt
 
Virtualization
Virtualization Virtualization
Virtualization
 
Multimedia chapter 5
Multimedia chapter 5Multimedia chapter 5
Multimedia chapter 5
 
Load Balancing Algorithms - Which one to choose?
Load Balancing Algorithms - Which one to choose?Load Balancing Algorithms - Which one to choose?
Load Balancing Algorithms - Which one to choose?
 
Cloud Computing Using OpenStack
Cloud Computing Using OpenStack Cloud Computing Using OpenStack
Cloud Computing Using OpenStack
 
Aneka platform
Aneka platformAneka platform
Aneka platform
 
2 business and it perspective
2 business and it perspective2 business and it perspective
2 business and it perspective
 
Kali linux os
Kali linux osKali linux os
Kali linux os
 
Authentication service security
Authentication service securityAuthentication service security
Authentication service security
 
Introduction to WebRTC
Introduction to WebRTCIntroduction to WebRTC
Introduction to WebRTC
 
Network management systems in large enterprise
Network management systems in large enterpriseNetwork management systems in large enterprise
Network management systems in large enterprise
 
Cloud Computing Architecture
Cloud Computing ArchitectureCloud Computing Architecture
Cloud Computing Architecture
 
Cloud deployment models
Cloud deployment modelsCloud deployment models
Cloud deployment models
 
Hdtv technology
Hdtv technologyHdtv technology
Hdtv technology
 

Similar a Multimedia Streaming Architecture

Video Streaming
Video StreamingVideo Streaming
Video StreamingVideoguy
 
Approaches to Building Media Streaming Applications
Approaches to Building Media Streaming ApplicationsApproaches to Building Media Streaming Applications
Approaches to Building Media Streaming ApplicationsGlobalLogic Ukraine
 
Building A Streaming Apple TV App (CocoaConf DC, Sept 2016)
Building A Streaming Apple TV App (CocoaConf DC, Sept 2016)Building A Streaming Apple TV App (CocoaConf DC, Sept 2016)
Building A Streaming Apple TV App (CocoaConf DC, Sept 2016)Chris Adamson
 
Building A Streaming Apple TV App (CocoaConf San Jose, Nov 2016)
Building A Streaming Apple TV App (CocoaConf San Jose, Nov 2016)Building A Streaming Apple TV App (CocoaConf San Jose, Nov 2016)
Building A Streaming Apple TV App (CocoaConf San Jose, Nov 2016)Chris Adamson
 
AWS Webcast - On-Demand Video Streaming using Amazon CloudFront
AWS Webcast - On-Demand Video Streaming using Amazon CloudFront  AWS Webcast - On-Demand Video Streaming using Amazon CloudFront
AWS Webcast - On-Demand Video Streaming using Amazon CloudFront Amazon Web Services
 
bitdash - Simple & Easy MPEG-DASH Player for Web and Mobile
bitdash - Simple & Easy MPEG-DASH Player for Web and Mobilebitdash - Simple & Easy MPEG-DASH Player for Web and Mobile
bitdash - Simple & Easy MPEG-DASH Player for Web and MobileBitmovin Inc
 
Different Types of Live Video Streaming Protocols and the Way They Work
Different Types of Live Video Streaming Protocols and the Way They WorkDifferent Types of Live Video Streaming Protocols and the Way They Work
Different Types of Live Video Streaming Protocols and the Way They WorkChetu
 
Windows Azure Media Services June 2013 update
Windows Azure Media Services June 2013 updateWindows Azure Media Services June 2013 update
Windows Azure Media Services June 2013 updateMingfei Yan
 
Video Streaming: Broadcast quality on a shoe string budget.
Video Streaming: Broadcast quality on a shoe string budget.  Video Streaming: Broadcast quality on a shoe string budget.
Video Streaming: Broadcast quality on a shoe string budget. netc2012
 
Multimedia in Higher Education
Multimedia in Higher EducationMultimedia in Higher Education
Multimedia in Higher Educationlearning20
 
On-demand & Live Streaming with Amazon CloudFront in the Post-PC World (MED30...
On-demand & Live Streaming with Amazon CloudFront in the Post-PC World (MED30...On-demand & Live Streaming with Amazon CloudFront in the Post-PC World (MED30...
On-demand & Live Streaming with Amazon CloudFront in the Post-PC World (MED30...Amazon Web Services
 
Streaming video to html
Streaming video to htmlStreaming video to html
Streaming video to htmljeff tapper
 
i-Cast - product I built once. Still around. Awesome.
i-Cast - product I built once. Still around. Awesome.i-Cast - product I built once. Still around. Awesome.
i-Cast - product I built once. Still around. Awesome.Lennart Hagberg
 

Similar a Multimedia Streaming Architecture (20)

Video Streaming
Video StreamingVideo Streaming
Video Streaming
 
Approaches to Building Media Streaming Applications
Approaches to Building Media Streaming ApplicationsApproaches to Building Media Streaming Applications
Approaches to Building Media Streaming Applications
 
Building A Streaming Apple TV App (CocoaConf DC, Sept 2016)
Building A Streaming Apple TV App (CocoaConf DC, Sept 2016)Building A Streaming Apple TV App (CocoaConf DC, Sept 2016)
Building A Streaming Apple TV App (CocoaConf DC, Sept 2016)
 
Dos presentation by ahlam shakeel
Dos presentation by ahlam shakeelDos presentation by ahlam shakeel
Dos presentation by ahlam shakeel
 
Technology Update: MPEG-Dash
Technology Update: MPEG-DashTechnology Update: MPEG-Dash
Technology Update: MPEG-Dash
 
Building A Streaming Apple TV App (CocoaConf San Jose, Nov 2016)
Building A Streaming Apple TV App (CocoaConf San Jose, Nov 2016)Building A Streaming Apple TV App (CocoaConf San Jose, Nov 2016)
Building A Streaming Apple TV App (CocoaConf San Jose, Nov 2016)
 
AWS Webcast - On-Demand Video Streaming using Amazon CloudFront
AWS Webcast - On-Demand Video Streaming using Amazon CloudFront  AWS Webcast - On-Demand Video Streaming using Amazon CloudFront
AWS Webcast - On-Demand Video Streaming using Amazon CloudFront
 
bitdash - Simple & Easy MPEG-DASH Player for Web and Mobile
bitdash - Simple & Easy MPEG-DASH Player for Web and Mobilebitdash - Simple & Easy MPEG-DASH Player for Web and Mobile
bitdash - Simple & Easy MPEG-DASH Player for Web and Mobile
 
Different Types of Live Video Streaming Protocols and the Way They Work
Different Types of Live Video Streaming Protocols and the Way They WorkDifferent Types of Live Video Streaming Protocols and the Way They Work
Different Types of Live Video Streaming Protocols and the Way They Work
 
Windows Azure Media Services June 2013 update
Windows Azure Media Services June 2013 updateWindows Azure Media Services June 2013 update
Windows Azure Media Services June 2013 update
 
What is rtmp
What is rtmpWhat is rtmp
What is rtmp
 
Video Streaming: Broadcast quality on a shoe string budget.
Video Streaming: Broadcast quality on a shoe string budget.  Video Streaming: Broadcast quality on a shoe string budget.
Video Streaming: Broadcast quality on a shoe string budget.
 
Multimedia in Higher Education
Multimedia in Higher EducationMultimedia in Higher Education
Multimedia in Higher Education
 
Slide
SlideSlide
Slide
 
Mm sys 2013-demo
Mm sys 2013-demoMm sys 2013-demo
Mm sys 2013-demo
 
On-demand & Live Streaming with Amazon CloudFront in the Post-PC World (MED30...
On-demand & Live Streaming with Amazon CloudFront in the Post-PC World (MED30...On-demand & Live Streaming with Amazon CloudFront in the Post-PC World (MED30...
On-demand & Live Streaming with Amazon CloudFront in the Post-PC World (MED30...
 
Streaming video to html
Streaming video to htmlStreaming video to html
Streaming video to html
 
Http streaming
Http streamingHttp streaming
Http streaming
 
WEEK 1
WEEK 1WEEK 1
WEEK 1
 
i-Cast - product I built once. Still around. Awesome.
i-Cast - product I built once. Still around. Awesome.i-Cast - product I built once. Still around. Awesome.
i-Cast - product I built once. Still around. Awesome.
 

Más de Olaf Reitmaier Veracierta

Bandwidth control approach - Cisco vs Mikrotik on Multitenancy
Bandwidth control approach - Cisco vs Mikrotik on MultitenancyBandwidth control approach - Cisco vs Mikrotik on Multitenancy
Bandwidth control approach - Cisco vs Mikrotik on MultitenancyOlaf Reitmaier Veracierta
 
Arquitectura de Referencia - BGP - GSLB - SLB
Arquitectura de Referencia - BGP - GSLB - SLBArquitectura de Referencia - BGP - GSLB - SLB
Arquitectura de Referencia - BGP - GSLB - SLBOlaf Reitmaier Veracierta
 
Estrategia para Despliegue de Contenedores (Agile/DevOps)
Estrategia para Despliegue de Contenedores (Agile/DevOps)Estrategia para Despliegue de Contenedores (Agile/DevOps)
Estrategia para Despliegue de Contenedores (Agile/DevOps)Olaf Reitmaier Veracierta
 

Más de Olaf Reitmaier Veracierta (20)

PoC Azure Administration
PoC Azure AdministrationPoC Azure Administration
PoC Azure Administration
 
RabbitMQ Status Quo Critical Review
RabbitMQ Status Quo Critical ReviewRabbitMQ Status Quo Critical Review
RabbitMQ Status Quo Critical Review
 
AWS Graviton3 and GP3
AWS Graviton3 and GP3AWS Graviton3 and GP3
AWS Graviton3 and GP3
 
Kubernetes Workload Rebalancing
Kubernetes Workload RebalancingKubernetes Workload Rebalancing
Kubernetes Workload Rebalancing
 
KubeAdm vs. EKS - The IAM Roles Madness
KubeAdm vs. EKS - The IAM Roles MadnessKubeAdm vs. EKS - The IAM Roles Madness
KubeAdm vs. EKS - The IAM Roles Madness
 
AWS Cost Optimizations Risks
AWS Cost Optimizations RisksAWS Cost Optimizations Risks
AWS Cost Optimizations Risks
 
AWS Network Architecture Rework
AWS Network Architecture ReworkAWS Network Architecture Rework
AWS Network Architecture Rework
 
SRE Organizational Framework
SRE Organizational FrameworkSRE Organizational Framework
SRE Organizational Framework
 
Insight - Architecture Design
Insight - Architecture DesignInsight - Architecture Design
Insight - Architecture Design
 
Bandwidth control approach - Cisco vs Mikrotik on Multitenancy
Bandwidth control approach - Cisco vs Mikrotik on MultitenancyBandwidth control approach - Cisco vs Mikrotik on Multitenancy
Bandwidth control approach - Cisco vs Mikrotik on Multitenancy
 
Transparent Layer 2 Bandwidth Shaper
Transparent Layer 2 Bandwidth ShaperTransparent Layer 2 Bandwidth Shaper
Transparent Layer 2 Bandwidth Shaper
 
Arquitectura de Referencia - BGP - GSLB - SLB
Arquitectura de Referencia - BGP - GSLB - SLBArquitectura de Referencia - BGP - GSLB - SLB
Arquitectura de Referencia - BGP - GSLB - SLB
 
Backup aaS Solution Architecture
Backup aaS Solution ArchitectureBackup aaS Solution Architecture
Backup aaS Solution Architecture
 
Presentación de Arquitectura en la Nube
Presentación de Arquitectura en la NubePresentación de Arquitectura en la Nube
Presentación de Arquitectura en la Nube
 
Distributed Web Cluster (LAPP)
Distributed Web Cluster (LAPP)Distributed Web Cluster (LAPP)
Distributed Web Cluster (LAPP)
 
Multi-Cloud Connection Architecture
Multi-Cloud Connection ArchitectureMulti-Cloud Connection Architecture
Multi-Cloud Connection Architecture
 
Managed Cloud Services Revision
Managed Cloud Services RevisionManaged Cloud Services Revision
Managed Cloud Services Revision
 
Ingeniería de Software
Ingeniería de SoftwareIngeniería de Software
Ingeniería de Software
 
Estrategia para Despliegue de Contenedores (Agile/DevOps)
Estrategia para Despliegue de Contenedores (Agile/DevOps)Estrategia para Despliegue de Contenedores (Agile/DevOps)
Estrategia para Despliegue de Contenedores (Agile/DevOps)
 
On-Premise Private Cloud Architecture
On-Premise Private Cloud ArchitectureOn-Premise Private Cloud Architecture
On-Premise Private Cloud Architecture
 

Último

Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
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...Drew Madelung
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 

Último (20)

Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 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...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 

Multimedia Streaming Architecture

  • 2. Audio & Video Delivery • Time: – The question is: ¿Live or not live? «Vivo» • Media: – From: Analog (e.g. Air) – To: Digital (e.g. Internet) • Authoring: Copyleft/Copyright • Protecting: Encrypted or at least secured
  • 3. A&V Digital Processing • Hardware & Software: – Open vs. Propietary • Encoding: – Audio / Video (Capture/Record) – Analog/Digital (Compression / Lossless / Lossy) • Transcode: – Analog <-> Digital (Format) – Hardware / CPU / GCPU • Transmuxe: – Digital A&V Format Conversion (a.k.a Transcode) • Stream (Digital *Cast): – Server / Client (Playback). – Live Stream => Live (Re)Streaming (LS) – Recorded File => Video On Demand (VOD)
  • 5. Streaming Technologies BENEFIT LIVE STREAMING PSEUDO STREAMING PROGRESSIVE DOWNLOAD Real-time broadcasts X Long clips X X Immediate random access to different parts of a movie X X Downloads entire movie X Downloads required part of the movie X Flv is cached on the local system X Requires a specialized streaming server X Requires a web server with php X Can be stopped by firewalls X Consistent high quality playback at any connection speed X X Retransmits lost packets X X
  • 6. Streaming Technologies SCENARIO LIVE STREAMING PSEUDO STREAMING PROGRESSIVE DOWNLOAD Live broadcasts X Webtv X X E learning X X Online rich Media presentation X X Movie trailers X X Short product training clip X X Offline product (cd, dvd) X
  • 7. Streaming Protocols – Internet Based (IP): • UDP (Not Connection Oriented / Datagram) – Real Time Streaming Protocol (RTSP) is a network control protocol designed by RealNetworks (1996) for use in entertainment and communications systems to establishing and controlling media sessions between end points • TCP (Connection Oriented / Packet) – RTMP (Real Time Messaging Protocol) created by Macromedia (Adobe) for Internet stream of Flash Video (FLV ~ H.263 + MP3). Released for public use in 2005 – Web Real Time Communication (WebRTC) new project for native zero install any browser open and free video streaming standart for Internet, started in 2011. Supported by all major browsers Chrome, Firefox, Opera, Android & iOS • Others: – MPEG-2 Transport Stream (MPEG-TS) is a standard digital container format for transmission and storage of audio, video, and Program and System Information Protocol (PSIP) data.[3] It is used in broadcast systems such as Digital Video Broadcasting (DVB), ATSC and IPTV
  • 8. Streaming Protocols – Web Based (HTTP): • Progressive Download (Pseudostreaming): web server based method for seek and buffering, Apache/Lighthttpd (mod_[h264|flvx]), Nginx (http_[mp4|flvx]_module, Nimble Streamer and many others). – HTML 5: Most of browsers are comming to support open & standart «video audio» combos: WAVE PCM, MP4 H.264 (AAC o MP3), WebM, Ogg Theora Vorbis, Ogg Opus. • HTTP Live Streaming (HLS) created by Apple for streaming audio to its iPhone, iPad, Mac, Apple TV devices (also PC) since 2009. – Apple VOD formats takes video file from MPEG-4 / QuickTime MOV to H.264 Compression and audio files to AAC or MP3 compression. – Apple LS formats uses MPEG-2 transport streams carrying H.264 video, AAC or MP3 audio. • Dynamic Adaptive Streaming over HTTP (mpeg-DASH) developed by MPEG (Moving Picture Expert Group) is the ISO/IEC 23009-1:2012[14[ since April 2012.
  • 9. Streaming Protocols – Web Based (HTTP): • HTTP Dynamic Streaming (HDS): created by Adobe as part of Flash (>=10.1) using MP4 Fragment Format (ISO/IEC 14496- 12:2008) that allows fetch smaller portions of media than HLS. Allows DRM on live or VOD. Improve RTMP Dynamic Streaming (Flash >=6) and HTTP Progresive Download (Flash >=7) from Adobe. • Microsoft Smooth Streaming (MSS): is a pseudo-streaming implementation introduced in 2008 by Microsoft as part of their Silverlight architecture. Microsoft and Akamai works on «www.smoothHD.com».
  • 10. Streaming Protocols –Web Based (HTTP): • SHOUTcast cross-platform proprietary freeware for streaming media (audio/MP3) over the Internet developed by Nullsoft but owned by AOL. • IceCast: cross-platform free software (GPLv2) mantained by the Xiph.Org (www.icecast.org) for streaming the following streams: Ogg (Vorbis, Speex, Flac, Theora), Opus, WebM and MP3.
  • 11. Audio & Video Formats • They can’t be written neither this slide nor this document…
  • 13. Live Transcoder Not for free Stream (Live) != File
  • 18. Pseudo Streaming • File formats: mp3, mp4, flv, oga, ogv, wav, webm, mkv • Optimization: flash time marks seek, HTTP range header • Packet loss retransmission: which is not available on live streaming Keyframes Play Back & Forward Range Download Only HTTP Buffered Current Playing Lineal Download FTP or HTTP
  • 22. HLS Benefits & Tips • HLS is not A&V is only the delivery way • Supports (client-driven) adaptive bitrate • Better experience: – No “partial play” – No “Complete download” • Delivered over standard HTTP, so zero firewall blocking policies. • Developer and devices easy integration with simple, text-based manifest format. • No proprietary streaming servers required, so more people streaming & playing back.
  • 23. HLS Benefits & Tips • User are dropping major vendors with proprietary standards (i.e. Flash). • Major browsers no longer support plugins (zero install, plug & play, security, licensing). • HLS video is now supported on multicast (RAMP Multicast Engine Startup).
  • 24. HLS Playback Device Support • Free • Plays (Clics) • Streams (Data)
  • 25. HLS Playback Device Support 5 Minutes App Store Limit
  • 27. HLS Playback Device Bitrates Adaptative Bitrate -> Simultaneous Multiple Bitrates (Variants)
  • 30. Media Sharing Architecture • Bandwidth vs. Stream Transfer • Security • Compute (Encoding?) • Storage
  • 31. Media Serving Architecture • Bandwidth vs. Stream Transfer • Security • Compute (Encoding?) • Storage
  • 32. Don’t Forget Security • Hot-linking protection. • Re-streaming protection. • Domain locking geo-location and IP-based. • Digital Right Management / DRM (Google Wildevine, Microsoft Playready, Adobe Flash Access, Apple Fairplay).
  • 33. Streaming Solutions • Services (Content Delivery Network / CDN) – Akamai, Amazon Web Services (Elastic Transcoder / CloudFront), Azure Media Services, bitmovin, Ustream, Limelight Network, Tata Communications, Brightcove Zencoder, encoding.com, Altitude Multicast+, smoothHD.com • Servers (Streaming Server / SS) – Adobe Media Server, Apache, Elemental Technologies, Helix Universal Server, Darwin SS, Nginx, Nimble Streamer, Red5, Unified Origin, Unreal Media Server, Microsoft IIS w/Smooth Streaming Extension, Wowza Streaming Engine

Notas del editor

  1. http://www.corphealthsys.com/flv/source/documentation/streaming.html
  2. http://www.corphealthsys.com/flv/source/documentation/streaming.html
  3. https://developer.mozilla.org/es/docs/Web/HTML/Formatos_admitidos_de_audio_y_video_en_html5
  4. https://developer.mozilla.org/es/docs/Web/HTML/Formatos_admitidos_de_audio_y_video_en_html5
  5. https://developer.mozilla.org/es/docs/Web/HTML/Formatos_admitidos_de_audio_y_video_en_html5
  6. https://en.wikipedia.org/wiki/SHOUTcast https://es.wikipedia.org/wiki/Icecast
  7. https://developer.mozilla.org/es/docs/Web/HTML/Formatos_admitidos_de_audio_y_video_en_html5
  8. The Definitive Guide to HLS (Optimized Delivery to Every Device) https://www.encoding.com/http-live-streaming-hls/ Understanding streaming protocols and output file formats https://www.wowza.com/forums/content.php?621-Understanding-streaming-protocols-and-output-file-formats
  9. https://wmspanel.com/nimble
  10. https://wmspanel.com/nimble
  11. https://wmspanel.com/nimble
  12. https://wmspanel.com/nimble
  13. https://wmspanel.com/nimble https://en.wikipedia.org/wiki/Progressive_download http://flash.flowplayer.org/plugins/streaming/pseudostreaming.html
  14. https://wmspanel.com/nimble
  15. https://wmspanel.com/nimble
  16. The Definitive Guide to HLS (Optimized Delivery to Every Device) https://www.encoding.com/http-live-streaming-hls/ Understanding streaming protocols and output file formats https://www.wowza.com/forums/content.php?621-Understanding-streaming-protocols-and-output-file-formats
  17. The Definitive Guide to HLS (Optimized Delivery to Every Device) https://www.encoding.com/http-live-streaming-hls/ Understanding streaming protocols and output file formats https://www.wowza.com/forums/content.php?621-Understanding-streaming-protocols-and-output-file-formats
  18. https://www.jwplayer.com/pricing/
  19. Resolving App Store Approval Issues for HTTP Live Streaming https://developer.apple.com/library/content/qa/qa1767/_index.html
  20. https://bitmovin.com/player-documentation/player-device-browser-format-support/
  21. The Definitive Guide to HLS (Optimized Delivery to Every Device) https://www.encoding.com/http-live-streaming-hls/ Best Practices for Creating and Deploying HTTP Live Streaming Media for Apple Devices https://developer.apple.com/library/content/technotes/tn2224/_index.html
  22. The Definitive Guide to HLS (Optimized Delivery to Every Device) https://www.encoding.com/http-live-streaming-hls/
  23. https://en.wikipedia.org/wiki/Flash_Video https://en.wikipedia.org/wiki/Real-Time_Messaging_Protocol https://en.wikipedia.org/wiki/HTTP_Live_Streaming https://en.wikipedia.org/wiki/Dynamic_Adaptive_Streaming_over_HTTP http://ramp.com/insights/three-things-you-didnt-know-about-multicast-streaming/ https://www.iis.net/downloads/microsoft/smooth-streaming