cupertino-sample-code/avfoundation-writing-fragmented-mpeg-4-files-for-http-live-streaming
Mihaela Mihaljevic 37fd4fb24f Initial commit: 606 Apple sample code projects
MIT License - Apple Developer sample code
Downloaded via Cupertino (https://github.com/mihaelamj/cupertino)
2025-12-03 00:19:12 +01:00
..
Configuration Initial commit: 606 Apple sample code projects 2025-12-03 00:19:12 +01:00
fmp4writer Initial commit: 606 Apple sample code projects 2025-12-03 00:19:12 +01:00
fmp4writer.xcodeproj Initial commit: 606 Apple sample code projects 2025-12-03 00:19:12 +01:00
.gitignore Initial commit: 606 Apple sample code projects 2025-12-03 00:19:12 +01:00
LICENSE.txt Initial commit: 606 Apple sample code projects 2025-12-03 00:19:12 +01:00
README.md Initial commit: 606 Apple sample code projects 2025-12-03 00:19:12 +01:00

Writing Fragmented MPEG-4 Files for HTTP Live Streaming

Create an HTTP Live Streaming presentation by turning a movie file into a sequence of fragmented MPEG-4 files.

Overview

Configure the Sample Code Project

Before you run the sample code project in Xcode:

  1. Edit the shared scheme called fmp4Writer.
  2. Open the Run action.
  3. Replace the <path to movie file on disk> argument with the path to a movie file on your local hard drive.
  4. Replace the <path to output directory> argument with your desired output directory; for example ~/Desktop/fmp4writer/.