Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
The New York Times: Flash Free Video in 2016
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Flávio Ribeiro
November 15, 2016
Technology
110
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
The New York Times: Flash Free Video in 2016
http://open.blogs.nytimes.com/2016/02/08/flash-free-video-in-2016/
Flávio Ribeiro
November 15, 2016
More Decks by Flávio Ribeiro
See All by Flávio Ribeiro
Leveraging Open Source to Create Virtual Live Channels from On-Demand Video
flavioribeiro
0
240
Building a Live Streaming Stack for Big Brother
flavioribeiro
0
75
Engineering a Live Streaming Workflow for Super Bowl 53 at CBS
flavioribeiro
0
200
Live Streaming Challenges & How we are Dealing with Them
flavioribeiro
0
310
How Video Works?
flavioribeiro
2
820
Improving the Video Delivery at The New York Times
flavioribeiro
1
380
Building a Closed Captions Ecosystem at The New York Times
flavioribeiro
0
220
Snickers: Open Source HTTP API for Media Encoding
flavioribeiro
0
350
Towards the Application of WebRTC Peer-to-Peer to Scale Live Video Streaming over the Internet
flavioribeiro
1
200
Other Decks in Technology
See All in Technology
AI-DLCを “そのまま導入しなかった”話 ~組織に合わせてアジャストした 私たちの実践共有~
hiroramos4
PRO
1
430
感情と身体を置き去りにしない、エンジニアの生きのこり方 ──いまから、ここから「自分の状態」を扱うという選択
saorimurooka
0
340
Lightning近況報告
kozy4324
0
220
コミュニティの有益性 ~JAWS Days 2026 での体験を通して~ / The Benefits of a Community ~Through My Experience at JAWS Days 2026~
seike460
PRO
0
270
Kiro Ambassador を目指す話
k_adachi_01
0
130
10年間のブログ発信を振り返って見えたWebアプリケーションエンジニアとしての軌跡
stefafafan
0
190
AIに障害切り分けを全部やってもらった。 。 。 。
estie
0
150
iOS アプリの「これって不具合ですか?」を AI に調べてもらう
miichan
0
140
【FinOps】データドリブンな意思決定を目指して
z63d
0
350
自分が詳しくない領域でAIを使う #プロヒス2026
konifar
20
7.4k
AIチャットの改善から見えた、良いAI体験とは / What Constitutes a Good AI Experience: Insights from Improving AI Chat
kubode
0
120
GitHub Copilot app最速の発信の裏側
tomokusaba
1
260
Featured
See All Featured
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.2k
Utilizing Notion as your number one productivity tool
mfonobong
4
330
HDC tutorial
michielstock
2
720
Context Engineering - Making Every Token Count
addyosmani
9
980
Rebuilding a faster, lazier Slack
samanthasiow
85
9.5k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
750
Thoughts on Productivity
jonyablonski
76
5.2k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.8k
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
290
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
340
Transcript
The New York Times: Flash Free Video in 2016
None
http://nyti.ms/1UYu8GV
/flavioribeiro /flavioribeiro flavioribeiro.com
Why it is so hard?
Before 2005 Windows Media Player & Real Networks First, some
background 2005 Macromedia Flash, VP6 + FLV 2005 - 2010 95% Flash-enabled browsers, Flash Media Server & RTMP, OSMF
Flash has become a strong and ubiquitous platform for multimedia
on the Internet.
More background 2007 - 2011 HTML5 Audio & Video 2011
- 2013 Apple, HTTP Streaming 2013 - ? Media Source Extensions, Encrypted Media Extensions
Video Protocols 101 • RTMP (Real Time Messaging Protocol) RTMP
Server Player Stateful
• RTMP (Real Time Messaging Protocol) • HLS (HTTP Live
Streaming) RTMP Server Player HTTP Server Stateful Player Master Playlist Video Protocols 101
#EXTM3U #EXT-X-STREAM-INF:BANDWIDTH=492225,RESOLUTION=426x240 http://vp.nyt.com/hls/movie_428kbps/index.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=1105269,RESOLUTION=640x360 http://vp.nyt.com/hls/movie_1028kbps/index.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=1718312,RESOLUTION=854x480 http://vp.nyt.com/hls/movie_1628kbps/index.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=2740051,RESOLUTION=1280x720 http://vp.nyt.com/hls/movie_2628kbps/index.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=3966138,RESOLUTION=1920x1080
http://vp.nyt.com/hls/movie_3828kbps/index.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=163167 http://vp.nyt.com/hls/audio_128kbps/index.m3u8 HLS Master Playlist
HLS Master Playlist #EXTM3U #EXT-X-STREAM-INF:BANDWIDTH=492225,RESOLUTION=426x240 http://vp.nyt.com/hls/movie_428kbps/index.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=1105269,RESOLUTION=640x360 http://vp.nyt.com/hls/movie_1028kbps/index.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=1718312,RESOLUTION=854x480 http://vp.nyt.com/hls/movie_1628kbps/index.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=2740051,RESOLUTION=1280x720 http://vp.nyt.com/hls/movie_2628kbps/index.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=3966138,RESOLUTION=1920x1080 http://vp.nyt.com/hls/movie_3828kbps/index.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=163167 http://vp.nyt.com/hls/audio_128kbps/index.m3u8
• RTMP (Real Time Messaging Protocol) • HLS (HTTP Live
Streaming) RTMP Server Player HTTP Server Stateful Player Master Playlist Level Playlist Video Protocols 101
#EXTM3U #EXT-X-TARGETDURATION:9 #EXT-X-PLAYLIST-TYPE:VOD #EXTINF:9, 41957_1_brooklyn-bridge_wg_00000.ts #EXTINF:9, 41957_1_brooklyn-bridge_wg_00001.ts #EXTINF:9, 41957_1_brooklyn-bridge_wg_00002.ts #EXTINF:9,
41957_1_brooklyn-bridge_wg_00003.ts #EXTINF:9, 41957_1_brooklyn-bridge_wg_00004.ts #EXT-X-ENDLIST HLS Level Playlist
• RTMP (Real Time Messaging Protocol) • HLS (HTTP Live
Streaming) Servidor RTMP Player Stateful Player Adaptive Streaming RTMP Server HTTP Server Video Protocols 101
1. Proprietary Video Player (Brightcove) Ads Integration in a Private
Plug-in Live Streaming: RTMP (Adobe) On Demand: VP6/FLV
2. VHS (HTML5-First) Live: VHS with HLS Player + OSMF
(FlasHLS) On Demand: MP4, WEBM, HLS, FLV Ads integration implemented on Flash component
None
None
https://blog.mozilla.org/futurereleases/2016/07/20/reducing-adobe-flash-usage-in-firefox/
3. Flash-free 1. Transcoding of the old videos 2. Live
Playback in JavaScript 3. Ads Integration with HTML5 VPAID
3. Flash-free 1. Transcoding of the old videos 2. Live
Playback in JavaScript 3. Ads Integration with HTML5 VPAID
Approximately 32% of the published vídeos inVP6/FLV
2005 2006 2007 2008 2009 2010 2011 2012 2013 2014
2015 2005 2006 2007 2008 2009 2010 2011 2012 On Demand Videos VP6/FLV MP4/WEBM/HLS
Transcoding of the old videos https://github.com/flavioribeiro/node-encoding-wrapper Storage Area Network NodeJS
App encoding.com Akamai NYTimes API
3. Flash-free 1. Transcoding of the old videos 2. Live
Playback in JavaScript 3. Ads Integration with HTML5 VPAID
3. Flash-free ShakaPlayer (Google) DASH.js (DASH Industry Forum) HLS.js (Dailymotion)
3. Flash-free http://caniuse.com/#feat=mediasource
3. Flash-free
3. Flash-free 1. Transcoding of the old videos 2. Live
Playback in JavaScript 3. Ads Integration with HTML5 VPAID
Future 1. 360° Vídeos 2.VHS 3.0 3. MPEG-DASH?
http://www.nytco.com/careers/technology/
Thanks! /flavioribeiro { , }
Links • http://www.nytco.com/who-we-are/ • http://www.nytimes.com/slideshow/2016/08/14/business/delivery-by-mail-pail/ s/14mailpail-slide-HVSU.html • http://topics.nytimes.com/top/news/sports/soccer/world-cup-2010/south- africa/index.html •
http://www.nytimes.com/interactive/2015/08/26/us/ten-years-after-katrina.html • http://www.nytimes.com/2009/11/19/us/19orleans.html • https://www.flickr.com/photos/54268887@N00/5114160903 • http://www.nytimes.com/2011/03/27/business/27unboxed.html • http://www.nytimes.com/2014/12/01/technology/star-witness-in-apple-suit-is- steve-jobs.html • http://www.dailymail.co.uk/sciencetech/article-3160644/Google-Mozilla-pull- plug-Adobe-Flash-Tech-giants-disable-program-browsers-following-critical- security-flaw.html • http://www.zdnet.com/article/firefox-now-blocks-all-versions-of-flash-player- by-default/ • http://open.blogs.nytimes.com/2016/02/08/flash-free-video-in-2016/?_r=0 • https://blog.streamroot.io/abr-algorithms-work-optimize-stack/