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
Verilogで学ぶCPU自作入門.pdf
uyuki234
7
3.9k
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
380
Findy - エンジニア向け会社紹介/Findy Company Deck
findyinc
6
400k
すこし踏み込む CancellationToken
htkym
2
1.5k
Security issues being discussed on Web Platforms
petamoriken
0
1.4k
マイコン向けの軽量Ruby「PicoRuby」で各種デバイスを制御するネイティブアプリの実現手法
bash0c7
0
460
Vue Fes Japan 2026 タイムテーブル徹底解説
448jp
1
580
手動確認はもう限界 〜XCUITestでCustom URL Schemeの遷移を起動種別ごとに自動テストする〜 / Testing Custom URL Schemes with XCUITest
otouto
0
370
フロントエンドUIフレームワークのこれまでとこれから
ssssota
5
3.1k
MVNOの申込からeSIM開通までをiOSアプリでつなぐ- 本人確認・MNP・通信事業者基盤をまたぐ実装
satotakeshi
0
520
Embedded Swiftで作る自作USBデバイス によるiOSデバイスの自動テスト / iOSDC Japan 2026 glassfiber
glassfiber
0
250
Turning Architecture into Unit Tests in the AI Era (NSSpain XIV)
steliosf
PRO
1
120
Featured
See All Featured
Navigating Team Friction
lara
192
16k
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
Darren the Foodie - Storyboard
khoart
PRO
4
4k
Building Flexible Design Systems
yeseniaperezcruz
330
41k
Bash Introduction
62gerente
615
220k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
46k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
550
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
720
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
710
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αʔόʔ ࣾݶఆετϦʔϛϯά৴͠์