Swift Video Resizer AVAsset
问题 I have this code that resizes a video from 1280 x 720 to 640 x 360 But i want a resize with no crop. Is there a way to do a full resize the don't crop ? Here's the code class func resizer(inputURL : NSURL , completion: (outPutURL : NSURL?) -> Void ){ let videoAsset = AVAsset(URL: inputURL) as AVAsset let clipVideoTrack = videoAsset.tracksWithMediaType(AVMediaTypeVideo).first! as AVAssetTrack let composition = AVMutableComposition() composition.addMutableTrackWithMediaType(AVMediaTypeVideo,