Video processing method and device, electronic equipment and computer readable storage medium

By obtaining and synthesizing relevant information of short drama videos in real time in the player, generating merge prompt information and synthesizing videos, the frequent episode cutting problem caused by the large number of short dramas is solved, and the user's immersive complete plot experience is achieved, which improves the User experience.

CN119110130APending Publication Date: 2024-12-10BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202411111749.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2024-12-10

AI Technical Summary

Technical Problem

When users watch short drama videos, due to too many episodes and frequent episodes, the user experience is poor. Traditional technology cannot effectively support merged playback, resulting in users being unable to immersively experience the complete plot.

Method used

Get information about the target video and related initial video in real time in the player, generate merge prompt information, and respond to the user's trigger operation to synthesize and play the synthetic video, avoid frequent set cutting and improve user experience.

Benefits of technology

Through the synthetic video function, users can immerse themselves in the complete plot, which improves the user experience, avoids the problem of frequent set cutting, and enhances the coherence and convenience of viewing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119110130A_ABST
    Figure CN119110130A_ABST
Patent Text Reader

Abstract

The invention provides a video processing method and device, and relates to the technical field of computers, in particular to the technical fields of large models, deep learning, image processing and the like. According to the specific implementation scheme, a target video is played in a player; obtaining an initial video related to the target video and video information of the target video; generating and sending merging prompt information based on the video information; and in response to the received triggering operation on the merging prompt information, synthesizing the target video and the initial video, and obtaining and playing the synthesized video, thereby improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computers, specifically to technical fields such as large models, deep learning, and image processing, and in particular to a video processing method and device, an electronic device, a computer-readable storage medium, and a computer program product. Background Art

[0002] The characteristics of short dramas are short duration of each episode and large number of episodes. When users watch short drama videos, there are too many episodes and the episodes are frequently switched. Some users will not be patient enough to wait for the switch between two adjacent episodes. Users who are interested in watching cannot experience all the short dramas smoothly, resulting in a poor user experience. Summary of the invention

[0003] The present disclosure provides a video processing method and apparatus, an electronic device, a computer-readable storage medium, and a computer program product.

[0004] According to a first aspect, a video processing method is provided, the method comprising: playing a target video in a player; acquiring an initial video related to the target video and video information of the target video; generating and sending merge prompt information based on the video information; in response to receiving a trigger operation for the merge prompt information, synthesizing the target video and the initial video, and obtaining and playing the synthesized video.

[0005] According to a second aspect, another video processing device is provided, which includes: a playback unit, configured to play a target video in a player; an acquisition unit, configured to acquire an initial video related to the target video and video information of the target video; a generation unit, configured to generate and send merge prompt information based on the video information; and a synthesis unit, configured to synthesize the target video and the initial video in response to receiving a trigger operation for the merge prompt information, and obtain and play the synthesized video.

[0006] According to a third aspect, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method described in any implementation manner of the first aspect.

[0007] According to a fourth aspect, a non-transitory computer-readable storage medium storing computer instructions is provided, where the computer instructions are used to cause a computer to execute the method described in any implementation of the first aspect.

[0008] According to a fifth aspect, a computer program product is provided, comprising a computer program, which implements the method described in any implementation manner of the first aspect when executed by a processor.

[0009] The video processing method and device provided by the embodiment of the present disclosure first play the target video in the player; secondly, obtain the initial video related to the target video and the video information of the target video; again, based on the video information, generate and send the merge prompt information; finally, in response to receiving a trigger operation for the merge prompt information, synthesize the target video and the initial video, and obtain and play the synthesized video. Thus, when the user plays the target initial video, based on the initial video related to the target video and the video information of the target video, the merge prompt information is generated, and the user can be provided with a merge function during the user's video playback; after receiving the trigger operation of the merge prompt information, the synthesized video is synthesized and played, so that the user can avoid frequent episode switching when playing the initial video in the file, and watch the synthesized video immersively, thereby improving the user experience.

[0010] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0012] Figure 1 is a flow chart of an embodiment of a video processing method according to the present disclosure;

[0013] Figure 2a This is a schematic diagram before the present disclosure obtains a synthesized video;

[0014] Figure 2b It is a schematic diagram of a composite video obtained in the present disclosure;

[0015] Figure 2c is a schematic diagram of the present invention after obtaining a synthesized initial video;

[0016] Figure 3 is a schematic diagram of a composite video disclosed herein;

[0017] Figure 4 is a flow chart of another embodiment of the video processing method disclosed herein;

[0018] Figure 5 It is a schematic diagram of the episode plot of some videos shown in the disclosure;

[0019] Figure 6 is a structural schematic diagram of an embodiment of a video processing device according to the present disclosure;

[0020] Figure 7 The block diagram is a block diagram of an electronic device for implementing the video processing method according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0021] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0022] The characteristics of short dramas are short episodes (such as 2 minutes) and many episodes (such as about 100 episodes). When watching short drama videos, users will lose patience if there are too many episodes and want to understand the plot directly. However, it is inefficient to apply for "video introduction summary" for each episode, which is a bad experience.

[0023] Some summary products in traditional technologies mainly support summarizing a single video episode, but the effect of summarizing entertainment videos is average, and there is no online player in traditional technologies that can directly support combined playback. If users want to play together, they need to obtain all video files, merge all video files, and finally play the merged file, which has a poor user experience.

[0024] Aiming at the defect that the online player in the traditional technology only supports single episode playback, the present disclosure proposes a video processing method, which can synthesize the video in real time when the user plays the video, thereby improving the user experience. Figure 1 A process 100 according to an embodiment of a video processing method of the present disclosure is shown. The video processing method comprises the following steps:

[0025] Step 101, play the target video in a player.

[0026] In this embodiment, the target video is a video played by a user, and the target video may be a video stored locally or a video stored on a server.

[0027] Step 102: Acquire an initial video related to a target video and video information of the target video.

[0028] In this embodiment, the initial video is a video related to the target video. The correlation can be placed in the same folder as the target video, or the correlation can be belonging to the same TV series as the target video. When the initial video and the target video are stored locally, the initial video is the original video placed in the folder, and the initial video can be placed by the user as needed; when the initial video and the target video are stored in different areas, the initial video is a plurality of short drama videos belonging to the same short drama story as the target video.

[0029] In this embodiment, when the initial video and the target video are stored locally, the target video and the initial video stored in the folder can be one or more. The video information of all videos placed in the folder can be obtained through the information of the folder itself. The video information is the information that represents all the videos in the folder. Specifically, the video information may include: video name, video length, video size, number of videos, video source, video frame, etc.

[0030] In the technical solution disclosed in the present invention, the collection, storage, use, processing, transmission, provision and disclosure of video information of the target video and the initial video are carried out after authorization and comply with relevant laws and regulations.

[0031] Step 103: Generate and send merge prompt information based on the video information.

[0032] In this embodiment, the merge prompt information is information used to detect whether the user has the intention to generate a composite video. The merge prompt information is displayed on the player. If the user clicks on the merge prompt information, it is determined that the user has the intention to merge the target video with the initial video; otherwise, it is determined that the user does not have the intention to merge the target video with the initial video.

[0033] In this embodiment, the display format of the merge prompt information is set based on design requirements, such as Figure 2a As shown, in Figure 2a In the video, the target video named 24.mp is played in the player, and the merge prompt in the player is: AI video merge | Enjoy the whole movie in one episode. Figure 2a In the example, the target video has a duration of 23 minutes and 45 seconds, and the current player has played 3 minutes and 45 seconds of the target video.

[0034] In this embodiment, for different video information, combined prompt information of different contents can be set, and the above step 103 includes: based on the video information, querying a preset video and prompt information correspondence table to obtain the combined prompt information. The video and prompt information correspondence table is a preset correspondence table between different video information and combined prompt information.

[0035] In this embodiment, the execution entity on which the video information processing method runs can send the merged prompt information to the player, so that the merged prompt information and the target video are displayed together in the player, and the display period of the merged prompt information is the playback period of the target video.

[0036] Step 104, in response to receiving a trigger operation for the merge prompt information, synthesize the target video and the initial video, and obtain and play the synthesized video.

[0037] In this embodiment, the trigger operation is used to indicate an operation requiring the content of the combined prompt information. The trigger operation may be an operation such as clicking or moving the combined prompt information.

[0038] In this embodiment, the above step 104 includes: detecting in real time whether there is a trigger operation for merging prompt information; if a trigger operation is detected, synthesizing the target video and the initial video, obtaining and playing the synthesized video; in response to not receiving a trigger operation, determining that there is no need to synthesize the target video and the initial video.

[0039] In this embodiment, the above-mentioned synthesis of the target video and the initial video to obtain the synthesized video includes: using a video file merging tool or video editing software to directly synthesize the target video and the initial video to obtain a synthesized video including the video content of the target video and the initial video.

[0040] In this embodiment, the composite video is an integral video, the video content of which includes the video content of the target video and the initial video. When each video in the target video and the initial video is an episode video, the composite video is a long video of all the episode video contents.

[0041] Optionally, when synthesizing the target video and the initial video, the intermediate prompt information can be directly displayed in the player playing the initial video, so as to determine the work currently being performed by the execution subject on which the video processing method is running through the intermediate prompt information. Specifically, when the user clicks Figure 2a After the merge prompt information in the above figure, the intermediate prompt information is displayed directly at the corresponding position of the merge prompt information. The intermediate prompt information is as follows: Figure 2b "AI video merging..." is shown in the video.

[0042] Optionally, after the synthesized video is obtained, the result prompt information can be directly displayed in the player that plays the initial video, so as to prompt the user that the synthesized video has been generated through the result prompt information. The user clicks the result prompt information to directly watch the video content of the synthesized video. Figure 2c As shown, "AI merging completed, view full film" is the result prompt information. When the user clicks on the result prompt information, the synthesized video can be directly viewed.

[0043] In this embodiment, the composite video is an integral video. When the composite video is displayed in a player, a video of an integral story can be viewed smoothly without any video connection. Figure 3 The schematic diagram of the composite video shown in Figure 3In the playback mode of the composite video, the player and the progress bar of the composite video in the player can be dragged normally. It should be noted that each stage of the progress bar can correspond to multiple initial videos. When the user slides the progress bar to different stages, the video information of different initial videos, the duration of the initial video in the composite video, and the total duration of the composite video can be displayed. Figure 3 As shown, when the user slides the progress bar to the stage corresponding to the initial video of Episode 63, the video name of the initial video of Episode 63 is directly displayed in the player, the duration of the initial video of Episode 63 in the composite video is 01 hour, 56 minutes and 32 seconds, and the total duration of the composite video is 02 hours, 23 minutes and 45 seconds. It takes 3 minutes and 45 seconds to play the initial video with the video name 24.mp4 in the composite video, and the video duration of the composite video is 2 hours, 23 minutes and 45 seconds.

[0044] The video processing method provided by the embodiment of the present disclosure first plays the target video in the player; secondly, obtains the initial video related to the target video and the video information of the target video; again, based on the video information, generates and sends the merge prompt information; finally, in response to receiving a trigger operation for the merge prompt information, synthesizes the target video and the initial video, obtains and plays the synthesized video. Thus, when the user plays the target initial video, based on the initial video related to the target video and the video information of the target video, the merge prompt information is generated, and the user can be provided with a merge function during the user's video playback; after receiving the trigger operation of the merge prompt information, the synthesized video is synthesized and played, so that the user can avoid frequent episode switching when playing the initial video in the file, and immersively watch the synthesized video, thereby improving the user experience.

[0045] In some embodiments of the present disclosure, the video processing method further includes: sending the synthesized video to multiple terminals, so that the multiple terminals play the synthesized video.

[0046] The video processing method provided by the present disclosure sends the synthesized video to multiple terminals, so that users can watch the synthesized video remotely, thereby improving the user experience.

[0047] In some optional implementations of the present disclosure, the above-mentioned generating and sending merge prompt information based on video information includes: based on the video information, detecting whether the target video and the initial video meet the video synthesis condition; in response to detecting that the target video and the initial video meet the video synthesis condition, generating and sending merge prompt information.

[0048] In this optional implementation, the video synthesis condition is a condition for detecting whether the initial video and the target video need to be synthesized. When the video synthesis condition is met, a merge prompt message can be generated. For example, when the initial video and the target video are in the same folder, and the number of initial videos and the target video in the folder is relatively large, and the video duration of each initial video is relatively short, in order to help the user understand the plot of the initial video smoothly, the state can be set to meet the video synthesis condition, that is, the video synthesis condition is that the number of videos of at least two initial videos is greater than the preset number, and the video duration of each initial video in at least two initial videos is less than the predetermined duration. Among them, the preset number and the predetermined duration can be set based on demand, for example, the preset number is 100, and the predetermined duration is 5 minutes.

[0049] In this embodiment, the video synthesis condition is a condition related to the video information. When the video information meets certain conditions, it is determined that the video synthesis condition is met. For example, the video information corresponding to the above video synthesis condition is the video duration and the number of videos.

[0050] Optionally, when it is detected that the target video and the initial video do not satisfy the video synthesis condition, no merging prompt information is generated.

[0051] The method for generating and sending merge prompt information provided by this optional implementation method detects whether the target video and the initial video meet the video synthesis conditions based on the video information. When the video synthesis conditions are met, the merge prompt information is generated and sent, providing a reliable implementation method for obtaining the merge prompt information.

[0052] Optionally, the above-mentioned generating and sending merge prompt information based on video information includes: based on the video information, detecting whether the target video and the initial video are different episodes of the same plot; in response to detecting that the target video and the initial video are different episodes of the same plot, generating and sending merge prompt information.

[0053] In some optional implementations of the present disclosure, the video information includes: video features; and the video synthesis condition is that the video features of the target video and the initial video are within a preset feature value range.

[0054] The video synthesis condition provided by this optional implementation method sets the video information as the video feature, and sets the video synthesis condition as the video features of the target video and the initial video are within a preset feature value range, providing a specific implementation method for the video synthesis condition and ensuring effective processing of the video.

[0055] In some optional implementations of the present disclosure, the above-mentioned video features include: video length, number of videos, and the video synthesis conditions include at least one of the following: the number of videos of the first video in the target video and the initial video is greater than a first preset number; there is no second video in the target video and the initial video; wherein the first video is a video whose video length is less than or equal to a first time threshold, and the second video is a video whose video length is greater than the first time threshold.

[0056] In this optional implementation, the video duration is the total duration of the initial video, and the number of videos is the number of videos under a certain type of video (target video and initial video).

[0057] In this optional implementation, the first preset number and the first time threshold can be set based on development requirements. For example, the first preset number is 50, and the first time threshold is 5 minutes.

[0058] Optionally, in order to ensure the synthesis effect of the synthesized video, the video synthesis conditions may also include: the number of videos of the target video and the first video in the initial video is less than or equal to a second preset number, wherein the second preset number can be set based on development requirements, for example, the second preset number is 200.

[0059] The video processing method provided by this optional implementation mode sets the video features to the video length and the number of videos, and sets the video synthesis conditions to the conditions that limit the video length and the number of videos. This can ensure that the initial videos in the synthesized folder are videos with shorter video length and larger number of videos. The setting of the video synthesis conditions can provide effective support for the generation of synthesized videos required by users.

[0060] Optionally, the above-mentioned video features include: video name, and the video synthesis condition includes: numbers in the video names of the target video and the initial video are arranged in sequence.

[0061] Optionally, the above-mentioned video features include: video source, and the video synthesis condition includes: the target video and the initial video are not files from preset file names, that is, the name of the folder is not a preset file name.

[0062] Optionally, the above-mentioned video features may further include: video frame, and the video synthesis condition further includes: the frame of each of the target video and the initial video is a vertical frame.

[0063] In this optional implementation, the video frame refers to the size of the image in the video, and the vertical frame is that the bottom side of the image is shorter than the side side of the image. Generally, the frame of a short drama is a vertical frame.

[0064] In an actual application of the present disclosure, the merge prompt information can also be directly displayed when the target video is played, and based on the user's triggering operation on the merge prompt information, it is detected whether the target video and the initial video meet the video synthesis condition.

[0065] Specifically, in some optional implementations of the present disclosure, in response to receiving a trigger operation for merging prompt information, synthesizing the target video and the initial video includes: in response to receiving a trigger operation for merging prompt information, detecting whether the target video and the initial video satisfy a video synthesis condition based on video information; in response to detecting that the target video and the initial video satisfy the video synthesis condition, synthesizing the target video and the initial video.

[0066] It should be noted that, in this optional implementation, the video synthesis condition may be the same as the video synthesis condition in the above embodiment, and the description of the video synthesis condition will not be repeated here.

[0067] The method for synthesizing a target video and an initial video provided by an optional implementation of the present invention detects whether the two meet video synthesis conditions after receiving a trigger operation for a merge prompt information. If the video synthesis conditions are met, the target video and the initial video are merged, providing a reliable implementation method for merging the target video and the initial video only when the user has the intention to merge.

[0068] In some optional implementations of the present disclosure, in response to receiving a trigger operation for merging prompt information, synthesizing the target video and the initial video, and obtaining and playing the synthesized video include: in response to receiving a trigger operation for merging prompt information, sorting the target video and the initial video in a playback order to obtain a video sequence; dividing the video combinations in the video sequence, and executing the synthesis tasks of each video combination in parallel; after the synthesis tasks of all video combinations are completed, synthesizing the synthesis results of all video combinations to obtain and play the synthesized video.

[0069] In this optional implementation, the playback order refers to the playback order of the target video and the initial video. Generally, the playback order of the target video and the initial video can be determined based on the numbers in the video names of the target video and the initial video, such as sorting the numbers in the video names of the target video and the initial video in ascending order, and determining the playback order based on the order of the sorted numbers.

[0070] In this optional implementation, the video combination is a subsequence of a combination number of videos (including the initial video and the target video) combined together, wherein the combination number can be determined based on the limited number of target videos and initial videos (the number of initial videos and target videos that can be placed in the folder), for example, the limited number of initial videos and target videos is 200, and the combination number can be 20.

[0071] In this optional implementation, the synthesis task of the video combination refers to performing video synthesis on the video combination, and executing the synthesis task of each video combination includes: sending the video combination to the large model, obtaining the synthesis result of the video combination output by the large model, wherein the video combination synthesis result is a synthesized video obtained by performing video synthesis on the video combination.

[0072] The method for obtaining and playing a composite video provided by this optional implementation method, after sorting the target video and the initial video, divides the video sequence into video combinations, and executes the synthesis task of each video combination in parallel. The synthesis task of multiple groups of video combinations can be executed simultaneously, thereby improving the synthesis efficiency of the composite video and the reliability of the video obtained.

[0073] Optionally, in response to receiving a trigger operation for merging prompt information, synthesizing the target video and the initial video, and obtaining and playing the synthesized video include: in response to receiving a trigger operation for merging prompt information, sorting the target video and the initial video in a playback order to obtain a video sequence; sending the video sequence to a large model, obtaining a synthesized video output by the large model, and playing the synthesized video.

[0074] Optionally, in response to receiving a trigger operation for merging prompt information, synthesizing the target video and the initial video, and obtaining and playing the synthesized video includes: in response to receiving a trigger operation for merging prompt information, sorting the target video and the initial video in a playback order to obtain a video sequence; merging the video sequence using a video file merging tool or video editing software to obtain and play the synthesized video.

[0075] In view of the problem that in traditional technologies, when users watch short drama videos, there are too many episodes and they want to directly understand the plot, but they need to apply for episode plot generation for each episode, which is inefficient and has poor user experience, the present invention proposes a video processing method that can synthesize videos in real time when users play videos, thereby improving user experience. Figure 4 A process 200 according to another embodiment of the video processing method of the present disclosure is shown. The video processing method comprises the following steps:

[0076] Step 201, play the target video in a player.

[0077] Step 202: Acquire an initial video related to a target video and video information of the target video.

[0078] Step 203: Generate and send merge prompt information based on the video information.

[0079] Step 204, in response to receiving a trigger operation on the merge prompt information, synthesize the target video and the initial video, and obtain and play the synthesized video.

[0080] It should be understood that the operations and features in the above steps 201-204 correspond to the operations and features in steps 101-104, respectively. Therefore, the above descriptions of the operations and features in steps 101-104 are also applicable to steps 201-204 and will not be repeated here.

[0081] Step 205: Display the summary generation control on the player.

[0082] In this embodiment, the summary generation control is a display control displayed on the player. When the user triggers the display control, the execution subject of the video processing method running on it can be triggered to analyze the episode plot of each episode in the synthesized video, wherein the episode plot is the video content summary of the initial video. The content summary can be information obtained by directly extracting video information from each initial video, or the content summary can be information obtained by extracting text data from the initial video using a large model. Figure 5 As shown, the name of the summary generation control displayed in the player is: "AI Watch Episode Summary", and the player can display the episode plots of episodes 1-36, where 14.mp and 15.mp are the names of the episodes in the synthesized video, which are also the names of the initial video of the synthesized video. The episode plots of the episodes are all represented by "xxxxxxxxxxxxx". Figure 5 There are also other controls, such as a control named "introduction", which can be used by users to display an introduction to the video content of the composite video.

[0083] Step 206: in response to receiving the user's operation on the summary generation control, obtaining the user's authorization information.

[0084] In this embodiment, the authorization information is the permission granted to the user to watch the episodes. The authorization information can be used to distinguish users with different rights levels. For example, the authorization information of some ordinary users indicates that they can watch the episodes of some initial videos in the composite video, while the authorization information of some member users indicates that they can watch the episodes of all initial videos in the composite video.

[0085] In this embodiment, the summary generation control can be a button, a component, etc., and the user's operation on the summary generation control can be a single-click, double-click, etc. of the summary generation control. Through the user's operation on the summary generation control, it can be determined that the user needs the player to display all or part of the episode plot in the composite video.

[0086] Step 207, based on the authorization information, obtain and display the episode plot of the composite video or a portion of the composite video.

[0087] In this embodiment, the episode plot is a kind of text data, and the episode plot is the summary text data obtained after the execution subject on which the video processing method runs performs image recognition on each initial video in the composite video, wherein the summary text data is a kind of text data summarizing the video content of the initial video.

[0088] In this embodiment, based on the limited display space of the player, the number of episodes displayed on a single page of the player may be limited, where the limited number may be set based on the situation of the player, such as a limited number of 20 episodes.

[0089] Optionally, the above method also includes: detecting whether the episode plot of any one or more episodes in the composite video or part of the videos in the composite video is displayed successfully; if the episode plot of any one or more episodes in the composite video or part of the videos in the composite video is not displayed successfully, detecting whether the generation of the episode plot of any one or more episodes fails; if the generation fails, displaying a prompt message that the generation of the episode plot fails; if the generation does not fail, detecting whether the initial video corresponding to the any one or more episodes does not support the episode plot; if the episode plot is not supported, displaying on the player that the generation of the episode plot of any one or more episodes is not supported.

[0090] The video processing method provided in this embodiment generates and displays an overview generation control in a player; obtains the user's authorization information in response to receiving a user's operation on the overview generation control; obtains and displays the episode plot of a composite video, or the episode plot of a part of the composite video, based on the authorization information; and can generate the overall episode plot of the composite video or the episode plot of a part of the composite video in an integrated manner through the user's operation of the overview generation control, thereby providing a reliable implementation method for users to quickly and conveniently obtain an introduction to the video, improving the convenience of user operation and improving user experience.

[0091] Optionally, the present disclosure may also not consider the user's authorization information. When obtaining and playing the synthesized video, the above-mentioned video processing method also includes: sending the synthesized video to the big model to obtain the episode plot after the big model performs summary analysis on the video.

[0092] In some optional implementations of the present disclosure, the above-mentioned obtaining and displaying the episode plot of a composite video or a part of the video in the composite video based on the authorization information includes: sorting the target video and the initial video in response to the authorization information indicating that the user has the authority to watch the part of the episode plot; sending a first set number of sorted videos and preset prompt words to the big model, obtaining the episode plot of the part of the video in the composite video generated by the big model, and displaying the episode plot of the part of the video.

[0093] In this optional implementation, the permission to watch part of the episode plot means that the user can only see part of the episode plot, and the part of the episode plot is the content summary of part of the initial video in the composite video.

[0094] In this optional implementation, sorting the target video and the initial video means sorting the target video and the initial video in ascending order according to their video names to obtain a sorting sequence of the target video and the initial video, which is the sorted video, and selecting the first set number of initial videos and preset prompt words in the sorting sequence to send to the big model, and the big model extracts the summary of the video content of the first set number of initial videos to obtain the episode plot of some videos. The result of extracting the summary of the video content of the initial video is the episode plot.

[0095] In this optional implementation, preset prompt words are used to prompt the large model to understand the video content of the initial video and obtain episode plots corresponding to each initial video, wherein the episode plots of each video in some videos can correspond to the episode plot of an initial video.

[0096] This optional implementation provides a method for obtaining and displaying the episode plots of part of the video in the composite video, which uses a large model to extract the episode plots from a set number of sorted initial videos, thereby improving the reliability and accuracy of the obtained episode plots.

[0097] Optionally, the above-mentioned obtaining and displaying the episode plot of the composite video or part of the video in the composite video based on the authorization information includes: sorting the target video and the initial video in response to the authorization information indicating that the user has the authority to watch part of the episode plot; extracting the video summary of the images in a first set number of videos after sorting, and obtaining and displaying the episode plot of part of the video in the composite video.

[0098] Optionally, the above-mentioned obtaining and displaying the episode plot of the composite video or part of the videos in the composite video based on the authorization information includes: in response to the authorization information indicating that the user has the authority to watch part of the episode plot, sorting the target video and the initial video; sending the composite video, the sorted pre-set number of videos and the first prompt word to the large model, obtaining the episode plot of the part of the videos in the composite video generated by the large model, and displaying the episode plot of the part of the videos. The first prompt word is used to prompt the large model to match the video in the composite video that is the same as the pre-set number of initial videos, and extract the summary of the video content of the matched video to obtain the episode plot of the matched video (that is, the part of the video).

[0099] In some optional implementations of the present disclosure, the above-mentioned obtaining and displaying the episode plot of the composite video or part of the composite video based on the authorization information includes: in response to the authorization information indicating that the user has the authority to watch all the episode plots, sending the composite video and the episode prompt words to the first large model to obtain the episode information of the composite video by the first large model; sending the composite video, the episode information and the summary prompt words to the second large model to obtain the episode plot of the composite video generated by the second large model, and displaying the episode plot of the composite video.

[0100] In this optional implementation, the episode information refers to the sorting information of the single-episode videos in the decomposed composite video, each single-episode video may be each initial video, and the episode information may be the number of episodes of each clicked video. For example, the episode information may be: after the composite video is divided into episodes, it is determined that the composite video has 10 episodes of single-episode videos.

[0101] In this optional implementation, the first large model and the second large model can be the same large model, the first large model is used to analyze the episode information in the synthetic video, and the second large model.

[0102] In this optional implementation, the episode prompt word prompts the first large model to divide the synthesized video into episodes to obtain multiple single-episode videos. The summary prompt word is used to prompt the large model to understand the video content of the single-episode videos in the synthesized video to obtain the episode plots corresponding to each single-episode video, wherein the episode plot of a single-episode video can correspond to the episode plot of an initial video.

[0103] The method for obtaining and displaying the episode plot of a composite video provided by this optional implementation first obtains the episode information of the composite video through a first large model; then generates the episode plot of the composite video through a second large model, thereby improving the reliability and accuracy of obtaining the episode plot of the composite video.

[0104] Optionally, the above-mentioned obtaining and displaying the episode plot of the composite video or part of the composite video based on the authorization information may also include: in response to the authorization information indicating that the user has the authority to watch all the episode plots, sending the composite video to the large model, obtaining the episode plot of the composite video output by the large model, and displaying the episode plot of the composite video.

[0105] In some optional implementations of the present disclosure, the above-mentioned video processing method also includes: in response to detecting an increase in the number of videos of the initial video and the target video, detecting in real time whether a user's play operation on the video corresponding to the composite video is received; in response to receiving a user's play operation on the video corresponding to the composite video, playing the composite video.

[0106] This optional implementation method can determine whether the number of videos of the initial video and the target video has increased by monitoring the information changes of the folders storing the initial video and the target video in real time, or monitoring the changes of the video features of the initial video and the target video themselves.

[0107] In this optional implementation, the above-mentioned user's playback operation on the video corresponding to the composite video refers to the user operating the initial video or target video corresponding to the composite video to play the initial video or target video corresponding to the composite video.

[0108] The video processing method provided by this optional implementation method directly plays the synthesized video after receiving the synthesis operation information of the video corresponding to the synthesized video when the number of videos of the initial video and the target video increases, thereby providing a reliable video synthesis method for adding initial videos to the folder and improving the user experience.

[0109] Optionally, the above-mentioned video processing method also includes: in response to detecting that the number of videos of the initial video and the target video in the folder is reduced, detecting in real time whether a playback operation for the initial video or the target video is received; in response to receiving a playback operation for the initial video or the target video, resynthesizing and playing the initial video and the target video.

[0110] This optional implementation method can determine whether the number of videos is reduced and the amount of reduction by real-time monitoring of changes in the folder information storing the initial video and the target video.

[0111] In this optional implementation, re-synthesizing and playing the initial video and the target video refers to re-synthesizing the initial video after the number of videos is reduced and all the initial videos in the target video to obtain a new synthesized video.

[0112] In some optional implementations of the present disclosure, the above-mentioned video processing method also includes: in response to not receiving a playback operation of a video corresponding to the synthesized video, detecting whether a playback operation for an added video is received; in response to receiving a playback operation for an added video, playing the added video; obtaining video information of the target video and the initial video; based on the video information, generating and sending merge update information to synthesize the added video into the synthesized video by merging the update information.

[0113] In this embodiment, the added video is a video added between the target video and the initial video, and the playback operation of the added video is an operation in which the user adds the video through operation and controls the playback of the added video in the player, for example, the user single-clicks or double-clicks to add the video.

[0114] In this embodiment, the merged update information is used to prompt whether to update the information of the composite video. After the user operates the merged update information, the execution entity on which the video processing method runs can directly synthesize the added video into the composite video to obtain a new composite video.

[0115] In this embodiment, the merge update information can be displayed in the area where the player plays the added video, thereby effectively reminding the user whether it is necessary to merge the added video into the composite video.

[0116] The video processing method provided by this optional implementation receives a play operation for adding a video and plays the added video; obtains video information of the target video and the initial video; and generates and sends merge update information based on the video information, so as to synthesize the added video into the synthesized video by merging the update information, thereby providing another reliable video synthesis method for adding the initial video to the folder and improving the user experience.

[0117] Optionally, the video processing method further includes: receiving a user operation on merging update information, and based on the operation, merging the added video into the composite video to obtain a new composite video.

[0118] Optionally, the video processing method further includes: detecting in real time whether the number of videos of the new composite video has reached an upper limit; in response to detecting that the number of videos of the new composite video has reached an upper limit, stopping the synthesis of the new composite video with other videos. The upper limit can be set based on development requirements, for example, the upper limit is 200.

[0119] Further references Figure 6 As an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of a video processing device, which is similar to Figure 1 Corresponding to the method embodiment shown, the device can be specifically implemented in various electronic devices.

[0120] like Figure 6 As shown, the video processing device 600 provided in this embodiment includes: a playback unit 601, an acquisition unit 602, a generation unit 603, and a synthesis unit 604. Among them, the above-mentioned playback unit 601 can be configured to play the target video in the player. The above-mentioned acquisition unit 602 can be configured to obtain the initial video related to the target video and the video information of the target video. The above-mentioned generation unit 603 can be configured to generate and send merge prompt information based on the video information. The above-mentioned synthesis unit 604 can be configured to synthesize the target video and the initial video in response to receiving a trigger operation for the merge prompt information, and obtain and play the synthesized video.

[0121] In this embodiment, the specific processing of the playback unit 601, the acquisition unit 602, the generation unit 603, and the synthesis unit 604 and the technical effects thereof can be referred to in detail. Figure 1 The relevant descriptions of step 101, step 102, step 103, and step 104 in the corresponding embodiment are not repeated here.

[0122] In some optional implementations of this embodiment, the above-mentioned device 600 further includes: a sending unit (not shown in the figure), and the sending unit is configured to: send the synthesized video to multiple terminals, so that the multiple terminals play the synthesized video.

[0123] In some optional implementations of this embodiment, the above-mentioned generation unit 604 is configured to: based on video information, detect whether the target video and the initial video meet the video synthesis condition; in response to detecting that the target video and the initial video meet the video synthesis condition, generate and send merge prompt information.

[0124] In some optional implementations of this embodiment, the above-mentioned video information includes: video features; and the video synthesis condition is that the video features of the target video and the initial video are within a preset feature value range.

[0125] In some optional implementations of the present embodiment, the above-mentioned video features include: video duration, number of videos, and the video synthesis conditions include at least one of the following: the number of videos of the first video in the target video and the initial video is greater than a first preset number; there is no second video in the target video and the initial video; wherein, the first video is a video whose video duration is less than or equal to a first time threshold, and the second video is a video whose video duration is greater than the first time threshold.

[0126] In some optional implementations of the present embodiment, the synthesis unit 604 is further configured to: in response to receiving a trigger operation on the merge prompt information, detect whether the target video and the initial video meet the video synthesis condition based on the video information; in response to detecting that the target video and the initial video meet the video synthesis condition, synthesize the target video and the initial video.

[0127] In some optional implementations of the present embodiment, the synthesis unit 604 is configured to: in response to receiving a trigger operation on the merge prompt information, sort the target video and the initial video in the playback order to obtain a video sequence; divide the video combinations in the video sequence, and execute the synthesis tasks of each video combination in parallel; after the synthesis tasks of all video combinations are completed, synthesize the synthesis results of all video combinations to obtain and play the synthesized video.

[0128] In some optional implementations of this embodiment, the above-mentioned device 600 also includes: a display unit (not shown in the figure), and the above-mentioned display unit can be configured to: generate and display a summary generation control; in response to receiving a user operation on the summary generation control, obtain the user's authorization information; based on the authorization information, obtain and display the episode plot of the composite video or part of the video in the composite video.

[0129] In some optional implementations of this embodiment, the above-mentioned display unit is further configured to: in response to the authorization information indicating that the user has the authority to watch part of the episode plot, sort the target video and the initial video; send the sorted first set number of videos and preset prompt words to the big model, obtain the episode plot of part of the video in the synthetic video generated by the big model, and display the episode plot of this part of the video.

[0130] In some optional implementations of this embodiment, the above-mentioned display unit is further configured to: in response to the authorization information indicating that the user has the authority to watch all episodes, send the composite video and episode prompt words to the first large model to obtain the episode information of the composite video by the first large model; send the composite video, episode information and summary prompt words to the second large model to obtain the episode plot of the composite video generated by the second large model, and display the episode plot of the composite video.

[0131] In some optional implementations of the present embodiment, the above-mentioned device 600 also includes: a first adding unit (not shown in the figure), and the first adding unit is configured to: in response to detecting an increase in the number of videos of the initial video and the target video, detect in real time whether a user's play operation on the video corresponding to the composite video is received; in response to receiving a user's play operation on the video corresponding to the composite video, play the composite video.

[0132] In some optional implementations of the present disclosure, the above-mentioned device 600 also includes: a second adding unit (not shown in the figure), and the second adding unit is configured to: in response to not receiving a playback operation of the video corresponding to the synthesized video, detect in real time whether a playback operation for the added video is received; in response to receiving a playback operation for the added video, play the added video; obtain video information of the target video and the initial video; based on the video information, generate and send merge update information to synthesize the added video into the synthesized video by merging the update information.

[0133] The video processing device provided by the embodiment of the present disclosure firstly plays the target video in the player by the playing unit 601; secondly, the acquiring unit 602 acquires the initial video related to the target video and the video information of the target video; again, the generating unit 603 generates and sends the merge prompt information based on the video information; finally, the synthesizing unit 604 synthesizes the target video and the initial video in response to receiving the trigger operation of the merge prompt information, and obtains and plays the synthesized video. Thus, when the user plays the target initial video, the merge prompt information is generated based on the initial video related to the target video and the video information of the target video, so that the user can be provided with a merge function during the video playing process; after receiving the trigger operation of the merge prompt information, the synthesized video is synthesized and played, so that the user can avoid frequent episode switching when playing the initial video in the file, and watch the synthesized video immersively, thereby improving the user experience.

[0134] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0135] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0136] Figure 7 A schematic block diagram of an example electronic device 700 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0137] like Figure 7 As shown, the device 700 includes a computing unit 701, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 702 or a computer program loaded from a storage unit 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the device 700 can also be stored. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0138] A number of components in the device 700 are connected to the I / O interface 705, including: an input unit 706, such as a keyboard, a mouse, etc.; an output unit 707, such as various types of displays, speakers, etc.; a storage unit 708, such as a disk, an optical disk, etc.; and a communication unit 709, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 709 allows the device 700 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0139] The computing unit 701 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 701 performs the various methods and processes described above, such as video processing methods. For example, in some embodiments, the video processing method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 708. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 700 via ROM 702 and / or communication unit 709. When the computer program is loaded into RAM 703 and executed by the computing unit 701, one or more steps of the video processing method described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to perform the video processing method in any other appropriate manner (e.g., by means of firmware).

[0140] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0141] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable video processing device, so that the program code, when executed by the processor or controller, causes the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0142] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0143] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0144] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an information server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communications network). Examples of communications networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0145] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0146] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0147] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A video processing method, the method comprising: Play the target video in the player; Acquire an initial video related to the target video and video information of the target video; Based on the video information, generating and sending merge prompt information; In response to receiving a triggering operation on the merging prompt information, the target video and the initial video are synthesized to obtain and play the synthesized video.

2. The method according to claim 1, further comprising: The composite video is sent to multiple terminals so that the multiple terminals play the composite video.

3. The method according to claim 1, wherein: The generating and sending the merge prompt information based on the video information includes: Based on the video information, detecting whether the target video and the initial video meet a video synthesis condition; In response to detecting that the target video and the initial video satisfy a video synthesis condition, merging prompt information is generated and sent.

4. The method according to claim 3, wherein: The video information includes: video features; the video synthesis condition is that the video features of the target video and the initial video are within a preset feature value range.

5. The method according to claim 4, wherein: The video features include: video duration, number of videos, and the video synthesis condition includes at least one of the following: the number of videos of the first video in the target video and the initial video is greater than a first preset number; there is no second video in the target video and the initial video; wherein, the first video is a video with a video duration less than or equal to a first time threshold, and the second video is a video with a video duration greater than the first time threshold.

6. The method according to claim 1, wherein: In response to receiving a triggering operation on the merge prompt information, synthesizing the target video and the initial video, including: In response to receiving a trigger operation on the merging prompt information, detecting whether the target video and the initial video meet a video synthesis condition based on the video information; In response to detecting that the target video and the initial video satisfy a video synthesis condition, the target video and the initial video are synthesized.

7. The method according to claim 1, wherein: In response to receiving a triggering operation on the merge prompt information, synthesizing the target video and the initial video, and obtaining and playing the synthesized video includes: In response to receiving a triggering operation on the merge prompt information, sorting the target video and the initial video according to a play order to obtain a video sequence; Dividing the video sequence into video combinations, and performing synthesis tasks of each video combination in parallel; After the synthesis tasks of all video combinations are completed, synthesis results of all video combinations are synthesized to obtain and play the synthesized video.

8. The method according to any one of claims 1 to 7, wherein: The method further comprises: generating and displaying a summary generation control in the player; In response to receiving an operation of the user on the summary generation control, obtaining authorization information of the user; Based on the authorization information, the episode plot of the composite video or a portion of the composite video is obtained and displayed.

9. The method according to claim 8, wherein: The obtaining and displaying the episode plot of the composite video or a part of the composite video based on the authorization information comprises: In response to the authorization information indicating that the user has the authority to watch part of the episodes, sorting the target video and the initial video; The sorted first set number of initial videos and preset prompt words are sent to the large model, and the episode plots of part of the videos in the synthetic video generated by the large model are obtained, and the episode plots of the part of the videos are displayed.

10. The method according to claim 8, wherein: The obtaining and displaying the episode plot of the composite video or a part of the composite video based on the authorization information comprises: In response to the authorization information indicating that the user has the authority to watch all episodes, the composite video and the episode prompt words are sent to the first large model to obtain the episode information of the composite video from the first large model; The composite video, the episode information and summary prompt words are sent to the second largest model, the episode plot of the composite video generated by the second largest model is obtained, and the episode plot of the composite video is displayed.

11. The method according to any one of claims 1 to 7, further comprising: In response to detecting that the number of videos of the initial video and the target video increases, detecting in real time whether a user's play operation on the video corresponding to the composite video is received; In response to receiving a user's play operation on a video corresponding to the composite video, the composite video is played.

12. The method according to claim 11, further comprising: In response to not receiving a play operation for a video corresponding to the composite video, detecting whether a play operation for an added video is received; In response to receiving a play operation on the added video, playing the added video; Acquire video information of the target video and the initial video; Based on the video information, merge update information is generated and sent to synthesize the added video into the synthesized video through the merge update information.

13. A video processing device, comprising: A playback unit, configured to play the target video in a player; An acquisition unit, configured to acquire an initial video related to the target video and video information of the target video; A generating unit, configured to generate and send merge prompt information based on the video information; The synthesis unit is configured to synthesize the target video and the initial video in response to receiving a trigger operation on the merge prompt information, and obtain and play the synthesized video.

14. The apparatus according to claim 13, further comprising: A sending unit is configured to: send the composite video to multiple terminals, so that the multiple terminals play the composite video.

15. The device according to claim 13, wherein: The generating unit is configured to: detect, based on the video information, whether the target video and the initial video satisfy a video synthesis condition; and generate and send merge prompt information in response to detecting that the target video and the initial video satisfy the video synthesis condition.

16. The device according to claim 15, wherein: The video information includes: video features; the video synthesis condition is that the video features of the target video and the initial video are within a preset feature value range.

17. The device according to claim 16, wherein: The video features include: video duration, number of videos, and the video synthesis condition includes at least one of the following: the number of videos of the first video in the target video and the initial video is greater than a first preset number; there is no second video in the target video and the initial video; wherein, the first video is a video with a video duration less than or equal to a first time threshold, and the second video is a video with a video duration greater than the first time threshold.

18. The device according to claim 13, wherein: The synthesis unit is further configured to: in response to receiving a trigger operation on the merging prompt information, detect whether the target video and the initial video meet a video synthesis condition based on the video information; In response to detecting that the target video and the initial video satisfy a video synthesis condition, the target video and the initial video are synthesized.

19. The device according to claim 13, wherein: The synthesis unit is configured to: in response to receiving a trigger operation for the merge prompt information, sort the target video and the initial video in a playback order to obtain a video sequence; divide the video combinations in the video sequence, and execute the synthesis tasks of each video combination in parallel; after the synthesis tasks of all video combinations are completed, synthesize the synthesis results of all video combinations to obtain and play the synthesized video.

20. The device according to any one of claims 13 to 19, further comprising: A presentation unit, the presentation unit being configured to: generate and present a summary generation control in the player; In response to receiving an operation of the user on the summary generation control, obtaining authorization information of the user; Based on the authorization information, the episode plot of the composite video or a portion of the composite video is obtained and displayed.

21. The device according to claim 20, wherein: The display unit is further configured to: in response to the authorization information indicating that the user has the authority to watch part of the episode plot, sort the target video and the initial video; The sorted first set number of videos and preset prompt words are sent to the large model, the episode plots of some videos in the synthetic video generated by the large model are obtained, and the episode plots of the some videos are displayed.

22. The device according to claim 20, wherein: The display unit is further configured to: in response to the authorization information indicating that the user has the authority to watch all episodes, send the composite video and episode prompt words to the first large model to obtain the episode information of the composite video by the first large model; send the composite video, the episode information and summary prompt words to the second large model to obtain the episode plot of the composite video generated by the second large model, and display the episode plot of the composite video.

23. The device according to any one of claims 13 to 19, further comprising: A first adding unit, wherein the first adding unit is configured to: in response to detecting that the number of videos of the initial video and the target video increases, detect in real time whether a user's play operation on the video corresponding to the composite video is received; In response to receiving a user's play operation on a video corresponding to the composite video, the composite video is played.

24. The apparatus according to claim 23, further comprising: A second adding unit, the second adding unit is configured to: in response to not receiving a play operation of a video corresponding to the synthesized video, detect in real time whether a play operation of the added video is received; In response to receiving a play operation on the added video, playing the added video; Acquire video information of the target video and the initial video; Based on the video information, merge update information is generated and sent to synthesize the added video into the synthesized video through the merge update information.

25. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 12.

26. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to enable the computer to execute the method according to any one of claims 1 to 12.

27. A computer program product, comprising a computer program, which, when executed by a processor, implements the method of any one of claims 1 to 12.

Citation Information

Patent Citations

  • Live video collection generation method and device, server and storage medium

    CN109862388A

  • Video data processing method and device, server, terminal and storage medium

    CN110740346A

  • Video processing method and device, electronic equipment, storage medium and program product

    CN115278300A

  • Video processing method and server

    CN118283290A

  • Multi-semantic video processing method, device, equipment, medium and program product

    CN118379670A