📇 Swift library for creating HLS playlists and fragmented mp4 files. Works on Linux and iOS.


Build Status

Read the Docs

morsel is a library for creating streaming audio/video assets.

It can produce a series of fragmented mp4 files with HLS playlists.

It is compatible with Linux, macOS, iOS, and tvOS.

Supported playlist types:

  • VOD (Video On Demand) Basic
  • Event Basic
  • Live (Sliding Window)


morsel can be used to produce audio and video assets suitable for streaming over the web using [HLS (HTTP Live Streaming)] (

morsel can be used on a Linux server in the cloud using pupil to capture the audio/video over TCP.

It can also be used in an iOS / iPad app and capture data directly from the device's camera / microphone.

It can also be used on your macOS Desktop.


  • Swift Tools 4.0.0
View More Packages from this Author


Last updated: Mon Jun 10 2024 04:42:22 GMT-0900 (Hawaii-Aleutian Daylight Time)