First time here? Check out the FAQ!
answered 2014-02-17 19:34:32 -0600
Please make sure your input 'frame' size is equal to output video's size (in this case, (680, 480) ).
I previously got this error when the input image size is different from videowriter's out put size setting.