質問編集履歴
1
コードの追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -8,6 +8,10 @@
|
|
8
8
|
### 該当のソースコード
|
9
9
|
|
10
10
|
```swift
|
11
|
+
|
12
|
+
let srcVideoTrackTransformedSize = AVAssetTrack.naturalSize.applying(AVAssetTrack.preferredTransform)
|
13
|
+
let srcVideoTrackRenderSize = CGSize(width: abs(srcVideoTrackTransformedSize.width), height: abs(srcVideoTrackTransformedSize.height))
|
14
|
+
|
11
15
|
let filter = CIFilter(name: "CIPhotoEffectNoir")!
|
12
16
|
videoComp = AVMutableVideoComposition(asset: AVAsset, applyingCIFiltersWithHandler: { request in
|
13
17
|
|