Video processing method, apparatus and storage medium
AssigneeBeijing Xiaomi Pinecone Electronics Co., Ltd.
InventorsBinglin Chang, Kailun Ma, Zhenghui Shi, Qingmin Wang
Life of this patent
Estimating the term…
Abstract
The present disclosure relates to a video processing method and apparatus, and a storage medium. The method is applied to a terminal and includes: a background frame for a time static special effect is determined from video frames in a video to be processed; for each of the video frames in the video, an image area, where a target object is located is acquired from the respective video frame and the image area is fused into the background frame to generate a special effect frame with the time static special effect.
Claims15
A video processing method, implemented by a terminal, the method comprising:
- selecting, from video frames in a video to be processed, a background frame for a static special effect;
- and
- for each of the video frames in the video, acquiring an image area, where a target object is located, from the respective video frame, and fusing the image area into the background frame, to generate a special effect frame with the static special effect,
- wherein selecting, from the video frames in the video to be processed, the background frame for the static special effect comprises:
- determining a first frame after the video to be processed enters a time static mode in which the static special effect is formed, as the background frame for the static special effect.
A terminal, comprising:
- a processor;
- and
- a memory for storing executable instructions executable by the processor,
- wherein the processor is arranged to:
- select, from video frames in a video to be processed, a background frame for a static special effect;
- and
- for each of the video frames in the video, acquire, through a multimedia component, an image area, where a target object is located, from the respective video frame and fuse the image area into the background frame, to generate a special effect frame with the static special effect,
- wherein the processor is further arranged to:
- determine a first frame after the video to be processed enters a time static mode in which the static special effect is formed, as the background frame for the static special effect.
A non-transitory computer readable storage medium having computer executable instructions stored thereon, the computer executable instructions, when being executed by a processor, cause the processor to implement:
- selecting, from video frames in a video to be processed, a background frame for a static special effect;
- and
- for each of the video frames in the video, acquiring an image area, where a target object is located, from the respective video frame, and fusing the image area into the background frame, to generate a special effect frame with the static special effect,
- wherein selecting, from the video frames in the video to be processed, the background frame for the static special effect comprises:
- determining a first frame after the video to be processed enters a time static mode in which the static special effect is formed, as the background frame for the static special effect.
Dependencies are inferred from the claim text.