HTTP Live Streaming HLS

1 min read streaming, http

Written in 2020. Tools, APIs and prices may have changed since.

Lab note What I wrote down while learning this by building with it. Short by design; the code is in pfeilbr/http-live-streaming-hls-playground.

example of creating an HTTP Live Stream video stream from an h.264 video file.

Prerequisites

Running

# create segments for HTTP Live Streaming from media file
mediafilesegmenter \
  -f ./public \
  ./assets/video/SampleVideo_1280x720_10mb.mp4

cd public
python -m SimpleHTTPServer 8000
open http://localhost:8000/

Resources

Get new guides and courses by email

An occasional email when I publish a new guide, course or post. No spam, and you can unsubscribe any time.

Sent with Buttondown. I never share your address. Prefer a feed? Use the RSS feed.