working implementation of -rgb for making rgb movies