AVAssetExportSession in ios 10 not working for iPhone 7

前端 未结 2 815
萌比男神i
萌比男神i 2020-12-22 04:12

When I am blending two videos with AVAssetExportSession in ios 9 its working perfectly. but when i blend with AVAssetExportSession in iOS 10, it in not working. Please help

相关标签:
2条回答
  • 2020-12-22 05:09
    It's a bug.
    
    It's fixed in Xcode 8.1 beta.
    

    Xcode 8.1 beta [AVAssetExportSession allExportPresets] iPhone 7 Simulator now returns

    AVAssetExportPreset1920x1080,
    AVAssetExportPresetLowQuality,
    AVAssetExportPresetAppleM4A,
    AVAssetExportPreset640x480,
    AVAssetExportPreset3840x2160,
    AVAssetExportPresetHighestQuality,
    AVAssetExportPreset1280x720,
    AVAssetExportPresetMediumQuality,
    AVAssetExportPreset960x540
    

    Xcode 8.0 [AVAssetExportSession allExportPresets] iPhone 7 Simulator returns an empty array

    0 讨论(0)
  • 2020-12-22 05:14

    AVAssetExportSession can be NULL, so need to check NULL before work on it https://developer.apple.com/library/content/qa/qa1730/_index.html

    0 讨论(0)
提交回复
热议问题