playing with videowriter in cv plugin