A non-transitory computer readable medium that stores a program, wherein the program causes a computer to execute a control method of an electronic device that converts a first video in a first display mode including a shooting region representing a result of shooting by an image capturing apparatus to a second video, which is a video in a second display mode including a plurality of frames, the control method comprising:
- an acquisition step of acquiring the first video and meta data related to a shooting state of the first video;
- an information generation step of generating, on a basis of the meta data, correction information related to geometrical correction to be performed during generation of the second video;
- a mask generation step of generating a mask image covering a local region of the second video;
- and
- a generation step of generating the second video, to which the mask image is applied to each of the frames, through conversion of the first video on a basis of the correction information.