Got it working, thanks to GPUImage.