The script in the videocode.m is a code that you can use to read a video file, split it into video frames, modify the frames, construct a new video with the modified frames, save the modified video into a file, and play the modified video.
a. Run the code and test it with the video atrium.mp4.
b. [2 Points] Modify the video by adding your name to the top 10% area of each frame in the video and save the resulting video.
c. [1 Point] Modify the video by changing its resolution to a smaller value and save the resulting video.
d. [2 Points] Modify the video by reducing its frame rate to 20, 15, 10 while keeping its duration the same and save the resulting video. What are your observations?
e. [1 Point] Convert the video to grayscale and store the resulting video.