AVAssetExportSession is not working on Iphone 16 pro max.

My App is live on app store , user are using it with iPhone 16 pro max and they are getting Operation Stopped while combining videos and audios only specifically on iPhone 16 pro max , on every other device its working fine. And When i adding AVAssetExportPresetPassthrough it able to combine videos and audios but not respecting the encoding and without audio.

        NSArray *compatiblePresets = [AVAssetExportSession exportPresetsCompatibleWithAsset:composition];
        if ([compatiblePresets containsObject:AVAssetExportPresetHighestQuality]) {
            presetName = AVAssetExportPresetHighestQuality;
        } else if ([compatiblePresets containsObject:AVAssetExportPreset1920x1080]) {
            presetName = AVAssetExportPreset1920x1080;
        } else if ([compatiblePresets containsObject:AVAssetExportPreset1280x720]) {
            presetName = AVAssetExportPreset1280x720;
        } else {
            presetName = AVAssetExportPresetPassthrough;
        }
    } else {
        presetName = AVAssetExportPreset1280x720;
    }

Update: It's only happening when user is recording from iPhone 16 pro max ... previously pre-recorded videos are working fine.

Our engineering teams need to investigate this issue, as resolution may involve changes to Apple's software. I'd greatly appreciate it if you could open a bug report, include a small Xcode project that can be used to reproduce the problem and directions for using the text project, and post the FB number here once you do.

Bug Reporting: How and Why? has tips on creating your bug report.

FB Number : FB15295055.

I am encountering a similar issue with a code that works perfectly on all devices except the iPhone 16 Pro Max: I observe a significant random slowdown that occurs when using AVAssetWriter.

The issue only appears at the launch of the application (e.g., when it hasn't been used for several hours).

I am encountering a similar issue when using AVFoundation to compress videos shot by iPhone16 pro max, The Audio compression always fails and prompts that the operation cannot be completed, very sad.

AVAssetExportSession is not working on Iphone 16 pro max.
 
 
Q