CPC G11B 27/034 (2013.01) [G11B 27/34 (2013.01); G11B 27/36 (2013.01)] | 20 Claims |
1. A video processing method, applied to an electronic device, wherein the method comprises:
receiving an editing operation for a target video;
displaying a first preview interface in response to the editing operation for the target video, wherein the first preview interface comprises a preview box, the target video is displayed in the preview box, and the target video is a video obtained after a target video file is decoded;
receiving a first operation for the first preview interface; and
displaying a second preview interface in response to the first operation, wherein the second preview interface comprises a preview box, a first window, and a second window; wherein
at a first moment, the target video is displayed in the preview box, an ith frame of video image of a first video is displayed in the first window, an ith frame of video image of a second video is displayed in the second window, the first video is a video obtained after a first sampled video is rendered by using a first filter, the first video comprises m frames of video images, the second video is a video obtained after a second sampled video is rendered by using a second filter, the second video comprises m frames of video images, both the first sampled video and the second sampled video are videos formed by sampling m frames of video images from the video obtained after the target video file is decoded, i is an integer greater than 0 and less than m, and m is an integer greater than 1; and
at a second moment, the target video is displayed in the preview box, an (i+1)th frame of video image of the first video is displayed in the first window, and an (i+1)th frame of video image of the second video is displayed the second window.
|