AVAsset
class AVAsset : NSObject, NSCopying, AVAsynchronousKeyValueLoading
-
nextlevel_export(outputFileType:outputURL:metadata:videoInputConfiguration:videoOutputConfiguration:audioOutputConfiguration:progressHandler:completionHandler:)
Initiates a NextLevelSessionExport on the asset
Declaration
Swift
public func nextlevel_export(outputFileType: AVFileType? = AVFileType.mp4, outputURL: URL, metadata: [AVMetadataItem]? = nil, videoInputConfiguration: [String : Any]? = nil, videoOutputConfiguration: [String : Any], audioOutputConfiguration: [String : Any], progressHandler: NextLevelSessionExporter.ProgressHandler? = nil, completionHandler: NextLevelSessionExporter.CompletionHandler? = nil)
Parameters
outputFileType
type of resulting file to create
outputURL
location of resulting file
metadata
data to embed in the result
videoInputConfiguration
video input configuration
videoOutputConfiguration
video output configuration
audioOutputConfiguration
audio output configuration
progressHandler
progress fraction handler
completionHandler
completion handler