Apply filters to multiple videos simultaneously like IMovie?


I am developing an app like iMovie where I need to implement Filter functionality for that I have to combine multiple videos with filter effects exactly like iMovie.but I am not understanding how am I able to apply different filters to different videos?


How the hell is this related to Realm?