在網(wǎng)上查找合成視頻旋轉90度的問題解決 最后沒有找到想要的答案
其實很簡單 就一個屬性而已
AVMutableComposition *comosition = [AVMutableComposition composition];
AVMutableCompositionTrack *videoTrack = [comosition addMutableTrackWithMediaType:AVMediaTypeVideo preferredTrackID:kCMPersistentTrackID_Invalid];
//合成方向處理
videoTrack.preferredTransform =? CGAffineTransformMakeRotation(M_PI/2);
大功告成!