Creats an instance of cv.VideoWriter to write frames to video using
:param filepath: str, path to file to save
:param w,h: width and height of frame in pixels
:param framerate: fps of output video
:param format: video format
:param iscolor: bool, set as true if images are rgb, else false if