Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
HLSでやっていく 動画ストリーミング配信
Search
takanamito
July 26, 2016
Programming
2.6k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
HLSでやっていく 動画ストリーミング配信
SpeeeKaigiで発表した
HLSを使った動画ストリーミング配信についてのLT資料です。
takanamito
July 26, 2016
More Decks by takanamito
See All by takanamito
ActiveModel::Attributes APIとSwaggerでRailsのAPIレスポンスに型を持ち込む
takanamito
0
680
ドキュメントとテストのないプロジェクトを引き継ぐ
takanamito
2
3.6k
Siriに身の回りのお世話をしてもらう
takanamito
0
7k
PHPで運用中のサービスをRubyに切り替える
takanamito
0
5.5k
安心してフレームワークをのりかえたい
takanamito
0
1.3k
あんしん大規模リプレースサポート
takanamito
1
1.8k
Other Decks in Programming
See All in Programming
AI時代のFlutter品質設計 — アプリ品質を守るQuality Layers
omatty198
0
360
Inertia Rails: The One-Person Framework with React & Friends
skryukov
0
380
動画プレイヤーはなぜカクつくのか 〜Flutterのレンダリングとネイティブの境界を解剖する〜
naruogram
0
330
PyConTW 2026 - AI Coding 不只是工具升級, 區域醫院醫療資訊系統協作開發與資訊團隊轉型實踐
cclai999
0
240
Spec-driven Development with AI
simas
PRO
0
2.3k
私なりのハーネスエンジニアリング ~独自の言語処理系の開発を通して~
seosoft
0
180
小さなアプリを作って公開するまで
onozaty
0
130
AIが実装を担う時代の「技術設計」と「チームマネジメント」
kamina_zzz
2
200
TS 7.0 で baseUrl が使えなくなった今、パスエイリアスをどうするか
bicstone
2
520
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
120
Seven New Principles of Software Engineering
yegor256
0
460
AI時代のTerminal環境を UNIX哲学で設計・運用する
yasunori0418
1
340
Featured
See All Featured
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
970
The Curious Case for Waylosing
cassininazir
1
610
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Documentation Writing (for coders)
carmenintech
77
5.6k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
480
The browser strikes back
jonoalderson
0
1.9k
エンジニアに許された特別な時間の終わり
watany
109
250k
Amusing Abliteration
ianozsvald
1
380
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
320
Transcript
HLSͰ͍ͬͯ͘ ಈըετϦʔϛϯά৴
HLSͱ? • HTTP Live Streaming • Apple͕ఏএ͢ΔετϦʔϛϯάಈը৴ٕज़ • HTTPαʔόʔͰετϦʔϛϯά৴ •
ϥΠϒ/ΦϯσϚϯυ৴྆ରԠ • ࠷ۙͩͱAbema TVͰΘΕͯΔͬΆ͍
ͲΜͳΈʁ
ಈըϑΝΠϧ ) UT UT UT UT UT ʜ OUT QMBZMJTUNV
➕ ⒎NQFH
$ ffmpeg -i ./source.mp4 \ -f segment \ -segment_format mpegts
\ -segment_list playlist.m3u8 %03d.ts
#EXTM3U #EXT-X-VERSION:3 #EXT-X-MEDIA-SEQUENCE:0 #EXT-X-ALLOW-CACHE:YES #EXT-X-TARGETDURATION:3 #EXTINF:2.293967, 000.ts #EXTINF:2.002000, 001.ts #EXTINF:2.002000,
002.ts #EXTINF:2.002000, 003.ts #EXTINF:1.835167, 004.ts #EXTINF:2.002000, 005.ts ~ தུ ~ #EXTINF:2.002000, 187.ts #EXTINF:2.002000, 188.ts #EXTINF:2.002000, 189.ts #EXTINF:2.002000, 190.ts #EXTINF:0.750756, 191.ts #EXT-X-ENDLIST
<html> <body> <video src=‘./playlist.m3u8’ controls></video> </body> </html> JOEFYIUNM ͋ͱ͜ͷIUNMʹOHJOYܦ༝Ͱ ΞΫηε͢Ε0,
σϞ
ͳʹ͕͏Ε͍͠ʁ • ߏ͕γϯϓϧ • ͪͬͪΌ͍tsϑΝΠϧ • HTTPαʔόʔ • ϒϥβ (chromeϓϨΠϠʔϥΠϒϥϦ͕ඞཁ)
• ࠶ੜ͕εϜʔζ • 1ϑΝΠϧ͕1~4MBఔ(σϑΥϧτ10ඵ) • γʔΫόʔಈ͔ͨ࣌͠ʹόοϑΝͪ΄΅ͳ͠ • Important: iPhone and iPad apps that send large amounts of audio or video data over cellular networks are required to use HTTP Live Streaming.
ଞʹ ·ͩ·ͩ
HLSͰ͍ͬͯ͘αʔόʔϨε ಈըετϦʔϛϯά৴
) ಈը "84ʹ͍ͤͯ͘
͜ͷลͷઃఆ͏ͱ͍͍ײ͡ͷը࣭ʹͳΔ
) ಈը ˢ ͜͜ʹ͓͍ͨNVϑΝΠϧͷ63-Λ ϒϥβͰ։͚ͩ͘Ͱ0,
ͦͯͦͯ͠͠
HLS video now available on ͚ࣾGyazoαʔόʔ ࣾݶఆετϦʔϛϯά৴͠์