Create a new video writer object.
videoWriter = new_VideoWriter()
videoWriter = new_VideoWriter(filename, fourcc, fps, frameSize)
Path of the video file (string).
Code of codec used to compress the frames (double).
Number of frames per second (double).
Width and height of the frame (double 1x2).
Created video writer object (VideoWriter).
new_VideoWriter
creates an VideoWriter object.
The code of codec can be computed from a 4-character code using the CV_FOURCC
function.