Video playing method and device, equipment, medium and product
Through the function of displaying the role relationship map and jumping to play related video clips in video playback, the problem of disconnection of role-related content in the viewing function of specified roles is solved, and the efficiency of users to understand the video plot and human-computer interaction efficiency is improved.
Patent Information
- Application Number
- CN202411149517.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-09
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2042-03-09
AI Technical Summary
During video playback, the viewing function of designated roles can easily cause disconnection of the video content of the role and other roles, making it difficult for users to understand the relationship between various characters in film and television works, reducing human-computer interaction efficiency and increasing the server and terminal Data interaction volume.
Provide a video playback method and device, by displaying a role relationship map on the video content introduction interface, identifying the relationship between characters, and providing access controls for jumping to play related video clips in the playback screen, allowing users to quickly understand role relationships , improve the efficiency of plot understanding.
By identifying and jumping related video clips, users can quickly understand the relationship between each character in the target video, improve the efficiency of the understanding of the video plot, and expand relevant content by automatically analyzing the role relationship, improving the user experience.
Smart Images

Figure CN118890513A_ABST
Abstract
Description
[0001] This application is a divisional application of the invention patent application with application number 202210225472.1 filed on March 9, 2022 and invention name “Video playback method and device”. Technical Field
[0002] The embodiments of the present application relate to the field of multimedia technology, and in particular to a video playback method, device, equipment, medium and product. Background Art
[0003] Video applications usually provide a variety of functions to assist efficient video viewing, such as: double-speed playback, opening and ending skipping, and designated role viewing.
[0004] In the related art, after the designated character viewing function is turned on, only the clips of the designated character in the video are played. For example, when watching video A, if you choose to watch character B in video A separately, only the video clip corresponding to character B will be played during the playback of video A.
[0005] However, in the designated character viewing function, it is easy to cause a disconnect between the video content related to the viewed character and other characters in the video, resulting in the user being unable to understand the relationship between the various characters in the film and television work in a timely manner. Multiple playbacks are required for confirmation, the human-computer interaction efficiency is low, and the amount of data interaction between the server and the terminal is large. Summary of the invention
[0006] The embodiments of the present application provide a video playback method, device, equipment, medium and product, which improve the efficiency of understanding the story line of a video clip to a certain extent. The technical solution is as follows.
[0007] In one aspect, a video playback method is provided, the method comprising:
[0008] In response to a search operation for a target video, a role relationship map corresponding to the target video is displayed in a video content introduction interface of the target video, the role relationship map being used to indicate association relationships between roles appearing in the target video, the role relationship map including a first role control corresponding to a first role;
[0009] In response to receiving a trigger operation on the first character control, playing the first video clip associated with the first character;
[0010] In response to a second character appearing in the playback screen of the first video clip, displaying a second character control corresponding to the second character, wherein there is a role association relationship between the second character and the first character, and the second character control is used to play the second video clip associated with the second character in the target video;
[0011] In response to receiving a trigger operation on the second character control, at least one second video clip associated with the second character is played.
[0012] In another aspect, a video playback device is provided, the device comprising:
[0013] A display module, configured to, in response to a search operation on a target video, display a role relationship map corresponding to the target video in a video content introduction interface of the target video, wherein the role relationship map is used to indicate association relationships between roles appearing in the target video, and the role relationship map includes a first role control corresponding to a first role;
[0014] a playing module, configured to play the first video clip associated with the first character in response to receiving a triggering operation on the first character control;
[0015] The display module is further configured to display a second character control corresponding to the second character in response to a second character appearing in the playback screen of the first video clip, wherein a role association relationship exists between the second character and the first character, and the second character control is configured to play the second video clip associated with the second character in the target video;
[0016] The playing module is further configured to play at least one second video clip associated with the second character in response to receiving a triggering operation on the second character control.
[0017] On the other hand, a computer device is provided, comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement a video playback method as described in any of the above-mentioned embodiments of the present application.
[0018] On the other hand, a computer-readable storage medium is provided, in which at least one instruction, at least one program, a code set or an instruction set is stored, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement a video playback method as described in any of the above-mentioned embodiments of the present application.
[0019] On the other hand, a computer program product or a computer program is provided, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the video playback method described in any of the above embodiments.
[0020] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:
[0021] When watching the first video clip corresponding to the first character, by identifying the second character in the first video clip, an entry control for jumping to play the second video clip corresponding to the second character is provided in the playback screen, so that the user can quickly understand the role relationship between the characters in the target video and improve the efficiency of the user's understanding of the plot of the target video; in addition, by automatically analyzing the role relationship between the characters, other content associated with the target video can be further expanded. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0023] Figure 1 It is a schematic diagram of an interface of a role relationship map provided in an exemplary embodiment of the present application;
[0024] Figure 2 It is a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application;
[0025] Figure 3 is a flowchart of a video playback method provided by an exemplary embodiment of the present application;
[0026] Figure 4 This is a schematic diagram of an interface corresponding to a video playback method provided by an exemplary embodiment of the present application;
[0027] Figure 5 is a flowchart of a video playback method provided by another exemplary embodiment of the present application;
[0028] Figure 6 is based on Figure 5 The illustrated embodiment provides a schematic diagram of an interface for displaying a first character control;
[0029] Figure 7 is based on Figure 5Another exemplary embodiment shown is a schematic diagram of an interface showing a first character control;
[0030] Figure 8 is based on Figure 5 Another exemplary embodiment shown is a schematic diagram of an interface display;
[0031] Fig. 9 is a flowchart of a video playback method provided by another exemplary embodiment of the present application;
[0032] Fig.10 is based on Fig. 9 An exemplary embodiment is shown as a schematic diagram of an interface for displaying a return control on an interface;
[0033] Fig.11 is a flowchart of a video playback method provided by another exemplary embodiment of the present application;
[0034] Fig.12 is a structural block diagram of a video playback device provided by an exemplary embodiment of the present application;
[0035] Fig.13 is a structural block diagram of a video playback device provided by another exemplary embodiment of the present application;
[0036] Fig.14 It is a structural block diagram of a server provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0037] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0038] First, a brief introduction is given to the terms and technologies used in the embodiments of the present application.
[0039] Target video: used to indicate a video clip to be played, the target video includes but is not limited to at least one of a short video, a film and television drama, and a documentary. The target video contains at least two characters, each character has its own story line, and there is a role association relationship between each character, wherein multiple relationships may exist between the characters. In the embodiment of the present application, only the direct relationship between the characters is analyzed. For example, a target video contains a protagonist a, a protagonist b, and a supporting role c. The three characters may have a bidirectional role association relationship, a unidirectional role association relationship, or no role association relationship. Schematically, protagonist a and protagonist b are lovers, and supporting role c is a secret admirer of protagonist a, wherein protagonist a and protagonist b have a bidirectional role association relationship, supporting role c and protagonist a have a unidirectional role association relationship, and protagonist b and supporting role c do not have a role association relationship. In the embodiment of the present application, the role relationship between the important characters in the target video is deeply analyzed, and an entry control for switching video clips is provided based on the determined role relationship.
[0040] Role relationship map: used to indicate the role relationship between the characters in the target video, such as Figure 1 As shown, the terminal interface displays a role relationship map 100 corresponding to the target video, and the role relationship map 100 includes roles 101 to 104. The role relationship map 100 also displays the association relationship between the roles, which can be seen in FIG. Figure 1 The line segment with an arrow shown in ; optionally, the role relationship map 100 displays role information corresponding to each role, and the role information includes but is not limited to the name of the role played by the role in the target video, the identity information of the role in the target video, the dubbing character information corresponding to the role, and the character information of the role; for how to draw the role relationship map and the details of the role relationship map, please refer to the subsequent description content, which will not be described here.
[0041] Storyline development sequence: used to indicate the story line composed of various story nodes connected in time sequence. There are multiple different story nodes corresponding to each character, and the multiple different story nodes corresponding to the character constitute a complete and independent storyline development sequence, that is, there are complete and independent story lines corresponding to the target video, and the story lines corresponding to each character are combined to form the overall story line of the target video. In the embodiment of the present application, the character control is triggered to play the video clips associated with the character. The video clips here can be arranged and aggregated according to the storyline development sequence, that is, a list of video clips corresponding to the character is displayed in the playback interface. The video clip list is arranged in sequence according to the storyline development sequence. There is introduction content corresponding to each video clip, and the introduction content can be used to indicate an overview of the events that occurred in the video clip. For example: there are video clips 1, video clips 2 and video clips 3 corresponding to character a. The video clip list is displayed on the interface of playing the video clips corresponding to character a, and the list includes the titles corresponding to each video clip, the names of other newly appeared characters, etc. For example, the title of video clip 1 is: character a obtains key clues; or, a new character b appears in video clip 1, and the introduction content is displayed around the title of video clip 1: character b appears, etc.
[0042] Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technology in computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a similar way to human intelligence. Artificial intelligence is to study the design principles and implementation methods of various intelligent machines so that machines have the functions of perception, reasoning and decision-making.
[0043] Artificial intelligence technology is a comprehensive discipline that covers a wide range of fields, including both hardware-level and software-level technologies. The basic technologies of artificial intelligence generally include sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics and other technologies. Artificial intelligence software technology mainly includes computer vision technology, speech processing technology, natural language processing technology, and machine learning / deep learning.
[0044] Computer Vision Technology (CV): Computer vision is a science that studies how to make machines "see". As a scientific discipline, computer vision studies related theories and technologies, trying to establish an artificial intelligence system that can obtain information from images or multi-dimensional data. Computer vision technology usually includes image processing, image recognition, image semantic understanding, image retrieval, OCR, video processing, video semantic understanding, video content / behavior recognition, three-dimensional object reconstruction, 3D technology, virtual reality, augmented reality, simultaneous positioning and map construction, and also includes common biometric recognition technologies such as face recognition and fingerprint recognition.
[0045] With the research and advancement of artificial intelligence technology, artificial intelligence technology has been studied and applied in many fields, such as common smart homes, smart wearable devices, virtual assistants, smart speakers, smart marketing, unmanned driving, automatic driving, drones, robots, smart medical care, smart customer service, etc. I believe that with the development of technology, artificial intelligence technology will be applied in more fields and play an increasingly important role.
[0046] Secondly, combined with the above-mentioned noun introduction, the application scenarios involved in the embodiments of the present application are introduced:
[0047] First, it is applied to video viewing scenarios;
[0048] When a user watches a target video through a browser or a player in a terminal, a role relationship map corresponding to the target video is obtained. The target video may be at least one of a self-created short video, a short video obtained through secondary editing, a film and television series, and a documentary. Optionally, the role relationship map is displayed on a video content introduction page or an interface for playing the target video. The role relationship map includes avatars and role description information corresponding to each role.
[0049] In an embodiment of the present application, the avatars corresponding to each role displayed in the role relationship map are used to play a video clip with a preset relationship with itself. When a click operation is received on the avatar corresponding to the first role in the role relationship map, the terminal obtains and aggregates at least one first video clip corresponding to the role, and displays the aggregated at least one first video clip in the current display interface. The user selects a first video clip from at least one first video clip to play. When other roles appear in the playback screen of the first video clip, the current screen frame is extracted for role recognition, and the role relationship between the newly appeared second role and the first role is determined. Based on the determined role relationship, the second role control corresponding to the second role is displayed in the current interface. The user clicks the second role control to achieve the effect of quickly switching from the first video clip corresponding to the first role to the second video clip corresponding to the second role, automatically sorting out the role relationships between the various roles in the target video and the story clips (first video clips and second video clips) corresponding to the roles, helping the user to quickly understand the development sequence of the story line of the target video, and further improving the efficiency of the user watching the target video. Among them, the above-mentioned role relationship map can be obtained after analyzing the target video, or it can be pre-set.
[0050] Second, it is applied to game analysis scenarios;
[0051] In some games, multiple virtual characters appear, and there are preset role associations between the virtual characters. During the game application process, when the user controls the main virtual character to play the game, the role association information between the newly appeared virtual character and the main virtual character is determined through the relevant information displayed in the game. As the game time goes by, the user may not be able to clearly remember the role association relationship between each virtual character and the main virtual character, which requires the user to re-watch the historical game process, reducing the efficiency of the user's understanding of the game storyline;
[0052] In an embodiment of the present application, during the game, when a new virtual object appears, the terminal stores the role association relationship between the new virtual object and the main virtual object, and displays the avatar entry control of the new virtual object in the current interface. The avatar entry control is used to display the role description content between the new virtual object and the main virtual object, effectively improving the user's efficiency in understanding the game storyline and improving the efficiency of human-computer interaction.
[0053] In the embodiments of the present application, the video playback method provided in the embodiments can also be applied to the field of artificial intelligence for automated analysis, which is not limited in the present application.
[0054] The above are merely illustrative examples. The video playback method provided in the embodiments of the present application may also be applied to other application scenarios, and the present application does not limit this.
[0055] Finally, combined with the above-mentioned term introduction and application scenarios, the implementation environment of the embodiments of the present application is introduced.
[0056] Figure 2 is a schematic diagram of the implementation environment provided by the embodiment of the present application, such as Figure 2 As shown, the implementation environment includes a terminal 210 and a server 220. The terminal 210 and the server 220 are connected via a communication network 230. The communication network 230 can be a wireless network or a wired network, which is not limited in the present application.
[0057] Optionally, the user searches for the target video in a designated application in the terminal 210, and displays a video content introduction page corresponding to the target video in the current interface. The designated application includes but is not limited to a browser, a player, and image recognition software. The video content introduction page displays a role relationship map corresponding to the target video, and the role relationship map displays role controls of various roles corresponding to the target video.
[0058] The user clicks on the first role control in the role relationship map, and the terminal 210 sends a play request to the server 220. The server 220 aggregates at least one first video segment corresponding to the first role in the target video according to the play request, and feeds back the aggregated at least one first video segment to the terminal 210.
[0059] The terminal 210 displays at least one first video segment corresponding to the first character in the current interface according to the feedback information and plays the at least one first video segment in the order of the playback time of the target video.
[0060] Optionally, when the second character appears in the playback screen of the first video clip, and there is a role association relationship between the second character and the first character, the second character control is displayed in the playback interface of the terminal 210.
[0061] In response to receiving a trigger operation on the second character control (triggering a video switching request), the terminal 210 sends a video switching request to the server 220. The server 220 obtains at least one second video segment corresponding to the second character in the target video according to the video switching request, and feeds back the at least one second video segment to the terminal 210.
[0062] Optionally, the terminal 210 automatically plays at least one second video segment, and a return control is also displayed in the playback screen of the second video segment, and the return control is used to switch the currently played second video segment to the first video segment.
[0063] It is worth noting that the above-mentioned terminal 210 can be implemented as a mobile terminal such as a mobile phone, a tablet computer, a car terminal, a smart home device, a wearable device, a portable laptop computer, etc., and can also be implemented as a terminal such as a desktop computer, which is not limited in the embodiments of the present application.
[0064] The above-mentioned server 220 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), as well as big data and artificial intelligence platforms.
[0065] Among them, cloud technology refers to a hosting technology that unifies hardware, software, network and other resources in a wide area network or local area network to realize data computing, storage, processing and sharing. Cloud technology is a general term for network technology, information technology, integration technology, management platform technology, application technology, etc. based on the cloud computing business model. It can form a resource pool, which is used on demand and flexible and convenient. Cloud computing technology will become an important support. The background services of the technical network system require a large amount of computing and storage resources, such as video websites, picture websites and more portal websites. With the high development and application of the Internet industry, in the future, each item may have its own identification mark, and all need to be transmitted to the background system for logical processing. Data of different levels will be processed separately. All kinds of industry data require strong system backing support, which can only be achieved through cloud computing.
[0066] In some embodiments, the server 220 may also be implemented as a node in a blockchain system.
[0067] The above-mentioned implementation environment is only an illustrative example. The video playback method provided in the embodiment of the present application can also be applied alone to the terminal 210 or to the server 220. The present application does not limit this. In the embodiment of the present application, the video playback method is applied to the joint implementation environment of the server 220 and the terminal 210 for implementation.
[0068] In combination with the above implementation environment, the video playback method involved in the embodiment of the present application is described. Figure 3 is a flowchart of a video playback method provided by an exemplary embodiment of the present application. In the embodiment of the present application, the method is applied to a terminal for illustration. In the embodiment of the present application, Figure 3 As shown, the method includes:
[0069] Step 301, display the first character control.
[0070] In an embodiment of the present application, a user uses a designated application to search for a target video, and a role relationship map corresponding to each character in the target video is displayed in the video content introduction interface of the target video. The role relationship map displays the role controls corresponding to each character in the target video and the relationship description content between each character. The designated application can be a browser application, a video playback application, a live broadcast application, a cloud disk storage application, etc. For related content in this part, please refer to step 501 and the attached Figure 6 , which will not be described in detail here.
[0071] In other embodiments, the user selects a target video to watch, and a role relationship map is displayed in the playback interface of the target video, and role controls corresponding to multiple roles are displayed in the role relationship map. Alternatively, role controls corresponding to each role are directly displayed in the playback interface of the target video, and the above-mentioned target video includes but is not limited to at least one of a short video, a film and television series, and a documentary.
[0072] In an optional embodiment, the role relationship map is used to indicate the relationship between the various characters in the target video, and can also be used to indicate the relationship between the core characters in the target video. The role relationship map also displays the role name, role identity and direct relationship between the roles corresponding to each role, which is not limited in this application.
[0073] The role relationship map includes role controls corresponding to each role, including a first role control, which is used to indicate the role information of the role in the target video, including but not limited to the information of the person playing the role, the name of the role played by the character in the target video, the identity of the role played by the character in the target video, and the information of the person who dubbed the character on screen.
[0074] In another optional embodiment, in a related interface for displaying the target video, a list of character controls corresponding to the characters included in the target video is displayed, wherein the list of character controls includes a first character control.
[0075] In the embodiment of the present application, the scenarios for displaying the first character control include but are not limited to the following:
[0076] First, a first character control is displayed in a content introduction interface that displays a target video, and the first character control is used to play a first video clip associated with a first character in the target video, wherein the content introduction interface is used to indicate an interface for introducing the target video, including a content introduction of the target video, an image corresponding to the target video, and a role relationship map corresponding to each character in the target video, wherein the role relationship map displays character controls corresponding to each character, including a first character control corresponding to the first character.
[0077] Second, a first character control is displayed in the playback interface of the target video. Optionally, character controls corresponding to each character are superimposed and displayed in the playback screen of the target video, including displaying the first character control.
[0078] Third, a function control is displayed in the playback interface of the target video, and when a trigger operation on the function control is received, a character control list is superimposed and displayed on the playback interface, including the first character control.
[0079] It is worth noting that the display method of the above-mentioned first character control is only an illustrative example and is not limited to this in this embodiment.
[0080] In the embodiment of the present application, the first character control can be understood as a quick entry for playing the video clip associated with the first character.
[0081] Step 302: In response to receiving a trigger operation on a first character control, play a first video clip associated with the first character.
[0082] Optionally, in response to receiving a trigger operation on the first character control, the trigger operation includes but is not limited to a click operation, a long press operation, a drag operation, a trigger operation input through an external device, and a voice control operation, a first video clip associated with the first character is obtained. The association relationship is used to indicate the relationship between the video clip and the first character. The association relationship can be that the video clip contains the first character, that is, the first video clip is a video clip in which the first character appears; it can also be a foreshadowing clip that leads to the first character, that is, the first video clip plays a guiding role in the appearance of the first character; it can also be a video clip in which other characters and the first character have common events, that is, the first character does not appear in the first video clip, but the other characters that appear perform the same event as the first character. In this embodiment, the video clip associated with the role can also be referred to as the video clip corresponding to the role.
[0083] In the embodiment of the present application, the method of obtaining the first video clip includes but is not limited to:
[0084] First, in response to receiving a trigger operation on the first character control, a video acquisition request is sent to the server, where the video acquisition request includes relevant information of the first character, a role relationship map corresponding to the target video, the target video, etc.; the server obtains the first video clip containing the first character in the target video (the number of first video clips is greater than or equal to 1) according to the received video acquisition request, compresses and packages the first video clip and feeds it back to the terminal, and the terminal plays the first video clip associated with the first character in the terminal interface in sequence according to the feedback from the server.
[0085] Second, the terminal pre-stores video clips associated with each character in the target video. When the terminal receives a trigger operation of the first character control, the terminal directly obtains the first video clip associated with the first character from the local computer based on the association relationship between the first character control, the target video and the first character, and plays the first video clip.
[0086] Third, the server pre-stores video clips associated with each character in the target video. When the terminal receives the trigger operation of the first character control, the terminal sends a video acquisition request to the server, directly obtains the first video clip associated with the first character from the server, and plays it after feeding it back to the terminal.
[0087] Fourth, the cloud storage system stores video clips associated with each character in the target video. For details, please refer to Table 1 below. Table 1 shows the storage relationship between the target video, characters and video clips stored in the cloud storage system. Video A includes characters a and b. Role a corresponds to video clip 1, and role b corresponds to video clip 2. When the user watches video A, after triggering the character control of character a, the video clip 1 corresponding to character a in video A is directly obtained from the cloud storage system, the video clip 1 is fed back to the terminal, and the video clip 1 is played. Optionally, video clips 1 to 7 can be implemented as a collection of video sub-clips, such as: video clip 1 can be implemented as a collection of video sub-clips corresponding to multiple characters a, or, character a corresponds to 1 or more video clips.
[0088] Table 1:
[0089]
[0090] Optionally, the cloud storage system also stores the role relationships between the characters in the target video, and based on the role relationships between the characters, draws a role relationship map corresponding to the characters in the target video.
[0091] Step 303: In response to the second character appearing in the playback screen of the first video clip, a second character control corresponding to the second character is displayed.
[0092] Optionally, the first role corresponds to at least one first video clip, and the at least one first video clip is played sequentially; during the playback of at least one video clip, the terminal performs role recognition on the current frame of the first video clip to obtain a candidate role appearing in the playback screen of the first video clip.
[0093] Optionally, a role relationship map corresponding to the target video is obtained, where the role relationship map is used to indicate the association relationship between the roles appearing in the target video. The generation process of the role relationship map is described in detail below, and specifically includes the following steps:
[0094] Obtain image and text data related to the target video, and determine whether the candidate character corresponding to the candidate character information appears in the target video based on the image and text data. The image and text data are used to describe the association relationship between the characters in the target video. The image and text data include but are not limited to at least one image data, at least one text data and at least one audio and video data. The image data may be stills, behind-the-scenes footage, promotional posters, etc. of the candidate character in the target video; the text data may be text content analyzing the story line and / or plot of the target video, text content recommending the target video, character analysis text content corresponding to each character in the target video, analysis content of the character object playing the character in the target video, etc., for example: an article recommending "abc" by Amway, an article deeply analyzing the relationship between the characters in "abc", an article analyzing the story line of xx character in "abc", etc.; the audio and video data is used to indicate the analysis of the plot and / or story line of the target video, each character in the target video, and the character object corresponding to the character playing the target video, and may be presented in the form of MP3 or MP4, or presented in other audio and video formats, which is not limited in the present application.
[0095] Optionally, character entity words corresponding to each character in the target video are extracted from the image text data, and a character relationship graph corresponding to the target video is generated based on the association relationship between the characters described in the image text data; In the embodiment of the present application, the image text data carries labels corresponding to the target video, each character in the target video, and the candidate characters, and the image text data with the same / overlapping labels are associated. For details, please refer to Figure 4 , when playing the first video clip a corresponding to the first character 101, when the second character 102 appears in the playing screen, the terminal performs face recognition on the current frame, and obtains that the candidate character who plays the candidate character 102 is "Li Si", obtains image text data carrying the candidate character "Li Si" label and the label corresponding to the target video, and determines that the candidate character "Li Si" is the person who plays the second character 102 based on the image text data. It should be noted that Figure 4 The candidate character 102 is a subject who plays the second role 102, and therefore, the reference numeral 102 may refer to the candidate character as well as the second role.
[0096] Optionally, based on the candidate roles and the role relationship map, a second role appearing in the playback screen of the first video clip is determined. In the embodiment of the present application, a role association relationship exists between the second role and the first role.
[0097] In an optional embodiment, the process of determining the second role includes but is not limited to the following methods:
[0098] First, in response to the appearance of a candidate character in the first video clip, a screenshot corresponding to the candidate character is captured; image data corresponding to the target video is acquired; the screenshot and the image data of the target video object are compared to determine whether the screenshot appears in the image data corresponding to the target video; if so, the candidate character is determined as the second character based on the role relationship image.
[0099] Second, in response to the appearance of a candidate role in the first video clip, face recognition is performed on the current frame of the first video clip to determine a human object corresponding to the candidate role, wherein the human object includes a name of an object that plays the candidate role; it is determined whether the human object has appeared in the target video, in other words, whether the human object corresponding to the candidate role is a character in the target video; if it is determined that the human object has appeared in the target video, the candidate role is determined as the second role.
[0100] In the embodiment of the present application, the method of determining at least one second video clip corresponding to the second character includes but is not limited to the following methods:
[0101] First, a first candidate video clip that has an association relationship with a second character is identified from a preset video library, where the association relationship is used to indicate the relationship between the candidate video clip and the second character. The association relationship can be that the video clip contains the second character, that is, the second video clip is a video clip where the second character appears; or it can be a foreshadowing clip that leads to the second character, that is, the second video clip guides the appearance of the second character; or it can be a video clip where other characters and the second character have a common event, that is, the second character does not appear in the second video clip, but the other characters that appear perform the same event as the second character; the first candidate video clip is matched with the target video to obtain at least one corresponding to the target video. second video clip; the specific process of video matching includes: comparing and de-duplicating the first candidate video clip and the target video, and determining the clip that overlaps with the first candidate video clip from the target video as at least one second video clip; wherein, all videos contained in the preset video library correspond to their own labels, and the labels may include but are not limited to the label of the target video, the labels corresponding to each character in the target video, the labels derived from each character in the target video, the labels corresponding to the character object playing the target video, etc. The terminal extracts the first candidate video clip containing the above labels from the preset video library, compares and de-duplicates the first candidate video clip with the target video, and determines at least one second video clip associated with the second character.
[0102] Second, the terminal locally stores video clips associated with various characters in the target video in advance, and when a second character appears in the playback screen of the first video clip, the second video clip associated with the second character is directly obtained locally.
[0103] Third, the video clips associated with each character in the target video are packaged and stored in a remote storage system. The server updates the video clips associated with each character in the target video stored in the remote storage system in real time according to the tag information in the uploaded video. When a second character appears in the playback screen of the terminal, the terminal sends a request to the server to obtain at least one second video clip corresponding to the second character. The server obtains at least one second video clip associated with the second character in the target video from the remote storage system according to the request.
[0104] Optionally, after determining at least one second video clip associated with the second character, a second character control is displayed in the playback screen of the first video clip, and the second character control is used to play the second video clip associated with the second character in the target video.
[0105] In an embodiment of the present application, the second video clip can be used to indicate a video clip containing the second character, or can be used to indicate a foreshadowing clip that introduces the second character, or can be used to indicate a video clip in which other characters and the second character have a common story (event), that is, the second character does not necessarily appear in the second video clip.
[0106] Step 304: in response to receiving a trigger operation on the second character control, play at least one second video clip associated with the second character.
[0107] Optionally, the second character control can be understood as a quick entry for quickly switching from playing a video clip associated with the first character to playing a video clip associated with the second character, and there is a role association relationship between the second character and the first character.
[0108] Optionally, in response to receiving a trigger operation on the second character control, the trigger operation includes but is not limited to a click operation, a long press operation, a drag operation, a trigger operation input through an external device, a voice control operation, etc., at least one second video clip associated with the second character is obtained and automatically played. For details, please refer to Figure 4 , Figure 4 A schematic diagram of an interface of a video playback method provided in an embodiment of the present application is shown.
[0109] like Figure 4 As shown, the terminal interface 10 displays the content introduction information corresponding to the target video, and the content introduction information includes but is not limited to the introduction content of the target video, the promotional poster corresponding to the target video, the control for playing the target video, the role relationship map corresponding to the target video, etc. In the embodiment of the present application, the role relationship map displays the identity information (role name and / or role identity) corresponding to each role in the target video and the role association relationship between each role ( Figure 4Optionally, the role association description content between the roles can be displayed at the line segment with an arrow, which is convenient for understanding the relationship between the characters in the target video; the role relationship map displays the role avatar control corresponding to the core role of the target video, where the core role is used to indicate the important role that promotes the development of the story line of the target video. Figure 4 It is shown that the target video contains 4 core characters; in response to receiving a trigger operation on the first character control 401, the currently displayed interface 40 is switched to a video playback interface 41 for playing the first video clip corresponding to the first character 401, and the playback interface 41 displays at least one first video clip (first video clips a to c) arranged in a preset order, and highlights the description content corresponding to the first video clip a being played; when the second character 402 appears in the playback interface 42 of the first video clip a, the terminal determines that the second character 102 is a character that has a role association relationship with the first character 401, and superimposes the second character control 103 on the playback interface of the first video clip, and the second character control 403 displays the role description information of the second character 402 and the entrance to watch the video clip corresponding to the second character. Control; in response to receiving a trigger operation on the second character control 403, the first video clip a corresponding to the first character 401 played on the current interface 42 is switched to the playback interface 43 for playing the second video clip b corresponding to the second character 402, and at least one second video clip (second video clips a to c) arranged in a preset order is displayed in the playback interface 43, and the description content corresponding to the second video clip b being played is highlighted. Optionally, the first video clip a and the second video clip b can be the same video clip or different video clips, and the present application does not limit this; when the first video clip a and the second video clip b are the same video clip, during the video playback process, the picture corresponding to the timestamp of ending the playback of the first video clip a is the same as the picture corresponding to the timestamp of starting the playback of the second video clip b.
[0110] In an optional embodiment, the second video clip continues to be played according to the playback content corresponding to the playback progress of the first video clip, and the playback progress is used to indicate the playback content indicated by the corresponding timestamp when switching the first video clip. That is, the playback progress can be understood as the playback progress of the first video clip in the target video. For example, when the first video clip is played to a certain moment (specified timestamp), the second character control displayed in the playback interface is triggered, and the playback progress of the first video clip in the target video corresponding to the specified timestamp is obtained, the playback start timestamp of the second video clip is determined according to the specified timestamp, and the second video clip is played from the start timestamp. Optionally, the second video clip continues to be played from the timestamp corresponding to the preset time period before the playback progress of the above-mentioned first video clip, or continues to be played from the timestamp corresponding to the preset time period after the above-mentioned playback progress, or continues to be played from the timestamp corresponding to the above-mentioned playback progress. For example, the playback progress of the first video clip in the target video is 12:00. After switching to the second video clip, the starting playback time of the second video clip (the starting playback time here is the playback time in the target video) can be continued from the timestamp corresponding to 11:55, or can be continued directly from the timestamp corresponding to 12:00, or can be continued from the timestamp corresponding to 12:05. The preset time period is 5 seconds, and the preset time can also be set according to actual needs. This is only an illustrative example.
[0111] In an optional embodiment, in response to receiving a trigger operation on a second character control, a first story context list corresponding to the second character is displayed, the first story context list including at least one first story node associated with the second character, wherein the i-th first story node corresponds to the i-th second video clip, and i is a positive integer; in an embodiment of the present application, at least one first story node is displayed in the first story context list according to the development sequence of the story line of the target video, and at least one first story node is displayed with node introduction content, and the node introduction content is used to summarize the content of the second video clip corresponding to the first story node, for example, a label corresponding to the second video clip is displayed at the first story node. For example, after triggering the second role control, the first story context list is displayed on the interface (video 1: xx meets xx, video 2: xx successfully obtains clues, video 3: xx and xx have misunderstandings), wherein there are three story nodes in the first story context list, corresponding to video 1, video 2 and video 3 respectively, and the corresponding node introduction content is displayed at the story node corresponding to the video clip. For example, story node: the node introduction content corresponding to video 1 is xx meets xx, and the user directly watches the node introduction content in the story context list corresponding to the role, quickly understands the story line corresponding to the role, and improves the efficiency of the user in understanding the story line development sequence of the entire target video by understanding the character story line.
[0112] In the embodiment of the present application, the display order of at least one second video clip in the first story context list includes but is not limited to the following methods:
[0113] First, at least one first story node is displayed in the first story context list according to the playback order of at least one second video clip in the target video. For example, three second video clips are stored corresponding to the second character, and the three video clips correspond to three story nodes. The three second video clips can be video clips from the same episode and / or the same album of the target video. Schematically, second video clip 1 (story node 1) is the picture corresponding to the second character from 16 minutes 30 seconds to 19 minutes 30 seconds in the second episode of the first season of the target video, second video clip 3 (story node 3) is the picture corresponding to the second character from 20 minutes 15 seconds to 45 minutes 00 seconds in the second episode of the first season of the target video, and second video clip 2 (story node 2) is the picture corresponding to the second character from 1 minute 15 seconds to 12 minutes 00 seconds in the first episode of the second season of the target video; first video clips 1 to 3 are aggregated and arranged in chronological order of the target video, and the arrangement order is as follows: (first video clip 1, second video clip 3, second video clip 2), and node introduction content is displayed at the story node corresponding to the second video clip; or
[0114] Second, displaying at least one first story node in the first storyline list according to the development order of the story line of the target video, that is, displaying according to the development order of the story line of the second character; or,
[0115] Third, at least one first story node is displayed in the first story context list according to a custom arrangement order. The custom arrangement order is used to indicate the arrangement order of the personalized account settings. When the user searches or plays the target video in the specified application, the user logs in with the corresponding account information. The user can personalize the aggregation rules of the video clips corresponding to each character in the target video (that is, personalize the arrangement order of the story nodes corresponding to each character). The personalized setting includes arranging multiple video clips according to the importance of the story development sequence, arranging multiple video clips according to the humor of the video clips, arranging multiple video clips according to the popularity of the video clips, etc. After receiving the trigger operation of the character control, based on the personalized setting, the multiple video clips (story nodes) of the character are arranged and aggregated, and the arranged and aggregated video clips (story nodes) are displayed on the current playback interface, that is, the story context list corresponding to the character is displayed.
[0116] In another optional embodiment, in the interface of playing the second video clip corresponding to the second character, a story line list of the second video clip is displayed, and the story line list displays at least one first story node corresponding to the second character in the above display order, such as Figure 4 As shown, in the playback interface 43, a story context list corresponding to the second character is displayed, and the story context list includes the second video clip ac. The playback list displays the node introduction content of the second video clip, and the node introduction content can be a title overview corresponding to the second video clip, information about the newly appeared character, and so on.
[0117] To sum up, in the video playback method provided in the embodiment of the present application, when watching the first video clip corresponding to the first character, by identifying the second character in the first video clip, an entry control for jumping to play the second video clip corresponding to the second character is provided in the playback screen, so that the user can quickly understand the role relationship between the characters in the target video and improve the efficiency of the user's understanding of the plot of the target video; in addition, by automatically analyzing the role relationship between the characters, other content associated with the target video can be further expanded.
[0118] In an optional embodiment, please refer to 5 for details. Figure 5 : is a flowchart of a video playback method provided by another exemplary embodiment of the present application, which is described by applying the method to a terminal. The scheme includes:
[0119] Step 501, display the first character control.
[0120] In an embodiment of the present application, the first character control is used to play a first video clip associated with the first character in the target video. The first video clip can be used to indicate a video clip containing the first character, or can be used to indicate a foreshadowing clip that introduces the first character, or can be used to indicate a video clip in which other characters and the first character have a common story (event). That is, the first character does not appear in the first video clip at this time.
[0121] Optionally, methods for displaying the first character control include but are not limited to the following methods:
[0122] First, on the video content introduction interface of the target video, at least one character control corresponding to the target video is displayed, and the character control is used to play a video clip corresponding to at least one character contained in the target video, and the character control includes the first character control; in an optional embodiment, the above-mentioned video content introduction interface is an interface obtained by searching for the target video by a specified application, and the specified application can be a browser application, a video playback application, a live broadcast application, a cloud disk storage application, etc., which is not limited in this application.
[0123] In another optional embodiment, the video content introduction interface can also be an introduction interface of an image corresponding to the target video. The image can be a still, behind-the-scenes footage, promotional poster, hand-drawn work, etc. of the target video. The terminal uses image recognition technology to identify the target video corresponding to the image, and displays an entry control for entering the target video for playback in the introduction interface.
[0124] like Figure 4 As shown, "Romance of the Three Kingdoms" is entered in the search area 601 of the browser display interface 600 for search, and a video introduction area 602 and a role relationship display area 606 corresponding to "Romance of the Three Kingdoms" are displayed in the browser display interface 600. The video introduction area 602 includes a plot introduction area 603 of "Romance of the Three Kingdoms", a poster display area 604 and an entry control 605 for playing "Romance of the Three Kingdoms". The user can understand the general plot of "Romance of the Three Kingdoms" by viewing the relevant text description in the plot introduction area 603. The user can trigger the entry control 605. In response to receiving the trigger operation on the entry control 605, the currently displayed browser display interface 600 is switched to the playback interface of playing Romance of the Three Kingdoms. During this process, the browser can start a third-party video playback application, automatically start the third-party video playback application and play Romance of the Three Kingdoms. The role control corresponding to the core role in Romance of the Three Kingdoms is displayed in the role relationship display area 606. The role introduction information and the association information between the roles are also displayed in the role relationship display area 606. The introduction information includes the name of the role and the identity of the role. The association information is used to indicate the association relationship between the roles. Exemplarily, the user can trigger the first role control 607 in the role relationship display area 606 to watch the first video clip corresponding to the first role.
[0125] Second, when the user is watching the target video, a character viewing control is displayed in a designated area of the video playback interface of the target video; in response to receiving a trigger operation on the character viewing control, a floating window containing at least one character control in the target video is superimposed on the video playback interface of the target video, and the transparency of the floating window can be set according to the actual needs of the user. Figure 7 As shown, trigger the role viewing control in the video playback interface ( Figure 7(not shown in the figure), a floating window 701 is superimposed and displayed in the video playback interface 700 of the target video, and the floating window 701 displays at least one character control. The floating window 701 displays the description information of all characters or part of the characters corresponding to the target video, and the description information includes the character's avatar information, the character's name information and the character's identity information. Exemplarily, a first character control 702 is displayed in the floating window 701, and the first character control 702 includes the avatar information and name information corresponding to the first character "Role A".
[0126] Step 502: In response to receiving a trigger operation on a first character control, obtaining a first video clip associated with the first character.
[0127] In the embodiment of the present application, the method of determining at least one first video clip associated with the first role includes but is not limited to the following methods:
[0128] First, a second candidate video clip that has an association relationship with the first character is identified from a preset video library, and the association relationship is used to indicate the relationship between the candidate video clip and the first character. The association relationship can be that the first character is included in the candidate video clip, that is, the first video clip is a video clip where the first character appears; it can also be a foreshadowing clip that leads to the first character, that is, the first video clip guides the appearance of the first character; it can also be a video clip where other characters and the first character have a common event, that is, the first character will not appear in the first video clip, and the other characters that appear have done a common event with the first character; the second candidate video clip is matched with the target video to obtain at least one A first video clip; the specific process of video matching includes: comparing and de-duplicating the second candidate video clip and the target video, and determining the clip that overlaps with the second candidate video clip from the target video as at least one first video clip; wherein all videos contained in the preset video library carry their own tags, which may include but are not limited to the tag of the target video, the tags corresponding to each character in the target video, the tags derived from each character in the target video, the tags corresponding to the character object playing the target video, etc. The terminal extracts the second candidate video clip containing the above tags from the preset video library, compares and de-duplicates the second candidate video clip with the target video, and determines at least one first video clip associated with the first character. Optionally, the preset video library is a video library of a preset short video program, that is, the video library of the preset short video program includes short videos disclosed on the short video platform of the preset short video program, and the short videos are accompanied by video tags.
[0129] Second, the terminal locally stores video clips associated with each character in the target video in advance. After receiving the trigger operation on the first character control, the terminal directly obtains at least one first video clip associated with the first character locally.
[0130] Third, the video clips associated with each character in the target video are packaged and stored in a remote storage system. The server updates the video clips associated with each character in the target video stored in the remote storage system in real time according to the tag information in the uploaded video. When the terminal receives a trigger operation on the first character control, the terminal sends a request to the server to obtain at least one first video clip associated with the first character. The server obtains at least one first video clip associated with the first character in the target video from the remote storage system according to the request.
[0131] In an embodiment of the present application, in response to receiving a trigger operation on a first character control, a second story context list corresponding to a second character is displayed, the second story context list including at least one second story node associated with the first character, wherein the kth second story node corresponds to the kth first video clip, and k is a positive integer.
[0132] In an embodiment of the present application, at least one second story node is displayed in the second story context list according to the development order of the story line of the target video, and at least one second story node is displayed with node introduction content. The node introduction content is used to summarize the content of the first video clip corresponding to the second story node. For example, the title information corresponding to the first video clip, the summary of the character information appearing in the first video clip, etc. are displayed at the first story node.
[0133] In the embodiment of the present application, the display order of at least one first video clip in the second story context list includes but is not limited to the following methods:
[0134] First, displaying at least one second story node in the second story context list according to the playback order of at least one first video clip in the target video; or,
[0135] Second, displaying at least one second story node in the second storyline list according to the development order of the storyline of the target video, that is, playing and displaying them in sequence according to the development order of the storyline of the first character; or,
[0136] Third, at least one second story node is displayed in the second story context list and at least one first video clip is played in sequence according to a custom arrangement order. The custom arrangement order is used to indicate the arrangement order of the personalized account settings. When the user searches or plays the target video in the specified application, the corresponding account information is logged in. The user can personalize the aggregation rules of the video clips corresponding to each character in the target video (that is, personalize the arrangement order of the story nodes corresponding to each character). The personalized setting includes arranging multiple video clips according to the importance of the story development sequence, arranging multiple video clips according to the funny program of the video clips, arranging multiple video clips according to the popularity of the video clips, etc. After receiving the trigger operation of the character control, based on the personalized setting, the multiple video clips (story nodes) of the character are arranged and aggregated, and the arranged and aggregated video clips (story nodes) are set and displayed on the current playback interface, that is, the story context list corresponding to the character is displayed.
[0137] In another optional embodiment, in the interface for playing the first video clip corresponding to the first character, a playlist of the first video clips is displayed, and the playlist displays the introduction content of the first video clips in the order of playing at least one first video clip, such as Figure 4 As shown, in the playback interface 41, a story context list corresponding to the first character is displayed, and the story context list includes the first video clip ac. The story context list displays the introduction content of the first video clip, and the introduction content may be a title overview corresponding to the first video clip, information about the newly appeared character, and so on.
[0138] In an embodiment of the present application, at least one first video clip in the second story context list is played in sequence according to the order of the second story context list. Optionally, the user can actively trigger the target story node in the second story context list for playback according to viewing needs.
[0139] Step 503: In response to the second character appearing in the playback screen of the first video clip, a second character control corresponding to the second character is displayed.
[0140] Optionally, during the playback of at least one video segment, the terminal performs character recognition on a current frame of a first video segment to obtain candidate characters appearing in the playback screen of the first video segment.
[0141] Optionally, based on the role relationship map corresponding to the candidate roles and the target video, the second role appearing in the playback screen of the first video clip is determined, and a second role control corresponding to the second role is displayed. The second role control can be understood as a quick entry for quickly switching from playing the video clip corresponding to the first role to playing the video clip corresponding to the second role, and there is a role association relationship between the second role and the first role.
[0142] The specific execution process of this step is the same as step 303 and will not be repeated here.
[0143] Step 504: In response to receiving a trigger operation on the second character control, display a character introduction interface.
[0144] Optionally, the second role control also displays a description of the relationship between the first role and the second role, and the relationship description is used to indicate the role association relationship between the first role and the second role. For example, the second role "Zhang San" is a college classmate of the first role "Li Si". After the terminal identifies the second role "Zhang San", the second role control is displayed in the interface. The second role control displays "Zhang San is Li Si's college classmate. Click to view detailed introduction". Optionally, the second role control displays avatar information corresponding to "Zhang San".
[0145] Optionally, in response to receiving a trigger operation on the second character control, a role introduction interface corresponding to the second character is superimposed on the current playback screen, the role introduction interface includes introduction information of the second character, an entry control for viewing at least one second video clip corresponding to the second character, and a relationship network of the first character in the target video, the relationship network including a relationship description between the first character and at least one character in the target video; optionally, the relationship description between the first character and the second character is highlighted in the relationship network.
[0146] Optionally, the character introduction interface also includes a playback control for playing at least one second video clip corresponding to the second character; in response to receiving a trigger operation on the playback control, the current interface is switched to the playback interface of at least one second video clip corresponding to the second character. In an embodiment of the present application, the playback screen corresponding to the timestamp at which playback of the second video clip starts is the same as the playback screen corresponding to the timestamp at which playback of the first video clip ends. It should be noted that the screens before and after the video switch may also be different, and the present application does not limit this.
[0147] Step 505: in response to receiving a trigger operation on a play control in the role introduction information interface, play at least one second video clip associated with the second role.
[0148] Optionally, at least one video clip corresponding to the second character is obtained and played.
[0149] For details, please see Figure 8 , Figure 8 A schematic diagram of an interface for displaying relationship description content provided by an exemplary embodiment of the present application is shown, where a terminal plays a first video clip corresponding to a first character in a target video, the first video clip including a first character 801; in response to a second character 802 appearing in the playback screen of the first video clip, a second character control 803 is superimposed and displayed in the current playback screen, and the second character control 803 displays the relationship description content between the first character and the second character, for example, the second character is a subordinate of the first character; in response to receiving a trigger operation on the second character control, a role introduction interface 804 is superimposed and displayed in the current interface, the role introduction interface 804 includes an introduction content 805 of the second character, a playback control 807 for playing a second video clip corresponding to the second character, and a relationship network 806 of the first character in the target video, wherein the relationship network 806 of the first character in the target video also includes a control 808 for viewing a complete role relationship map of the target video; optionally, a hide control 809 is also displayed in the role introduction interface 804, and the hide control 809 is used to hide the role introduction interface 804.
[0150] The specific execution process of this step is the same as step 304 and will not be repeated here.
[0151] To sum up, in the video playback method provided in the embodiment of the present application, when watching the first video clip corresponding to the first character, by identifying the second character in the first video clip, an entry control for jumping to play the second video clip corresponding to the second character is provided in the playback screen, so that the user can quickly understand the role relationship between the characters in the target video and improve the efficiency of the user's understanding of the plot of the target video; in addition, by automatically analyzing the role relationship between the characters, other content associated with the target video can be further expanded.
[0152] In this embodiment, video clips are aggregated based on the story development sequence corresponding to the characters or the story development sequence of the target video, and the story development sequence between the characters is linked through the character controls displayed in the playback screen for switching video clips, thereby improving the efficiency of users in understanding the plot of the target video.
[0153] In this embodiment, by superimposing the role introduction interface corresponding to the second role on the playback interface, the user can directly obtain the association relationship between the second role and the first role, the identity information corresponding to the second role, and the relationship network of the first role in the target video from the role introduction interface, thereby avoiding the need for the user to perform unnecessary search steps and improving the efficiency of the user in obtaining the target video information; and controls for jumping to play the second video clip and viewing the complete role relationship map are provided in the role introduction interface, further improving the efficiency of the user in understanding the story line of the target video.
[0154] In an optional embodiment, please refer to 9 for details. Fig. 9 FIG. 1 is a flowchart of a video playback method provided by another exemplary embodiment of the present application, which is described by applying the method to a terminal. The method includes:
[0155] Step 901, display the first character control.
[0156] Optionally, the user selects a target video to watch, where the target video is used to indicate a video clip to be played, and the target video includes but is not limited to at least one of a short video, a film or TV series, and a documentary.
[0157] Optionally, in the relevant interface displaying the target video, a role relationship map corresponding to the target video is displayed. The role relationship map is used to indicate the relationship between the various characters in the target video, and can also be used to indicate the relationship between the protagonists in the target video. This application does not limit this.
[0158] Optionally, the role relationship map includes a role control corresponding to each role, and the role control is used to indicate the role information of the role in the target video, including but not limited to the information of the person playing the role, the name of the role played by the character in the target video, the identity of the role played by the character in the target video, and the information of the person who dubs the character on screen.
[0159] The execution process of this step is the same as step 301 and will not be repeated here.
[0160] Step 902: In response to receiving a trigger operation on a first character control, obtaining a first video clip associated with the first character.
[0161] Optionally, the first character control can be understood as a quick entry for playing the video clip corresponding to the first character.
[0162] Optionally, in response to receiving a trigger operation on the first character control, the trigger operation including but not limited to a click operation, a long press operation, a drag operation, a trigger operation input through an external device, and a voice control operation, a first video clip corresponding to the first character is obtained.
[0163] The execution process of this step is the same as step 302 and will not be repeated here.
[0164] Step 903: In response to the second character appearing in the playback screen of the first video clip, a second character control corresponding to the second character is displayed.
[0165] Optionally, the first role corresponds to at least one first video clip, and the at least one first video clip is played sequentially; during the playback of at least one video clip, the terminal performs role recognition on the current frame of the first video clip to obtain a candidate role appearing in the playback screen of the first video clip.
[0166] Optionally, obtain a role relationship map corresponding to the target video, where the role relationship map is used to indicate the association relationship between the characters appearing in the target video; based on the candidate roles and the role relationship map, determine the second role appearing in the playback screen of the first video clip, and display a second role control corresponding to the second role in the playback screen.
[0167] The execution process of this step is the same as step 303 and will not be repeated here.
[0168] Step 904: in response to receiving a trigger operation on the second character control, play at least one second video clip associated with the second character.
[0169] Optionally, the second character control can be understood as a quick entry for quickly switching from playing a video clip associated with the first character to playing a video clip associated with the second character, and there is a role association relationship between the second character and the first character.
[0170] Optionally, in response to receiving a trigger operation on the second character control, which trigger operation includes but is not limited to a click operation, a long press operation, a drag operation, a trigger operation input through an external device, a voice control operation, etc., at least one second video clip corresponding to the second character is obtained and played automatically.
[0171] The execution process of this step is the same as step 304 and will not be repeated here.
[0172] Step 905: Display a return control in the playback screen of the second video segment.
[0173] Optionally, a return control is displayed at a preset position on the playback screen, and the return control is used to indicate switching to playing the first video clip corresponding to the first character based on the second video clip currently being played.
[0174] In some embodiments, when switching from playing a first video clip to playing a second video clip, and then switching from playing a second video clip to playing the first video clip, after a successful switch, a prompt message is superimposed and displayed in the playback interface, and the prompt message is used to prompt that the video has been successfully switched. After the display time of the prompt message reaches a preset time, the prompt message is cancelled from being displayed in the interface; alternatively, a close control is provided in the prompt message, and the user actively cancels the display of the prompt message by triggering the close control.
[0175] Optionally, when the display time of the prompt information reaches a preset time, as the display time increases, the display transparency of the prompt information also increases.
[0176] Step 906, in response to receiving a trigger operation on the return control, switching the currently playing second video segment to playing the first video segment associated with the first character.
[0177] Optionally, after switching from playing the second video segment to playing the first video segment, the playing rules of the first video segment include but are not limited to the following:
[0178] First, according to the aggregation order of the first video clips corresponding to the first characters, the currently playing second video clip is switched to playing the first first video clip, that is, after receiving the trigger operation of the return control, at least one first video clip corresponding to the first character is replayed.
[0179] Second, the currently played second video segment is switched to the first video segment corresponding to the historical playback timestamp, where the historical playback timestamp is used to indicate the timestamp of the first video segment played most recently.
[0180] Third, in response to the currently playing second video clip overlapping with the content of the first video, switching the playback of the first video clip according to the playback progress of the currently playing second video clip; including, in response to the currently playing second video clip being played to completion, sequentially playing the next first video clip corresponding to the first video clip that overlaps with the second video clip, thereby avoiding the user from repeatedly watching the same video clip before and after the video switch, thereby improving the user's efficiency in viewing the target video; in response to the currently playing second video clip not being played to completion, switching the playback of the first video clip according to the playback progress of the currently playing second video clip, thereby achieving smooth plot connection before and after the switching of video clips corresponding to different characters, thereby improving the user's efficiency in understanding the plot content of the target video.
[0181] For details, please see Fig.10 , Fig.10A schematic diagram of an interface for switching from a second video clip to a first video clip in an embodiment of the present application is shown. In response to a trigger operation on a second character control, after successfully playing the second video clip corresponding to the second character, a first prompt message 1002 is displayed in the playback screen. The first prompt message 1002 is used to prompt the user that the video switching has been successfully completed (here, it refers to successfully switching from the first video clip to the second video clip). In the interface for playing at least one second video clip corresponding to the second character, the clip name and the clip source of each second video clip are also displayed. For example, the clip title "Second character and first character" corresponding to the second video clip b is displayed in the playback interface. The second video clip b corresponds to "a formal meeting of two characters", and the source of the second video clip b is "the target video episode 1 06 minutes and 30 seconds". The user can independently select the second video clip corresponding to the second character to be viewed in the current interface; in response to receiving a trigger operation on the return control 1001, the second video clip is switched back to the first video clip, and after the successful switching, the second prompt information 1003 is displayed in the current playback screen. The second prompt information 1003 is used to prompt the user that the video switching has been successfully completed (here, it refers to the successful switching from the second video clip to the first video clip). The user can independently select the first video clip corresponding to the first character to be viewed in the current interface. It should be noted that Fig.10 The illustration in the figure shows that when switching to the first video segment, the playback time of the original first video segment is returned. This is only an illustrative example. The playback screens of the first video segment and the second video segment before and after the switch may be the same or different, and this application does not limit this.
[0182] In the above embodiment, during the process of switching from the first video clip to the second video clip, the second video clip can be in a playing state or in a paused state; during the process of switching from the second video clip to the first video clip, the first video clip can be in a playing state or in a paused state, and the present application does not limit this.
[0183] To sum up, in the video playback method provided in the embodiment of the present application, when watching the first video clip corresponding to the first character, by identifying the second character in the first video clip, an entry control for jumping to play the second video clip corresponding to the second character is provided in the playback screen, so that the user can quickly understand the role relationship between the characters in the target video and improve the efficiency of the user's understanding of the plot of the target video; in addition, by automatically analyzing the role relationship between the characters, other content associated with the target video can be further expanded.
[0184] In an embodiment of the present application, video clips are aggregated based on the story development sequence corresponding to the characters or the story development sequence of the target video, and the story development sequence between the characters is linked through a character control for switching video clips displayed in the playback screen, thereby improving the efficiency of users in understanding the plot of the target video; by providing a control for switching video clips in the playback screen, it is convenient for users to switch back and forth freely between the video clips corresponding to each character of the target video, thereby improving the efficiency of users in understanding the story line of the target video.
[0185] In an optional embodiment, please refer to 11 for details. Fig.11 FIG. 1 is a flowchart of video playback provided by another exemplary embodiment of the present application, which is described by applying the method to a terminal. The method includes:
[0186] Step 1100, click on the avatar of character A to enter the story line of character A.
[0187] In some embodiments, a role relationship map is displayed in the content introduction interface or the playback interface of the target video. The role relationship map includes an avatar corresponding to at least one character in the target video, and the avatar can be triggered to enter and watch the story line corresponding to the specified character.
[0188] Schematically, the avatar corresponding to character A is displayed in the character relationship map corresponding to the target video. The user clicks on the avatar of character A to view the story line corresponding to character A. The story line corresponding to character A is used to indicate the story experience corresponding to character A, or to indicate the story experience that character A has with other characters; for example, see Figure 6 , the user is Figure 6 In the interface shown, click on the avatar 607 corresponding to character A to enter the story line corresponding to character A.
[0189] Step 1101: Identify at least one first video segment corresponding to character A in a target video.
[0190] In some embodiments, after the backend receives a trigger operation on the avatar of character A, at least one video clip corresponding to character A is obtained.
[0191] In other embodiments, candidate video clips carrying character A and / or target video tags are identified from a preset video library, and the candidate video clips and the target video are compared and deduplicated to determine at least one first video clip corresponding to character A, and the at least one video clip is named by manual labeling, that is, each first video clip has a corresponding title; the back end feeds back the at least one identified first video clip to the front end for display.
[0192] In some embodiments, at least one first video clip is played in the playback order of the target video, and the story line corresponding to character A is displayed in a designated area, the story line including a quick entry to at least one first video clip, a title name corresponding to at least one first video clip, and a time origin / source origin corresponding to at least one video clip. Optionally, the appearance of other characters is also displayed around the display area of the title name corresponding to at least one first video clip. For example, if character B newly appears in the first video clip a, a prompt message "Character B appears" is displayed around the first video clip a.
[0193] Step 1102: automatically play at least one first video segment according to the play order of the target video.
[0194] In some embodiments, the first video clip is automatically played in the playback order of the target video, or a story line list corresponding to character A is displayed in the current interface, and the user selects the target first video clip from the story line list to watch. After watching one first video clip, the next first video clip is automatically played in the aggregation order of at least one first video clip.
[0195] Step 1103, watch the story line of character A.
[0196] In some embodiments, after clicking on the avatar of character A to obtain the story line segment corresponding to character A, at least one first video segment corresponding to character A is automatically played, and the user can select a target first video segment from the at least one first video segment displayed in the interface to watch.
[0197] Step 1104, identifying character B by comparing the current frame with the character relationship map.
[0198] In some embodiments, in the first video clip corresponding to character A, the terminal background automatically extracts the playback screen of the current frame for face recognition, compares it with the character relationship image of the target video, identifies character B, and determines whether character B has a direct relationship with character A. For details of the judgment process, please refer to steps 1105 and 1106, which are not described in detail here.
[0199] Step 1105, determining whether character B is the core character of the target video.
[0200] Optionally, the core character is used to indicate the main character that drives the story line of the target video, for example, the first male protagonist, the second male protagonist, the female protagonist, etc.
[0201] In some embodiments, it is determined based on the face recognition results whether character B appears in the character relationship map. If so, character B is determined to be the core character of the target video. If not, the characters appearing in the first video clip are continued to be identified until the newly appearing character is the core character of the target video.
[0202] Step 1106, determining whether the second video clip corresponding to character B exceeds a preset number.
[0203] Optionally, when character B is a core character of the target video, a second video clip corresponding to character B is obtained;
[0204] When the number of second video clips corresponding to character B exceeds a preset number, the second video clips are aggregated. The preset number can be set by the user. In the embodiment of the present application, the preset number is set to 5.
[0205] Step 1107, aggregate the character B story line corresponding to character B.
[0206] Optionally, according to the second video clips corresponding to character B, the story lines described by the second video clips are manually annotated, and the manually annotated second video clips are aggregated into the character B story line corresponding to character B.
[0207] Step 1108, display the avatar corresponding to character B, and show the relationship description between character B and character A.
[0208] In some embodiments, when at least one second video segment corresponding to character B is aggregated, an avatar corresponding to character B is displayed in a designated area of the playback interface of the first video segment, and a description of the relationship between character B and character A is presented.
[0209] Step 1109, click on the character B's avatar.
[0210] In some embodiments, the user clicks on the avatar corresponding to trigger character B to enter the interface for viewing the story line corresponding to character B.
[0211] In other embodiments, in response to receiving a trigger operation of the character B's avatar, the play time / play progress of the story line segment corresponding to the character A is retained and stored.
[0212] Step 1110, click on character B's story line.
[0213] In some embodiments, after clicking on the avatar of character B, a prompt message is displayed in the interface, and the prompt message is used to prompt the user whether to enter and watch the story line of character B; in response to receiving a confirmation operation on the prompt message, the story line corresponding to character B is displayed in the interface.
[0214] Step 1111, enter the story line of character B and play it from the same segment and time as the story line of character A.
[0215] In response to receiving a trigger operation for character B's storyline, the scenes in character B's storyline that are in the same segment and at the same time as character A's storyline are automatically played, so that the smoothness of the scenes can be ensured before and after the story lines are switched, and the situation where there are large differences between the previous and next scenes when switching between different videos is avoided, thereby improving video playback efficiency.
[0216] Step 1112, watch character B's story line.
[0217] In some embodiments, after clicking on the avatar of character B to obtain the story line segment corresponding to character B, the second video segment of character B corresponding to the timestamp of ending the story line of character A is automatically played. In this embodiment, during the switching process of the character story lines, the first video segment and the second video segment are the same, or the first video segment and the second video segment contain the same video segment.
[0218] In some embodiments, during the playback of the second video segment, the user can select a target second video segment from the displayed list of second videos to watch.
[0219] Step 1113, click the return control in character B's story line to return to watching character A.
[0220] In some embodiments, in the playback screen of the second video clip, a return control is displayed in a designated area of the interface, and the return control is used to indicate switching the story line segment corresponding to character B back to the story line segment corresponding to character A.
[0221] Step 1114, return to the original progress time of the original segment of character A's story line.
[0222] In some embodiments, in response to receiving a trigger operation on a return control, the story line segment corresponding to the currently playing character B is switched back to the story line segment corresponding to character A; the play time / play progress of the story line segment corresponding to character A is obtained, and the story line segment of character A continues to be played according to the play time / play progress.
[0223] Step 1115, continue watching the video clip corresponding to the story line of character A.
[0224] In some embodiments, the user continues to watch the first video clips included in the story line of character A.
[0225] In some optional embodiments, when other character avatars appear in the first video clip, you can click on the other character avatars to view the story line segments corresponding to the other characters, and then switch freely by triggering the return control, so that users can quickly understand the relationship between the characters and the direction of the plot.
[0226] To sum up, in the video playback method provided in the embodiment of the present application, when watching the first video clip corresponding to the first character, by identifying the second character in the first video clip, an entry control for jumping to play the second video clip corresponding to the second character is provided in the playback screen, so that the user can quickly understand the role relationship between the characters in the target video and improve the efficiency of the user's understanding of the plot of the target video; in addition, by automatically analyzing the role relationship between the characters, other content associated with the target video can be further expanded.
[0227] In an embodiment of the present application, video clips are aggregated based on the story development sequence corresponding to the characters or the story development sequence of the target video, and the story development sequence between the characters is linked through the character controls displayed in the playback screen for switching video clips, thereby improving the efficiency of users in understanding the plot of the target video.
[0228] In an embodiment of the present application, when a user watches a first video clip corresponding to a first character in a target video, the role relationships between the various characters appearing in the first video clip are intelligently identified, and unimportant characters in the target video are filtered out by setting role identification conditions, thereby effectively saving the computing resources of the terminal; an entry control for jumping to video clips corresponding to different characters / different story lines is provided in the playback screen to achieve free switching, thereby effectively improving the efficiency of information acquisition when the user watches the target video.
[0229] Fig.12 is a structural block diagram of a video playback device provided by an exemplary embodiment of the present application, such as Fig.12 As shown, the device includes: a display module 1201 and a playback module 1202;
[0230] Display module 1201, used for displaying a first character control, where the first character control is used for playing a first video clip associated with a first character in a target video;
[0231] A playing module 1202, configured to play the first video clip associated with the first character in response to receiving a triggering operation on the first character control;
[0232] The display module 1201 is further configured to display a second role control corresponding to the second role in response to a second role appearing in the playback screen of the first video clip, wherein a role association relationship exists between the second role and the first role, and the second role control is configured to play the second video clip associated with the second role in the target video;
[0233] The playing module 1202 is further configured to play at least one second video clip associated with the second character in response to receiving a triggering operation on the second character control.
[0234] In an optional embodiment, if Fig.13 As shown, the playback module 1202 is also used to continue playing the second video segment according to the playback content corresponding to the playback progress of the first video segment, and the playback progress is used to indicate the playback content indicated by the corresponding timestamp when switching the first video segment.
[0235] In an optional embodiment, the display module 1201 is also used to display a first story context list corresponding to the second character in response to receiving a trigger operation on the second character control; the first story context list includes at least one first story node associated with the second character, wherein the i-th first story node corresponds to the i-th second video clip, and i is a positive integer; the at least one first story node corresponds to a node introduction content, and the node introduction content is used to summarize the second video clip associated with the first story node.
[0236] In an optional embodiment, the display module 1201 is further configured to display the at least one first story node in the first story context list according to the development sequence of the story line of the target video.
[0237] In an optional embodiment, the display module 1201 is further used to display the at least one first story node in the first story context list according to the playback order of the at least one second video clip in the target video.
[0238] In an optional embodiment, the playback module 1202 is further used to play the at least one second video clip in sequence according to the arrangement order of the at least one first story node in the first story context list.
[0239] In an optional embodiment, if Fig.13 As shown, the device further includes an identification module 1203, an acquisition module 1204 and a determination module 1205;
[0240] The identification module 1203 is used to identify the roles of the playing pictures and obtain the candidate roles appearing in the playing pictures;
[0241] An acquisition module 1204 is used to acquire a role relationship map corresponding to the target video, wherein the role relationship map is used to indicate the association relationship between the roles appearing in the target video;
[0242] The determination module 1205 is used to determine the second role appearing in the playback screen based on the candidate roles and the role relationship map, and display the second role control.
[0243] In an optional embodiment, if Fig.13 As shown, the determination module 1205 is further used to determine the second character appearing in the playing picture;
[0244] The identification module 1203 is further configured to identify a first candidate video segment associated with the second character from a preset video library;
[0245] The determination module 1205 is further configured to match the first candidate video segment with the target video, and determine a segment in the target video that overlaps with the first candidate video segment as the at least one second video segment.
[0246] In an optional embodiment, if Fig.13 As shown, the display module 1201 is also used to display at least one character control corresponding to the target video in the video content introduction interface of the target video, and the character control is used to play a video clip associated with at least one character contained in the target video, and the character control includes the first character control; or, in the video playback interface of the target video, a floating window containing the at least one character control is superimposed and displayed.
[0247] In an optional embodiment, if Fig.13 As shown, the identification module 1203 is further used to identify a second candidate video segment associated with the first role from a preset video library;
[0248] The determination module 1205 is further configured to match the second candidate video segment with the target video, and determine a segment in the target video that overlaps with the second candidate video segment as the at least one first video segment. Fig.13As shown, the display module 1201 is also used to display a second story context list corresponding to the first character in response to receiving a trigger operation on the first character control; the second story context list includes at least one second story node associated with the first character, wherein the nth second story node corresponds to the nth first video clip, and n is a positive integer; the at least one second story node is displayed with node introduction content, and the node introduction content is used to summarize the first video clip corresponding to the second story node.
[0249] In an optional embodiment, if Fig.13 As shown, the display module 1201 is also used to display the at least one second story node in the second story context list according to the development order of the story line of the target video; or, to display the at least one second story node in the second story context list according to the playback order of the at least one first video clip in the target video.
[0250] In an optional embodiment, if Fig.13 As shown, the playing module 1202 is further used to play the at least one first video clip in sequence according to the arrangement order of the at least one second story interface in the second story context list.
[0251] In an optional embodiment, the display module 1201 is further used to display a play list of the at least one first video segment, wherein the play list displays the introduction content of the first video segment in the order in which the at least one first video segment is played.
[0252] The display module 1201 is further configured to display a description of the relationship between the first role and the second role while displaying the second role control corresponding to the second role.
[0253] In an optional embodiment, if Fig.13 As shown, the display module 1201 is also used to display a relationship network of the first character in the target video, wherein the relationship network includes a relationship description between the first character and at least one character in the target video; and the relationship description between the first character and the second character is highlighted in the relationship network.
[0254] In an optional embodiment, if Fig.13 As shown, the display module 1201 is further used to display a return control during the playback of the second video clip, and the return control is used to indicate switching from the currently played second video clip to the first video clip associated with the first role.
[0255] The playback module 1202 is further configured to, in response to receiving a trigger operation on the return control, switch the currently playing second video segment to play the first video segment associated with the first character, wherein the first video segment after switching is in a playing state or a paused state.
[0256] In an optional embodiment, if Fig.13 As shown, the playback module 1202 is also used to switch the currently playing second video segment to the first first video segment according to the aggregation order of the first video segments associated with the first role; or, switch the currently playing second video segment to the first video segment corresponding to the historical playback timestamp, wherein the historical playback timestamp is used to indicate the timestamp of the most recent playback of the first video segment; or, in response to the currently playing second video segment overlapping with the content of the first video, switch the playback of the first video segment according to the playback progress of the currently playing second video segment.
[0257] In an optional embodiment, if Fig.13 As shown, the playing module 1202 is further used to play the next first video segment corresponding to the first video segment overlapping with the second video segment in sequence in response to the currently played second video segment being played.
[0258] In response to the second video segment currently being played not being completely played, the playback is switched to the first video segment according to the playback progress of the second video segment currently being played.
[0259] To summarize, the video playback device provided in the embodiment of the present application, when watching a first video clip associated with a first character, automatically analyzes the role relationship between the first character and the second character by identifying the second character in the first video clip, and provides an entry control in the playback screen for jumping to play the second video clip associated with the second character, so as to facilitate users to quickly understand the role relationship between the characters in the target video and improve the efficiency of users in understanding the plot of the target video; in addition, by automatically analyzing the role relationship between the characters, the video clips are aggregated based on the story development sequence corresponding to the characters or the story development sequence of the target video, and the story development sequence between the characters is linked through the role control displayed in the playback screen for switching video clips, so as to improve the efficiency of users in understanding the plot of the target video, and can further expand the consumption of other content associated with the target video.
[0260] It should be noted that the video playback device provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the video playback device provided in the above embodiment and the video playback method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0261] Fig.14 A schematic diagram of the structure of a server provided by an exemplary embodiment of the present application is shown. The server may be Figure 2 The server 220 is shown. Specifically:
[0262] The server 220 includes a central processing unit (CPU) 1401, a system memory 1404 including a random access memory (RAM) 1402 and a read only memory (ROM) 1403, and a system bus 1405 connecting the system memory 1404 and the central processing unit 1401. The server 220 also includes a basic input / output system (I / O system) 1406 for facilitating information transmission between various components in the computer, and a large-capacity storage device 1407 for storing an operating system 1413, application programs 1414, and other program modules 1415.
[0263] The basic input / output system 1406 includes a display 1408 for displaying information and an input device 1409 such as a mouse and a keyboard for user inputting information. The display 1408 and the input device 1409 are connected to the central processing unit 1401 through an input / output controller 1410 connected to the system bus 1405. The basic input / output system 1406 may also include an input / output controller 1410 for receiving and processing inputs from a plurality of other devices such as a keyboard, a mouse, or an electronic stylus. Similarly, the input / output controller 1410 also provides output to a display screen, a printer, or other types of output devices.
[0264] The mass storage device 1407 is connected to the central processing unit 1401 through a mass storage controller (not shown) connected to the system bus 1405. The mass storage device 1407 and its associated computer readable media provide non-volatile storage for the server 220. That is, the mass storage device 1407 may include a computer readable medium (not shown) such as a hard disk or a compact disc read only memory (CD-ROM) drive.
[0265] Without loss of generality, computer readable media may include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented by any method or technology for storing information such as computer readable instructions, data structures, program modules or other data. Computer storage media include RAM, ROM, Erasable Programmable Read Only Memory (EPROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Flash memory or other solid-state storage devices, CD-ROM, Digital Versatile Disc (DVD) or other optical storage, cassettes, tapes, disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that computer storage media are not limited to the above. The above-mentioned system memory 1404 and mass storage device 1407 can be collectively referred to as memory.
[0266] According to various embodiments of the present application, the server 220 can also be connected to a remote computer on the network through a network such as the Internet. That is, the server 220 can be connected to the network 1412 through the network interface unit 1411 connected to the system bus 1405, or the network interface unit 1411 can be used to connect to other types of networks or remote computer systems (not shown).
[0267] The memory also includes one or more programs, which are stored in the memory and configured to be executed by the CPU. Those skilled in the art will appreciate that Fig.14 The structure shown in the figure does not constitute a limitation on the terminal, and may include more or less components than those shown in the figure, or combine certain components, or adopt a different component arrangement.
[0268] The embodiment of the present application also provides a computer device, which can be implemented as follows: Figure 2The computer device includes a processor and a memory, wherein at least one instruction, at least one program, code set or instruction set is stored in the memory, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by the processor to implement the video playback method provided by the above-mentioned method embodiments.
[0269] An embodiment of the present application also provides a computer-readable storage medium, on which is stored at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by a processor to implement the video playback method provided by the above-mentioned method embodiments.
[0270] The embodiments of the present application also provide a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. The processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the video playback method described in any of the above embodiments.
[0271] Optionally, the computer readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a solid state drive (SSD), or an optical disk. Among them, the random access memory may include a resistance random access memory (ReRAM) and a dynamic random access memory (DRAM). The serial numbers of the above embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.
[0272] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0273] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A video playback method, It is characterized in that The method comprises: In response to a search operation for a target video, a role relationship map corresponding to the target video is displayed in a video content introduction interface of the target video, the role relationship map being used to indicate association relationships between roles appearing in the target video, the role relationship map including a first role control corresponding to a first role; In response to receiving a trigger operation on the first character control, playing a first video clip associated with the first character; In response to a second character appearing in the playback screen of the first video clip, displaying a second character control corresponding to the second character, wherein there is a role association relationship between the second character and the first character, and the second character control is used to play the second video clip associated with the second character in the target video; In response to receiving a trigger operation on the second character control, at least one second video clip associated with the second character is played.
2. The method according to claim 1, It is characterized in that In response to receiving a trigger operation on the second character control, playing at least one second video clip associated with the second character comprises: The second video segment continues to be played according to the playback content corresponding to the playback progress of the first video segment, where the playback progress is used to indicate the playback content indicated by the corresponding timestamp when the first video segment is switched.
3. The method according to claim 1 or 2, It is characterized in that In response to the search operation for the target video, displaying a role relationship map corresponding to the target video in the video content introduction interface of the target video includes: Receiving the search operation for the target video in the search area of the browser display interface; In response to the search operation for the target video, a video introduction area and a role relationship display area corresponding to the target video are displayed in the browser display interface, wherein the video introduction area is used to display the plot introduction of the target video, and the role relationship display area is used to display the role relationship map.
4. The method according to claim 1 or 2, It is characterized in that In response to the search operation for the target video, displaying a role relationship map corresponding to the target video in the video content introduction interface of the target video includes: In response to the search operation on the target video, image and text data related to the target video are obtained, where the image and text data is used to describe the association relationship between the characters in the target video, and the image and text data includes at least one of image data, text data, or audio and video data; Based on the association relationship between the various roles described in the image text data, the role relationship map corresponding to the target video is generated.
5. The method according to claim 1 or 2, It is characterized in that The method further comprises: In response to receiving a trigger operation on the second character control, displaying a first story context list corresponding to the second character; the first story context list includes at least one first story node associated with the second character, wherein the i-th first story node corresponds to the i-th second video clip, and i is a positive integer; At least one of the first story nodes corresponds to a node introduction content, and the node introduction content is used to summarize the second video clip corresponding to the first story node.
6. The method according to claim 5, It is characterized in that The displaying of the first storyline list corresponding to the second character includes at least one of the following: Displaying the at least one first story node in the first story context list according to the development order of the story line of the target video; or, The at least one first story node is displayed in the first story context list according to the playback order of the at least one second video clip in the target video.
7. The method according to claim 5, It is characterized in that The playing of at least one second video clip associated with the second role includes: The at least one second video clip is played in sequence according to the arrangement order of the at least one first story node in the first story context list.
8. The method according to claim 1 or 2, It is characterized in that The method of displaying a second character control corresponding to the second character in response to the second character appearing in the playback screen of the first video clip includes: Performing role recognition on the playback screen to obtain candidate roles appearing in the playback screen; Based on the candidate roles and the role relationship map, the second role appearing in the playback screen is determined, and the second role control is displayed.
9. The method according to claim 8, It is characterized in that After determining the second character appearing in the playing screen, the method further includes: Determining the second character appearing in the playback screen; Identifying a first candidate video segment associated with the second role from a preset video library; Matching the first candidate video segment with the target video; A segment overlapping with the first candidate video segment is determined from the target video as the at least one second video segment.
10. The method according to claim 1 or 2, It is characterized in that The method further comprises: In response to receiving a trigger operation on the first character control, displaying a second story context list corresponding to the first character; the second story context list includes at least one second story node associated with the first character, wherein the kth second story node corresponds to the kth first video clip, and k is a positive integer; The at least one second story node corresponds to a node introduction content, and the node introduction content is used to summarize the first video clip corresponding to the second story node.
11. The method according to claim 10, It is characterized in that The displaying of a second storyline list corresponding to the first character includes: The at least one second story node is displayed in the second story context list according to the development order of the story line of the target video.
12. The method according to claim 1 or 2, It is characterized in that The method further comprises: While displaying the second role control corresponding to the second role, a description of the relationship between the first role and the second role is displayed.
13. The method according to claim 12, It is characterized in that The displaying of the relationship description content between the first role and the second role includes: displaying a relationship network of the first character in the target video, wherein the relationship network includes a description of a relationship between the first character and at least one character in the target video; The relationship description between the first role and the second role is highlighted in the relationship network.
14. The method according to claim 1 or 2, It is characterized in that The method further comprises: displaying a return control during playback of the second video clip; In response to receiving a trigger operation on the return control, switching the currently played second video segment to the first video segment associated with the first character; Among them, the first video clip after switching is in a playing state or a paused state.
15. The method according to claim 14, It is characterized in that The step of switching the currently played second video clip to the first video clip associated with the first character comprises at least one of the following: Switching the currently played second video segment to the first video segment corresponding to the historical playback timestamp, where the historical playback timestamp is used to indicate the timestamp of the most recently played first video segment; or, In response to the content of the currently played second video segment overlapping with the content of the first video segment, the first video segment is switched to be played according to the playing progress of the currently played second video segment.
16. The method according to claim 15, It is characterized in that The switching of playing the first video segment according to the playing progress of the second video segment currently being played includes: In response to the completion of the playing of the second video segment currently being played, sequentially playing a next first video segment corresponding to the first video segment overlapping with the second video segment; In response to the second video segment currently being played not being completely played, the first video segment is switched to be played according to the playing progress of the second video segment currently being played.
17. A video playback device, It is characterized in that The device comprises: A display module, configured to, in response to a search operation on a target video, display a role relationship map corresponding to the target video in a video content introduction interface of the target video, wherein the role relationship map is used to indicate association relationships between roles appearing in the target video, and the role relationship map includes a first role control corresponding to a first role; a playing module, configured to play the first video clip associated with the first character in response to receiving a triggering operation on the first character control; The display module is further configured to display a second character control corresponding to the second character in response to a second character appearing in the playback screen of the first video clip, wherein a role association relationship exists between the second character and the first character, and the second character control is configured to play the second video clip associated with the second character in the target video; The playing module is further configured to play at least one second video clip associated with the second character in response to receiving a triggering operation on the second character control.
18. A computer device, It is characterized in that The computer device includes a processor and a memory, wherein the memory stores at least one program, and the at least one program is loaded and executed by the processor to implement the video playback method according to any one of claims 1 to 16.
19. A computer-readable storage medium, It is characterized in that At least one program code is stored in the computer-readable storage medium, and the program code is loaded and executed by the processor to implement the video playback method according to any one of claims 1 to 16.
20. A computer program product, It is characterized in that It includes a computer program or an instruction, which, when executed by a processor, implements the video playback method as described in any one of claims 1 to 16.
Citation Information
Patent Citations
Video search method and video search device
CN106021496A
Video selection playing method, device and equipment and readable storage medium
CN110225369A
Video playing method and device, electronic equipment, storage medium and program product
CN113891157A
Moving video browsing data structure and browsting method
CN1256464A
Visualization of dynamic relationships in a storyline
US20200175066A1
