change to a class
use rgb input to encode our video