Bullet screen generation method and device, electronic equipment and storage medium
A bullet screen and storage location technology, applied in the field of data processing, can solve the problems of poor bullet screen fluency, low bullet screen efficiency, and large memory usage.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] figure 1 It is a flowchart of a bullet chatting generation method in Embodiment 1 of the present invention. Such as figure 1 As shown, the barrage generation method in the embodiment of the present invention may include the following steps:
[0045] Step 101, when playing a video, receive comment information on the video, where the comment information includes characters.
[0046] The method in the embodiment of the present invention can be applied to a client, and the client can be various video APPs (application programs). When the user watches the video through the client, he can comment on the video, and the client uploads the user's comment information on the video to the server corresponding to the video APP. The server receives the comment information of different users on the video, and sends the comment information of each user to the client that is playing the video.
[0047] During the process of playing the video, the client may receive the user's commen...
Embodiment 2
[0056] figure 2 It is a flow chart of a bullet chatting generation method in Embodiment 2 of the present invention. Such as figure 2 As shown, the barrage generation method in the embodiment of the present invention may include the following steps:
[0057] Step 201, when playing a video, acquire common characters, generate character images corresponding to the common characters, and store the character images corresponding to the common characters into the texture buffer.
[0058] Step 202, receiving comment information on the video, where the comment information includes characters.
[0059] Step 203, for each character in the comment information, determine whether there is a character image corresponding to the character in the preset texture cache. If yes, go to step 205; if not, go to step 204.
[0060] In step 204, a character image corresponding to the character is generated, and the character image corresponding to the character is stored in the texture cache.
...
Embodiment 3
[0089] Figure 4 It is a structural block diagram of a barrage generating device in Embodiment 3 of the present invention. Such as Figure 4 As shown, the barrage generation device in the embodiment of the present invention may include the following modules:
[0090] The receiving module 401 is configured to receive comment information on the video when the video is played, and the comment information includes characters.
[0091] The determining module 402 is configured to, for each character in the comment information, determine whether a character image corresponding to the character exists in a preset texture cache.
[0092] The first storage module 403 is configured to generate a character image corresponding to the character and store the character image corresponding to the character into the texture cache when the determining module determines that the character image does not exist.
[0093] The generating module 404 is configured to obtain character images corresp...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


