A video processing method, comprising: displaying a first interface of a camera application, wherein the first interface of the camera application comprises: a first preview image and a first control; in response to a first operation on the first control, starting, by an electronic device, to record a first video and displaying a second interface of the camera application, wherein the second interface of the camera application comprises: a second preview image and a second control; obtaining, by the electronic device, a first image in response to a second operation on the second control during recording of the first video; displaying a first interface of a gallery application after the recording of the first video is completed, wherein the first interface of the gallery application comprises: a first thumbnail corresponding to the first video and a second thumbnail corresponding to the first image; and displaying a second interface of the gallery application in response to a third operation on the first thumbnail, wherein the second interface of the gallery application comprises: the first thumbnail and a third thumbnail of a second image, and the second image is an image automatically acquired from the first video; wherein the method further includes, before displaying the second interface of the gallery application in response to the third operation on the first thumbnail, parsing the first video corresponding to the first thumbnail to obtain a group identifier corresponding to the first video, searching for an image having the same group identifier as the first video, and determining that a found image having the same group identifier is the second image, and wherein file header information of the first video comprises tag information, and the tag information comprises the group identifier of the first video, and an image file of the second image comprises the same group identifier of the second image. displaying a first interface of a camera application, wherein the first interface of the camera application comprises: a first preview image and a first control; in response to a first operation on the first control, starting, by an electronic device, to record a first video and displaying a second interface of the camera application, wherein the second interface of the camera application comprises: a second preview image and a second control; obtaining, by the electronic device, a first image in response to a second operation on the second control during recording of the first video; displaying a first interface of a gallery application after the recording of the first video is completed, wherein the first interface of the gallery application comprises: a first thumbnail corresponding to the first video and a second thumbnail corresponding to the first image; and displaying a second interface of the gallery application in response to a third operation on the first thumbnail, wherein the second interface of the gallery application comprises: the first thumbnail and a third thumbnail of a second image, and the second image is an image automatically acquired from the first video; wherein the method further includes, before displaying the second interface of the gallery application in response to the third operation on the first thumbnail, parsing the first video corresponding to the first thumbnail to obtain a group identifier corresponding to the first video, searching for an image having the same group identifier as the first video, and determining that a found image having the same group identifier is the second image, and wherein file header information of the first video comprises tag information, and the tag information comprises the group identifier of the first video, and an image file of the second image comprises the same group identifier of the second image.