Technical Presentation
Buddhi Bal Thapa
MScIT 2nd Semester
1407191244
Apple HLS
Contents
Definition
Scope
Tools used
How it works?
Example
Limitations
References
Definition
HTTP Live Streaming is a way to send audio
and video over HTTP from a web server to
client software on the desktop or to iOS-
based devices or android.
Scope
To show how HTTP Live Streaming works
Tools required
Media stream segmenter (Apple devices)
ffmpeg (Ubuntu/Windows PC)
How it works?
ffmpeg splits the audio video data to series of
.ts files and automatically creates .m3u8 file
How it works?
How it works?
How it works?
How it works?
Example
Media segmenter
ffmpeg -i inputvideo.mp4 -profile:v
baseline -level 3.0 -s 640x360 -
start_number 0 -hls_time 10 -
hls_list_size 0 -hls_allow_cache 0 -f hls
640x360.m3u8
How it works?
Examples
Generated .m3u8 file
#EXT-X-VERSION:3
#EXTM3U
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:1
#EXTINF:10.0,
http://media.example.com/segment1.ts
#EXTINF:9.5,
http://media.example.com/segment2.ts
#EXT-X-ENDLIST
How it works?
Examples
<video autoplay="autoplay" >
<source type="application/x-mpegURL"
src=“index.m3u8">
</video>
Limitations
Consumes more disk space
Requires high performing devices
Some browsers are not supported
References
www.developer.apple.com
www.fmpeg.com/all.html#hls
www.streamingmedia.com/Articles/Editorial/What-
Is-.../What-is-HLS-(HTTP-Live-Streaming)-
78221.aspx
www.encoding.com/http-live-streaming-hls/
Questions?

Apple hls technical presentation