US 12,340,454 B2
Method and apparatus for displaying lyric effects, electronic device, and computer readable medium
Niwen Zheng, Beijing (CN); Lei Sun, Beijing (CN); Tao Li, Beijing (CN); Sen Zhao, Beijing (CN); and Jia Qu, Beijing (CN)
Assigned to BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD., Beijing (CN)
Appl. No. 17/601,261
Filed by BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD., Beijing (CN)
PCT Filed Jul. 15, 2021, PCT No. PCT/CN2021/106572
§ 371(c)(1), (2) Date Oct. 4, 2021,
PCT Pub. No. WO2022/105272, PCT Pub. Date May 27, 2022.
Claims priority of application No. 202011295410.5 (CN), filed on Nov. 18, 2020.
Prior Publication US 2022/0351454 A1, Nov. 3, 2022
Int. Cl. G06T 13/80 (2011.01); G06F 3/0482 (2013.01); G06F 16/64 (2019.01); G06F 16/683 (2019.01); G06T 11/20 (2006.01); G06T 11/60 (2006.01)
CPC G06T 13/80 (2013.01) [G06F 16/64 (2019.01); G06F 16/685 (2019.01); G06T 11/203 (2013.01); G06T 11/60 (2013.01); G06F 3/0482 (2013.01); G06T 2200/24 (2013.01)] 11 Claims
OG exemplary drawing
 
1. A method for displaying lyric effects, applied in a user terminal, comprising:
obtaining, based on a lyric effect display operation of a user, an image sequence and music data to be displayed, the music data comprising audio data and lyrics;
determining a user-selected target time point, playing at least one target image corresponding to the user-selected target time point in the image sequence, and determining target lyrics corresponding to the user-selected target time point in the lyrics; and
adding, at the user terminal, an animation effect on the at least one target image, displaying the target lyrics on the at least one target image, and playing a part of the audio data corresponding to the target lyrics,
wherein the animation effect comprises a plurality of frames of animation images, and said adding, at the user terminal, the animation effect on the at least one target image comprises:
determining a number of the plurality of frames included in the animation effect;
determining, from the image sequence, the at least one target image corresponding to the user-selected target time point and containing a number of image frames equal to the determined number of the plurality of frames included in the animation effect; and
superimposing the plurality of frames of the animation effect on the determined at least one target image in one-to-one correspondence in accordance with a play order of respective frames of animation images of the animation effect and a play order of respective image frames of the determined at least one target image,
wherein said determining, from the image sequence, the at least one target image corresponding to the user-selected target time point and containing a number of image frames equal to the determined number of the plurality of frames included in the animation effect comprises:
determining one image at the user-selected target time point, a first number of images before the user-selected target time point, and a second number of images after the user-selected target time point as the at least one target image, a sum of the first number and the second number being equal to the determined number of the plurality of frames included in the animation effect minus 1.