I\'m writing code to compress existing video, and instead of generating new video, I\'m trying to modify(overwrite) original video.
The following is the code I wrote