CPC H04N 5/2621 (2013.01) [H04N 5/272 (2013.01)] | 19 Claims |
1. A video processing method, applied to a first terminal, comprising:
identifying a target object in a current video frame;
receiving a special effect setting instruction input by a user;
determining a plurality of special effects to be superposed according to the special effect setting instruction; and
superposing the plurality of special effects to be superposed with the target object to acquire a processed video frame;
wherein determining the plurality of special effects to be superposed according to the special effect setting instruction comprises:
updating a set of special effects to be superposed according to the special effect setting instruction; and
determining the plurality of special effects to be superposed according to updated set of special effects to be superposed;
wherein the determining the plurality of special effects to be superposed according to the updated set of special effects to be superposed comprises:
determining whether one or more groups of mutually exclusive sub-special effects exist in the updated set of special effects to be superposed;
for each group of mutually exclusive sub-special effects, selecting one of the mutually exclusive sub-special effects as an enabled sub-special effect according to a priority parameter in special effect parameters of the mutually exclusive sub-special effects;
determining the enabled sub-special effect as a sub-special effect to be superposed; and
determining the plurality of special effects to be superposed according to a special effect parameter of a determined sub-special effect to be superposed, wherein the exclusive sub-special effects are not superposed at the same time.
|