Black Video CAAnimation and AVFoundation AVAssetExportSession

后端 未结 2 1892
日久生厌
日久生厌 2021-01-07 07:28

I\'m a relative newbie on the whole AVFoundation video editing circuit.

My current test app is a two screen application, the first screen does an AVFoundation Video

2条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-07 08:01

    But if the size of the video wont be 320X480, it will mess up. Try to use this one to get the video size.

            CGSize videoSize = [[[self.videoAsset tracksWithMediaType:AVMediaTypeVideo] objectAtIndex:0] naturalSize];
    

提交回复
热议问题