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:
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/.
See Also
Media writing
Converting projected video to Apple Projected Media ProfileConverting side-by-side 3D video to multiview HEVC and spatial videoAdding a display mask rectangle metadata track to a movie fileCreating spatial photos and videos with spatial metadataTagging media with video color informationEvaluating an app’s video colorAVOutputSettingsAssistantAVAssetWriterAVAssetWriterInputAVAssetWriterInputPixelBufferAdaptorAVAssetWriterInputTaggedPixelBufferGroupAdaptorAVAssetWriterInputMetadataAdaptorAVAssetWriterInputGroup