Ios swift – How to enlarge or make sure the maximum AVAssetWriter Input frame size?
I try to write frames into a video using AVAssetWriter. I wrote codes as below: // Initial AVAssetWriter // Write mp4 file let assetWriter = try AVAssetWriter(outputURL: targetUrl, fileType: .mp4) let width = size.width * 2 // set options for…