Video processing method and device

By adjusting the combination and presentation order of video additional information, the problem of information fragmentation in video splicing is solved, the viewing experience is improved, the computing burden on the server is reduced, and flexible adjustment of spliced ​​videos is supported.

CN120711202APending Publication Date: 2025-09-26SHANGHAI HODE INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510906065.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-01
Publication Date
2025-09-26

AI Technical Summary

Technical Problem

During the video splicing process, the additional video information of each video segment lacks uniformity, resulting in the spliced ​​video showing the switching playback effect of multiple videos, affecting the overall viewing experience.

Method used

By obtaining the video resource list provided by the server, additional information of the video to be played is obtained based on multiple resource addresses, and the resources to be played are combined according to the video presentation order to generate the resources to be played and presented to the viewer in the form of a single video.

Benefits of technology

It enables the orderly display of additional video information for multiple videos, improves the overall viewing experience, reduces the sense of disconnection when switching videos, reduces the computing cost on the server side, and supports dynamic adjustment of spliced ​​videos.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120711202A_ABST
    Figure CN120711202A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a video processing method and related equipment / products, and relates to the technical field of video processing. The video processing method is used for a client and comprises the steps that a video resource list provided by a server is acquired, and the video resource list comprises a plurality of resource addresses corresponding to a plurality of videos; acquiring video additional information of at least two videos to be played based on the plurality of resource addresses; according to a video presentation sequence, combining the video additional information to obtain a to-be-played resource; and playing the to-be-played resource, wherein the video additional information of the to-be-played resource is presented to a viewer in the form of a single video. According to the technical scheme provided by the embodiment of the invention, the video additional information of each video can be orderly displayed by taking a single video as a reference, so that the playing of a plurality of videos shows a single video playing effect for a viewer.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of video processing technology, and in particular to a video processing method, apparatus, computer equipment, computer-readable storage medium, and computer program product. Background Art

[0002] With the continuous development of video technology, videos can be expanded and spliced ​​together to provide richer video information. However, videos also contain additional video information. During the splicing process, this additional information still corresponds to the original video. As a result, the additional information of each video segment lacks consistency and appears fragmented after the splicing is completed. For viewers, the spliced ​​video appears to be switching between multiple videos, which affects the overall viewing experience.

[0003] It should be noted that the above content is not necessarily prior art, nor is it intended to limit the scope of patent protection of this application. Summary of the Invention

[0004] The embodiments of the present application provide a video processing method, apparatus, computer device, computer-readable storage medium, and computer program product to solve or alleviate one or more of the technical problems raised above.

[0005] One aspect of an embodiment of the present application provides a video processing method for a client, the method comprising: Obtain a video resource list provided by the server, wherein the video resource list includes multiple resource addresses corresponding to multiple videos; Based on the multiple resource addresses, obtaining video additional information of at least two videos to be played; Combining the additional information of each video according to the video presentation order to obtain the resource to be played; The resource to be played is played, and the video additional information of the resource to be played is presented to the viewer in the form of a single video.

[0006] Optionally, the video additional information includes barrage data; the at least two videos include a main video and one or more spliced ​​videos; and combining the additional information of each video to obtain a resource to be played includes: Obtaining the bullet screen data of the main video and the bullet screen data of each spliced ​​video; Based on the total duration of the multiple videos, the pop-up time of each barrage data is adjusted according to the video presentation order to obtain multiple barrage data in the resource to be played.

[0007] Optionally, the video additional information includes barrage data; the at least two videos include a main video and one or more spliced ​​videos; and combining the additional information of each video to obtain a resource to be played includes: Upload the video list of the one or more stitched videos to the server so that the server can perform the following operations: Get the bullet comment data of each spliced ​​video; Update the barrage pool of the main video according to the barrage data of the main video and the barrage data of the spliced ​​video; In the barrage pool, the pop-up time of each barrage data is offset according to the total duration of the multiple videos.

[0008] Optionally, the method further includes: When the current video among the multiple videos is played, extracting the last frame of the current video to generate a first canvas image; The first canvas image is overlaid on the player until the first frame of the next video of the current video is obtained.

[0009] Optionally, the method further includes: In response to a video jump instruction between the multiple videos, extracting a current frame of a current video from the multiple videos to generate a second canvas image; Overlaying the second canvas image on the player until a target frame of the target video is obtained; The target video is the video pointed to by the video jump instruction, the target jump instruction corresponds to a target time point, and the target frame is the frame of the target video pointed to by the target time point.

[0010] Optionally, the multiple videos are temporarily stored in a queue; the method further includes: The multiple videos are temporarily stored in a queue; the method further includes: In response to a video jump instruction between the plurality of videos, searching for a target video to jump to from the queue; Determining the playback progress of the target video according to the jump progress of the video jump instruction; Among them, during the video jump process, the display screen of the player is kept at the current screen of the current video among the multiple videos at the time of jump and the player is set to a loading state until the target video is obtained, the loading state is canceled and the target video is played.

[0011] Optionally, the video additional information includes a thumbnail, and the multiple videos include a main video and one or more spliced ​​videos; and combining the additional information of each video to obtain the resource to be played includes: Obtain a thumbnail of the main video and thumbnails of each spliced ​​video; Based on the total duration of the multiple videos, the corresponding time of each thumbnail on the playback progress bar is adjusted according to the video presentation order to obtain multiple thumbnails in the resource to be played; Each thumbnail is displayed as a thumbnail according to the corresponding time mapped on the playback progress bar.

[0012] Another aspect of an embodiment of the present application provides a video processing method for a server, the method comprising: Receive a video request sent by a client, wherein the video request includes a video identifier of a primary video; Determining one or more spliced ​​videos according to the video identifier of the main video; Generate a video resource list according to the main video and the one or more spliced ​​videos, wherein the video resource list includes multiple resource addresses of multiple videos; the multiple videos include the main video and the one or more spliced ​​videos; The video resource list is sent to the client, and the client is used to: obtain video additional information of at least two videos to be played based on the multiple resource addresses; combine the video additional information of each video according to the video presentation order to obtain the resources to be played; and send the resources to be played to the client so that the video additional information of the resources to be played is presented to the viewer in the form of a single video.

[0013] Optionally, the method further includes: Determining whether the video ID of the main video is in a preset list; In a case where the video identifier of the main video is located in the preset list, the one or more spliced ​​videos are determined.

[0014] Optionally, the method further includes: Get the bullet comment data of each spliced ​​video; Update the barrage pool of the main video according to the barrage data of the main video and the barrage data of the spliced ​​video; In the barrage pool, the pop-up time of each barrage data is offset according to the total duration of the multiple videos.

[0015] Another aspect of an embodiment of the present application provides a video processing device for a client, the device comprising: A first acquisition module is configured to acquire a video resource list provided by a server, wherein the video resource list includes multiple resource addresses corresponding to multiple videos; A second acquisition module is configured to acquire video additional information of at least two videos to be played based on the multiple resource addresses; A combining module, configured to combine the additional information of each video according to the video presentation order to obtain a resource to be played; The playing module is used to play the resource to be played, and the video additional information of the resource to be played is presented to the viewer in the form of a single video.

[0016] Another aspect of an embodiment of the present application provides a video processing device for use on a server, the device comprising: A receiving module, configured to receive a video request sent by a client, wherein the video request includes a video identifier of a primary video; A determination module, configured to determine one or more spliced ​​videos based on the video identifier of the main video; A generating module, configured to generate a video resource list based on the main video and the one or more spliced ​​videos, wherein the video resource list includes multiple resource addresses of multiple videos; the multiple videos include the main video and the one or more spliced ​​videos; A sending module is used to send the video resource list to the client, and the client is used to: obtain video additional information of at least two videos to be played based on the multiple resource addresses; combine the respective video additional information according to the video presentation order to obtain the resources to be played; and send the resources to be played to the client so that the video additional information of the resources to be played can be presented to the viewer in the form of a single video, thereby improving the overall viewing experience.

[0017] Another aspect of an embodiment of the present application provides a computer device, including: at least one processor; and a memory communicatively coupled to the at least one processor; Wherein: the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described above.

[0018] Another aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the method described above is implemented.

[0019] Another aspect of an embodiment of the present application provides a computer program product, including a computer program, which implements the above-mentioned method when executed by a processor.

[0020] The embodiments of the present application employing the above-described technical solution may provide the following advantages: A video resource list provided by a server is obtained, and video additional information for at least two videos to be played is obtained based on multiple resource addresses in the video resource list. The video additional information for each video is combined according to the order in which the videos are presented to obtain the resources to be played. Therefore, by playing the resources to be played, the video additional information for each video can be displayed in an orderly manner based on a single video, so that, to the viewer, the playback of multiple videos appears as a single video. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The accompanying drawings illustrate exemplary embodiments and constitute a part of the specification. Together with the description of the specification, they serve to explain exemplary implementation of the embodiments. The illustrated embodiments are for illustrative purposes only and do not limit the scope of the claims. Throughout the drawings, the same reference numerals designate similar, but not necessarily identical, elements.

[0022] Figure 1 The following schematically shows an operating environment diagram of the video processing method according to the first embodiment of the present application; Figure 2 The flowchart of the video processing method according to the first embodiment of the present application is schematically shown; Figure 3 Schematically shows the Figure 2 Flowchart of sub-steps of step S204; Figure 4 Schematically shows the Figure 2 Flowchart of sub-steps of step S204; Figure 5 Schematically shows the Figure 2 Flowchart of sub-steps of step S204; Figure 6 The following schematically shows a newly added flow chart of the video processing method according to the first embodiment of the present application; Figure 7 The following schematically shows a newly added flow chart of the video processing method according to the first embodiment of the present application; Figure 8 The following schematically shows a newly added flow chart of the video processing method according to the first embodiment of the present application; Figure 9 The flowchart of the video processing method according to the second embodiment of the present application is schematically shown; Figure 10 Schematically shows a newly added flow chart of the video processing method according to the second embodiment of the present application; Figure 11 The following schematically shows a newly added flow chart of the video processing method according to the second embodiment of the present application; Figure 12A diagram schematically illustrates an application example of the video processing method according to the second embodiment of the present application; Figure 13 Schematic diagram showing an application example of the video processing method according to the second embodiment of the present application Figure 14 A block diagram of a video processing device according to a second embodiment of the present application is schematically shown; Figure 15 A block diagram schematically shows a video processing device according to a second embodiment of the present application; and Figure 16 The following schematically shows a hardware architecture diagram of a computer device according to the third embodiment of the present application. DETAILED DESCRIPTION

[0023] In order to make the purpose, technical solutions and advantages of this application more clear, the present application is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0024] It should be noted that the descriptions of "first", "second", etc. in the embodiments of the present application are for descriptive purposes only and should not be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of such features. In addition, the technical solutions between the various embodiments can be combined with each other, but this must be based on the fact that they can be implemented by ordinary technicians in this field. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0025] In the description of this application, it should be understood that the numerical labels before the steps do not indicate the order in which the steps are executed. They are only used to facilitate the description of this application and to distinguish each step. Therefore, they cannot be understood as limitations on this application.

[0026] First, an explanation of the terms used in this application is provided: Player: A software or hardware device used to play various media content.

[0027] Canvas: An element provided by HTML5 (Hypertext Markup Language) for drawing visual content such as graphics, animations, and games on web pages.

[0028] Video element: refers to a tag or component in a web page that is specifically used to embed and play videos.

[0029] Danmu (bullet screen): Subtitles or images that pop up and move in a predetermined direction when watching a video online. While there's no fixed term for this term in English, it's commonly referred to as comment, danmaku, barrage, bullet screen, or bullet-screen comment. Danmu allows viewers to leave comments or reflections, but unlike typical video sharing websites where comments are displayed in a dedicated area below the video player, these comments appear in real time as sliding subtitles on the video screen, ensuring that all viewers are aware of them. Danmu can be managed through a Danmu system. Some Danmu systems utilize CSS (Cascading Style Sheets) or JavaScript to provide customized Danmu formats, such as allowing them to appear or disappear at specific locations, control their speed, and position. Furthermore, Danmu that appears fixed at the bottom or top of the screen can also serve as subtitles for videos without subtitles.

[0030] Secondly, in order to facilitate those skilled in the art to understand the technical solutions provided by the embodiments of the present application, the relevant technologies are described below: The applicant has learned that the server can perform splicing and expansion processing on the main video, that is, multiple spliced ​​videos and the main video are transcoded and merged into one video, and then the video is sent to the client. The client divides the main video and the spliced ​​video into multiple video elements, and when it is necessary to display the spliced ​​video, the video elements of the spliced ​​video are overlaid on the video elements of the main video. However, this solution of suppressing the spliced ​​video into the main video takes a long time when the video is switched, and the user will experience a serious sense of freeze, which affects the user's viewing experience. In addition, the transcoding cost of the server side of this solution is high, and the spliced ​​video cannot be dynamically adjusted, and the flexibility is poor. Since the video element overlay method has the situation of displaying and hiding video elements, the entire video playback-related experience will be interrupted, such as barrage, thumbnails, etc. will disappear as the video elements are covered, and the drastic changes in the playback screen will make the user's viewing experience feel disconnected.

[0031] To this end, the embodiments of the present application provide a video processing technology solution. In this technology solution, (1) the duration of video switching can be reduced; (2) the computing cost of the server is reduced; (3) the spliced ​​video can be dynamically adjusted with high flexibility; and (4) the changes in the playback screen are reduced to minimize the user's sense of fragmentation. See below for details.

[0032] Finally, for ease of understanding, an exemplary operating environment is provided below.

[0033] like Figure 1 As shown, the environment diagram includes a server 2, a network 6, and a client 4, wherein: The server 2 can be composed of a single or multiple computing devices. These multiple computing devices can include virtualized computing instances. Virtualized computing instances can include virtual machines, such as emulations of computer systems, operating systems, servers, and the like. A computing device can load a virtual machine based on a virtual image and / or other data defining the specific software (e.g., operating system, specialized application, server) used for the emulation. As the demand for different types of processing services changes, different virtual machines can be loaded and / or terminated on one or more computing devices. A hypervisor can be implemented to manage the use of different virtual machines on the same computing device.

[0034] The server 2 can be configured to communicate with the client 6 or the like via a network 4. The network 4 includes various network devices, such as routers, switches, multiplexers, hubs, modems, bridges, repeaters, firewalls, proxy devices, and / or the like. The network 4 can include physical links, such as coaxial cable links, twisted pair cable links, optical fiber links, combinations thereof, or wireless links, such as cellular links, satellite links, Wi-Fi links, and the like.

[0035] The server 2 can provide services such as video transcoding, video confluence, video query, and video delivery, such as providing a video delivery service in response to a video request from a client.

[0036] Client 4 can be an electronic device running an operating system such as Windows, Android™, or iOS, such as a smartphone, tablet, laptop, virtual reality device, gaming device, set-top box, in-car terminal, or smart TV. Based on these operating systems, various applications can be run, such as video playback websites.

[0037] The client 4 can provide / configure a user access page for obtaining videos, etc. from the service platform 2.

[0038] It should be noted that the above devices are exemplary, and the number and type of devices can be adjusted in different scenarios or according to different needs.

[0039] The following describes the technical solutions of the present application through multiple embodiments, using the client or server as the execution body. It should be noted that these embodiments can be implemented in many different forms and should not be interpreted as being limited to the embodiments described here.

[0040] Example 1 Figure 2 The flowchart of the video processing method according to the first embodiment of the present application is schematically shown.

[0041] This video processing method is used in the client, such as Figure 2 As shown, the video processing method may include steps S200 to S202, wherein: Step S200: Obtain a video resource list provided by the server, wherein the video resource list includes multiple resource addresses corresponding to multiple videos.

[0042] Step S202: Based on the multiple resource addresses, obtain video additional information of at least two videos to be played.

[0043] Step S204: combining the additional information of each video according to the video presentation order to obtain resources to be played.

[0044] Step S206: Play the resource to be played, and present the video additional information of the resource to be played to the viewer in the form of a single video.

[0045] The video processing method provided in this embodiment obtains a video resource list provided by a server and, based on multiple resource addresses in the video resource list, obtains video additional information for at least two videos to be played. The video additional information is combined according to the video presentation order to obtain the resources to be played. Therefore, by playing the resources to be played, the video additional information of each video can be displayed in an orderly manner based on a single video. For viewers, the playback of multiple videos appears as a single video, thereby improving the overall viewing experience.

[0046] The following combination Figure 2 , each step in steps S200~S202 and other optional steps are described in detail.

[0047] Step S200 , obtain a video resource list provided by the server, wherein the video resource list includes multiple resource addresses corresponding to multiple videos.

[0048] The client can send a video request to the server to obtain video resources and play them. Based on the video request sent by the client, the server can determine whether the video requested by the client requires video splicing. If the video requested by the client requires video splicing, the server obtains multiple resource addresses to form a video resource list and returns it to the client. The client can play the spliced ​​video based on the video resource list. In some embodiments, the resource address can be a URL pointing to the corresponding video resource. A URL (Uniform Resource Locator) is a standard address used to locate and access resources (such as videos, images, files, etc.) on the Internet.

[0049] Step S202 , based on the multiple resource addresses, obtain video additional information of at least two videos to be played.

[0050] Based on multiple resource addresses, the player can retrieve at least two videos to be played and their corresponding additional video information. Additional video information refers to auxiliary data related to the video, in addition to the audio and video content itself. This information can be used to enhance the user experience or enable additional functionality. Additional video information can include bullet comments and thumbnails. Depending on actual needs, additional video information can also include subtitles, interactive elements (such as like and share buttons), and more.

[0051] Step S204 , according to the video presentation order, the additional information of each video is combined to obtain the resource to be played.

[0052] The video presentation order can be the order in which the corresponding resource addresses of the videos appear in the video resource list. Additional information for each video can be added to the resource to be played in a chronological or logical order. A resource to be played can be composed of multiple videos and their corresponding additional information. The resulting resource to be played can provide users with more video content. Additional information for each video can be uniformly organized and integrated in the resource to be played in a chronological or logical order, so that the resource to be played presents a single video playback effect.

[0053] The following will provide a further exemplary introduction to combining and obtaining resources to be played through more embodiments.

[0054] In an optional embodiment, the video additional information includes bullet screen data. The at least two videos include a main video and one or more spliced ​​videos. Figure 3 As shown, step S204 may include: Step S300, obtaining the barrage data of the main video and the barrage data of each spliced ​​video.

[0055] Step S302: Based on the total duration of the multiple videos, the pop-up time of each barrage data is adjusted according to the video presentation order to obtain multiple barrage data in the resource to be played.

[0056] The main video can be the video requested by the user to be played, and the spliced ​​video is the video associated with the main video. By splicing the spliced ​​video with the main video, the video content of the main video can be expanded to provide more information to the user. Since the resources to be played include multiple videos, in order to make the barrage corresponding to each video display normally, the pop-up time of each barrage data needs to be offset according to the total length of the multiple videos. The pop-up time corresponding to each barrage data needs to be added with the total length of other videos before the corresponding video. For example, the videos to be played include video A, video B and video C, and the video presentation order is ABC. Since there is no other video before video A, the pop-up time of the barrage data of video A does not need to be offset. The pop-up time of the barrage data of video B needs to be added with the length of video A, and the pop-up time of the barrage data of video C needs to be added with the total length of video A and video B.

[0057] In this embodiment, the pop-up time of each bullet screen data is obtained according to the total duration offset of the resource to be played, so as to realize the normal display of the bullet screen of each video, thereby improving the user experience.

[0058] Regarding obtaining the various bullet screen data of the resource to be played. In an optional embodiment, Figure 4 As shown, upload a video list of one or more stitched videos to the server so that the server can perform the following operations: Step S400: Obtain the bullet comment data of each spliced ​​video.

[0059] Step S402: Update the barrage pool of the main video according to the barrage data of the main video and the barrage data of the spliced ​​video; in the barrage pool, the pop-up time of each barrage data is offset according to the total duration of the multiple videos.

[0060] In order to achieve the effect of seamless switching between the barrages of multiple videos as much as possible, the barrage pulling interface can be modified. The modified interface provides the server with a video list of one or more spliced ​​videos, so that the server can return multiple barrage data offset according to the total length of the target video. Since the spliced ​​video only expands the video content of the main video, the spliced ​​video does not have a corresponding barrage pool. In the case that the spliced ​​video does not have a corresponding barrage pool, the barrage corresponding to the spliced ​​video will disappear when the spliced ​​video is played. Therefore, the interface for sending barrages can be modified so that the barrages sent when playing the spliced ​​video can be attributed to the barrage pool of the main video.

[0061] In this embodiment, by updating the barrage data of the spliced ​​video with the barrage pool of the main video, it is possible to effectively prevent the barrage corresponding to the spliced ​​video from disappearing as the playback of the spliced ​​video is completed without being fully displayed during the subsequent playback of the resources to be played, thereby minimizing the drastic changes in the picture that may cause users to feel a sense of playback disconnection.

[0062] In an optional embodiment, the video additional information includes a thumbnail, and the multiple videos include a main video and one or more spliced ​​videos. Figure 5 As shown, step S204 may further include: Step S500: Obtain a thumbnail of the main video and thumbnails of each spliced ​​video.

[0063] Step S502 , based on the total duration of the multiple videos, adjust the corresponding time of each thumbnail on the play progress bar according to the video presentation order to obtain multiple thumbnails in the resource to be played.

[0064] Each thumbnail is displayed as a thumbnail according to the corresponding time mapped on the playback progress bar.

[0065] During video playback, to enhance the fast-forward and preview experience, the player can display thumbnails on the progress bar when the user drags or hovers over it. A thumbnail is a static preview image corresponding to a specific time point in the video and can be generated from a screenshot of the screen at that time point. Each video (including the main video and the stitched video) has a corresponding thumbnail, and each thumbnail represents a specific time point in its corresponding video. After stitching together multiple videos, a main progress bar is created, representing the total duration of the resource to be played. The time points corresponding to each thumbnail are mapped to this main progress bar, and the thumbnail mapped to that time point can then be displayed based on the current playback time point of the resource to be played. For example, if the resource to be played reaches the first minute of the main progress bar, and the resource to be played includes two preceding videos and the currently playing video, and the total duration of these two preceding videos is 40 seconds, the thumbnail corresponding to the 20th second of the currently playing video will be mapped to the first minute of the target video for display. In this embodiment, the binding time of each thumbnail on the playback progress bar is updated according to the total duration of the resource to be played, so as to accurately display the thumbnail corresponding to the time point of the resource to be played.

[0066] Step S202 , the resource to be played is played, and the video additional information of the resource to be played is presented to the viewer in the form of a single video.

[0067] When switching between multiple videos during playback of a resource, a black screen may appear. To minimize this, the next video and its corresponding additional video information can be preloaded before the current video completes playback, so that the resource appears as a single video. Preloading refers to loading a resource or data into memory or cache before it is needed, enabling faster response and reducing latency during actual use. In some embodiments, the next video and its corresponding additional video information can be preloaded before the current video begins playing. Alternatively, the next video and its corresponding additional video information can be preloaded some time before the current video ends, for example, 5 or 10 seconds before the current video ends. In some embodiments, switching between videos and their corresponding additional video information can be performed using IJK, a video player that supports multiple video formats and hardware acceleration. After the current video ends, the preloaded next video and its corresponding additional video information are immediately used to replace it. Because video switching using IJK occurs in milliseconds, there is virtually no lag in video playback, making video switching imperceptible to the user.

[0068] The following will provide a further exemplary introduction to the playback process through more embodiments.

[0069] Regarding sequential playback, such as Figure 6 As shown, in an optional embodiment, the method may include: Step S600: when the current video among the multiple videos is finished playing, extract the last frame of the current video to generate a first canvas image; Step S602: Overlay the first canvas image on the player until the first frame of the next video of the current video is obtained.

[0070] When the current video among multiple videos has finished playing, it is necessary to switch videos. During the switching process, the first canvas image is generated by the last frame and will be overlaid on the player. After the first frame of the next video has been successfully loaded and displayed, the player will remove the first canvas image and play the actual video content of the next video. For example, the player can use the video element (video element) to load and play the current video normally. When the current video is finished playing, the last frame image of the video element is extracted and drawn on the Canvas element to generate a Canvas image (that is, the first canvas image), and the Canvas image is overlaid on the upper layer of the video element. The video element loads the next video. Because the Canvas image is "covering" the video above, the user cannot see that the video screen is changing, and the visual sense remains stable.

[0071] In this embodiment, when the current video among multiple videos is completed, the last frame of the current video is extracted to generate a first canvas image and overlay it on the player to avoid black screen or blank screen as much as possible, thereby achieving seamless switching of videos from the user's perspective.

[0072] Regarding jump play, in an optional embodiment, as Figure 7 As shown, the method may further include: Step S700, in response to a video jump instruction between the multiple videos, extracting a current frame of a current video from the multiple videos to generate a second canvas image; Step S702: Overlay the second canvas image on the player until the target frame of the target video is obtained.

[0073] The target video is the video pointed to by the video jump instruction, the target jump instruction corresponds to a target time point, and the target frame is the frame of the target video pointed to by the target time point.

[0074] The video jump instruction can be triggered by clicking on the progress bar corresponding to the total length of multiple videos, or by clicking on the barrage jump link, which is not limited here. During the jump playback process between multiple videos, video switching is required. During the switching process, the current frame is extracted to generate a second canvas image and it will be overlaid on the player. When the target frame pointed to by the video jump instruction has been successfully loaded and displayed, the player will remove the second canvas image to achieve the jump of the target video. In some embodiments, the second canvas image can also be a Canvas image, which is generated by extracting the current frame image of the video element and drawing it on the Canvas element to generate a Canvas image corresponding to the second canvas.

[0075] In this embodiment, when jumping between multiple videos, the current frame of the current video is extracted to review the second canvas image and overlay it on the player to minimize flickering and freezing during video playback, thereby achieving seamless switching of videos from the user's perspective.

[0076] Regarding jump playback, in an optional embodiment, multiple videos are temporarily stored in a queue, such as Figure 5 As shown, the method further includes: Step S800: In response to a video jump instruction between the multiple videos, a target video to be jumped to is searched from the queue.

[0077] Step S802: Determine the playback progress of the target video according to the jump progress of the video jump instruction.

[0078] Among them, during the video jump process, the display screen of the player is kept at the current screen of the current video at the time of jump and the player is set to a loading state until the target video is obtained, the loading state is canceled and the target video is played.

[0079] Based on the video resource list provided by the server, the client organizes multiple videos into an ordered video playback queue. In default playback mode, the player plays videos sequentially according to this queue. When jumping between multiple videos, the player searches the queue for the target video based on the jump instruction and determines the target video's playback progress based on the jump progress. The loading state is displayed by the player or user interface while waiting for content to load, conveying to the user the message "The system is processing, please wait." For example, if Videos A, B, and C each have a duration of 5 minutes and are played in the order of A, B, and C, the corresponding queue duration is 15 minutes. While playing Video A, a jump instruction is issued, indicating a queue duration of 12 minutes. The jump instruction then finds the corresponding Video C in the queue. Based on the jump instruction's duration (12 minutes) and Video C's duration (5 minutes), the player determines that Video C's playback progress is 2 minutes, and then jumps to the corresponding duration for Video C and plays it.

[0080] In this embodiment, multiple videos are played in a queue, allowing the user to perceive them as a single, coherent video. This allows the user to accurately find and play the target video in the queue based on the progress of the jump, effectively minimizing screen changes and minimizing the user's sense of disconnection during viewing.

[0081] Example 2 The video processing method provided in this embodiment is used in the server, and the technical details can be found above.

[0082] Figure 9 The flowchart of the video processing method according to the second embodiment of the present application is schematically shown.

[0083] like Figure 9 As shown, the video processing method may include steps S900 to S906, wherein: Step S900: receiving a video request sent by a client, wherein the video request includes a video identifier of a primary video.

[0084] Step S902: Determine one or more spliced ​​videos according to the video identifier of the main video.

[0085] Step S904: Generate a video resource list based on the main video and the one or more spliced ​​videos, wherein the video resource list includes multiple resource addresses of multiple videos; the multiple videos include the main video and the one or more spliced ​​videos.

[0086] Step S906: Send the video resource list to the client, and the client is used to: obtain video additional information of at least two videos to be played based on the multiple resource addresses; combine the respective video additional information according to the video presentation order to obtain the resources to be played; and send the resources to be played to the client so that the video additional information of the resources to be played is presented to the viewer in the form of a single video.

[0087] The server can query the spliced ​​videos associated with the main video based on the video ID of the main video. The server can generate a spliced ​​video ID list based on the determined video ID of the spliced ​​video. Based on the spliced ​​video ID list and the video ID of the main video, the server can query and obtain the resource addresses of the corresponding video IDs from the video cloud. Video cloud is a video service solution based on cloud computing technology that can provide users with convenient, efficient, and low-cost video-related services. The server assembles the multiple resource addresses obtained into a video resource list and sends the list to the client. In the process of generating the resource list, the server can flexibly adjust the position of the resource address corresponding to the spliced ​​video. At the same time, it can obtain more targeted resource addresses of the spliced ​​video based on actual conditions to achieve dynamic adjustment of the spliced ​​video, thereby more accurately expanding the video content of the main video. In some embodiments, the server can determine whether the input parameters of the video request carry a spliced ​​video ID list. If a spliced ​​video ID list exists, the server can directly obtain the corresponding resource address from the video cloud through the spliced ​​video ID list.

[0088] In this embodiment, the server sends a video resource list to the client, so that the client can play multiple videos in sequence according to the resource addresses in the resource list. In this way, the server does not need to transcode and merge multiple videos, thereby reducing the server's computing cost.

[0089] Regarding determining the spliced ​​video, in an optional embodiment, the method further includes: Step 1000: Determine whether the video ID of the main video is in a preset list.

[0090] Step 1002: When the video identifier of the main video is located in the preset list, determine the one or more spliced ​​videos.

[0091] The preset list can be a black and white list of spliced ​​videos. The black and white list of videos is checked according to the video identifier of the main video. If the video identifier of the main video is on the white list of the black and white list, the spliced ​​video associated with the main video can be found according to the video identifier of the main video. In some embodiments, the resource position of the main video that can be spliced ​​can be queried, such as how many videos can be spliced ​​before the main video and how many videos can be spliced ​​after the main video. In some embodiments, the corresponding spliced ​​video identifier list can also be queried according to the video information of the main video, for example, the corresponding spliced ​​video identifier list can be obtained according to the episode information in the video information.

[0092] In this embodiment, video splicing can be performed on a specific main video through a preset list to expand the video content.

[0093] Regarding barrage processing, in an optional embodiment, the method further includes: Step 1100: Obtain the bullet comment data of each spliced ​​video.

[0094] Step 1102: Update the barrage pool of the main video according to the barrage data of the main video and the barrage data of the spliced ​​video; in the barrage pool, the pop-up time of each barrage data is offset according to the total duration of the multiple videos.

[0095] In order to make this application easier to understand, the following Figure 12 、 13 An exemplary application is provided.

[0096] like Figure 12 As shown, take the user requesting video playback as an example.

[0097] Step S1: The client sends a video request to the server, where the video request includes a video identifier of the main video.

[0098] Step S2: The server determines one or more spliced ​​videos based on the video identifier of the main video.

[0099] The server can determine one or more spliced ​​videos associated with the main video based on the video ID of the main video. The server can also determine one or more spliced ​​videos based on the video ID of the main video and a preset list.

[0100] Step S3: The server generates a video resource list based on the main video and one or more spliced ​​videos.

[0101] Step S4: The server returns the video resource list to the client.

[0102] Step S5: The client obtains video additional information of at least two videos to be played according to the multiple resource addresses in the video resource list and combines the video additional information according to the video presentation order to obtain the resource to be played.

[0103] Step S6: Play the resource to be played.

[0104] like Figure 13 As shown, the multiple videos in the resources to be played may include a main video, a spliced ​​video A, a spliced ​​video B, a spliced ​​video C, and a spliced ​​video D. The progress and duration of the multiple videos can be divided. The progress can be divided into display progress and main video progress. The display progress is the sum of the progress of the main video plus the duration of the video before the main video. The main video progress is the actual progress of the main video. The duration can be divided into display duration and the duration of each video. The display duration is the sum of the time of all videos. In this way, during the playback of multiple videos, the multiple videos are equivalent to a complete video from the user's perspective, which can provide users with a complete playback experience.

[0105] During the playback process, the next video of the current video can be preloaded. For example, before the playback of the spliced ​​video A is completed, the spliced ​​video B can be preloaded.

[0106] During sequential playback, when spliced ​​video A finishes playing and a video switch is required, the last frame of video A can be extracted to generate the first canvas image, which is overlaid on the video element, and then the player switches to the video. When the first frame of spliced ​​video B appears, the first canvas image is removed, and spliced ​​video B plays normally.

[0107] When a user jumps to another video, such as from Spliced ​​Video A to the main video, the player extracts the current frame of Spliced ​​Video A to generate a second canvas image. This second canvas image is then overlaid on the video element, and the player switches the video. When the target frame of the main video corresponding to the jump instruction appears, the second canvas image is removed, and the main video plays normally.

[0108] Step S7: The client sends the video list of the spliced ​​video to the server.

[0109] Step S8: The server obtains the bullet comment data of each spliced ​​video according to the video list of the spliced ​​video.

[0110] Step S9: The server integrates the bullet screen data of the main video and the bullet screen data of the spliced ​​video, and offsets the pop-up time of the bullet screen data according to the duration of the main video and the spliced ​​video.

[0111] Step S10: The server sends the bullet comment data after the offset time to the client.

[0112] Step S11: The client displays the bullet screen according to the bullet screen data.

[0113] Step S12: The client reports the display data of the spliced ​​video to the server.

[0114] The server obtains the display data of the spliced ​​video to facilitate subsequent optimization of the splicing expansion of the main video.

[0115] In this exemplary application, the sense of playback fragmentation caused by video switching is reduced, so that seamless switching of multiple videos can be achieved from the user's perspective, thereby improving the user's viewing experience.

[0116] Example 3 Figure 14 The block diagram of the video processing device according to the third embodiment of the present application is schematically shown. The device can be divided into one or more program modules, one or more program modules are stored in a storage medium and executed by one or more processors to complete the embodiment of the present application. The program module referred to in the embodiment of the present application refers to a series of computer program instruction segments that can complete specific functions. The following description will specifically introduce the functions of each program module in this embodiment. Figure 14 As shown, the apparatus 1400 may include: a first acquisition module 1410, a second acquisition module 1420, a combination module 1430, and a playback module 1440, wherein: The first acquisition module 1410 is configured to acquire a video resource list provided by the server, wherein the video resource list includes multiple resource addresses corresponding to multiple videos.

[0117] The second acquisition module 1420 is configured to acquire video additional information of at least two videos to be played based on the multiple resource addresses.

[0118] The combining module 1430 is configured to combine the additional information of each video according to the video presentation order to obtain resources to be played.

[0119] The playing module 1440 is configured to play the resource to be played, and present the video additional information of the resource to be played to the viewer in the form of a single video.

[0120] As an optional embodiment, the video additional information includes bullet comment data; the at least two videos include a main video and one or more spliced ​​videos; and the combining module 1430 is further configured to: Obtaining the bullet screen data of the main video and the bullet screen data of each spliced ​​video; Based on the total duration of the multiple videos, the pop-up time of each barrage data is adjusted according to the video presentation order to obtain multiple barrage data in the resource to be played.

[0121] As an optional embodiment, the video additional information includes bullet comment data; the at least two videos include a main video and one or more spliced ​​videos; and the combining module 1430 is further configured to: The video additional information includes barrage data; the at least two videos include a main video and one or more spliced ​​videos; and the additional information of each video is combined to obtain a resource to be played, including: Upload the video list of the one or more stitched videos to the server so that the server can perform the following operations: Get the bullet comment data of each spliced ​​video; Update the barrage pool of the main video according to the barrage data of the main video and the barrage data of the spliced ​​video; In the barrage pool, the pop-up time of each barrage data is offset according to the total duration of the multiple videos.

[0122] As an optional embodiment, the playing module 1440 is further configured to: When the current video among the multiple videos is played, extracting the last frame of the current video to generate a first canvas image; The first canvas image is overlaid on the player until the first frame of the next video of the current video is obtained.

[0123] As an optional embodiment, the playing module 1440 is further configured to: In response to a video jump instruction between the multiple videos, extracting a current frame of a current video from the multiple videos to generate a second canvas image; Overlaying the second canvas image on the player until a target frame of the target video is obtained; The target video is the video pointed to by the video jump instruction, the target jump instruction corresponds to a target time point, and the target frame is the frame of the target video pointed to by the target time point.

[0124] As an optional embodiment, the multiple videos are temporarily stored in a queue; the playback module 1440 is further configured to: In response to a video jump instruction between the plurality of videos, searching for a target video to jump to from the queue; Determining the playback progress of the target video according to the jump progress of the video jump instruction; Among them, during the video jump process, the display screen of the player is kept at the current screen of the current video among the multiple videos at the time of jump and the player is set to a loading state until the target video is obtained, the loading state is canceled and the target video is played.

[0125] As an optional embodiment, the video additional information includes a thumbnail, and the multiple videos include a main video and one or more spliced ​​videos; the combining module 1430 is further configured to: Obtain a thumbnail of the main video and thumbnails of each spliced ​​video; Based on the total duration of the multiple videos, the corresponding time of each thumbnail on the playback progress bar is adjusted according to the video presentation order to obtain multiple thumbnails in the resource to be played; Each thumbnail is displayed as a thumbnail according to the corresponding time mapped on the playback progress bar.

[0126] Example 4 Figure 15 The block diagram of the video processing device according to the second embodiment of the present application is schematically shown. The device can be divided into one or more program modules, one or more program modules are stored in a storage medium and executed by one or more processors to complete the embodiment of the present application. The program module referred to in the embodiment of the present application refers to a series of computer program instruction segments that can complete specific functions. The following description will specifically introduce the functions of each program module in this embodiment. Figure 15 As shown, the apparatus 1500 may include: a receiving module 1510, a determining module 1520, a generating module 1530, and a sending module 1540, wherein: Receiving module 1510, configured to receive a video request sent by a client, wherein the video request includes a video identifier of a primary video; A determination module 1520 is configured to determine one or more spliced ​​videos based on the video identifier of the main video; A generating module 1530 is configured to generate a video resource list based on the main video and the one or more spliced ​​videos, wherein the video resource list includes multiple resource addresses of multiple videos; the multiple videos include the main video and the one or more spliced ​​videos; The sending module 1540 is used to send the video resource list to the client, and the client is used to: obtain video additional information of at least two videos to be played based on the multiple resource addresses; combine the respective video additional information according to the video presentation order to obtain the resources to be played; and send the resources to be played to the client so that the video additional information of the resources to be played is presented to the viewer in the form of a single video.

[0127] As an optional embodiment, the determining module 1520 is further configured to: Determining whether the video ID of the main video is in a preset list; In a case where the video identifier of the main video is located in the preset list, the one or more spliced ​​videos are determined.

[0128] As an optional embodiment, the apparatus 1500 further includes a bullet screen module, wherein the bullet screen module is configured to: Get the bullet comment data of each spliced ​​video; Update the barrage pool of the main video according to the barrage data of the main video and the barrage data of the spliced ​​video; In the barrage pool, the pop-up time of each barrage data is offset according to the total duration of the multiple videos.

[0129] Example 5 Figure 16 The following schematically shows a hardware architecture diagram of a computer device 10000 suitable for implementing a video processing method according to the fifth embodiment of the present application. In some embodiments, the computer device 10000 may be a terminal device such as a smartphone, a wearable device, a tablet computer, a personal computer, a vehicle-mounted terminal, a game console, a virtual device, a workbench, a digital assistant, a set-top box, a robot, etc. In other embodiments, the computer device 10000 may be a rack server, a blade server, a tower server, or a cabinet server (including an independent server, or a server cluster composed of multiple servers), etc. As shown in FIG*, the computer device 10000 may include but is not limited to: a memory 10010, a processor 10020, and a network interface 10030 that can communicate with each other via a system bus. Among them: Memory 10010 includes at least one type of computer-readable storage medium, including flash memory, a hard disk, a multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic storage, a magnetic disk, an optical disk, and the like. In some embodiments, memory 10010 may be an internal storage module of computer device 10000, such as a hard disk or memory of computer device 10000. In other embodiments, memory 10010 may also be an external storage device of computer device 10000, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a flash memory card, and the like equipped on computer device 10000. Of course, memory 10010 may also include both internal storage modules and external storage devices of computer device 10000. In this embodiment, the memory 10010 is generally used to store an operating system and various application software installed on the computer device 10000, such as program codes of a video processing method, etc. In addition, the memory 10010 can also be used to temporarily store various data that has been output or is to be output.

[0130] In some embodiments, processor 10020 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other chips. Processor 10020 is typically used to control the overall operation of computer device 10000, such as performing control and processing related to data exchange or communication with computer device 10000. In this embodiment, processor 10020 is used to execute program code stored in memory 10010 or process data.

[0131] Network interface 10030 may include a wireless network interface or a wired network interface. Network interface 10030 is typically used to establish a communication link between computer device 10000 and other computer devices. For example, network interface 10030 is used to connect computer device 10000 to an external terminal via a network, establishing a data transmission channel and a communication link between computer device 10000 and the external terminal. The network may be a wireless or wired network such as an intranet, the Internet, the Global System of Mobile Communications (GSM), Wideband Code Division Multiple Access (WCDMA), a 4G network, a 5G network, Bluetooth, or Wi-Fi.

[0132] It should be pointed out that Figure 16 Only a computer device having components 10010 - 10030 is shown, but it should be understood that implementing all of the shown components is not a requirement, and more or fewer components may alternatively be implemented.

[0133] In this embodiment, the video processing method stored in the memory 10010 can also be divided into one or more program modules and executed by one or more processors (such as processor 10020) to complete the embodiment of the present application.

[0134] Example 6 An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the video processing method in the embodiment when executed by a processor.

[0135] In this embodiment, computer-readable storage media include flash memory, hard disks, multimedia cards, card-type memories (e.g., SD or DX memories), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic storage, magnetic disks, optical disks, and the like. In some embodiments, the computer-readable storage medium may be an internal storage unit of a computer device, such as the computer device's hard disk or memory. In other embodiments, the computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a flash memory card, and the like. Of course, the computer-readable storage medium may also include both the internal storage unit and external storage devices of the computer device. In this embodiment, the computer-readable storage medium is typically used to store the operating system and various application software installed on the computer device, such as the program code of the video processing method described in the embodiment. In addition, the computer-readable storage medium may also be used to temporarily store various types of data that has been output or is about to be output.

[0136] Example 7 An embodiment of the present application further provides a computer program product, including a computer program, which implements the method in the above embodiment when executed by a processor.

[0137] Obviously, those skilled in the art should understand that the modules or steps of the above-mentioned embodiments of the present application can be implemented using general-purpose computer devices. They can be concentrated on a single computer device or distributed on a network composed of multiple computer devices. Alternatively, they can be implemented using program codes executable by the computer device, so that they can be stored in a storage device and executed by the computer device. In some cases, the steps shown or described can be performed in a different order than herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the embodiments of the present application are not limited to any specific combination of hardware and software.

[0138] It should be noted that the above are only preferred embodiments of the present application and do not limit the scope of patent protection of the present application. Any equivalent structure or equivalent process transformation made using the contents of the description and drawings of this application, or directly or indirectly applied in other related technical fields, are also included in the scope of patent protection of the present application.

Claims

1. A video processing method, characterized in that: For a client, the method includes: Obtain a video resource list provided by the server, wherein the video resource list includes multiple resource addresses corresponding to multiple videos; Based on the multiple resource addresses, obtaining video additional information of at least two videos to be played; Combining the additional information of each video according to the video presentation order to obtain the resource to be played; The resource to be played is played, and the video additional information of the resource to be played is presented to the viewer in the form of a single video.

2. The method according to claim 1, characterized in that The video additional information includes barrage data; the at least two videos include a main video and one or more spliced ​​videos; The additional information of each video is combined to obtain resources to be played, including: Obtaining the bullet screen data of the main video and the bullet screen data of each spliced ​​video; Based on the total duration of the multiple videos, the pop-up time of each barrage data is adjusted according to the video presentation order to obtain multiple barrage data in the resource to be played.

3. The method according to claim 1, characterized in that The video additional information includes barrage data; the at least two videos include a main video and one or more spliced ​​videos; and the additional information of each video is combined to obtain a resource to be played, including: Upload the video list of the one or more stitched videos to the server so that the server can perform the following operations: Get the bullet comment data of each spliced ​​video; Update the barrage pool of the main video according to the barrage data of the main video and the barrage data of the spliced ​​video; In the barrage pool, the pop-up time of each barrage data is offset according to the total duration of the multiple videos.

4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: When the current video among the multiple videos is played, extracting the last frame of the current video to generate a first canvas image; The first canvas image is overlaid on the player until the first frame of the next video of the current video is obtained.

5. The method according to any one of claims 1 to 3, characterized in that The method further comprises: In response to a video jump instruction between the multiple videos, extracting a current frame of a current video from the multiple videos to generate a second canvas image; Overlaying the second canvas image on the player until a target frame of the target video is obtained; The target video is the video pointed to by the video jump instruction, the target jump instruction corresponds to a target time point, and the target frame is the frame of the target video pointed to by the target time point.

6. The method according to any one of claims 1 to 3, characterized in that The multiple videos are temporarily stored in a queue; the method further includes: In response to a video jump instruction between the plurality of videos, searching for a target video to jump to from the queue; Determining the playback progress of the target video according to the jump progress of the video jump instruction; Among them, during the video jump process, the display screen of the player is kept at the current screen of the current video among the multiple videos at the time of jump and the player is set to a loading state until the target video is obtained, the loading state is canceled and the target video is played.

7. The method according to any one of claims 1 to 3, characterized in that The video additional information includes a thumbnail, and the multiple videos include a main video and one or more spliced ​​videos; and combining the additional information of each video to obtain the resource to be played includes: Obtain a thumbnail of the main video and thumbnails of each spliced ​​video; Based on the total duration of the multiple videos, the corresponding time of each thumbnail on the playback progress bar is adjusted according to the video presentation order to obtain multiple thumbnails in the resource to be played; Each thumbnail is displayed as a thumbnail according to the corresponding time mapped on the playback progress bar.

8. A video processing method, characterized in that: For the server, the method includes: Receive a video request sent by a client, wherein the video request includes a video identifier of a primary video; Determining one or more spliced ​​videos according to the video identifier of the main video; Generate a video resource list according to the main video and the one or more spliced ​​videos, wherein the video resource list includes multiple resource addresses of multiple videos; the multiple videos include the main video and the one or more spliced ​​videos; The video resource list is sent to the client, and the client is used to: obtain video additional information of at least two videos to be played based on the multiple resource addresses; combine the video additional information of each video according to the video presentation order to obtain the resources to be played; and send the resources to be played to the client so that the video additional information of the resources to be played is presented to the viewer in the form of a single video.

9. The method according to claim 8, characterized in that The method further comprises: Determining whether the video ID of the main video is in a preset list; In a case where the video identifier of the main video is located in the preset list, the one or more spliced ​​videos are determined.

10. The method according to claim 8, characterized in that The method further comprises: Get the bullet comment data of each spliced ​​video; Update the barrage pool of the main video according to the barrage data of the main video and the barrage data of the spliced ​​video; In the barrage pool, the pop-up time of each barrage data is offset according to the total duration of the multiple videos.

11. A video processing device, characterized in that: For a client, the device includes: A first acquisition module is configured to acquire a video resource list provided by a server, wherein the video resource list includes multiple resource addresses corresponding to multiple videos; A second acquisition module is configured to acquire video additional information of at least two videos to be played based on the multiple resource addresses; A combining module, configured to combine the additional information of each video according to the video presentation order to obtain a resource to be played; The playing module is used to play the resource to be played, and the video additional information of the resource to be played is presented to the viewer in the form of a single video.

12. A video processing device, characterized in that: For use on a server, the device includes: A receiving module, configured to receive a video request sent by a client, wherein the video request includes a video identifier of a primary video; A determination module, configured to determine one or more spliced ​​videos based on the video identifier of the main video; A generating module, configured to generate a video resource list based on the main video and the one or more spliced ​​videos, wherein the video resource list includes multiple resource addresses of multiple videos; the multiple videos include the main video and the one or more spliced ​​videos; A sending module is used to send the video resource list to the client, and the client is used to: obtain video additional information of at least two videos to be played based on the multiple resource addresses; combine the video additional information of each video according to the video presentation order to obtain the resources to be played; and send the resources to be played to the client so that the video additional information of the resources to be played is presented to the viewer in the form of a single video.

13. A computer device, characterized in that: include: at least one processor; and a memory communicatively coupled to the at least one processor; wherein: The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 10.

14. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, which implement the method according to any one of claims 1 to 10 when executed by a processor.

15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to claims 1 to 10 are implemented.