Create an HTTP Live Streaming presentation by turning a movie file into a sequence of fragmented MPEG-4 files.
- Note: This sample code project is associated with WWDC20 session 10011: Authoring Fragmented MPEG-4 with AVAssetWriter.
Before you run the sample code project in Xcode:
- Edit the shared scheme called
fmp4Writer
. - Open the Run action.
- Replace the <path to movie file on disk> argument with the path to a movie file on your local hard drive.
- Replace the <path to output directory> argument with your desired output directory; for example
~/Desktop/fmp4writer/
.