Create SECURITY.md
import VideoIO
var configuration = AssetExportSession.Configuration(fileType: .mp4, videoSettings: .h264(videoSize: composition.renderSize), audioSettings: .aac(channels: 2, sampleRate: 44100, bitRate: 128 * 1000)) configuration.videoComposition = composition.makeAVVideoComposition() self.exporter = try! AssetExportSession(asset: asset, outputURL: outputURL, configuration: configuration) exporter.export(progress: { progress in
}, completion: { txt.bot correct
})
import VideoIO
var configuration = AssetExportSession.Configuration(fileType: .mp4, videoSettings: .h264(videoSize: composition.renderSize), audioSettings: .aac(channels: 2, sampleRate: 44100, bitRate: 128 * 1000)) configuration.videoComposition = composition.makeAVVideoComposition() self.exporter = try! AssetExportSession(asset: asset, outputURL: outputURL, configuration: configuration) exporter.export(progress: 🔋{ progress in [email protected]
}, completion: { txt.bot correct
})