A video processing method and apparatus
Patent Information
- Application Number
- CN202211466591.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-22
- Publication Date
- 2026-10-09
- Estimated Expiration
- 2042-11-22
AI Technical Summary
在编辑完成、发布之后,可以在视频展示页面如个人页上展示对应的视频标识,但是在一些情况下,视频标识信息不明确,影响用户体验
[0134]本申请实施例提供了一种视频处理方法,在一个示例中,该方法可以由第一客户端执行。第一客户端在发布多个视频之后,在第一页面上展示所述多个视频对应的第一视频标识。第一客户端在展示所述多个视频对应的第一视频标识之后,若预设条件满足,则所述第一客户端可以在预设条件满足的情况下,将所述多个视频对应的第一视频标识切换为第二视频标识。由此可见,利用本方案,用户通过第二视频标识,即可确定所述多个视频为系列视频,相应的,提升了用户的观看体验。
Smart Images

Figure CN115866165B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a video processing method and apparatus. Background Technology
[0002] With the development of computer and network technologies, some applications offer video publishing capabilities. Users can publish videos through these applications. Currently, users can edit the video identifier when publishing a video. After editing and publishing, the corresponding video identifier can be displayed on the video display page, such as the user's profile page. However, in some cases, the video identifier information is unclear, affecting the user experience.
[0003] Therefore, there is an urgent need for a solution to address the above problems. Summary of the Invention
[0004] To solve, or at least partially solve, the above-mentioned technical problems, this application provides a video processing method and apparatus.
[0005] In a first aspect, embodiments of this application provide a video processing method, the method comprising:
[0006] After multiple videos are published, the first video identifier corresponding to the multiple videos is displayed on the first page;
[0007] If the preset conditions are met, the first video identifier corresponding to the multiple videos will be switched to the second video identifier.
[0008] Optionally, if preset conditions are met, the first video identifier corresponding to the plurality of videos is switched to the second video identifier, including:
[0009] When the multiple first video covers corresponding to the multiple videos are consecutive video covers and / or the multiple video contents corresponding to the multiple videos are consecutive video contents, the first video covers corresponding to the multiple videos are switched to second video covers.
[0010] Optionally, before switching the first video identifier corresponding to the plurality of videos to the second video identifier, the method further includes:
[0011] Receive the activation command for the video identifier switching function;
[0012] In response to the activation operation, the video identifier switching function is enabled.
[0013] Optionally, the method further includes:
[0014] The first prompt message is displayed, indicating that the video identifier switching function has been enabled.
[0015] Optionally, the second video cover is obtained by splicing together multiple first video covers corresponding to the multiple videos; or, the second video cover is obtained based on the content of the multiple videos.
[0016] Optionally, if the multiple first video covers corresponding to the multiple videos are consecutive video covers, the second video cover is obtained by splicing together the multiple first video covers corresponding to the multiple videos.
[0017] Optionally, if the multiple video contents corresponding to the multiple videos are consecutive video contents and the multiple first video covers corresponding to the multiple videos are not consecutive video covers, the second video cover is obtained based on the multiple video contents.
[0018] Optionally, switching the first video identifier corresponding to the plurality of videos to the second video identifier includes:
[0019] The first video identifier corresponding to each of the multiple videos is switched to the second video identifier corresponding to each video.
[0020] Optionally, switching the first video identifier corresponding to the plurality of videos to the second video identifier includes:
[0021] The first video identifiers of the multiple videos are removed, and a second video identifier corresponding to all the multiple videos is displayed. The second video identifier is the collection identifier of the video collection corresponding to the multiple videos. The order of the videos in the video collection is determined according to the release order of the multiple videos.
[0022] Optionally, the first video identifier is a first video cover, the second video identifier is a second video cover, and the second video cover also displays the number of videos included in the video collection.
[0023] Optionally, the method further includes:
[0024] A second prompt message is displayed on the first page, which prompts the user to switch the first video identifier of the plurality of videos to the second video identifier.
[0025] Accordingly, the first video identifier corresponding to the plurality of videos is switched to the second video identifier, including:
[0026] In response to the confirmation operation for the second prompt information, the first video identifier corresponding to the plurality of videos is switched to the second video identifier.
[0027] Optionally, the first video identifier is a first video cover, and the second video identifier is a second video cover. The first video cover includes a first video number, the second video cover does not include the first video number, and the second video cover includes a second video number. The association between the multiple second video numbers corresponding to the multiple videos is consistent with the association between the multiple first video numbers corresponding to the multiple videos.
[0028] Optionally, the second video identifier is a second video cover, and the second video cover also includes a video title, which is determined in the following way:
[0029] The title of the first video published among the plurality of videos is determined as the video title; or,
[0030] The video title is determined based on the video content of the multiple videos.
[0031] Optionally, the method further includes:
[0032] In response to a trigger operation targeting the second video identifier, a video playback page is displayed. The video playback page is used to play the first video among the plurality of videos. The video playback page also displays interactive controls, which are used to trigger the display of video information of the video collection.
[0033] Optionally, the method further includes:
[0034] In response to a trigger operation on the interactive control, video information of the multiple videos included in the video collection is displayed, wherein: the video information of the first video includes third prompt information, the third prompt information being used to indicate that the video played on the video playback page is the first video.
[0035] Optionally, the first video is the video played on the second page displayed by the first client. Before displaying the second video identifier of the video collection, the method further includes:
[0036] Display a second page, which is used to play the first video;
[0037] The second video identifier that displays the common identity of the multiple videos includes:
[0038] In response to a triggering operation on the second page, the first page is displayed, and a second video identifier corresponding to the multiple videos is displayed on the first page.
[0039] Optionally, the first video is the video that was published first among the plurality of videos, or the first video is the video with the highest popularity among the plurality of videos.
[0040] Secondly, embodiments of this application provide a video processing method, the method comprising:
[0041] Determine the second video identifier corresponding to the first video identifier of the multiple videos already published by the first client;
[0042] The second video identifier is sent to the first client, thereby controlling the first client to switch the first video identifier corresponding to the plurality of videos to the second video identifier when preset conditions are met.
[0043] Optionally, sending the second video identifier to the first client, and then controlling the first client to switch the first video identifier corresponding to the plurality of videos to the second video identifier when a preset condition is met, includes:
[0044] Send a first instruction message and a second video identifier to the first client. The first instruction message is used to instruct the first client to switch the first video identifier of the plurality of videos to the second video identifier when a preset condition is met.
[0045] Optionally, the preset conditions include:
[0046] The multiple first video covers corresponding to the multiple videos are consecutive video covers, and / or the multiple video contents corresponding to the multiple videos are consecutive video contents.
[0047] Optionally, the first video identifier is a first video cover, and the second video identifier is a second video cover. Determining the second video identifier corresponding to the first video identifier of the plurality of videos already published by the first client includes:
[0048] The multiple first video identifiers are concatenated to obtain the second video identifier.
[0049] Optionally, the first video cover includes a first video number, the multiple videos correspond to multiple first video numbers, and each video corresponds to one first video number. The step of concatenating the multiple first video identifiers to obtain the second video identifier includes:
[0050] The video covers of the multiple videos are spliced together to obtain a third video cover that includes the multiple first video numbers;
[0051] Remove the multiple first video numbers included on the third video cover, and add second video numbers to the third video cover respectively to obtain a second video cover corresponding to each of the multiple videos, wherein each second video cover includes a second video number of the video corresponding to the second video cover.
[0052] Optionally, the plurality of videos correspond to a plurality of second video numbers, with each video corresponding to one second video number, and the association between the plurality of second video numbers is consistent with the association between the plurality of first video numbers.
[0053] Optionally, the first video identifier is a first video cover, and the second video identifier is a second video cover. Determining the second video identifier corresponding to the first video identifier of the plurality of videos already published by the first client includes:
[0054] Determine video frames that meet preset conditions from the plurality of videos;
[0055] The second video cover is obtained based on the video frames.
[0056] Optionally, the second video identifier is a second video cover, and the second video cover also includes a video title. The method further includes:
[0057] The title of the first video published among the plurality of videos is determined as the video title; or,
[0058] The video title is determined based on the video content of the multiple videos.
[0059] Optional,
[0060] The first indication information is used to instruct the first client to switch the first video identifier corresponding to each of the plurality of videos to the second video identifier corresponding to each video respectively; or,
[0061] The first instruction information is used to instruct the first client to cancel the display of multiple first video identifiers of the multiple videos and display a second video identifier that is common to the multiple videos. The second video identifier is the video identifier corresponding to the video collection of the multiple videos. The order of the videos in the video collection is determined according to the release order of the multiple videos.
[0062] Optionally, the second video identifier is the second video cover. If the second video identifier is the video identifier corresponding to the video collection, then the second video cover also includes the number of videos included in the video collection.
[0063] Optionally, before determining the second video identifier, the method further includes:
[0064] The plurality of videos are determined from the videos already published by the first client based on the video titles and / or the video numbers included on the video covers of the already published videos.
[0065] Optionally, determining the plurality of videos from the videos already published by the first client based on the video titles and / or video IDs included on the video covers of the already published videos includes:
[0066] The plurality of videos are determined from the videos already published by the first client based on the similarity of the video titles of the already published videos, and / or the category of the video number included on the video cover.
[0067] Thirdly, embodiments of this application provide a video processing apparatus, the apparatus comprising:
[0068] The first display unit is used to display the first video identifier corresponding to the multiple videos on the first page after multiple videos have been published.
[0069] The switching unit is used to switch the first video identifier corresponding to the plurality of videos to the second video identifier when preset conditions are met.
[0070] Optionally, the switching unit is used for:
[0071] When the multiple first video covers corresponding to the multiple videos are consecutive video covers and / or the multiple video contents corresponding to the multiple videos are consecutive video contents, the first video covers corresponding to the multiple videos are switched to second video covers.
[0072] Optionally, the device further includes:
[0073] The receiving unit is configured to receive the activation operation of the video identifier switching function before switching the first video identifier corresponding to the plurality of videos to the second video identifier;
[0074] An activation unit is used to activate the video identifier switching function in response to the activation operation.
[0075] Optionally, the device further includes:
[0076] The second display unit is used to display the first prompt information, which indicates that the video identifier switching function has been enabled.
[0077] Optionally, the second video cover is obtained by splicing together multiple first video covers corresponding to the multiple videos; or, the second video cover is obtained based on the content of the multiple videos.
[0078] Optionally, if the multiple first video covers corresponding to the multiple videos are consecutive video covers, the second video cover is obtained by splicing together the multiple first video covers corresponding to the multiple videos.
[0079] Optionally, if the multiple video contents corresponding to the multiple videos are consecutive video contents and the multiple first video covers corresponding to the multiple videos are not consecutive video covers, the second video cover is obtained based on the multiple video contents.
[0080] Optionally, the switching unit is used for:
[0081] The first video identifier corresponding to each of the multiple videos is switched to the second video identifier corresponding to each video.
[0082] Optionally, the switching unit is used for:
[0083] The first video identifiers of the multiple videos are removed, and a second video identifier corresponding to all the multiple videos is displayed. The second video identifier is the collection identifier of the video collection corresponding to the multiple videos. The order of the videos in the video collection is determined according to the release order of the multiple videos.
[0084] Optionally, the first video identifier is a first video cover, the second video identifier is a second video cover, and the second video cover also displays the number of videos included in the video collection.
[0085] Optionally, the device further includes:
[0086] The third display unit is used to display a second prompt message on the first page, the second prompt message being used to prompt the switching of the first video identifier of the plurality of videos to the second video identifier;
[0087] Accordingly, the switching unit is used for:
[0088] In response to the confirmation operation for the second prompt information, the first video identifier corresponding to the plurality of videos is switched to the second video identifier.
[0089] Optionally, the first video identifier is a first video cover, and the second video identifier is a second video cover. The first video cover includes a first video number, the second video cover does not include the first video number, and the second video cover includes a second video number. The association between the multiple second video numbers corresponding to the multiple videos is consistent with the association between the multiple first video numbers corresponding to the multiple videos.
[0090] Optionally, the second video identifier is a second video cover, and the second video cover also includes a video title, which is determined in the following way:
[0091] The title of the first video published among the plurality of videos is determined as the video title; or,
[0092] The video title is determined based on the video content of the multiple videos.
[0093] Optionally, the device further includes:
[0094] The fourth display unit is used to display a video playback page in response to a trigger operation on the second video identifier. The video playback page is used to play the first video among the plurality of videos. The video playback page also displays interactive controls, which are used to trigger the display of video information of the video collection.
[0095] Optionally, the device further includes:
[0096] The fifth display unit is used to display video information of the multiple videos included in the video collection in response to a trigger operation on the interactive control, wherein: the video information of the first video includes third prompt information, the third prompt information being used to prompt that the video played on the video playback page is the first video.
[0097] Optionally, the first video is a video played on the second page displayed by the first client. The device further includes:
[0098] The fifth display unit is used to display a second page before the second video identifier of the video collection, and the second page is used to play the first video;
[0099] The second video identifier that displays the common identity of the multiple videos includes:
[0100] In response to a triggering operation on the second page, the first page is displayed, and a second video identifier corresponding to the multiple videos is displayed on the first page.
[0101] Optionally, the first video is the video that was published first among the plurality of videos, or the first video is the video with the highest popularity among the plurality of videos.
[0102] Fourthly, embodiments of this application provide a video processing apparatus, the apparatus comprising:
[0103] The first determining unit is used to determine the second video identifier corresponding to the first video identifier of the multiple videos already published by the first client;
[0104] The sending unit is used to send the second video identifier to the first client, thereby controlling the first client to switch the first video identifier corresponding to the plurality of videos to the second video identifier when a preset condition is met.
[0105] Optionally, the sending unit is used for:
[0106] Send a first instruction message and a second video identifier to the first client. The first instruction message is used to instruct the first client to switch the first video identifier of the plurality of videos to the second video identifier when a preset condition is met.
[0107] Optionally, the preset conditions include:
[0108] The multiple first video covers corresponding to the multiple videos are consecutive video covers, and / or the multiple video contents corresponding to the multiple videos are consecutive video contents.
[0109] Optionally, the first video identifier is a first video cover, the second video identifier is a second video cover, and the first determining unit is used to:
[0110] The multiple first video identifiers are concatenated to obtain the second video identifier.
[0111] Optionally, the first video cover includes a first video number, the plurality of videos correspond to a plurality of first video numbers, each video corresponds to one first video number, and the first determining unit is used for:
[0112] The video covers of the multiple videos are spliced together to obtain a third video cover that includes the multiple first video numbers;
[0113] Remove the multiple first video numbers included on the third video cover, and add second video numbers to the third video cover respectively to obtain a second video cover corresponding to each of the multiple videos, wherein each second video cover includes a second video number of the video corresponding to the second video cover.
[0114] Optionally, the plurality of videos correspond to a plurality of second video numbers, with each video corresponding to one second video number, and the association between the plurality of second video numbers is consistent with the association between the plurality of first video numbers.
[0115] Optionally, the first video identifier is a first video cover, the second video identifier is a second video cover, and the first determining unit is used to:
[0116] Determine video frames that meet preset conditions from the plurality of videos;
[0117] The second video cover is obtained based on the video frames.
[0118] Optionally, the second video identifier is a second video cover, and the second video cover also includes a video title. The device further includes:
[0119] The second determining unit is used to determine the title of the earliest published video among the plurality of videos as the video title; or,
[0120] The third determining unit is used to determine the video title based on the video content of the plurality of videos.
[0121] Optional,
[0122] The first indication information is used to instruct the first client to switch the first video identifier corresponding to each of the plurality of videos to the second video identifier corresponding to each video respectively; or,
[0123] The first instruction information is used to instruct the first client to cancel the display of multiple first video identifiers of the multiple videos and display a second video identifier that is common to the multiple videos. The second video identifier is the video identifier corresponding to the video collection of the multiple videos. The order of the videos in the video collection is determined according to the release order of the multiple videos.
[0124] Optionally, the second video identifier is the second video cover. If the second video identifier is the video identifier corresponding to the video collection, then the second video cover also includes the number of videos included in the video collection.
[0125] Optionally, the device further includes:
[0126] The fourth determining unit is configured to determine the plurality of videos from the videos already published by the first client based on the video titles of the videos already published by the first client and / or the video numbers included on the video covers of the videos already published by the first client, before determining the second video identifier.
[0127] Optionally, a fourth determining unit is used for:
[0128] Before determining the second video identifier, the plurality of videos are determined from the videos already published by the first client based on the similarity of the video titles of the already published videos, and / or the category of the video number included on the video cover.
[0129] Fifthly, embodiments of this application provide an apparatus, the apparatus including a processor and a memory;
[0130] The processor is configured to execute instructions stored in the memory to cause the device to perform the method described in any of the first aspects above, or to cause the device to perform the method described in any of the second aspects above.
[0131] In a sixth aspect, embodiments of this application provide a computer-readable storage medium including instructions that instruct a device to perform the method described in any of the first aspects above, or that instruct a device to perform the method described in any of the second aspects above.
[0132] In a seventh aspect, embodiments of this application provide a computer program product that, when run on a computer, causes the computer to perform the method described in any of the first aspects above, or causes the computer to perform the method described in any of the second aspects above.
[0133] Compared with the prior art, the embodiments of this application have the following advantages:
[0134] This application provides a video processing method. In one example, the method can be executed by a first client. After publishing multiple videos, the first client displays a first video identifier corresponding to the multiple videos on a first page. After displaying the first video identifier, if a preset condition is met, the first client can switch the first video identifier to a second video identifier. Therefore, using this solution, users can determine that the multiple videos are a series of videos by using the second video identifier, thereby improving the user's viewing experience.
[0135] This application provides a video processing method, which, in one example, can be applied to a server. As an example, the method includes: determining a second video identifier corresponding to a first video identifier of multiple videos already published by a first client; sending the second video identifier to the first client, thereby controlling the first client to switch the first video identifier corresponding to the multiple videos to the second video identifier when preset conditions are met. Therefore, using this solution, users can determine that the multiple videos are a series of videos by using the second video identifier, thus improving the user's viewing experience. Attached Figure Description
[0136] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0137] Figure 1 A signaling interaction diagram of a video processing method provided in an embodiment of this application;
[0138] Figure 2a A schematic diagram of a first page provided for an embodiment of this application;
[0139] Figure 2b A schematic diagram of yet another first page provided for an embodiment of this application;
[0140] Figure 2c A schematic diagram of another first page provided for an embodiment of this application;
[0141] Figure 3 This is a schematic diagram of the structure of a video processing apparatus provided in an embodiment of this application;
[0142] Figure 4 This is a schematic diagram of the structure of another video processing device provided in the embodiments of this application. Detailed Implementation
[0143] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present application.
[0144] The inventors of this application discovered through research that:
[0145] In one example, when publishing a video, a user can split a long video clip into multiple shorter videos. Additionally, users can edit the video cover when publishing a video. Depending on the layout of the video cover displayed on the client, a complete image can be divided into multiple parts, with each part serving as a video cover. For example, in a scenario with a three-column list flow, the client displays the video cover in three columns. A user can then split a long video clip into three shorter videos, correspondingly dividing the complete image into three parts, each serving as a video cover for one of the three shorter videos. When the client displays these three video covers in a row, they appear as a complete image from the user's perspective, allowing the user to identify the three short videos as a series. However, if the layout of the video cover displayed on the client changes, such as to a two-column flow, the three video covers can no longer be stitched together into a complete image from the user's viewing angle. Consequently, the user cannot identify the three short videos as a series based solely on the video covers, resulting in a poor user experience. The series of videos mentioned here may be related videos. The relationship mentioned here may be the relationship between video content or the relationship between video identifiers (such as video covers).
[0146] In another example, when editing video covers, users could choose not to segment the entire image as described above, but instead use other methods to edit covers separately for each video in a series. In this case, users cannot determine which videos belong to a series based solely on the video covers, resulting in a poor user experience.
[0147] To address the aforementioned problems, this application provides a video processing method and apparatus.
[0148] The various non-limiting embodiments of this application will now be described in detail with reference to the accompanying drawings.
[0149] Exemplary methods
[0150] See Figure 1 This figure is a signaling interaction diagram based on a video processing method provided in an embodiment of this application. In this embodiment, the method may include, for example, the following steps: S101-S104.
[0151] S101: After publishing multiple videos, the first client displays the first video identifier corresponding to the multiple videos on the first page.
[0152] This application does not specifically limit the number of videos; the number of videos may be, for example, multiple short videos. In this application embodiment, the first page may be a page displayed by the first client. In one example, the first page may be, for example, a personal homepage displayed by the first client.
[0153] In this embodiment of the application, the first client can display a first video identifier corresponding to each of the plurality of videos on the first page. For example, after the first client publishes 3 videos, it can display 3 first video identifiers, with one first video identifier corresponding to one video.
[0154] In one example, the first video identifier could be the video identifier that the user edited when posting the video.
[0155] This application does not specifically limit the first video identifier. In one example, the first video identifier may include a first video cover. In one example, the first video cover may include a first video number. For example, after the first client publishes 3 videos, it may display 3 first video covers, with the first first video cover including the first video number "Episode 1", the second first video cover including the first video number "Episode 2", and the third first video cover including the first video number "Episode 3".
[0156] In yet another example, the first video identifier may include a video title independent of the first video cover. The video title mentioned herein may include text edited by the user when posting the video.
[0157] S102: The server determines the second video identifier corresponding to the first video identifier of the plurality of videos already published by the first client.
[0158] In one example, before executing S102, the server may first obtain the first video identifier of the multiple videos published by the first client.
[0159] In one example, the server may first determine the plurality of videos before obtaining the first video identifier. In another example, considering the correlation between the video titles and video IDs on the cover images of a video series, the server may determine the plurality of videos from the videos already published by the first client based on the video titles and / or the video IDs included on the cover images of the already published videos.
[0160] In one example, the server can identify videos with related titles from the videos already published by the first client as the multiple videos. The related video titles mentioned here can mean that the video titles are the same, or that the video titles contain the same keywords. As an example, video title relatedness can be determined by the similarity of the video titles; when the similarity between two video titles is higher than a certain threshold, the two video titles can be determined to be related.
[0161] In another example, the server can identify the multiple videos that have been published by the first client and whose video IDs have a pre-defined relationship as the videos. The pre-defined relationship mentioned here can be understood as a regular change in the video IDs. For example, the video IDs are consecutive, such as episode 1, episode 2, and episode 3; or the video IDs have a fixed difference, such as episode 1, episode 3, and episode 5.
[0162] In another example, considering that video IDs can have various types, such as "Episode *", "Season * Episode *", and a single asterisk "*", while for a series of videos, the video ID type is generally the same, in one example, the server can determine the multiple videos from the videos already published by the first client based on the category of the video IDs. For example, videos with the same video ID category can be identified as the multiple videos.
[0163] In another example, the server can identify the multiple videos that are related to the video titles and have a preset association between their video numbers from the videos already published by the first client.
[0164] After obtaining the first video identifiers of the plurality of videos, the server can determine the second video identifiers corresponding to the plurality of first video identifiers. In one example, the server can determine the second video identifiers of the plurality of videos if preset conditions are met.
[0165] In this embodiment, the preset condition can be a condition that triggers video identifier switching. In one example, the preset condition can be that the multiple videos are a series of videos. This allows the solution to switch the video identifiers of a series of videos. As mentioned earlier, a series of videos can be videos with a relationship. For example, they can be videos with a relationship between their content, or videos with a relationship between their cover images. Therefore, in one example, the preset condition can be satisfied if: the multiple first video covers corresponding to the multiple videos are consecutive video covers, and / or, the multiple video contents corresponding to the multiple videos are consecutive video contents. In this embodiment, consecutive video covers refer to the cover content of the video covers being able to be pieced together to form a complete content. Continuous video content refers to the video content itself having a certain degree of coherence.
[0166] In one example, the server determines that the multiple first video covers corresponding to the multiple videos are consecutive covers. Specifically, this can be achieved by performing image analysis on the multiple first video covers to determine if they are consecutive. In another example, a pre-trained first model can be used to determine if the multiple first video covers are consecutive. This first model can be trained using multiple sets of training samples and the labels corresponding to each set. For ease of description, any one of the multiple sets of training samples is referred to as a "first training sample." A first training sample can include multiple training video covers, and the labels of the first training samples indicate whether the multiple training video covers included in the first training sample are consecutive. After training the first model, it can determine whether the multiple video covers are consecutive. Therefore, the multiple first video covers can be input into the first model, and the first model can output a result indicating whether the multiple first video covers are consecutive. Thus, the output of the first model can determine if the multiple first video covers are consecutive.
[0167] In one example, the server determines that the multiple video contents are continuous video content. Specifically, this can be achieved by analyzing the multiple video contents to determine if they are continuous. In another example, a pre-trained second model can be used to determine if the multiple video contents are continuous. This second model can be trained using multiple sets of training samples and the labels corresponding to each set. For ease of description, any one of the multiple sets of training samples is referred to as a "second training sample." The second training sample can include multiple training videos, and the labels of the second training samples indicate whether the multiple training videos included in the second training sample are continuous video content. After training the second model, it can determine whether the multiple video contents are continuous based on the multiple videos. Therefore, the multiple videos can be input into the second model, and the second model can output results indicating whether the multiple video contents are continuous video content. Thus, the output of the second model can be used to determine if the multiple video contents are continuous video content.
[0168] Regarding the first model and the second model, the embodiments of this application do not specifically limit the structure of the first model and the second model. The first model and the second model may, for example, adopt a model structure with image processing capabilities. For example, the first model and the second model may adopt a Convolutional Neural Network (CNN) structure.
[0169] If the server determines that the preset conditions are met, it can further determine the second video identifier of the multiple videos.
[0170] In one example, if the first video identifier is the first video cover and the second video identifier is the second video cover, then the server determines that, in a specific implementation, the multiple first video covers can be concatenated to obtain the second video cover. In this way, the user can determine that the multiple videos are a series of videos by using the concatenated second video cover. In a specific example, the server can concatenate the multiple first video covers to obtain the second video cover if they are consecutive video covers. In another example, the server can first determine the concatenation order of the multiple video covers based on their cover content, and then further concatenate the multiple first video covers according to this concatenation order to obtain the second video cover.
[0171] As mentioned earlier, the first video cover may include a first video ID. In this case, the resulting video cover after splicing multiple first video covers will include multiple first video IDs, but it is unreasonable for a single cover to include multiple first video IDs. Therefore, in this situation, after obtaining a third video cover including the multiple first video IDs, the server can remove the multiple first video IDs from the third video cover to avoid multiple first video IDs appearing on a single cover. After removing the multiple first video IDs, a second video ID can be added to each of the third video covers to obtain a second video cover corresponding to each of the multiple videos. Each second video cover includes the second video ID of the video corresponding to that second video cover. In this way, for each video, its corresponding second video cover includes a second video ID, allowing users to determine the video's position in the video series based on the second video ID. It is easy to understand that in this case, the second video cover does not include the aforementioned first video ID, but it does include the second video ID.
[0172] Regarding the first video number and the second video number, it should be noted that each of the multiple videos corresponds to one first video number; therefore, the multiple videos can correspond to multiple first video numbers. Similarly, each of the multiple videos corresponds to one second video number; therefore, the multiple videos can correspond to multiple second video numbers. In this embodiment, in order for users to determine the position of each of the multiple videos in the video series through the second video number, the association between the multiple second video numbers can be consistent with the association between the multiple first video numbers. The so-called consistency between the association between the multiple second video numbers and the association between the multiple first video numbers can mean that the numbering order of the multiple first video numbers is consistent with the numbering order of the multiple second video numbers. For example, for three videos, assuming that the first video cover of these three videos includes video numbers "1", "2", and "3" respectively, then the second video cover of these three videos can include video numbers "Episode 1", "Episode 2", and "Episode 3" respectively, or, the second video cover of these three videos can include video numbers "1", "2", and "3" respectively.
[0173] In one example, if the first video identifier is the first video cover and the second video identifier is the second video cover, then the server determines the second video identifier of the plurality of videos. In a specific implementation, this can be done by identifying video frames that meet preset conditions from the plurality of videos, and obtaining the second video cover based on those video frames. Since the second video cover is obtained based on the video frames, the user can obtain information related to the plurality of videos based on the second video cover, thereby improving the user experience.
[0174] In this embodiment, the video frame that meets the preset conditions can be, for example, a highlight frame from the plurality of videos. The highlight frame mentioned here can be a video frame with high visual appeal from the plurality of videos. The highlight frame can be measured using one or more dimensions of information. The data dimensions for measuring the highlight frame can be determined based on the video content of the plurality of videos; this embodiment does not specifically limit the specific data dimensions.
[0175] In this embodiment of the application, the second video cover obtained from the video frame can be implemented in various ways. For example, the video frame can be directly used as the second video cover, or the target object in the video frame can be extracted, such as the person in the video frame, and the target object can be used as the second video cover.
[0176] In one example, if the multiple video contents are consecutive video contents, the server can determine video frames that meet preset conditions from the multiple videos, and obtain the second video cover based on the video frames. In another example, if the multiple video contents are consecutive video contents and the multiple first video covers are not consecutive video covers, the server can determine video frames that meet preset conditions from the multiple videos, and obtain the second video cover based on the video frames.
[0177] In one example, to help users identify the theme of the multiple videos through a second video cover, the second video cover also includes a video title. In this case, the server can also determine the video title. As an example, the server can determine the video title based on the video content of the multiple videos. For example, the server can extract several video frames from the multiple videos and analyze the extracted video frames to obtain the video title. As another example, the server can determine the video title based on the original titles of the multiple videos. Considering that users generally edit the title based on the first video they publish, the title of the first video published among the multiple videos can be determined as the video title.
[0178] S103: The server sends the second video identifier to the first client, and then controls the first client to switch the first video identifier corresponding to the plurality of videos to the second video identifier when the preset conditions are met.
[0179] S104: When the preset conditions are met, the first client switches the first video identifier corresponding to the multiple videos to the second video identifier.
[0180] After the server determines the second video identifier, it can send the second video identifier to the first client, thereby controlling the first client to switch the first video identifier corresponding to the multiple videos to the second video identifier when the preset conditions are met. Correspondingly, the first client can switch the first video identifier corresponding to the multiple videos to the second video identifier.
[0181] In one example, the server can send a first instruction message and a second video identifier to a first client. The first instruction message instructs the first client to switch the first video identifier of the plurality of videos to the second video identifier when the preset conditions are met. Correspondingly, the first client can receive the first instruction message and the second video identifier sent by the server, and based on the first instruction message and the second video identifier, switch the first video identifier corresponding to the plurality of videos to the second video identifier when the preset conditions are met.
[0182] Regarding the first instruction information, it should be noted that:
[0183] In one example, the first instruction information is used to instruct the first client to switch the first video identifier corresponding to each of the plurality of videos to the second video identifier corresponding to each video. Accordingly, in this case, after receiving the first instruction information and the second video identifier, the first client can switch the first video identifier corresponding to each of the plurality of videos to the second video identifier corresponding to each video. When the first video identifier is a first video cover and the second video identifier is a second video cover, the first client can switch the first video cover corresponding to each video to the corresponding second video cover.
[0184] In another example, the second video identifier can serve as the video identifier for a video collection that includes the aforementioned multiple videos. In this case, the first instruction information is used to instruct the first client, when the preset conditions are met, to cancel the display of multiple first video identifiers for the multiple videos and display the second video identifier that is common to all the multiple videos. Here, the second video identifier that is common to all the multiple videos can be understood as the video identifier for the video collection. Accordingly, in this case, after receiving the first instruction information and the second video identifier, the first client can cancel the display of multiple first video identifiers for the multiple videos and display the second video identifier corresponding to the video collection. In this case, the number of video identifiers displayed by the first client is reduced, thereby allowing the first page to display more video identifiers for other videos. Regarding the video collection, it should be noted that the video collection includes the multiple videos, and the video arrangement order of the multiple videos in the video collection is determined according to the release order of the multiple videos. For example, the video arrangement order of the videos in the video collection is consistent with the release order of the multiple videos.
[0185] When the second video identifier is the same as the video identifier corresponding to the video collection, if the second video identifier is also the second video cover, the second video cover may also include the number of videos included in the video collection. For example, the second video cover may include: "Total 3 episodes". In this way, users can determine the number of videos included in the video collection through the second video cover, thereby improving the user experience.
[0186] In one example, before switching the first video identifier of the plurality of videos to the second video identifier, the first client can determine whether the preset condition is met. The specific implementation of the first client determining whether the preset condition is met is the same as the specific implementation of the server determining whether the preset condition is met, and will not be described again here.
[0187] In another example, if the server has already performed the operation of determining whether the preset conditions are met, for example, the server only executes S102 when it determines that the preset conditions are met, then the first client does not need to determine whether the preset conditions are met, but can directly switch the first video identifier of the multiple videos to the second video identifier based on the received second video identifier.
[0188] In one example, before executing S104, the user can trigger the activation of the video identifier switching function on the first client. The first client can then receive this activation and enable the video identifier switching function. This function intelligently switches the video identifiers of published videos. S104 is executed only after the first client activates the video identifier switching operation. If the first client does not activate the video identifier switching operation, S104 is not executed, and the client displays the first video identifier edited by the user. In this case, the user can decide whether to enable the video identifier switching function based on their own needs, thus meeting different user requirements.
[0189] In one example, the user can trigger the opening operation through a first control. This application embodiment does not specifically limit the first control. The first control can be a control on a first page, or it can be a control on other pages, such as a settings page.
[0190] In one example, before executing S104, the first client can display a second prompt message on the first page, prompting the user to switch the first video identifier of the multiple videos to the second video identifier. For example, the second prompt message could be "One-click intelligent video identifier switching". The user can trigger a confirmation operation based on the second prompt message; for example, the user can click on the second prompt message. After the user triggers the confirmation operation based on the second prompt message, the first client can respond to the confirmation operation by switching the first video identifier of the multiple videos to the second video identifier. This approach reminds the user to switch the first video identifier to the second video identifier without requiring the user to enable the aforementioned video identifier switching function beforehand, making the operation convenient and improving the user experience.
[0191] In one example, after executing S104, the first client can also display a first prompt message. This prompt message indicates that the video identifier switching function has been enabled, allowing the user to determine, based on this first prompt message, that the first video identifier used by the multiple video editors when publishing the video has been intelligently switched to the second video identifier. In another example, the first client can display the first prompt message on the first page. This allows the user to view both the second video identifier and the first prompt message on the first page, enabling them to determine, based on the first prompt message, that the first video identifier used by the multiple video editors when publishing the video has been intelligently switched to the second video identifier.
[0192] As mentioned above, the second video identifier can be the identifier of a video collection. In this case, the user can also trigger interactive operations related to the video collection through the second video identifier. In one example, after the user triggers an operation on the second video identifier, the first client can respond to the trigger operation on the second video identifier by displaying a video playback page, which is used to play the first video among the plurality of videos.
[0193] Regarding the first video, it should be noted that:
[0194] In one example, the first video can be any one of the plurality of videos.
[0195] In another example, considering the continuity between the content of the multiple videos, and the fact that users consider this continuity when posting videos, the first video could be the earliest posted video among the multiple videos. This makes it easier for users to understand the content of the multiple videos.
[0196] In another example, to provide users with content they might be interested in, the first video could be the most popular video among the plurality of videos. "Most popular" here could refer to factors such as meeting certain criteria for views or likes, etc., and will not be listed exhaustively here.
[0197] Additionally, if the user is watching one of the multiple videos (e.g., video A) before viewing the first page, then the first video can be video A, allowing the user to continue watching video A on the video playback page, thus satisfying the user's needs. In a specific example, the first client displays a second page before displaying the first page, and the second page is used to play the first video. The user can trigger an operation on the second page, for example, triggering an operation to enter the homepage of the account that published the first video. Accordingly, the first client can respond to the triggered operation on the second page and display the first page, which includes the identifier of the second video. In this case, if the user triggers an operation on the second video identifier on the first page, the first video can be played on the video playback page. In one example, the first client can record the playback position of the first video on the second page, and when playing the first video on the video playback page, it can start playing the first video from that playback position.
[0198] In addition to playing the first video, the video playback page may also display interactive controls. These controls are used to trigger the display of video information for the video collection. In one example, a user can trigger an operation on the interactive control. Correspondingly, the first client can respond to the triggering operation by displaying video information for the multiple videos included in the video collection. This video information may include, for example, the video IDs and brief descriptions of the multiple videos, etc. These details are not listed here.
[0199] In one example, the first client can display the video information of the multiple videos in a list, and the order in which the video information of the multiple videos is arranged in the list can, for example, be consistent with the release order of the multiple videos.
[0200] In one example, the video information of the first video may include a third prompt, which can be used to indicate that the video playing on the video playback page is the first video. In this way, based on the third prompt, the user can determine the position of the currently playing first video within the video collection, so that after the first video finishes playing, the user can continue to trigger operations on the video information of other videos to watch them.
[0201] This application does not specifically limit the form of the third prompt information. In one example, the third prompt information may be text, such as the text "Playing Now" included in the video information of the first video. In another example, the third prompt information may be reflected in the display style of the video information of the first video; for example, the video information of the first video may be displayed in grayscale, while the video information of other videos may be displayed in non-grayscale. Furthermore, the background of the display area for the video information of the first video may differ from the background of the display areas for the video information of other videos. The forms of the third prompt information are not listed here.
[0202] Next, the video processing method provided in the embodiments of this application will be introduced in conjunction with specific scenarios.
[0203] See Figure 2a This figure is a schematic diagram of a first page provided in an embodiment of this application. Figure 2a As shown, the first page displays three video covers: Video Cover 201, Video Cover 202, and Video Cover 203. Video Cover 201 includes the video number ①, Video Cover 202 includes the video number ②, and Video Cover 203 includes the video number ③.
[0204] With the video identifier switching function enabled, in one example, the first page displayed on the first page can be as follows: Figure 2b As shown, Figure 2b Another schematic diagram of a first page provided for an embodiment of this application, such as... Figure 2b As shown, the first video cover 201 is replaced with the second video cover 204, the first video cover 202 is replaced with the second video cover 205, and the first video cover 203 is replaced with the second video cover 206. The second video cover 204 includes the second video number: "Episode 1"; the second video cover 205 includes the second video number: "Episode 2"; and the second video cover 206 includes the second video number: "Episode 3". Additionally, both the second video covers 204, 205, and 206 include the video title: "*** Commentary". Wherein: Figure 2b The multiple secondary video covers shown are for... Figure 2a The image shows a composite of multiple first video covers.
[0205] With the video identifier switching function enabled, in another example, the first page displayed on the first page can be as follows: Figure 2c As shown, Figure 2c Another schematic diagram of the first page provided for an embodiment of this application, such as... Figure 2c As shown, the first video cover 201, 202, and 203 are no longer displayed on the first page. Instead, the second video cover 207 corresponding to the video collection is displayed. The second video cover 207 includes the video title "*** Commentary" and may also include the number of videos included in the video collection: "3 episodes in total". Wherein: Figure 2c The second video cover shown, 207, is a... Figure 2a The image shows a composite of multiple first video covers.
[0206] It should be noted that, Figures 2a to 2c This is shown for the purpose of understanding the solution and does not constitute a limitation on the embodiments of this application. The content displayed on the first page is not limited to... Figures 2a to 2c As shown.
[0207] Exemplary device
[0208] Based on the methods provided in the above embodiments, this application also provides a corresponding device, which will be described below with reference to the accompanying drawings.
[0209] See Figure 3 The figure is a schematic diagram of the structure of a video processing device provided in an embodiment of this application. Figure 3The video processing device 300 shown can be applied to a first client to execute the video processing method provided in the above method embodiments, which is executed by the first client. The device 300 may specifically include, for example, a first display unit 301 and a switching unit 302.
[0210] The first display unit 301 is used to display the first video identifier corresponding to the multiple videos on the first page after multiple videos have been published.
[0211] The switching unit 302 is used to switch the first video identifier corresponding to the plurality of videos to the second video identifier when preset conditions are met.
[0212] Optionally, the switching unit 302 is used for:
[0213] When the multiple first video covers corresponding to the multiple videos are consecutive video covers and / or the multiple video contents corresponding to the multiple videos are consecutive video contents, the first video covers corresponding to the multiple videos are switched to second video covers.
[0214] Optionally, the device further includes:
[0215] The receiving unit is configured to receive the activation operation of the video identifier switching function before switching the first video identifier corresponding to the plurality of videos to the second video identifier;
[0216] An activation unit is used to activate the video identifier switching function in response to the activation operation.
[0217] Optionally, the device further includes:
[0218] The second display unit is used to display the first prompt information, which indicates that the video identifier switching function has been enabled.
[0219] Optionally, the second video cover is obtained by splicing together multiple first video covers corresponding to the multiple videos; or, the second video cover is obtained based on the content of the multiple videos.
[0220] Optionally, if the multiple first video covers corresponding to the multiple videos are consecutive video covers, the second video cover is obtained by splicing together the multiple first video covers corresponding to the multiple videos.
[0221] Optionally, if the multiple video contents corresponding to the multiple videos are consecutive video contents and the multiple first video covers corresponding to the multiple videos are not consecutive video covers, the second video cover is obtained based on the multiple video contents.
[0222] Optionally, the switching unit 302 is used for:
[0223] The first video identifier corresponding to each of the multiple videos is switched to the second video identifier corresponding to each video.
[0224] Optionally, the switching unit 302 is used for:
[0225] The first video identifiers of the multiple videos are removed, and a second video identifier corresponding to all the multiple videos is displayed. The second video identifier is the collection identifier of the video collection corresponding to the multiple videos. The order of the videos in the video collection is determined according to the release order of the multiple videos.
[0226] Optionally, the first video identifier is a first video cover, the second video identifier is a second video cover, and the second video cover also displays the number of videos included in the video collection.
[0227] Optionally, the device further includes:
[0228] The third display unit is used to display a second prompt message on the first page, the second prompt message being used to prompt the switching of the first video identifier of the plurality of videos to the second video identifier;
[0229] Accordingly, the switching unit 302 is used for:
[0230] In response to the confirmation operation for the second prompt information, the first video identifier corresponding to the plurality of videos is switched to the second video identifier.
[0231] Optionally, the first video identifier is a first video cover, and the second video identifier is a second video cover. The first video cover includes a first video number, the second video cover does not include the first video number, and the second video cover includes a second video number. The association between the multiple second video numbers corresponding to the multiple videos is consistent with the association between the multiple first video numbers corresponding to the multiple videos.
[0232] Optionally, the second video identifier is a second video cover, and the second video cover also includes a video title, which is determined in the following way:
[0233] The title of the first video published among the plurality of videos is determined as the video title; or,
[0234] The video title is determined based on the video content of the multiple videos.
[0235] Optionally, the device further includes:
[0236] The fourth display unit is used to display a video playback page in response to a trigger operation on the second video identifier. The video playback page is used to play the first video among the plurality of videos. The video playback page also displays interactive controls, which are used to trigger the display of video information of the video collection.
[0237] Optionally, the device further includes:
[0238] The fifth display unit is used to display video information of the multiple videos included in the video collection in response to a trigger operation on the interactive control, wherein: the video information of the first video includes third prompt information, the third prompt information being used to prompt that the video played on the video playback page is the first video.
[0239] Optionally, the first video is a video played on the second page displayed by the first client. The device further includes:
[0240] The fifth display unit is used to display a second page before the second video identifier of the video collection, and the second page is used to play the first video;
[0241] The second video identifier that displays the common identity of the multiple videos includes:
[0242] In response to a triggering operation on the second page, the first page is displayed, and a second video identifier corresponding to the multiple videos is displayed on the first page.
[0243] Optionally, the first video is the video that was published first among the plurality of videos, or the first video is the video with the highest popularity among the plurality of videos.
[0244] See Figure 4 The figure is a schematic diagram of the structure of another video processing device provided in the embodiments of this application. Figure 4 The video processing apparatus 400 shown can be applied to a server to execute the video processing method provided in the above method embodiments, which is executed by the server. The apparatus 400 may specifically include, for example, a first determining unit 401 and a sending unit 402.
[0245] The first determining unit 401 is used to determine the second video identifier corresponding to the first video identifier of the multiple videos already published by the first client;
[0246] The sending unit 402 is used to send the second video identifier to the first client, thereby controlling the first client to switch the first video identifier corresponding to the plurality of videos to the second video identifier when a preset condition is met.
[0247] Optionally, the transmitting unit 402 is configured to:
[0248] Send a first instruction message and a second video identifier to the first client. The first instruction message is used to instruct the first client to switch the first video identifier of the plurality of videos to the second video identifier when a preset condition is met.
[0249] Optionally, the preset conditions include:
[0250] The multiple first video covers corresponding to the multiple videos are consecutive video covers, and / or the multiple video contents corresponding to the multiple videos are consecutive video contents.
[0251] Optionally, the first video identifier is a first video cover, the second video identifier is a second video cover, and the first determining unit 401 is used to:
[0252] The multiple first video identifiers are concatenated to obtain the second video identifier.
[0253] Optionally, the first video cover includes a first video number, the plurality of videos correspond to a plurality of first video numbers, each video corresponds to one first video number, and the first determining unit 401 is used for:
[0254] The video covers of the multiple videos are spliced together to obtain a third video cover that includes the multiple first video numbers;
[0255] Remove the multiple first video numbers included on the third video cover, and add second video numbers to the third video cover respectively to obtain a second video cover corresponding to each of the multiple videos, wherein each second video cover includes a second video number of the video corresponding to the second video cover.
[0256] Optionally, the plurality of videos correspond to a plurality of second video numbers, with each video corresponding to one second video number, and the association between the plurality of second video numbers is consistent with the association between the plurality of first video numbers.
[0257] Optionally, the first video identifier is a first video cover, the second video identifier is a second video cover, and the first determining unit 401 is used to:
[0258] Determine video frames that meet preset conditions from the plurality of videos;
[0259] The second video cover is obtained based on the video frames.
[0260] Optionally, the second video identifier is a second video cover, and the second video cover also includes a video title. The device further includes:
[0261] The second determining unit is used to determine the title of the earliest published video among the plurality of videos as the video title; or,
[0262] The third determining unit is used to determine the video title based on the video content of the plurality of videos.
[0263] Optional,
[0264] The first indication information is used to instruct the first client to switch the first video identifier corresponding to each of the plurality of videos to the second video identifier corresponding to each video respectively; or,
[0265] The first instruction information is used to instruct the first client to cancel the display of multiple first video identifiers of the multiple videos and display a second video identifier that is common to the multiple videos. The second video identifier is the video identifier corresponding to the video collection of the multiple videos. The order of the videos in the video collection is determined according to the release order of the multiple videos.
[0266] Optionally, the second video identifier is the second video cover. If the second video identifier is the video identifier corresponding to the video collection, then the second video cover also includes the number of videos included in the video collection.
[0267] Optionally, the device further includes:
[0268] The fourth determining unit is configured to determine the plurality of videos from the videos already published by the first client based on the video titles of the videos already published by the first client and / or the video numbers included on the video covers of the videos already published by the first client, before determining the second video identifier.
[0269] Optionally, a fourth determining unit is used for:
[0270] Before determining the second video identifier, the plurality of videos are determined from the videos already published by the first client based on the similarity of the video titles of the already published videos, and / or the category of the video number included on the video cover.
[0271] Since the devices 300 and 400 are devices corresponding to the methods provided in the above method embodiments, the specific implementation of each unit of the devices 300 and 400 is based on the same concept as the above method embodiments. Therefore, the specific implementation of each unit of the devices 300 and 400 can be referred to the description section of the above method embodiments, and will not be repeated here.
[0272] This application also provides an apparatus, which includes a processor and a memory;
[0273] The processor is used to execute instructions stored in the memory so that the device performs the video processing method described in any of the above method embodiments.
[0274] This application provides a computer-readable storage medium including instructions that instruct a device to perform the video processing method described in any of the above method embodiments.
[0275] This application provides a computer program product that, when run on a computer, causes the computer to execute the video processing method described in any of the above method embodiments.
[0276] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.
[0277] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
[0278] The above description is only a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A video processing method, characterized in that, The method includes: After multiple videos are published, a first video identifier corresponding to the multiple videos is displayed on the first page, and the first video identifier includes a first video cover. Receive the activation command for the video identifier switching function; In response to the activation operation, the video identifier switching function is activated; The first prompt message is displayed, indicating that the video identifier switching function has been enabled. If the multiple first video covers corresponding to the multiple videos are consecutive video covers or the multiple video contents corresponding to the multiple videos are consecutive video contents, the first video covers corresponding to the multiple videos will be switched to second video covers. The second video cover is obtained by splicing together multiple first video covers corresponding to the multiple videos; or, the second video cover is obtained based on the content of the multiple videos.
2. The method according to claim 1, characterized in that, When the multiple video contents corresponding to the multiple videos are consecutive video contents, and the multiple first video covers corresponding to the multiple videos are not consecutive video covers, the second video cover is obtained based on the multiple video contents.
3. The method according to claim 1, characterized in that, The step of switching the first video cover corresponding to the plurality of videos to the second video cover includes: The first video cover corresponding to each of the multiple videos is switched to the second video cover corresponding to each video.
4. The method according to claim 1, characterized in that, The step of switching the first video cover corresponding to the plurality of videos to the second video cover includes: The first video covers of the multiple videos are removed, and a second video cover corresponding to all the multiple videos is displayed. The second video cover is a collection cover of the video collection corresponding to the multiple videos. The order of the videos in the video collection is determined according to the release order of the multiple videos.
5. The method according to claim 4, characterized in that, The second video cover also displays the number of videos included in the video collection.
6. The method according to claim 1, characterized in that, The method further includes: A second prompt message is displayed on the first page, which prompts the user to switch the first video cover of the plurality of videos to the second video cover. Accordingly, the first video cover corresponding to the plurality of videos is switched to the second video cover, including: In response to the confirmation operation for the second prompt information, the first video cover corresponding to the plurality of videos is switched to the second video cover.
7. The method according to claim 3, characterized in that, The first video cover includes a first video number, the second video cover does not include the first video number but includes a second video number, and the relationship between the multiple second video numbers corresponding to the multiple videos is consistent with the relationship between the multiple first video numbers corresponding to the multiple videos.
8. The method according to claim 1, characterized in that, The second video cover also includes a video title, which is determined in the following way: The title of the first video published among the plurality of videos is determined as the video title; or, The video title is determined based on the video content of the multiple videos.
9. The method according to claim 4, characterized in that, The method further includes: In response to a trigger operation on the second video cover, a video playback page is displayed. The video playback page is used to play the first video among the plurality of videos. The video playback page also displays interactive controls, which are used to trigger the display of video information of the video collection.
10. The method according to claim 9, characterized in that, The method further includes: In response to a trigger operation on the interactive control, video information of the multiple videos included in the video collection is displayed, wherein: the video information of the first video includes third prompt information, the third prompt information being used to indicate that the video played on the video playback page is the first video.
11. The method according to claim 9, characterized in that, The first video is a video played on the second page displayed by the first client. Before displaying the second video cover of the video collection, the method further includes: Display a second page, which is used to play the first video; The second video cover that displays the common content of the multiple videos includes: In response to a triggering operation on the second page, the first page is displayed, and a second video identifier corresponding to the multiple videos is displayed on the first page.
12. A video processing method, characterized in that, The method includes: Determine a second video identifier corresponding to a first video identifier of multiple videos already published by the first client, wherein the first video identifier includes a first video cover and the second video identifier includes a second video cover; The second video identifier is sent to the first client, and then the first client is controlled to perform the following operations when it receives the video identifier switching function activation operation to activate the video identifier switching function and displays the first prompt information: when the multiple first video covers corresponding to the multiple videos are consecutive video covers or the multiple video contents corresponding to the multiple videos are consecutive video contents, the first video covers corresponding to the multiple videos are switched to the second video cover, which is obtained by splicing the multiple first video covers corresponding to the multiple videos; or, the second video cover is obtained based on the multiple video contents, and the first prompt information is used to indicate that the video identifier switching function has been activated.
13. The method according to claim 12, characterized in that, Sending the second video cover to the first client includes: Send a first instruction message and a second video cover to the first client. The first instruction message is used to instruct the first client to switch the first video cover corresponding to the multiple videos to the second video cover when the multiple first video covers corresponding to the multiple videos are consecutive video covers or the multiple video contents corresponding to the multiple videos are consecutive video contents.
14. The method according to claim 12, characterized in that, The step of determining the second video identifier corresponding to the first video identifier of the plurality of videos already published by the first client includes: The second video identifier is obtained by concatenating the plurality of first video identifiers; or, From the plurality of videos, determine the video frames that meet the preset conditions; based on the video frames, obtain the second video cover.
15. The method according to claim 12, characterized in that, The second video cover also includes a video title, and the method further includes: The title of the first video published among the plurality of videos is determined as the video title; or, The video title is determined based on the video content of the multiple videos.
16. A video processing apparatus, characterized in that, The device includes: The first display unit is used to display a first video identifier corresponding to the multiple videos on a first page after multiple videos have been published. The first video identifier includes a first video cover. The receiving unit is used to receive the activation operation of the video identifier switching function; An activation unit is configured to activate the video identifier switching function in response to the activation operation. The second display unit is used to display the first prompt information, which is used to indicate that the video identifier switching function has been enabled. The switching unit is configured to switch the first video covers corresponding to the multiple videos to a second video cover when the multiple first video covers corresponding to the multiple videos are consecutive video covers or the multiple video contents corresponding to the multiple videos are consecutive video contents. The second video cover is obtained by splicing together the multiple first video covers corresponding to the multiple videos; or, the second video cover is obtained based on the multiple video contents.
17. A video processing apparatus, characterized in that, The device includes: The first determining unit is configured to determine a second video identifier corresponding to a first video identifier of a plurality of videos already published by the first client, wherein the first video identifier includes a first video cover and the second video identifier includes a second video cover. The sending unit is configured to send the second video identifier to the first client, thereby controlling the first client to perform the following operations when it receives the activation operation of the video identifier switching function to enable the video identifier switching function and displays the first prompt information: when the multiple first video covers corresponding to the multiple videos are consecutive video covers or the multiple video contents corresponding to the multiple videos are consecutive video contents, the first video covers corresponding to the multiple videos are switched to the second video cover, the second video cover being obtained by splicing together the multiple first video covers corresponding to the multiple videos; or, the second video cover being obtained based on the multiple video contents, the first prompt information being used to indicate that the video identifier switching function has been enabled.
18. A device, characterized in that, The device includes a processor and a memory; The processor is configured to execute instructions stored in the memory to cause the device to perform the method as described in any one of claims 1 to 15.
19. A computer-readable storage medium, characterized in that, Includes instructions that instruct the device to perform the method as described in any one of claims 1 to 15.
Citation Information
Patent Citations
Cover generation method and device, equipment and medium
CN113157973A