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

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

Here\'s the code:

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


        
5条回答
  •  情歌与酒
    2021-02-02 17:21

    Turns out that if AVMutableVideoComposition's render size width isn't an even number, you get the mysterious green borders. Good times.

提交回复
热议问题