quentinfasquel / MyTransparentVideoExample

A simple example of how to play a transparent video in a UIView
https://medium.com/@quentinfasquel/ios-transparent-video-with-coreimage-52cfb2544d54
56 stars 15 forks source link

Not work in iOS 9 & iOS 10 #1

Closed Michael-iOSer closed 4 years ago

Michael-iOSer commented 5 years ago

I have some troubles in iOS 9 & iOS 10。The final video seems like to be stretched in iOS9 &iOS10 。and in iOS9,it have some shadow。applyingCIFiltersWithHandler seems like not remove prevouis outputImage in iOS 9。

quentinfasquel commented 4 years ago

@Michael-iOSer I am sorry to answer almost one year later. I hadn't noticed this issue. Someone else reported it and you will find an answer here

Michael-iOSer commented 4 years ago

Thanks for you reply, My current solution is use AVPlayerItemVideoOutput to get CVPixelBufferRef, then use the filter. i will try to see how to use SpriteKit

ifananomali commented 4 years ago

Thanks for you reply, My current solution is use AVPlayerItemVideoOutput to get CVPixelBufferRef, then use the filter. i will try to see how to use SpriteKit

could you please show me how to fix it using AVPlayerItemVideoOutput? Thank you