media-watermark
media-watermark copied to clipboard
AVAssetExportPresetPassthrough does not add watermark to the video.
I am trying to set the preset as AVAssetExportPresetPassthrough
to get the exact same resolution of input video but it is not adding watermark into the video.
Following does not add watermark to the video.
let exportSession = AVAssetExportSession(asset: mixComposition, presetName: AVAssetExportPresetPassthrough)
But with following preset it is working.
let exportSession = AVAssetExportSession(asset: mixComposition, presetName: AVAssetExportPresetHighestQuality)
even if I set AVAssetExportPresetMediumQuality
, it is adding watermark but only it is not working with AVAssetExportPresetPassthrough