This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AVFoundation | |
import os.log | |
/// https://developer.apple.com/library/archive/documentation/AudioVideo/Conceptual/AVFoundationPG/Articles/05_Export.html | |
/** | |
Steps | |
- Use serialization queues to handle the asynchronous nature of reading and writing audiovisual data | |
- Initialize an asset reader and configure two asset reader outputs, one for audio and one for video | |
- Initialize an asset writer and configure two asset writer inputs, one for audio and one for video |
OlderNewer