AVFoundation - Adding blur background to video

后端 未结 4 1538
花落未央
花落未央 2020-12-28 10:50

I am working on a video editing app in Swift. In my case my output video looks like as following

I am trying to fill the black portion with blur effect e

4条回答
  •  悲&欢浪女
    2020-12-28 11:21

    Starting from iOS 9.0 You can use AVAsynchronousCIImageFilteringRequest

    see docs for more info

    Or You can use AVVideoCompositing see example of usage

提交回复
热议问题