Did you know Apple has an open-source implementation of its video flashing/strobing/epilepsy detection feature in Swift, using Metal and CoreVideo, that you can use to preprocess your own content? I did not: https://github.com/apple/VideoFlashingReduction
