Open file for writing video data
the file associated with
writerObj for writing.
When you open the file, all properties of the object become read only.
any existing contents of the file.
Open a new AVI file:
myObj = VideoWriter('newfile.avi'); open(myObj);