How do I apply a "CIFilter" to Video Playing in Real-Time?
Found examples, but most are in Swift.
I guess it would been in Objective C.
Thanks for help!!!!!
May be missing something, but I see 2 different issues here
Apply a CIFilter to a single UIImage : HERE and HERE there seems to be good material, which should be 'easily' portable to inline OBJC
Get access to each decoded frame from a video player before it is shown: If this is the scenario, we must take into account that a Player performs several tasks, such as reading, buffering, decoding and 'drawing' each frame on screen (besides probably providing a user control interface). If you want to 'add' the CIFilter, it means that either:
The source of the player can be customized, in order to apply step 1 before the decoded frame is drawn, or perhaps
The player already allows for it by providing a callback on each decoded frame, or even a configurable parameter which will be the CIFilter to apply
Could you ellaborate more on the exact scenario you'd like to use it, if it is with a specific Player, ....?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.