Is it possible to shift the rgb channels of camera horizontally in realtime? In other words, I would like to make a normal video like this:
look like this:

I plan on making the red and blue channels move according to the volume of a microphone input while the green one stays in place. I don't know where to start as far as the channel shifting besides importing the video library, although I've found scripts on channel shifting for images. I was thinking that I could have three different outputs for the camera, each being a different channel, so that it would be easier to shift them, but I'd still have to know how to extract the channel from each one. Thanks!