Is it possible to use quality between AVAssetExportPresetMediumQuality and AVAssetExportPresetHighestQuality with AVAssetExportSession?

I use AVAssetExportSession to export videos from my iOS application, for example:

AVAssetExportSession *exportSession=[AVAssetExportSession exportSessionWithAsset:composition presetName:AVAssetExportPresetMediumQuality];

I want to download the exported video, so the size matters. The problem is that the quality of the environment is very poor quality, and AVAssetExportPresetHighestQuality is normal, but 5 times more than average.

So, is there a way to create a video with quality between them, say, 2 times the size?

Is this possible with AVAssetExportSession?

If not, is this possible with AVAssetWriter?

Thanks in advance,

Regards,

Walchy

+5
source share
1

:

. AVAssetExportSession.

. AVAssetReader/AVAssetWriter.

+5

All Articles