AVAssetExportSession giving me a green border on right and bottom of output video

后端 未结 5 1978
余生分开走
余生分开走 2021-02-02 17:07

Here\'s the code:

AVAssetExportSession *exporter = [[AVAssetExportSession alloc] initWithAsset:mixComposition presetName:AVAssetExportPresetHighestQuality];
             


        
5条回答
  •  青春惊慌失措
    2021-02-02 17:13

    Usually green lines appear after video cropping, problem is in video renderSize width, it should be multiply of 16.

    Here some links about this: apple 1 apple 2

提交回复
热议问题