Video processing method, apparatus and electronic device

By identifying and merging related video content on the video platform, the server inserts the second video into a specified frame of the first video, and the client replaces it with the merged video, solving the problem of viewers having to switch back and forth between videos and improving the user experience.

CN116567293BActive Publication Date: 2026-02-27GUANGZHOU BOGUAN TELECOMM TECH LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310366695.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-06
Publication Date
2026-02-27
Estimated Expiration
2043-04-06

AI Technical Summary

Technical Problem

On video platforms, viewers need to switch back and forth between videos from different video creators to watch related content, which is cumbersome and results in a poor user experience.

Method used

The server identifies and merges the associated first and second videos, inserts the second video into a specified frame of the first video to obtain a merged video, and then replaces the merged video with the client's video, allowing viewers to watch two related videos in one video without having to switch back and forth.

Benefits of technology

It reduces operational complexity, improves video viewing efficiency, and enhances user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116567293B_ABST
    Figure CN116567293B_ABST
Patent Text Reader

Abstract

The application provides a video processing method, device and electronic equipment, wherein a first video and a second video are identified by a server; the video content of the first video is associated with the video content of the second video; the second video is inserted into a first designated video frame of the first video to obtain a first merged video; the first video is inserted into a second designated video frame of the second video to obtain a second merged video; the first merged video and the second merged video are sent to a client, and the first video is replaced by the first merged video and the second video is replaced by the second merged video by the client. In this way, by identifying and merging the associated first video and the second video, the first video and the second video are replaced by the corresponding merged video, the audience can watch the two different and associated first video and second video by watching the merged video on the client, without switching back and forth, reducing the operation complexity, improving the video watching efficiency, and further improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of video processing, and in particular to a video processing method, device and electronic equipment. BACKGROUND

[0002] In the current video platform, different video producers usually initiate a task challenge or invitation in the video content, such as initiating an invitation of a specified task to other video producers known, and the other video producers can accept the invitation or challenge, perform the specified task, and make and upload a video, so that the audience can see the video linkage between different video producers. However, in the related technology, if the invited video producer uploads a challenge video, the audience needs to exit from the video of the video producer who initiates the invitation, then open the video of the invited video producer, and find the corresponding challenge video from it to click and watch. This kind of switching between different videos is complicated, the audience cannot quickly watch the linked videos, and the user experience is poor. SUMMARY

[0003] Therefore, the purpose of the present application is to provide a video processing method, device and electronic equipment, by identifying and merging the associated first video and second video, replacing the first video and the second video with the corresponding merged video, so that the audience can watch two different and associated videos in the merged video without switching back and forth, thereby reducing the operation complexity, improving the video watching efficiency, and further improving the user experience.

[0004] In a first aspect, an embodiment of the present application provides a video processing method, the method being applied to a server, and the method comprising: identifying a first video and a second video; wherein the first video and the second video are uploaded by different accounts, and the video content of the first video is associated with the video content of the second video; inserting the second video into a first specified video frame of the first video to obtain a first merged video; inserting the first video into a second specified video frame of the second video to obtain a second merged video; and sending the first merged video and the second merged video to a client, and replacing the first video with the first merged video and replacing the second video with the second merged video through the client.

[0005] In a second aspect, an embodiment of the present application provides a video processing method, the method is applied to a client, and the method comprises the following steps: in response to receiving a first combined video and a second combined video sent by a server, replacing a first video with the first combined video and replacing a second video with the second combined video; wherein the first video and the second video are uploaded by different accounts, and the first video is associated with video content of the second video; in response to a playing operation on the first combined video, playing the first combined video; in response to playing to a first specified video frame, pausing playing of the first combined video and displaying first prompt information; the first prompt information is used to indicate that the second video is about to be played; in response to a playing instruction of the second video, continuing to play the second video after the first specified video frame; wherein the first combined video and the second combined video are determined by the following manner: identifying the first video and the second video through the server; wherein the first video and the second video are uploaded by different accounts, and the first video is associated with video content of the second video; inserting the second video into the first specified video frame of the first video to obtain a first combined video frame; and inserting the first video into a second specified video frame of the second video to obtain a second combined video frame.

[0006] In a third aspect, an embodiment of the present application provides a video processing device, the device is arranged on a server, and the device comprises: a video identification module, configured to identify a first video and a second video; wherein the first video and the second video are uploaded by different accounts, and the first video is associated with video content of the second video; a video merging module, configured to insert the second video into a first specified video frame of the first video to obtain a first combined video, and insert the first video into a second specified video frame of the second video to obtain a second combined video; and a video sending module, configured to send the first combined video and the second combined video to a client, and replace the first video with the first combined video and replace the second video with the second combined video through the client.

[0007] In a fourth aspect, an embodiment of the present application provides a video processing apparatus, the apparatus being arranged on a client, and the apparatus comprising: a video replacing module, configured to replace a first video with a first merged video and replace a second video with a second merged video in response to receiving the first merged video and the second merged video sent by a server; wherein the first video and the second video are uploaded by different accounts, and video content of the first video is associated with video content of the second video; a merged video playing module, configured to play the first merged video in response to a playing operation on the first merged video; an information prompting module, configured to pause playing of the first merged video and display first prompt information in response to playing to a first specified video frame; the first prompt information is used to indicate that the second video is about to be played; a second video playing module, configured to continue playing the second video after the first specified video frame in response to a playing instruction of the second video; wherein the first merged video and the second merged video are determined by: identifying the first video and the second video by the server; wherein the first video and the second video are uploaded by different accounts, and video content of the first video is associated with video content of the second video; inserting the second video into the first specified video frame of the first video to obtain a first merged video frame; and inserting the first video into a second specified video frame of the second video to obtain a second merged video frame.

[0008] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory, the memory storing computer executable instructions capable of being executed by the processor, and the processor executes the computer executable instructions to implement the video processing method of any one of the first aspect or the second aspect.

[0009] In a sixth aspect, an embodiment of the present application provides a computer readable storage medium, the computer readable storage medium storing computer executable instructions, and the computer executable instructions, when invoked and executed by a processor, cause the processor to implement the video processing method of any one of the first aspect or the second aspect.

[0010] The embodiments of the present application have the following beneficial effects:

[0011] The application provides a video processing method, device and electronic equipment, a first video and a second video are identified by a server; the video content of the first video is associated with the second video; the second video is inserted into a first designated video frame of the first video to obtain a first merged video; the first video is inserted into a second designated video frame of the second video to obtain a second merged video; the first merged video and the second merged video are sent to a client, and the first video is replaced by the first merged video and the second video is replaced by the second merged video by the client. In this way, by identifying and merging the associated first video and second video, the first video and the second video are replaced by the corresponding merged video, the audience can watch the two different and associated first video and second video by watching the merged video on the client, without switching back and forth, reducing the operation complexity, improving the video watching efficiency, and further improving the user experience.

[0012] Other features and advantages of the present application will be set forth in the following description, and in part will become apparent to those skilled in the art from the description, or can be learned by practice of the application. The objects and other advantages of the application will be realized and attained by the structure particularly pointed out in the description and claims.

[0013] In order to make the above-mentioned objectives, characteristics and advantages of the present application more apparent and easy to understand, the following preferred embodiments are specifically described below, and the accompanying drawings are described in detail as follows. BRIEF DESCRIPTION OF DRAWINGS

[0014] In order to more clearly illustrate the specific embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the drawings needed to be used in the specific embodiments or the prior art description. Obviously, the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor on the basis of these drawings.

[0015] Figure 1 A flowchart of a video processing method provided by an embodiment of the present application is shown in the figure;

[0016] Figure 2 A flowchart of another video processing method provided by an embodiment of the present application is shown in the figure;

[0017] Figure 3 A schematic diagram of first prompt information in a video playing interface provided by an embodiment of the present application is shown in the figure;

[0018] Figure 4 A schematic diagram of first prompt information in a video playing interface provided by an embodiment of the present application is shown in the figure;

[0019] Figure 5A schematic view of first prompt information in a video playing interface provided by an embodiment of the present application;

[0020] Figure 6 A structural schematic view of a video processing device provided by an embodiment of the present application;

[0021] Figure 7 A structural schematic view of another video processing device provided by an embodiment of the present application;

[0022] Figure 8 A structural schematic view of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0023] To make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of the present application will be described below in detail with reference to the accompanying drawings. Obviously, the described embodiments are some but not all of the embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative efforts belong to the scope of the present application.

[0024] In current video platforms, different video producers usually initiate task challenges or invitations in video content, such as inviting other video producers known to perform a specified task, and the other video producers can accept the invitation or challenge, perform the specified task, and make and upload a video, so that the audience can see the video linkage between different video producers. However, in the related art, if the invited video producer uploads a challenge video, the audience needs to exit the video of the video producer who initiates the invitation, open the video of the invited video producer, and find and click to watch the corresponding challenge video. This kind of switching between different videos is cumbersome, the audience cannot quickly watch the linked videos, and the user experience is poor. Based on this, the embodiments of the present application provide a video processing method, device and electronic device, which can be applied to devices such as mobile phones, computers, notebooks, tablets and servers.

[0025] To facilitate the understanding of the present embodiment, first, a video processing method disclosed by the present embodiment will be described in detail. The execution subject of the video processing method in the present embodiment is a server, that is, the method is applied to the server side. As shown in Figure 1 The method includes the following steps:

[0026] Step S102, identifying a first video and a second video; wherein the first video and the second video are uploaded by different accounts, and the video content of the first video is associated with the video content of the second video;

[0027] The first video includes content of initiating the target task, and the second video includes content of performing the target task. Specifically, the first video includes audio or text of initiating the target task, wherein the audio or text can or can not specify an account of performing the target task. Of course, the first video can also include a picture (a video frame) of a person who initiates the target task performing the target task. The second video includes audio or text of performing the target task, and a picture of performing the target task, wherein the audio or text can or can not specify an account of initiating the target task. The second video can or can not be uploaded by the account specified by the first video. The video content of the first video and the second video can be associated with audio or text in the video, or can be associated with a behavior or an operation of a person in the video, and the like.

[0028] In actual implementation, the video uploaded by each account can be recognized by image recognition, voice recognition, or text recognition. If it is recognized that the video includes content of initiating the target task, the video can be determined as the first video. If it is recognized that another video includes content of performing the target task, the video can be determined as the second video. The second video is a video associated with the first video, and the first video can be one or multiple.

[0029] In step S104, the second video is inserted into the first specified video frame of the first video to obtain a first merged video, and the first video is inserted into the second specified video frame of the second video to obtain a second merged video.

[0030] The first specified video frame can be a video frame with the largest frame number in the first video, or can be a video frame corresponding to a first specified picture or a first specified audio. The first specified picture can be a picture of completing the target task or specifying the target task, or a picture including a first specified text. The first specified text can be text of initiating the target task, or text of initiating the target task to a specified account. The specified audio can be audio of initiating the target task, or audio of initiating the target task to a specified account.

[0031] The second specified video frame can be a video frame with the smallest frame number or the largest frame number in the second video, or can be a video frame corresponding to a second specified picture or a second specified audio. The second specified picture can be a picture of performing the target task, or a picture including a second specified text. The second specified text can be text of accepting the target task, or text of accepting a challenge of initiating the target task. The second specified audio can be audio of accepting the target task, or audio of accepting a challenge of initiating the target task.

[0032] The first merged video and the second merged video can be the same or different. After obtaining the first merged video, the first video is played first, and when the first specified video frame is played, the second video is played, and after the second video frame is played, the first video after the first specified video frame is played. After obtaining the second merged video, the second video is played first, and when the second specified video frame is played, the first video is played, and after the first video frame is played, the second video after the second specified video frame is played.

[0033] It should be noted that the above-mentioned second video can be multiple, if it is multiple, the multiple second videos can be inserted into the first specified video frame of the first video in turn to obtain the first merged video, or a target second video is selected from the multiple second videos and inserted into the first specified video frame of the first video to obtain the first merged video. For each second video, the first video is inserted into the second specified video frame of the second video in turn, and a corresponding second merged video is obtained for each second video.

[0034] In step S106, the first merged video and the second merged video are sent to the client, and the first video is replaced by the first merged video and the second video is replaced by the second merged video through the client.

[0035] Finally, in order to enable the audience to watch the second video associated with the first video without video switching operation when watching the first video, the server sends the first merged video and the second merged video to the client to replace the first video with the first merged video and the second video with the second merged video through the client, so that the audience can directly watch the second video when watching the first video, and can directly watch the first video when watching the second video.

[0036] The embodiment of the application provides a video processing method, which comprises the following steps: identifying a first video and a second video through a server; the video content of the first video is associated with the video content of the second video; inserting the second video into a first specified video frame of the first video to obtain a first merged video; inserting the first video into a second specified video frame of the second video to obtain a second merged video; and sending the first merged video and the second merged video to a client, and replacing the first video with the first merged video and the second video with the second merged video through the client. In this way, by identifying and merging the associated first video and the second video, the first video and the second video are replaced by the corresponding merged video, and the audience can watch the two different and associated first video and second video by watching the merged video on the client, without switching back and forth, reducing the operation complexity, improving the video watching efficiency, and further improving the user experience.

[0037] The server includes a plurality of videos; the step of identifying the first video and the second video, a possible implementation: from the plurality of videos, identifying the first video including the content of initiating the target task, and identifying the second video including the content of performing the target task.

[0038] The target task can be various challenge tasks, game tasks, etc., such as bungee jumping challenge, drawing challenge, high-pitched challenge, slam dunk challenge, game completion challenge, etc. Generally, the content of initiating the target task not only includes the target task, but also includes a target account, and an invitation or challenge of the target task to the target account. For example, in the first video, the user says "XXX, are you up for the challenge?" after completing the target task; or can say "everyone, come on and challenge!" at the end of the video.

[0039] The second video including the content of performing the target task can be one or more.

[0040] The step of identifying the second video including the content of performing the target task from the plurality of videos, a possible implementation: identifying the initial video including the content of performing the target task from the plurality of videos; if the initial video is multiple, and the target account is specified in the content of initiating the target task, determining whether the video corresponding to the target account is included in the initial video; if yes, determining the video corresponding to the target account as the second video; if no, determining the specified initial video in the initial video as the second video.

[0041] If the initial video does not include the video corresponding to the target account, that is, the target account has not accepted the challenge, at this time, a video can be randomly selected from the video to determine as the second video, or the video with the highest number of likes, the highest number of plays, or the most number of comments can be determined as the second video.

[0042] The first video includes the content of initiating the target task; the second video includes the content of performing the target task; before the step of inserting the second video into the first video at the first specified video frame of the first video to obtain the first merged video frame, and inserting the first video into the second video at the second specified video frame of the second video to obtain the second merged video frame, the method further includes:

[0043] (1) determining the first specified video frame of the first video according to the content of initiating the target task;

[0044] Specifically, the audio of initiating the target task is identified from the audio of the first video, at least one video frame corresponding to the audio of initiating the target task is determined, and the last video frame of the at least one video frame is determined as the first specified video frame.

[0045] (2) determining the second specified video frame of the second video according to the content of performing the target task.

[0046] Specifically, the audio for performing the target task is identified from the audio of the second video, at least one video frame corresponding to the audio for performing the target task is determined, and the last video frame of the at least one video frame is determined as the second specified video frame.

[0047] In the above manner, the corresponding video is played in and out at the video frames corresponding to the task initiation and the task acceptance of the first video and the second video, so that the audience can quickly watch the corresponding video, and the user's viewing experience is further improved.

[0048] In order to improve the viewing immersion of the audience when watching the first video and the second video, the above method further comprises, before the steps of inserting the second video into the first specified video frame of the first video to obtain the first merged video frame, and inserting the first video into the second specified video frame of the second video to obtain the second merged video frame:

[0049] The first scene picture in the first video and the second scene picture in the second video are obtained, if the first scene picture and the second scene picture are scene information in the same scene, the first scene picture and the second scene picture are processed to obtain a target scene picture, and the first scene picture and the second scene picture are updated to the target scene picture.

[0050] The first scene picture refers to the picture of the scene (background) where the first character in the first video is located when shooting. The second scene picture refers to the picture of the scene (background) where the second character in the second video is located when shooting. If the scene where the first character is located is the same as the scene where the second character is located, the pixel points in the first scene picture and the second scene picture can be processed to obtain a target scene picture, and the first scene picture and the second scene picture are updated to the same target scene picture. Specifically, the scenes can be merged according to the similar color boxes in each pixel, so that the audience perceives that the characters in the current first video and the second video are in the same scene in the visual level. In this way, the scenes of the first video and the second video are merged, so that the audience perceives that the scenes of the first video and the second video are the same in the visual level, and the viewing experience and the immersion of the audience are further improved.

[0051] Further, after the step of sending the first merged video and the second merged video to the client, the method further comprises: in response to receiving the first specified comment information sent by the first client for the first merged video, sending the first specified comment information to the second client; wherein, if the first specified comment information is the comment information received by the first client when playing the first video and the second video in the first merged video, the first specified comment information is displayed in the second merged video by the second client in response to playing the second merged video; if the first specified comment information is the comment information received by the first client when playing the first video or the second video in the first merged video, the first specified comment information is displayed in the first video or the second video in the second merged video by the second client in response to playing the first video or the second video in the second merged video.

[0052] After the step of sending the first merged video and the second merged video to the client, the method further comprises: in response to receiving the second specified comment information sent by the first client for the second merged video, sending the second specified comment information to the second client; wherein, if the second specified comment information is the comment information received by the first client when playing the first video and the second video in the second merged video, the second specified comment information is displayed in the first merged video by the second client in response to playing the first merged video; if the second specified comment information is the comment information received by the first client when playing the first video or the second video in the second merged video, the second specified comment information is displayed in the first video or the second video in the first merged video by the second client in response to playing the first video or the second video in the first merged video.

[0053] Specifically, the audience can choose to watch the videos in the first merged video and the second merged video, and can choose to watch the first video and the second video in the first merged video, or can choose to watch only the first video or the second video in the first merged video. The first comment information sent by the audience watching the first video and the second video in the first merged video can be seen by the audience watching the second merged video regardless of the watching mode. The first comment information sent by the audience watching the first video in the first merged video can only be seen by the audience watching the second merged video when choosing to watch the first video alone. The first comment information sent by the audience watching the second video in the first merged video can only be seen by the audience watching the second merged video when choosing to watch the second video alone.

[0054] Similarly, the second barrage information sent by the audience watching the first video and the second video in the second merged video can be seen by the audience watching the first merged video regardless of how the audience chooses to watch. The second barrage information sent by the audience watching the first video in the second merged video can be seen by the audience watching the first merged video only when the audience chooses to watch the first video alone. The second barrage information sent by the audience watching the second video in the second merged video can be seen by the audience watching the first merged video only when the audience chooses to watch the second video alone.

[0055] The embodiment of the application provides a video processing method, which is applied to a client, such as Figure 2 As shown in the figure, the method comprises the following steps:

[0056] In step S202, the first video is replaced by the first merged video and the second video is replaced by the second merged video in response to receiving the first merged video and the second merged video sent by the server; wherein the first video and the second video are uploaded by different accounts, and the video content of the first video is associated with the video content of the second video.

[0057] Specifically, the first video is replaced by the first merged video in response to receiving the first merged video sent by the server, and the second video is replaced by the second merged video in response to receiving the second merged video sent by the server.

[0058] In step S204, the first merged video is played in response to a play operation for the first merged video.

[0059] Alternatively, the first merged video is played in response to a play operation for the first video. The audience cannot perceive that the first video has been updated before the play starts, that is, the audience cannot perceive that the second video has been inserted into the first video before the play starts.

[0060] In step S206, the first merged video is paused and the first prompt information is displayed in response to playing to the first specified video frame; the first prompt information is used to indicate that the second video is about to be played.

[0061] The first video includes content of initiating a target task, and the second video includes content of performing the target task; if the account uploading the second video is a target account specified by the first video, the first prompt information is further used to indicate that the target account has completed the target task; if the account uploading the second video is not the target account specified by the first video, the first prompt information is further used to indicate that the target account has not completed the target task.

[0062] The first prompt information usually includes the text information of initiating the target task in the first video. If the first video specifies the target account and the second video is uploaded by the target account, the first prompt information further includes the prompt information of completing the target task by the target account, and the selection control of whether to watch the second video. If the first video specifies the target account but the second video is not uploaded by the target account, the first prompt information further includes the prompt information of the target account not completing the target task, and the selection control of whether to watch other videos of completing the target task.

[0063] If the first video does not specify the target account, the first prompt information usually includes the prompt information of completing the target task by the account corresponding to the second video, and the selection control of whether to watch the second video. In the first prompt information, the video screen of the second video can also be displayed. If multiple second videos are inserted in the first video, the first prompt information usually includes the prompt information of completing the target task by all accounts corresponding to the second videos, and the selection control for each second video.

[0064] For example, as shown in FIG. 8, when the first video is played to the first specified video frame, the playing is paused, and the first prompt information is displayed on the video screen, which includes the text information of initiating the target task in the first video (i.e., “Next up, XXX, to take on the challenge!” in FIG. 8), the prompt information of completing the target task by the target account (i.e., “XXX completed the challenge” in FIG. 8), the selection control of the second video (i.e., the second video thumbnail in FIG. 8), and the reject control. Figure 3 Figure 3 For example, as shown in FIG. 9, when the first video is played to the first specified video frame, the playing is paused, and the first prompt information is displayed on the video screen, which includes the text information of initiating the target task in the first video (i.e., “Next up, XXX, to take on the challenge!” in FIG. 9), the prompt information of not completing the target task by the target account (i.e., “XXX did not complete the challenge” in FIG. 9), the selection control of the second video (i.e., “Watch other videos of completing the challenge” and the second video thumbnail in FIG. 9), and the reject control. Figure 3 Figure 3 For example, as shown in FIG. 8, when the first video is played to the first specified video frame, the playing is paused, and the first prompt information is displayed on the video screen, which includes the text information of initiating the target task in the first video (i.e., “Next up, XXX, to take on the challenge!” in FIG. 8), the prompt information of completing the target task by the target account (i.e., “XXX completed the challenge” in FIG. 8), the selection control of the second video (i.e., the second video thumbnail in FIG. 8), and the reject control.

[0065] For example, as shown in FIG. 9, when the first video is played to the first specified video frame, the playing is paused, and the first prompt information is displayed on the video screen, which includes the text information of initiating the target task in the first video (i.e., “Next up, XXX, to take on the challenge!” in FIG. 9), the prompt information of not completing the target task by the target account (i.e., “XXX did not complete the challenge” in FIG. 9), the selection control of the second video (i.e., “Watch other videos of completing the challenge” and the second video thumbnail in FIG. 9), and the reject control. Figure 4 Figure 4 Step S208: in response to the playing instruction of the second video, continue playing the second video after the first specified video frame; Figure 4 Figure 4 Step S208: in response to the playing instruction of the second video, continue playing the second video after the first specified video frame;

[0066] Step S208: in response to the playing instruction of the second video, continue playing the second video after the first specified video frame;

[0067] ​​​​The first merged video and the second merged video are determined by: identifying, by the server, the first video and the second video; wherein the first video and the second video are uploaded by different accounts, and the video content of the first video is associated with the video content of the second video; inserting the second video into a first specified video frame of the first video to obtain a first merged video frame; and inserting the first video into a second specified video frame of the second video to obtain a second merged video frame.

[0068] In response to a triggering operation on the selection control or in response to a preset time (such as 5 seconds, 10 seconds, etc.) elapsing, the second video is played continuously after the first specified video frame; wherein no triggering operation is performed within the preset time. The first prompt information usually further includes a play countdown for the second video, such as the text information "play the second video after 5 seconds", and further includes a 5-second countdown identifier. For example, as shown in Figure 5 .

[0069] The application provides a video processing method, which comprises the following steps: in response to receiving a first merged video and a second merged video sent by a server, replacing a first video with the first merged video and replacing a second video with the second merged video by a client; wherein the first video and the second video are uploaded by different accounts, and the video content of the first video is associated with the video content of the second video; in response to a play operation on the first merged video, playing the first merged video; in response to playing to a first specified video frame, pausing the play of the first merged video and displaying a first prompt information; the first prompt information is used to indicate that the second video is about to be played; in response to a play instruction of the second video, playing the second video continuously after the first specified video frame; wherein the first merged video and the second merged video are determined by: identifying, by the server, the first video and the second video; wherein the first video and the second video are uploaded by different accounts, and the video content of the first video is associated with the video content of the second video; inserting the second video into a first specified video frame of the first video to obtain a first merged video frame; and inserting the first video into a second specified video frame of the second video to obtain a second merged video frame. In this way, by identifying and merging the associated first video and the second video, the first video and the second video are replaced by the corresponding first merged video and the second merged video, the audience can watch the two different and associated first video and second video by watching the first merged video or the second merged video on the client, without switching back and forth, reducing the operation complexity, improving the video watching efficiency, and further improving the user experience.

[0070] After the step of playing the first merged video in response to a play operation on the first merged video, the method further comprises:

[0071] playing the first video in response to a play instruction of the first video in the first merged video;

[0072] In response to a play instruction of the second video in the first merged video, the second video is played.

[0073] After the step of replacing the first video with the first merged video and replacing the second video with the second merged video in response to receiving the first merged video and the second merged video sent by the server, the method further comprises: in response to a play operation on the second merged video, playing the second merged video; in response to playing to a second specified video frame, pausing the playing of the second merged video and displaying second prompt information; the second prompt information is used to indicate that the first video is about to be played; in response to a play instruction of the first video, continuing to play the first video after the second specified video frame.

[0074] After the step of playing the second merged video, the method further comprises:

[0075] In response to a play instruction of the first video in the second merged video, the first video is played.

[0076] In response to a play instruction of the second video in the second merged video, the second video is played.

[0077] That is, when the first merged video is played, the audience can also choose to watch only the first video or only the second video because the first merged video includes two different first video and second video. Similarly, when the second merged video is played, the audience can also choose to watch only the first video or only the second video because the second merged video includes two different first video and second video.

[0078] In a possible implementation, the first merged video includes a first identifier and a second identifier on a play progress bar, the first identifier is used to indicate the first video, and the second identifier is used to indicate the second video. After playing the first merged video in response to a play operation on the first merged video, the first video is played in response to a trigger operation on the first identifier. The second video is played in response to a trigger operation on the second identifier.

[0079] Similarly, the second merged video includes a third identifier and a fourth identifier on a play progress bar, the third identifier is used to indicate the first video, and the fourth identifier is used to indicate the second video. After playing the second merged video in response to a play operation on the second merged video, the first video is played in response to a trigger operation on the third identifier. The second video is played in response to a trigger operation on the fourth identifier.

[0080] The method further comprises: in response to playing the first video and the second video in the first merged video and in response to an upload operation of the first target bullet screen information, displaying the first target bullet screen information in the first merged video; in response to playing the second merged video, displaying the first target bullet screen information in the second merged video.

[0081] The method further includes: in response to playing the first video or the second video in the first merged video and the uploading operation of the first target bullet screen information, displaying the first target bullet screen information in the first video or the second video in the first merged video; and in response to playing the first video or the second video in the second merged video, displaying the first target bullet screen information in the first video or the second video in the second merged video.

[0082] The method further includes: in response to playing the first video and the second video in the second merged video and the uploading operation of the second target bullet screen information, displaying the second target bullet screen information in the second merged video; and in response to playing the first merged video, displaying the first target bullet screen information in the first merged video.

[0083] The method further includes: in response to playing the first video or the second video in the second merged video and the uploading operation of the second target bullet screen information, displaying the first target bullet screen information in the first video or the second video in the second merged video; and in response to playing the first video or the second video in the first merged video, displaying the second target bullet screen information in the first video or the second video in the first merged video.

[0084] Since the audience can select to watch the videos in the first merged video and the second merged video, the audience can select to watch the first video and the second video in the first merged video, or select to watch only the first video or the second video in the first merged video. The first bullet screen information sent by the audience watching the first video and the second video in the first merged video can be seen by the audience watching the second merged video regardless of the selection of the watching mode. The first bullet screen information sent by the audience watching the first video in the first merged video can be seen by the audience watching the second merged video only when the audience selects to watch the first video alone. The first bullet screen information sent by the audience watching the second video in the first merged video can be seen by the audience watching the second merged video only when the audience selects to watch the second video alone.

[0085] Similarly, the second bullet screen information sent by the audience watching the first video and the second video in the second merged video can be seen by the audience watching the first merged video regardless of the selection of the watching mode. The second bullet screen information sent by the audience watching the first video in the second merged video can be seen by the audience watching the first merged video only when the audience selects to watch the first video alone. The second bullet screen information sent by the audience watching the second video in the second merged video can be seen by the audience watching the first merged video only when the audience selects to watch the second video alone.

[0086] Corresponding to the above method embodiments, the embodiments of the present application provide a video processing device, which is arranged on a server, as shown in the figure, the device comprises: Figure 6

[0087] A video identification module 61 is configured to identify a first video and a second video; wherein the first video and the second video are uploaded by different accounts, and the video content of the first video is associated with the video content of the second video;

[0088] A video merging module 62 is configured to insert the second video into a first designated video frame of the first video to obtain a first merged video; and insert the first video into a second designated video frame of the second video to obtain a second merged video.

[0089] A video sending module 63 is configured to send the first merged video and the second merged video to a client, and replace the first video with the first merged video and replace the second video with the second merged video through the client.

[0090] In this way, by identifying and merging the associated first video and second video, the first video and the second video are replaced by the corresponding merged video, and the audience can watch the two different and associated first video and second video by watching the merged video on the client, without switching back and forth, reducing the operation complexity, improving the video watching efficiency, and further improving the user experience.

[0091] The above server comprises a plurality of videos; and the video identification module is further configured to identify a first video comprising content of initiating a target task and a second video comprising content of executing the target task from the plurality of videos.

[0092] The video identification module is further configured to identify an initial video comprising content of executing the target task from the plurality of videos; if the initial video is multiple, and a target account is specified in the content of initiating the target task, determine whether the target account corresponding video is included in the initial video; if yes, determine the target account corresponding video as the second video; if no, determine the specified initial video in the initial video as the second video.

[0093] The first video comprises the content of initiating the target task; the second video comprises the content of executing the target task; and the device further comprises a designated video frame determination module configured to determine a first designated video frame of the first video according to the content of initiating the target task; and determine a second designated video frame of the second video according to the content of executing the target task.

[0094] ​The specified video frame determination module is further configured to: identify audio initiating the target task from audio of the first video, determine at least one video frame corresponding to the audio initiating the target task; and determine a last video frame of the at least one video frame as the first specified video frame.

[0095] The specified video frame determination module is further configured to: identify audio executing the target task from audio of the second video, determine at least one video frame corresponding to the audio executing the target task; and determine a last video frame of the at least one video frame as the second specified video frame.

[0096] The device further includes a scene picture updating module configured to: obtain a first scene picture in the first video and a second scene picture in the second video; if the first scene picture and the second scene picture are scene information in the same scene, perform merging processing on the first scene picture and the second scene picture to obtain a target scene picture; and update the first scene picture and the second scene picture to the target scene picture.

[0097] The device further includes a first specified bullet screen information sending module configured to: in response to receiving first specified bullet screen information for the first merged video sent by the first client, send the first specified bullet screen information to the second client; wherein if the first specified bullet screen information is bullet screen information received by the first client when playing the first video and the second video in the first merged video, the first specified bullet screen information is displayed in the second merged video by the second client in response to playing the second merged video; and if the first specified bullet screen information is bullet screen information received by the first client when playing the first video or the second video in the first merged video, the first specified bullet screen information is displayed in the first video or the second video in the second merged video by the second client in response to playing the first video or the second video in the second merged video.

[0098] The device further includes a second specified bullet screen information sending module configured to: in response to receiving second specified bullet screen information for the second merged video sent by the first client, send the second specified bullet screen information to the second client; wherein if the second specified bullet screen information is bullet screen information received by the first client when playing the first video and the second video in the second merged video, the second specified bullet screen information is displayed in the first merged video by the second client in response to playing the first merged video; and if the second specified bullet screen information is bullet screen information received by the first client when playing the first video or the second video in the second merged video, the second specified bullet screen information is displayed in the first video or the second video in the first merged video by the second client in response to playing the first video or the second video in the first merged video.

[0099] The video processing device provided by the embodiment of the present application has the same technical features as the video processing method provided by the above-mentioned embodiment, and can solve the same technical problem and achieve the same technical effect.

[0100] Corresponding to the method embodiment, the embodiment of the present application provides a video processing device, which is arranged on a client, as shown in the figure, the device comprises: Figure 7

[0101] The video replacing module 71 is configured to replace the first video with the first merged video and replace the second video with the second merged video in response to receiving the first merged video and the second merged video sent by the server; wherein the first video and the second video are uploaded by different accounts, and the video content of the first video is associated with the video content of the second video;

[0102] The first merged video playing module 72 is configured to play the first merged video in response to a playing operation on the first merged video.

[0103] The information prompting module 73 is configured to pause playing the first merged video and display the first prompt information in response to playing to the first specified video frame; the first prompt information is used to indicate that the second video is about to be played.

[0104] The second video playing module 74 is configured to continue playing the second video after the first specified video frame in response to a playing instruction of the second video; wherein the first merged video and the second merged video are determined by: identifying the first video and the second video through the server; wherein the first video and the second video are uploaded by different accounts, and the video content of the first video is associated with the video content of the second video; inserting the second video into the first specified video frame of the first video to obtain the first merged video frame; and inserting the first video into the second specified video frame of the second video to obtain the second merged video frame.

[0105] In this way, by identifying and merging the associated first video and the second video, the first video and the second video are replaced by the corresponding first merged video and the second merged video, so that the audience can watch the two different and associated first video and second video by watching the first merged video or the second merged video on the client, without switching back and forth, reducing the operation complexity, improving the video watching efficiency, and further improving the user experience.

[0106] The first video includes the content of initiating the target task, and the second video includes the content of performing the target task; if the account uploading the second video is the target account specified by the first video, the first prompt information is further used to indicate that the target account has completed the target task; if the account uploading the second video is not the target account specified by the first video, the first prompt information is further used to indicate that the target account has not completed the target task. ​

[0107] The first combined video playing module is further configured to: play the first video in response to a playing instruction of the first video in the first combined video; and play the second video in response to a playing instruction of the second video in the first combined video.

[0108] The device further comprises a second combined video playing module configured to: play the second combined video in response to a playing operation of the second combined video; pause playing the second combined video and display second prompt information in response to playing to the second specified video frame; the second prompt information is used to indicate that the first video is about to be played; and continue playing the first video after the second specified video frame in response to a playing instruction of the first video.

[0109] The second combined video playing module is further configured to: play the first video in response to a playing instruction of the first video in the second combined video; and play the second video in response to a playing instruction of the second video in the second combined video.

[0110] The device further comprises a first target bullet screen information first display module configured to: display the first target bullet screen information in the first combined video in response to playing the first video and the second video in the first combined video and an uploading operation of the first target bullet screen information; and display the first target bullet screen information in the second combined video in response to playing the second combined video.

[0111] The device further comprises a first target bullet screen information second display module configured to: display the first target bullet screen information in the first video or the second video in the first combined video in response to playing the first video or the second video in the first combined video and an uploading operation of the first target bullet screen information; and display the first target bullet screen information in the first video or the second video in the second combined video in response to playing the first video or the second video in the second combined video.

[0112] The device further comprises a second target bullet screen information first display module configured to: display the second target bullet screen information in the second combined video in response to playing the first video and the second video in the second combined video and an uploading operation of the second target bullet screen information; and display the first target bullet screen information in the first combined video in response to playing the first combined video.

[0113] The device further comprises a second target bullet screen information second display module configured to: display the first target bullet screen information in the first video or the second video in the second combined video in response to playing the first video or the second video in the second combined video and an uploading operation of the first target bullet screen information; and display the second target bullet screen information in the first video or the second video in the first combined video in response to playing the first video or the second video in the first combined video.

[0114] The video processing apparatus provided by the embodiments has the same technical features as the video processing method provided by the above embodiments, and can solve the same technical problems and achieve the same technical effects.

[0115] The embodiments also provide an electronic device including a processor and a memory. The memory stores machine executable instructions capable of being executed by the processor. The processor executes the machine executable instructions to implement the video processing method. The electronic device can be a server or a terminal device.

[0116] Referring to Figure 8 The electronic device includes a processor 100 and a memory 101. The memory 101 stores machine executable instructions capable of being executed by the processor 100. The processor 100 executes the machine executable instructions to implement the video processing method.

[0117] Further, Figure 8 The electronic device also includes a bus 102 and a communication interface 103. The processor 100, the communication interface 103 and the memory 101 are connected through the bus 102.

[0118] The memory 101 can include a high-speed random access memory (RAM) and can also include a non-volatile memory such as at least one disk memory. The communication between the system network element and at least one other network element is realized through at least one communication interface 103 (which can be wired or wireless). The communication can be realized through the Internet, a wide area network, a local area network, a metropolitan area network, etc. The bus 102 can be an ISA bus, a PCI bus, an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the convenience of representation, Figure 8 Only one bidirectional arrow is used in the figure to represent the bus, but it does not mean that there is only one bus or only one type of bus.

[0119] The processor 100 can be an integrated circuit chip with processing capability. In the implementation process, each step of the above method can be completed by the integrated logic circuit of hardware in the processor 100 or the instruction in the form of software. The processor 100 described above can be a general processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. Each method, step and logic block disclosed in the embodiment of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in combination with the embodiment of the present application can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module can be located in a random access memory, a flash memory, a read only memory, a programmable read only memory or an electrically erasable programmable memory, a register or other mature storage medium in the art. The storage medium is located in the storage 101, and the processor 100 reads the information in the storage 101 and combines the hardware to complete the steps of the method of the above embodiment.

[0120] The processor in the above electronic device can implement the following operations in the above video processing method by executing machine executable instructions:

[0121] Taking the server as the execution subject:

[0122] Identify the first video and the second video; wherein the first video and the second video are uploaded by different accounts, and the video content of the first video is associated with the second video; insert the second video into the first specified video frame of the first video to obtain the first merged video; insert the first video into the second specified video frame of the second video to obtain the second merged video; send the first merged video and the second merged video to the client, replace the first video with the first merged video and replace the second video with the second merged video through the client.

[0123] The above server includes a plurality of videos; the step of identifying the first video and the second video includes: identifying the first video including the content of initiating the target task from the plurality of videos, and identifying the second video including the content of executing the target task.

[0124] The step of identifying the second video including the content of performing the target task from the plurality of videos includes: identifying an initial video including the content of performing the target task from the plurality of videos; if the initial video is multiple, and the target account is specified in the content of initiating the target task, determining whether the video corresponding to the target account is included in the initial video; if yes, determining the video corresponding to the target account as the second video; if no, determining the specified initial video in the initial video as the second video.

[0125] The first video includes the content of initiating the target task, and the second video includes the content of performing the target task. Before the steps of inserting the second video into the first specified video frame of the first video to obtain the first merged video frame, and inserting the first video into the second specified video frame of the second video to obtain the second merged video frame, the method further includes: determining the first specified video frame of the first video according to the content of initiating the target task; and determining the second specified video frame of the second video according to the content of performing the target task.

[0126] The step of determining the first specified video frame of the first video according to the content of initiating the target task includes: identifying the audio of initiating the target task from the audio of the first video, determining at least one video frame corresponding to the audio of initiating the target task; and determining the last video frame of the at least one video frame as the first specified video frame.

[0127] The step of determining the second specified video frame of the second video according to the content of performing the target task includes: identifying the audio of performing the target task from the audio of the second video, determining at least one video frame corresponding to the audio of performing the target task; and determining the last video frame of the at least one video frame as the second specified video frame.

[0128] Before the steps of inserting the second video into the first specified video frame of the first video to obtain the first merged video frame, and inserting the first video into the second specified video frame of the second video to obtain the second merged video frame, the method further includes: obtaining a first scene picture in the first video and a second scene picture in the second video; if the first scene picture and the second scene picture are scene information under the same scene, performing merging processing on the first scene picture and the second scene picture to obtain a target scene picture; and updating the first scene picture and the second scene picture to the target scene picture.

[0129] After the step of sending the first merged video and the second merged video to the client, the method further comprises: in response to receiving the first specified comment information sent by the first client for the first merged video, sending the first specified comment information to the second client; wherein, if the first specified comment information is the comment information received by the first client when playing the first video and the second video in the first merged video, the first specified comment information is displayed in the second merged video by the second client in response to playing the second merged video; if the first specified comment information is the comment information received by the first client when playing the first video or the second video in the first merged video, the first specified comment information is displayed in the first video or the second video in the second merged video by the second client in response to playing the first video or the second video in the second merged video.

[0130] After the step of sending the first merged video and the second merged video to the client, the method further comprises: in response to receiving the second specified comment information sent by the first client for the second merged video, sending the second specified comment information to the second client; wherein, if the second specified comment information is the comment information received by the first client when playing the first video and the second video in the second merged video, the second specified comment information is displayed in the first merged video by the second client in response to playing the first merged video; if the second specified comment information is the comment information received by the first client when playing the first video or the second video in the second merged video, the second specified comment information is displayed in the first video or the second video in the first merged video by the second client in response to playing the first video or the second video in the first merged video.

[0131] With the client as the execution subject:

[0132] In response to receiving the first merged video and the second merged video sent by the server, the first video is replaced by the first merged video, and the second video is replaced by the second merged video; wherein, the first video and the second video are uploaded by different accounts, and the video content of the first video is associated with the video content of the second video; in response to a playing operation for the first merged video, the first merged video is played; in response to playing to the first specified video frame, the playing of the first merged video is paused, and the first prompt information is displayed; the first prompt information is used to indicate that the second video is about to be played; in response to a playing instruction of the second video, the second video is continued to be played after the first specified video frame; wherein, the first merged video and the second merged video are determined by: identifying the first video and the second video by the server; wherein, the first video and the second video are uploaded by different accounts, and the video content of the first video is associated with the video content of the second video; inserting the second video into the first specified video frame of the first video to obtain the first merged video frame; inserting the first video into the second specified video frame of the second video to obtain the second merged video frame.

[0133] The first video includes content of initiating the target task, and the second video includes content of performing the target task; if an account uploading the second video is a target account specified by the first video, the first prompt information is further used for indicating that the target account has completed the target task; if the account uploading the second video is not the target account specified by the first video, the first prompt information is further used for indicating that the target account has not completed the target task.

[0134] The method further includes: in response to a play instruction of the first video in the first merged video, playing the first video; and in response to a play instruction of the second video in the first merged video, playing the second video.

[0135] The method further includes: in response to a play operation on the second merged video, playing the second merged video; in response to playing to a second specified video frame, pausing playing of the second merged video and displaying second prompt information; the second prompt information is used for indicating that the first video is about to be played; and in response to a play instruction of the first video, continuing to play the first video after the second specified video frame.

[0136] The method further includes: in response to a play instruction of the first video in the second merged video, playing the first video; and in response to a play instruction of the second video in the second merged video, playing the second video.

[0137] The method further includes: in response to playing of the first video and the second video in the first merged video and in response to an upload operation of the first target bullet screen information, displaying the first target bullet screen information in the first merged video; and in response to playing of the second merged video, displaying the first target bullet screen information in the second merged video.

[0138] The method further includes: in response to playing of the first video or the second video in the first merged video and in response to an upload operation of the first target bullet screen information, displaying the first target bullet screen information in the first video or the second video in the first merged video; and in response to playing of the first video or the second video in the second merged video, displaying the first target bullet screen information in the first video or the second video in the second merged video.

[0139] The method further includes: in response to playing of the first video and the second video in the second merged video and in response to an upload operation of the second target bullet screen information, displaying the second target bullet screen information in the second merged video; and in response to playing of the first merged video, displaying the first target bullet screen information in the first merged video.

[0140] The method further includes: in response to playing the first video or the second video in the second merged video, and in response to an uploading operation of the second target barrage information, displaying the first target barrage information in the first video or the second video in the second merged video; in response to playing the first video or the second video in the first merged video, displaying the second target barrage information in the first video or the second video in the first merged video.

[0141] In this way, by recognizing and merging the associated first video and second video, the first video and the second video are replaced by the corresponding merged video, so that the audience can watch the two different and associated first video and second video by watching the merged video on the client, without switching back and forth, reducing the operation complexity, improving the video watching efficiency, and further improving the user experience.

[0142] The embodiment also provides a machine readable storage medium, which stores machine executable instructions. When the machine executable instructions are invoked and executed by a processor, the machine executable instructions cause the processor to implement the video processing method.

[0143] The machine executable instructions stored in the machine readable storage medium can implement the following operations in the video processing method by executing the machine executable instructions.

[0144] Taking a server as an execution subject:

[0145] recognizing a first video and a second video; wherein the first video and the second video are uploaded by different accounts, and video content of the first video is associated with video content of the second video; inserting the second video into a first specified video frame of the first video to obtain a first merged video; inserting the first video into a second specified video frame of the second video to obtain a second merged video; and sending the first merged video and the second merged video to a client, and replacing the first video with the first merged video and replacing the second video with the second merged video through the client.

[0146] The server includes a plurality of videos; and the step of recognizing the first video and the second video includes: from the plurality of videos, recognizing a first video including content of initiating a target task, and recognizing a second video including content of executing the target task.

[0147] The step of recognizing the second video including the content of executing the target task from the plurality of videos includes: from the plurality of videos, recognizing an initial video including the content of executing the target task; if the initial video is multiple, and a target account is specified in the content of initiating the target task, determining whether the target account corresponding video is included in the initial video; if yes, determining the target account corresponding video as the second video; if no, determining a specified initial video in the initial video as the second video.

[0148] The first video includes content of initiating the target task; the second video includes content of performing the target task; the first specified video frame of the first video is determined according to the content of initiating the target task; the second specified video frame of the second video is determined according to the content of performing the target task; the second video is inserted into the first specified video frame of the first video to obtain a first merged video frame; the first video is inserted into the second specified video frame of the second video to obtain a second merged video frame.

[0149] The first specified video frame of the first video is determined according to the content of initiating the target task, including: identifying audio of initiating the target task from audio of the first video, and determining at least one video frame corresponding to the audio of initiating the target task; and determining a last video frame of the at least one video frame as the first specified video frame.

[0150] The second specified video frame of the second video is determined according to the content of performing the target task, including: identifying audio of performing the target task from audio of the second video, and determining at least one video frame corresponding to the audio of performing the target task; and determining a last video frame of the at least one video frame as the second specified video frame.

[0151] Before the steps of inserting the second video into the first specified video frame of the first video to obtain a first merged video frame, and inserting the first video into the second specified video frame of the second video to obtain a second merged video frame, the method further includes: obtaining a first scene picture in the first video and a second scene picture in the second video; if the first scene picture and the second scene picture are scene information in the same scene, performing merging processing on the first scene picture and the second scene picture to obtain a target scene picture; and updating the first scene picture and the second scene picture to the target scene picture.

[0152] After the step of sending the first merged video and the second merged video to the client, the method further includes: in response to receiving first specified comment information for the first merged video sent by the first client, sending the first specified comment information to the second client; wherein if the first specified comment information is comment information received by the first client when playing the first video and the second video in the first merged video, the first specified comment information is displayed in the second merged video by the second client in response to playing the second merged video; if the first specified comment information is comment information received by the first client when playing the first video or the second video in the first merged video, the first specified comment information is displayed in the first video or the second video in the second merged video by the second client in response to playing the first video or the second video in the second merged video.

[0153] After the step of sending the first merged video and the second merged video to the client, the method further comprises: in response to receiving the second specified BGM information sent by the first client for the second merged video, sending the second specified BGM information to the second client; wherein, if the second specified BGM information is the BGM information received by the first client when playing the first video and the second video in the second merged video, the second specified BGM information is displayed in the first merged video by the second client in response to playing the first merged video; if the second specified BGM information is the BGM information received by the first client when playing the first video or the second video in the second merged video, the second specified BGM information is displayed in the first video or the second video in the first merged video by the second client in response to playing the first video or the second video in the first merged video.

[0154] With the client as the execution subject:

[0155] In response to receiving the first merged video and the second merged video sent by the server, the first video is replaced by the first merged video, and the second video is replaced by the second merged video; wherein, the first video and the second video are uploaded by different accounts, and the video content of the first video is associated with the video content of the second video; in response to a play operation for the first merged video, the first merged video is played; in response to playing to the first specified video frame, the playing of the first merged video is paused, and the first prompt information is displayed; the first prompt information is used to indicate that the second video is about to be played; in response to a play instruction of the second video, the second video is continued to be played after the first specified video frame; wherein, the first merged video and the second merged video are determined by: identifying the first video and the second video by the server; wherein, the first video and the second video are uploaded by different accounts, and the video content of the first video is associated with the video content of the second video; inserting the second video into the first specified video frame of the first video to obtain the first merged video frame; inserting the first video into the second specified video frame of the second video to obtain the second merged video frame.

[0156] The first video includes content of initiating a target task, and the second video includes content of executing the target task; if the account uploading the second video is a target account specified by the first video, the first prompt information is further used to indicate that the target account has completed the target task; if the account uploading the second video is not the target account specified by the first video, the first prompt information is further used to indicate that the target account has not completed the target task.

[0157] After the step of playing the first merged video in response to a play operation for the first merged video, the method further comprises: in response to a play instruction of the first video in the first merged video, playing the first video; in response to a play instruction of the second video in the first merged video, playing the second video.

[0158] After the step of replacing the first video with the first merged video and replacing the second video with the second merged video in response to receiving the first merged video and the second merged video sent by the server, the method further comprises: playing the second merged video in response to a play operation on the second merged video; pausing playing the second merged video and displaying second prompt information in response to playing to the second specified video frame; the second prompt information is used to indicate that the first video is about to be played; and playing the first video after the second specified video frame in response to a play instruction of the first video.

[0159] After the step of playing the second merged video, the method further comprises: playing the first video in response to a play instruction of the first video in the second merged video; and playing the second video in response to a play instruction of the second video in the second merged video.

[0160] The method further comprises: displaying the first target bullet screen information in the first merged video in response to playing the first video and the second video in the first merged video and an upload operation on the first target bullet screen information; and displaying the first target bullet screen information in the second merged video in response to playing the second merged video.

[0161] The method further comprises: displaying the first target bullet screen information in the first video or the second video in the first merged video in response to playing the first video or the second video in the first merged video and an upload operation on the first target bullet screen information; and displaying the first target bullet screen information in the first video or the second video in the second merged video in response to playing the first video or the second video in the second merged video.

[0162] The method further comprises: displaying the second target bullet screen information in the second merged video in response to playing the first video and the second video in the second merged video and an upload operation on the second target bullet screen information; and displaying the first target bullet screen information in the first merged video in response to playing the first merged video.

[0163] The method further comprises: displaying the first target bullet screen information in the first video or the second video in the second merged video in response to playing the first video or the second video in the second merged video and an upload operation on the second target bullet screen information; and displaying the second target bullet screen information in the first video or the second video in the first merged video in response to playing the first video or the second video in the first merged video.

[0164] In this way, by identifying and merging the associated first video and second video, the first video and the second video are replaced by the corresponding merged video, so that the audience can watch the two different and associated first video and second video by watching the merged video on the client, without switching back and forth, reducing the operation complexity, improving the video watching efficiency, and further improving the user experience.

[0165] The computer program product of the video processing method, device and system provided by the embodiment of the application comprises a computer readable storage medium storing program codes, the program codes comprise instructions for executing the method described in the foregoing method embodiments, and specific implementation can be referred to the method embodiments, which will not be described herein.

[0166] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and device described above can refer to the corresponding process in the foregoing method embodiments, which will not be described herein.

[0167] In addition, in the description of the embodiment of the application, unless otherwise explicitly specified and limited, the terms "mounting", "connection", "connecting" should be understood in a broad sense, for example, can be fixed connection, can also be detachable connection, or integrally connected; can be mechanical connection, can also be electrical connection; can be directly connected, can also be indirectly connected through an intermediate medium, can be the communication inside two elements. For those skilled in the art, the specific meaning of the above terms in the application can be understood according to the specific circumstances.

[0168] If the functions are realized in the form of software function units and sold or used as independent products, they can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the application or the part of the technical solutions that essentially contribute to the prior art or the part of the technical solutions can be embodied in the form of software products. The computer software product is stored in a storage medium and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiments of the application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.

[0169] In the description of the application, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer" and the like indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the application and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a particular orientation, be constructed and operated in a particular orientation, therefore cannot be understood as a limitation on the application. In addition, the terms "first", "second", "third" are only for the purpose of description, and cannot be understood as indicating or implying relative importance.

[0170] Finally, it should be noted that the above examples are merely specific embodiments of the present application, and are used to illustrate the technical solutions of the present application, but are not intended to limit the present application. The protection scope of the present application is not limited thereto. Although the present application has been described in detail with reference to the foregoing examples, those skilled in the art should understand that any person skilled in the art can still modify or easily think of changes to the technical solutions recorded in the foregoing examples, or make equivalent replacements to some of the technical features, within the technical range disclosed by the present application. These modifications, changes or replacements do not cause the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A video processing method, characterized in that, The method is applied to the server side, and the method includes: Identify a first video and a second video; wherein the first video and the second video are uploaded by different accounts, and the video content of the first video and the second video are associated. The second video is inserted into the first specified video frame of the first video to obtain the first merged video; the first video is inserted into the second specified video frame of the second video to obtain the second merged video. The first merged video and the second merged video are sent to the client. Through the client, the first video is replaced with the first merged video, and the second video is replaced with the second merged video. In response to a playback operation for the first merged video, the first merged video is played. In response to playback reaching a first specified video frame, playback of the first merged video is paused, and a first prompt message is displayed. The first prompt message indicates that the second video is about to be played. In response to a playback command for the second video, playback of the second video continues after the first specified video frame. Wherein, the first designated video frame is any one of the following: the video frame with the largest number of frames in the first video, the video frame corresponding to the first designated scene or the first designated audio in the first video. The second specified video frame is any one of the following: the video frame with the smallest or largest number of frames in the second video, the video frame corresponding to the second specified scene or the second specified audio of the second video frame.

2. The method according to claim 1, characterized in that, The server includes multiple videos; The steps for identifying the first video and the second video include: From the plurality of videos, a first video containing content that initiates the target task is identified, and a second video containing content that executes the target task is identified.

3. The method according to claim 2, characterized in that, The step of identifying a second video from the plurality of videos that includes content performing the target task includes: From the plurality of videos, identify an initial video that includes content related to performing the target task; If there are multiple initial videos, and the content of the target task specifies a target account, determine from the initial videos whether the video corresponding to the target account is included; If yes, the video corresponding to the target account is identified as the second video; if no, the specified initial video in the initial video is identified as the second video.

4. The method according to claim 1, characterized in that, The first video includes content on initiating the target task; the second video includes content on executing the target task. The second video is inserted into the first specified video frame of the first video to obtain the first merged video frame; Before the step of inserting the first video into the second specified video frame of the second video to obtain the second merged video frame, the method further includes: Based on the content of the initiated target task, determine the first designated video frame of the first video; Based on the content of performing the target task, determine the second designated video frame of the second video.

5. The method according to claim 4, characterized in that, The step of determining the first specified video frame of the first video based on the content of the initiated target task includes: Identify the audio that initiates the target task from the audio of the first video, and determine at least one video frame corresponding to the audio that initiates the target task; The last video frame of the at least one video frame is determined as the first designated video frame.

6. The method according to claim 4, characterized in that, The step of determining the second designated video frame of the second video based on the content of performing the target task includes: Identify the audio of performing the target task from the audio of the second video, and determine at least one video frame corresponding to the audio of performing the target task; The last video frame of the at least one video frame is determined as the second designated video frame.

7. The method according to claim 1, characterized in that, Before the step of inserting the second video into the first designated video frame of the first video to obtain the first merged video frame; and before the step of inserting the first video into the second designated video frame of the second video to obtain the second merged video frame, the method further includes: Acquire the first scene frame from the first video and the second scene frame from the second video; If the first scene image and the second scene image are scene information under the same scene, the first scene image and the second scene image are merged to obtain the target scene image; Update the first scene image and the second scene image to the target scene image.

8. The method according to claim 1, characterized in that, After the step of sending the first merged video and the second merged video to the client, the method further includes: In response to receiving a first specified bullet screen message for the first merged video from the first client, the first specified bullet screen message is sent to the second client; Wherein, if the first specified bullet screen information is the bullet screen information received by the first client when playing the first video and the second video in the first merged video, the second client responds to playing the second merged video and displays the first specified bullet screen information in the second merged video; If the first specified bullet screen information is received by the first client when playing the first or second video in the first merged video, the second client responds by playing the first or second video in the second merged video and displays the first specified bullet screen information in the first or second video in the second merged video.

9. The method according to claim 1, characterized in that, After the step of sending the first merged video and the second merged video to the client, the method further includes: In response to receiving the second specified bullet screen information for the second merged video sent by the first client, the second specified bullet screen information is sent to the second client; Wherein, if the second specified bullet screen information is the bullet screen information received by the first client when playing the first video and the second video in the second merged video, the second client responds to playing the first merged video and displays the second specified bullet screen information in the first merged video; If the second specified bullet screen information is the bullet screen information received by the first client when playing the first video or the second video in the second merged video, the second client responds by displaying the second specified bullet screen information in the first video or the second video in the first merged video when playing the first video or the second video in the first merged video.

10. A video processing method, characterized in that, The method is applied to a client, and the method includes: In response to receiving a first merged video and a second merged video sent by the server, the first video is replaced with the first merged video and the second video is replaced with the second merged video; wherein the first video and the second video are uploaded by different accounts, and the video content of the first video and the second video are associated. In response to a playback operation on the first merged video, play the first merged video; In response to playing to the first specified video frame, the playback of the first merged video is paused, and a first prompt message is displayed; the first prompt message is used to indicate that the second video is about to be played. In response to the playback command of the second video, the second video continues to play after the first specified video frame; The first merged video and the second merged video are determined in the following manner: The server identifies a first video and a second video; wherein the first video and the second video are uploaded by different accounts, and the video content of the first video and the second video are associated; the second video is inserted into a first designated video frame of the first video to obtain a first merged video frame; the first video is inserted into a second designated video frame of the second video to obtain a second merged video frame; Wherein, the first designated video frame is any one of the following: the video frame with the largest number of frames in the first video, the video frame corresponding to the first designated scene or the first designated audio in the first video. The second specified video frame is any one of the following: the video frame with the smallest or largest number of frames in the second video, the video frame corresponding to the second specified scene or the second specified audio of the second video frame.

11. The method according to claim 10, characterized in that, The first video includes content on initiating the target task, and the second video includes content on executing the target task; If the account that uploaded the second video is the target account specified for the first video, the first prompt message is also used to indicate that the target account has completed the target task; If the account that uploaded the second video is not the target account specified in the first video, the first prompt message is also used to indicate that the target account has not completed the target task.

12. The method according to claim 10, characterized in that, After the step of playing the first merged video in response to a playback operation on the first merged video, the method further includes: In response to the playback command of the first video in the first merged video, the first video is played; In response to the playback command of the second video in the first merged video, the second video is played.

13. The method according to claim 10, characterized in that, In response to receiving a first merged video and a second merged video sent by the server, after the steps of replacing the first video with the first merged video and the second video with the second merged video, the method further includes: In response to a playback operation on the second merged video, play the second merged video; In response to playing to the second specified video frame, the playback of the second merged video is paused, and a second prompt message is displayed; the second prompt message is used to indicate that the first video is about to be played. In response to the playback command of the first video, the first video continues to play after the second specified video frame.

14. The method according to claim 13, characterized in that, After the step of playing the second merged video, the method further includes: In response to a playback command for the first video in the second merged video, the first video is played; In response to a playback command for the second video in the second merged video, the second video is played.

15. The method according to claim 10, characterized in that, The method further includes: In response to playing the first video and the second video in the first merged video, and for the upload operation of the first target bullet screen information, the first target bullet screen information is displayed in the first merged video; In response to playing the second merged video, the first target bullet screen information is displayed in the second merged video.

16. The method according to claim 10, characterized in that, The method further includes: In response to playing the first video in the first merged video and the upload operation for the first target bullet screen information, the first target bullet screen information is displayed in the first video in the first merged video; in response to playing the first video in the second merged video, the first target bullet screen information is displayed in the first video in the second merged video. In response to playing the second video in the first merged video and the upload operation for the first target bullet screen information, the first target bullet screen information is displayed in the second video in the first merged video; in response to playing the second video in the second merged video, the first target bullet screen information is displayed in the second video in the second merged video.

17. The method according to claim 10, characterized in that, The method further includes: In response to playing the first and second videos in the second merged video, and for the upload operation of the second target bullet screen information, the second target bullet screen information is displayed in the second merged video; In response to playing the first merged video, the second target bullet screen information is displayed in the first merged video.

18. The method according to claim 10, characterized in that, The method further includes: In response to playing the first video in the second merged video and the upload operation for the second target bullet screen information, the second target bullet screen information is displayed in the first video in the second merged video; in response to playing the first video in the first merged video, the second target bullet screen information is displayed in the first video in the first merged video. In response to playing the second video in the second merged video and the upload operation for the second target bullet screen information, the second target bullet screen information is displayed in the second video in the second merged video; in response to playing the second video in the first merged video, the second target bullet screen information is displayed in the second video in the first merged video.

19. A video processing apparatus, characterized in that, The device is located on the server side, and the device includes: A video recognition module is used to identify a first video and a second video; wherein the first video and the second video are uploaded by different accounts, and the video content of the first video and the second video are associated. The video merging module is used to insert the second video into the first specified video frame of the first video to obtain a first merged video; and to insert the first video into the second specified video frame of the second video to obtain a second merged video. A video sending module is configured to send the first merged video and the second merged video to a client, through which the client replaces the first video with the first merged video and the second video with the second merged video; in response to a playback operation for the first merged video, play the first merged video; in response to playback reaching a first specified video frame, pause playback of the first merged video and display a first prompt message; the first prompt message indicates that the second video is about to be played; in response to a playback command for the second video, continue playback of the second video after the first specified video frame; Wherein, the first designated video frame is any one of the following: the video frame with the largest number of frames in the first video, the video frame corresponding to the first designated scene or the first designated audio in the first video. The second specified video frame is any one of the following: the video frame with the smallest or largest number of frames in the second video, the video frame corresponding to the second specified scene or the second specified audio of the second video frame.

20. A video processing apparatus, characterized in that, The device is located on the client side, and the device includes: The video replacement module is used to replace the first video with the first merged video and the second video with the second merged video in response to receiving a first merged video and a second merged video sent by the server; wherein the first video and the second video are uploaded by different accounts, and the video content of the first video and the second video are associated. A merged video playback module is used to respond to a playback operation for the first merged video and play the first merged video; The information prompt module is used to pause the playback of the first merged video and display a first prompt message in response to the playback reaching the first specified video frame; the first prompt message is used to indicate that the second video is about to be played. The second video playback module is configured to respond to the playback command of the second video and continue playing the second video after the first specified video frame; The first merged video and the second merged video are determined in the following manner: The server identifies a first video and a second video; wherein the first video and the second video are uploaded by different accounts, and the video content of the first video and the second video are associated; the second video is inserted into a first designated video frame of the first video to obtain a first merged video frame; the first video is inserted into a second designated video frame of the second video to obtain a second merged video frame; Wherein, the first designated video frame is any one of the following: the video frame with the largest number of frames in the first video, the video frame corresponding to the first designated scene or the first designated audio in the first video. The second specified video frame is any one of the following: the video frame with the smallest or largest number of frames in the second video, the video frame corresponding to the second specified scene or the second specified audio of the second video frame.

21. An electronic device, characterized in that, The device includes a processor and a memory, the memory storing computer-executable instructions that can be executed by the processor, the processor executing the computer-executable instructions to implement the video processing method according to any one of claims 1-9, or to implement the video processing method according to any one of claims 10-18.

22. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when invoked and executed by a processor, cause the processor to implement the video processing method according to any one of claims 1-9, or the video processing method according to any one of claims 10-18.

Citation Information

Patent Citations

  • Microphone connection live broadcast method, device and system

    CN111836074A

  • Video playing method and device, terminal and storage medium

    CN112470482A