Video data preview method and device, electronic equipment and storage medium
By introducing multiple sub-progress bars into the progress bar of the video playback software to display video generation information corresponding to the video segment, the problem of low preview efficiency in the existing technology is solved, and more efficient video data preview and a better user experience are achieved.
Patent Information
- Application Number
- CN202511093651.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-05
- Publication Date
- 2025-11-07
AI Technical Summary
In existing video playback software, the video data preview function can only preview the video frame by frame and second by second, resulting in low preview efficiency.
Multiple sub-progress bars are introduced into the progress bar, each corresponding to a video segment. Triggering a sub-progress bar displays the corresponding video generation information, including script information or material information, so that users can understand the video structure and material source.
It improves the preview efficiency and effect of video data, enabling users to quickly understand the content and structure of video segments and enhancing the user experience.
Smart Images

Figure CN120916002A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of human-computer interaction, in particular to a video data preview method and device, an electronic device and a storage medium. BACKGROUND
[0002] The current video playing software usually has a video data preview function, that is, a user can preview a video picture by moving a progress bar of the video data.
[0003] However, in the related art, the video data preview function can only preview the video picture frame by frame and second by second, resulting in low video data preview efficiency. SUMMARY
[0004] Embodiments of the present application disclose a video data preview method and device, an electronic device and a storage medium, which can improve the video data preview efficiency and preview effect.
[0005] A first aspect of embodiments of the present application discloses a video data preview method, comprising:
[0006] In a target page, a preview picture corresponding to target video data and a progress bar are displayed, the progress bar comprises a plurality of sub-progress bars, the plurality of sub-progress bars correspond one-to-one to a plurality of video segments of the target video data, the plurality of video segments are obtained by segmenting the target video data according to video generation information, the video generation information comprises script information or material information, the script information is used to describe a video structure of the target video data, and the material information comprises source information of each video material used to generate the target video data.
[0007] In response to a first triggering operation on a first sub-progress bar in the progress bar, video generation information of a video segment corresponding to the first sub-progress bar is displayed.
[0008] A second aspect of embodiments of the present application discloses a video data preview device, comprising:
[0009] A first display unit is configured to display, in a target page, a preview picture corresponding to target video data and a progress bar, the progress bar comprises a plurality of sub-progress bars, the plurality of sub-progress bars correspond one-to-one to a plurality of video segments of the target video data, the plurality of video segments are obtained by segmenting the target video data according to video generation information, the video generation information comprises script information or material information, the script information is used to describe a video structure of the target video data, and the material information comprises source information of each video material used to generate the target video data.
[0010] The second display unit is configured to display video generation information of a video segment corresponding to a first sub-progress bar in the progress bar in response to a first triggering operation on the first sub-progress bar.
[0011] A third aspect of the embodiments of the present application discloses an electronic device, comprising: a memory storing executable program codes; and a processor coupled to the memory; wherein the processor invokes the executable program codes stored in the memory to execute the method disclosed in the first aspect of the embodiments of the present application.
[0012] A fourth aspect of the embodiments of the present application discloses a computer readable storage medium storing a computer program, wherein the computer program causes a computer to execute the method disclosed in the first aspect of the embodiments of the present application.
[0013] A fifth aspect of the embodiments of the present application discloses a computer program product, which causes a computer to execute part or all steps of any one of the methods disclosed in the first aspect of the embodiments of the present application when the computer program product runs on the computer.
[0014] A sixth aspect of the embodiments of the present application discloses an application publishing platform, which is configured to publish a computer program product, wherein the computer program product causes a computer to execute part or all steps of any one of the methods disclosed in the first aspect of the embodiments of the present application when the computer program product runs on the computer.
[0015] Compared with the related art, the embodiments of the present application have the following beneficial effects:
[0016] In the embodiments of the present application, a preview picture and a progress bar corresponding to target video data can be displayed in a target page. Different from the progress bar in the related art which is usually a continuous straight line, the progress bar in the embodiments of the present application can include a plurality of sub-progress bars, and the plurality of sub-progress bars correspond to a plurality of video segments of the target video data one by one; wherein the plurality of video segments are obtained by segmenting the target video data according to video generation information. In response to a first triggering operation on any first sub-progress bar in the progress bar, the video generation information of the video segment corresponding to the first sub-progress bar can be displayed. As can be seen, in the embodiments of the present application, the video generation information of the whole video segment can be previewed by triggering the sub-progress bar, which facilitates the user to quickly understand the video generation information of the video segment, and improves the preview efficiency of the video data.
[0017] In addition, the video generation information in the embodiments of the present application can include script information or material information, the script information is used to describe the video structure of the target video data, and the material information includes source information of each video material used to generate the target video data, so that the user can quickly understand the video structure of the video data or the source of the video material by browsing the video generation information, thereby improving the preview effect of the video data. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 This is a schematic diagram of a video preview method disclosed in an embodiment of this application;
[0020] Figure 2 This is a schematic diagram of another video preview method disclosed in the embodiments of this application;
[0021] Figure 3 This is a flowchart illustrating a video data preview method disclosed in an embodiment of this application;
[0022] Figure 4 This is a schematic diagram of a display of video generation information disclosed in an embodiment of this application;
[0023] Figure 5 This is a flowchart illustrating another video data preview method disclosed in an embodiment of this application;
[0024] Figure 6A This is a schematic diagram of a display component disclosed in an embodiment of this application;
[0025] Figure 6B This is a schematic diagram of another display component disclosed in an embodiment of this application;
[0026] Figure 6C This is a schematic diagram of another display component disclosed in an embodiment of this application;
[0027] Figure 7 This is a schematic diagram of an indicator icon disclosed in an embodiment of this application;
[0028] Figure 8 This is a flowchart illustrating another video data preview method disclosed in an embodiment of this application;
[0029] Figure 9A This is a schematic diagram of the interface of a target page disclosed in an embodiment of this application;
[0030] Figure 9B This is a schematic diagram of another target page disclosed in an embodiment of this application;
[0031] Figure 10 This is a schematic diagram of video content information disclosed in an embodiment of this application;
[0032] Figure 11 is a structural schematic diagram of a preview device for video data disclosed by an embodiment of the present application;
[0033] Figure 12 is a structural schematic diagram of an electronic device disclosed by an embodiment of the present application. DETAILED DESCRIPTION
[0034] The technical solutions in the embodiments of the present application will be clearly and completely described in connection with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the protection scope of the present application.
[0035] It should be noted that the terms "first", "second", "third", and "fourth" in the specification and claims of the present application are used to distinguish different objects, rather than to describe a specific order. The terms "include" and "have" in the embodiments of the present application and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product, or device including a series of steps or units does not have to be limited to only those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to the process, method, product, or device.
[0036] The embodiments of the present application disclose a preview method and device for video data, an electronic device, and a storage medium, which can improve the preview efficiency and preview effect of video data.
[0037] The technical solutions of the present application will be described in detail below in connection with specific embodiments.
[0038] In order to more clearly introduce the preview method and device for video data, the electronic device, and the storage medium disclosed by the embodiments of the present application, first, the video data preview method in the related art will be introduced.
[0039] Please refer to Figure 1 , Figure 1 is a schematic diagram of a video preview method disclosed by an embodiment of the present application. In the related art, the video data preview function can only preview video pictures frame by frame and second by second. For example, in a video data preview interface 110, a user can select any first progress node 130 in a first progress bar 120 to preview a frame of video picture 140 corresponding to the first progress node 130. It can be seen that in the related art, if the user wants to understand the content of the video data, the user needs to select different progress multiple times to preview different video pictures, which results in a low video data preview efficiency.
[0040] Particularly, before the video data is published, the user usually needs to quickly know whether the generated video data meets his / her own needs, and how to quickly know the content and structure of the video data becomes a problem to be solved.
[0041] To solve the above technical problems, the embodiment of the present application discloses a video data preview method.
[0042] Please refer to Figure 2 , Figure 2 is a schematic diagram of another video preview method disclosed by the embodiment of the present application. Optionally, the electronic device can display a preview picture 220 corresponding to the target video data and a progress bar 230 in a target page 210. Unlike the progress bar in the related art which is usually a continuous straight line (as shown in Figure 1 , the progress bar 230 in the embodiment of the present application can include a plurality of sub-progress bars, and the plurality of sub-progress bars correspond to a plurality of video segments of the target video data one by one; wherein the plurality of video segments are obtained by segmenting the target video data according to video generation information. Optionally, in response to a first triggering operation on a first sub-progress bar 240 in the progress bar 230, the electronic device can display video generation information 250 of the video segment corresponding to the first sub-progress bar 240.
[0043] It can be seen that, in the embodiment of the present application, the video generation information of the whole video segment can be previewed by triggering the sub-progress bar, which improves the preview efficiency of the video data compared with the video preview function in the related art which can only preview the video picture frame by frame and second by second. In addition, the video generation information in the embodiment of the present application can include script information or material information, the script information is used to describe the video structure of the target video data, and the material information includes the source information of each video material used to generate the target video data, so that the user can quickly know the video structure of the video data and the source of the video material by browsing the video generation information, thereby improving the preview effect of the video data.
[0044] Based on this, the video data preview method and device, electronic device and storage medium disclosed by the embodiment of the present application are introduced below.
[0045] Please refer to Figure 3 , Figure 3 is a flowchart of a video data preview method disclosed by the embodiment of the present application. Optionally, the method can be applied to the above-mentioned electronic device or other execution subject, which is not limited herein. Optionally, the method can include the following steps:
[0046] 302、In the target page, a preview picture corresponding to the target video data and a progress bar are displayed, the progress bar includes a plurality of sub-progress bars, the plurality of sub-progress bars correspond to a plurality of video segments of the target video data one by one, and the plurality of video segments are obtained by segmenting the target video data according to video generation information.
[0047] In the embodiments of the present application, the target page can include but is not limited to a preview page of the video data or a playing page of the video data, which are not limited herein. The preview page can be a page for previewing the unpublished video data before the video data is published, and the playing page can be a page for playing the published video data after the video data is published. The playing page can also be a page for playing the locally stored local video data, which is not limited herein.
[0048] Optionally, the target video data can be generated by a video generation model according to script information and video material.
[0049] The script information is used to describe the video structure of the target video data. Optionally, the video structure can include one or more video contents, and time points and time lengths of the video contents.
[0050] For example, the script information of a certain video data can include: "video beginning" starting at 00:00, lasting for 20 seconds; "function introduction" starting at 00:11, lasting for 2 minutes; and "video ending" starting at 02:00, lasting for 10 seconds.
[0051] The video structure is different from the video content brief, the video content brief is a summary of the video content, and the video structure is a description that the target video data is composed of several parts.
[0052] For example, the video structure includes three parts of "video beginning", "function introduction" and "video ending". The video content brief corresponding to the "function introduction" is a specific description of the picture content in the video segment corresponding to the "function introduction".
[0053] The video material can be a material used to generate the video segment of the target video data. Optionally, the sources of different video materials can be different. Optionally, the source of the video material can include user uploaded, downloaded from the Internet, generated by the video generation model, or public material included in the video generation application, which is not limited herein.
[0054] Optionally, the video generation model can include various artificial intelligence (AI) models capable of generating videos; optionally, the video generation model can automatically generate video data according to script information and video materials, thereby making video data generation and editing more convenient.
[0055] Optionally, the video generation model can include, but is not limited to, a KLING video generation model, a PixelGAN video generation model, and the like, which are not limited herein.
[0056] In another embodiment, the target video data can be video data captured by a camera device, or can be video data downloaded from the Internet, which is not limited herein.
[0057] Optionally, the target video data can include video data being edited, video data that has been completed editing, video data that has not been published, or video data that has been published, which is not limited herein.
[0058] In the embodiments of the present application, the preview picture displayed by the electronic device in the target page can be a video picture corresponding to the current playback progress in the target video data. In combination with Figure 2 For example, Figure 2 If the current playback progress is "06:16", the preview picture 220 can be a video picture corresponding to "06:16" in the target video data.
[0059] Optionally, the preview picture can also be a video cover of the target video data, or a sub-progress bar cover corresponding to the sub-progress bar where the current playback progress is located, which is not limited herein. Optionally, the video cover of the target video data refers to a video picture representing the entire target video data, used to represent the theme of the target video data; the sub-progress bar cover refers to a video picture representing the video segment corresponding to the sub-progress bar, used to represent the theme of the video segment corresponding to the sub-progress bar, which is not limited herein.
[0060] As introduced before, unlike the progress bar in the related art, which is usually a continuous straight line (as shown in Figure 1 In the embodiments of the present application, the progress bar can include multiple sub-progress bars. For example, please refer to Figure 2 The progress bar 230 can include five sub-progress bars; wherein the gray sub-progress bar can represent that it has been played, and the white sub-progress bar represents that it has not been played.
[0061] Optionally, the number of sub-progress bars corresponding to different video data can be different, and the plurality of sub-progress bars correspond to the plurality of video segments of the target video data one by one. Optionally, the plurality of video segments are obtained by segmenting the target video data according to the video generation information.
[0062] Optionally, the video generation information can include the script information introduced above; and the electronic device can segment the target video data according to the script information to obtain the plurality of video segments.
[0063] Optionally, the electronic device can segment the target video data according to one or more video contents included in the script information, and time points and durations at which the video contents appear, to obtain the plurality of video segments. For example, the script information is that the video starts at 00:00, lasts for 20 seconds; the function introduction starts at 00:11, lasts for 2 minutes; and the video ends at 02:00, lasts for 10 seconds.
[0064] Then, the first video segment can be determined as "00:00-00:10", the second video segment can be determined as "00:01-02:00", and the third video segment can be determined as "02:01-02:10", which is not limited herein.
[0065] In another embodiment, the video generation information can include material information, and the material information includes source information of each video material used to generate the target video data. As introduced above, the source of the video material can include: uploaded by a user, downloaded from the Internet, generated by a video generation model, or public material included in a video generation application. That is, the source information of the plurality of video materials used to generate the target video data can be various.
[0066] Optionally, the electronic device can segment the target video data according to the source information of each video material included in the target video data to obtain the plurality of video segments. Optionally, the video generation information corresponding to each video segment is the source information corresponding thereto.
[0067] 304, in response to the first triggering operation on the first sub-progress bar in the progress bar, display the video generation information of the video segment corresponding to the first sub-progress bar.
[0068] Optionally, the user can trigger the first sub-progress bar in the progress bar to view the video generation information of the first sub-progress bar; and then the electronic device can display the video generation information of the video corresponding to the first sub-progress bar in response to the first triggering operation on the first sub-progress bar. The first sub-progress bar can be any one of the plurality of sub-progress bars included in the progress bar.
[0069] Optionally, the first trigger operation can include a click operation, a sliding operation, a tap operation, and the like, which are not limited herein. The tap operation can refer to an operation of hovering over the first sub-progress bar without changing the current playback progress.
[0070] Optionally, the first trigger operation can be an operation without changing the current playback progress, that is, the first trigger operation can select a certain first sub-progress bar without changing the current playback progress, thereby avoiding the generation of video information of the video segment corresponding to the first sub-progress bar, which can disrupt the continuity of the currently played video data, and thus the preview effect of the video data can be improved.
[0071] For example, referring to Figure 4 , Figure 4 is a schematic diagram of displaying video generation information according to an embodiment of the present application. As shown in Figure 4 (a), the electronic device can display the video generation information 250 including "public material" in response to a first touch operation on the third sub-progress bar 400 in the progress bar 230; as shown in Figure 4 (b), the electronic device can display the video generation information 250 including "user upload" in response to a first touch operation on the second sub-progress bar 410 in the progress bar 230.
[0072] It should be noted that Figure 4 is only an example and should not be construed as a limitation on the embodiments of the present application.
[0073] The method disclosed in the above embodiments can be implemented to display a preview picture and a progress bar corresponding to target video data in a target page. Unlike the progress bar in the related art, which is usually a continuous straight line, the progress bar in the embodiments of the present application can include a plurality of sub-progress bars, and the plurality of sub-progress bars correspond one-to-one to a plurality of video segments of the target video data; wherein the plurality of video segments are obtained by segmenting the target video data according to video generation information. In response to a first trigger operation on any first sub-progress bar in the progress bar, the video generation information of the video segment corresponding to the first sub-progress bar can be displayed. It can be seen that, in the embodiments of the present application, the video generation information of the entire video segment can be previewed by triggering the sub-progress bar, which improves the preview efficiency of the video data compared with the video preview function in the related art, which can only preview the video picture frame by frame or second by second.
[0074] In addition, the video generation information in the embodiments of the present application can include script information or material information, the script information is used to describe the video structure of the target video data, and the material information includes source information of each video material used to generate the target video data, so that the user can quickly understand the video structure of the video data and the source of the video material by browsing the video generation information, thereby improving the preview effect of the video data.
[0075] Please refer to Figure 5 , Figure 5 is a flow diagram of another method for previewing video data according to an embodiment of the present application. Optionally, the method can be applied to the electronic device described above, or other execution subjects, which are not limited herein. Optionally, the method can include the following steps:
[0076] 502. In the target page, a preview picture corresponding to the target video data and a progress bar are displayed, the progress bar includes a plurality of sub-progress bars, the plurality of sub-progress bars correspond to a plurality of video segments of the target video data one by one, and the plurality of video segments are obtained by segmenting the target video data according to video generation information.
[0077] 504. In response to a first triggering operation on a first sub-progress bar in the progress bar, a display component is superimposed and displayed, and the display component is used to display video generation information of a video segment corresponding to the first sub-progress bar.
[0078] In the embodiment of the present application, the electronic device can superimpose and display the display component in response to the first triggering operation on the first sub-progress bar in the progress bar. Optionally, the display component can include, but is not limited to, a floating window or a dialog box, etc., which are not limited herein. Optionally, the display component can be used to display the video generation information of the video segment corresponding to the first sub-progress bar.
[0079] In some other optional embodiments, the electronic device can also display the video generation information through other display modes, which can include a barrage display mode, a subtitle display mode, or a label display mode, etc., which are not limited herein.
[0080] By implementing the above method, the electronic device can display the video generation information of the video segment corresponding to the first sub-progress bar through the more eye-catching and information-intensive display component, so as to give the user a more intense visual feedback, facilitate the user to view the video generation information, and thus improve the preview effect of the video data.
[0081] In an optional embodiment, the way in which the electronic device superimposes and displays the display component can include superimposing and displaying the display component on one side of the first sub-progress bar.
[0082] Exemplarily, please refer to Figure 6A , Figure 6A is a schematic diagram of a display component according to an embodiment of the present application. Optionally, the electronic device can superimpose and display the display component 600 on the upper side of the first sub-progress bar 240, and the display component 600 can be in the form of a floating window, Figure 6A The present application should not be limited to the above embodiments.
[0083] In some embodiments, the electronic device can display the display component on one side of the first sub-progress bar, on the left side of the first sub-progress bar, or on the right side of the first sub-progress bar, which is not limited herein.
[0084] The above method is implemented. Since the user pays attention to the position of the first sub-progress bar when selecting the first sub-progress bar, the display component is displayed on one side of the first sub-progress bar, so that the user can more easily notice the display component, and the user can conveniently view the video generation information in the display component. In addition, the display component is displayed on one side of the first sub-progress bar, which can avoid the display component from blocking the preview picture as much as possible, and improves the preview effect of the video data.
[0085] Optionally, the electronic device can display the display component on a target region in the preview picture. The target region can include a middle region of the preview picture.
[0086] For example, refer to Figure 6B , Figure 6B is a schematic diagram of another display component disclosed in the embodiments of the present application. Optionally, in response to the first triggering operation on the first sub-progress bar 240, the electronic device can display the display component 600 in the middle region of the preview picture 220.
[0087] In some embodiments, the target region can be another region of the preview picture, for example, a top region, a bottom region, a left region, or a right region of the preview picture, which is not limited herein.
[0088] The above method is implemented. Since the middle region of the preview picture is the most eye-catching position, the display component is displayed in the middle region of the preview picture, which is more convenient for the user to view the video generation content in the display component. In addition, the middle region of the preview picture is relatively large, which is convenient for displaying a larger display component to accommodate more video generation content, and improves the flexibility of the method.
[0089] In another optional embodiment, the electronic device can display the display component in a blank region of the target page except the preview picture.
[0090] For example, refer to Figure 6C , Figure 6C is a schematic diagram of another display component disclosed in the embodiments of the present application. Optionally, in response to the first triggering operation on the first sub-progress bar 240, the electronic device can display the display component 600 in the blank region below the preview picture 220 in the target page 210.
[0091] The method is implemented, and the display component is superimposed on a blank area in the target page in addition to the preview picture, so that the display component can be prevented from shielding the preview picture, the user can conveniently view the preview picture, and the preview effect of the video data is improved.
[0092] In an optional embodiment, the electronic device can display the video generation information of the video segment corresponding to the first sub-progress bar at a first position corresponding to the display indication icon in response to a first triggering operation on a target progress node in the first sub-progress bar.
[0093] For example, referring to Figure 7 , Figure 7 is a schematic diagram of an indication icon. The electronic device can display the indication icon 700 at the target progress node in the first sub-progress bar 240 in response to a first triggering operation on the target progress node. Optionally, the indication icon 700 can be a finger icon, an arrow icon, or the like, which is not limited herein.
[0094] Optionally, the electronic device can display the video generation information 250 of the video segment corresponding to the first sub-progress bar at the upper side of the position of the indication icon 700.
[0095] The method is implemented, and the electronic device can indicate the target progress node currently selected by the indication icon to the user, so that the user knows which sub-progress bar is currently selected. In addition, the video generation information of the video segment corresponding to the first sub-progress bar is displayed at the position of the indication icon, so that the user can more easily notice the video generation information, the user can conveniently view the video generation information, and the use experience of the user is improved.
[0096] Optionally, if the indication icon moves with the target progress node in the first sub-progress bar, the electronic device can display the video generation information of the video segment corresponding to the first sub-progress bar, and follow the dynamic change process of the indication icon.
[0097] For example, referring to Figure 7 , if the indication icon 700 moves from the left side of the first sub-progress bar 240 to the right side of the first sub-progress bar 240, the electronic device can display the dynamic change process in which the video generation information 250 of the video segment corresponding to the first sub-progress bar 240 moves from the current position to the right side.
[0098] The method is implemented, and the electronic device can display the video generation information of the video segment corresponding to the first sub-progress bar, and follow the dynamic change process of the indication icon, to give the user stronger visual feedback, so that the user knows that the video generation information currently displayed corresponds to the video segment corresponding to the entire first sub-progress bar.
[0099] In another embodiment, if the indication icon moves from the first sub-progress bar to a second sub-progress bar of the progress bar, the electronic device can display the video generation information of the video segment corresponding to the second sub-progress bar at the position of the indication icon. The second sub-progress bar is any one of the plurality of sub-progress bars included in the progress bar except the first sub-progress bar.
[0100] In an optional embodiment, after the electronic device displays the video generation information of the video segment corresponding to the first sub-progress bar, the electronic device can cancel the display of the video generation information of the video segment corresponding to the first sub-progress bar if a first condition is met.
[0101] Optionally, the first condition can include at least one of the following:
[0102] (1) A display duration of the video generation information is greater than or equal to a first time threshold.
[0103] The display duration refers to the time duration between the first display of the video generation information and the current time. The first time threshold can be set by the developer or the user, and typical values can include 10 seconds, 20 seconds, etc., which are not limited herein.
[0104] (2) No first trigger operation for the first sub-progress bar in the progress bar is detected.
[0105] No detection of the first trigger operation can include that the first trigger operation ends or that the first trigger is switched to another trigger operation.
[0106] For example, the first trigger operation can be the tap operation introduced above. If the tap operation ends, it can be determined that the first trigger operation is not detected.
[0107] Optionally, the other trigger operation can include a play progress adjustment operation. For example, if it is detected that the first trigger operation is switched to the play progress adjustment operation, the play progress of the target video data can be adjusted according to the play progress adjustment operation to display the adjusted preview picture and cancel the display of the video generation information, so as to avoid the video generation information from blocking the adjusted preview picture.
[0108] (3) The current play progress of the target video data is in the first sub-progress bar.
[0109] If the current play progress of the target video data is in the first sub-progress bar, the preview picture will display the preview picture of the video segment corresponding to the first sub-progress bar. At this time, the user can already understand the content of the video segment corresponding to the first sub-progress bar through the preview picture, and the display of the video generation information can be canceled to avoid the video generation information from blocking the preview picture.
[0110] Optionally, the case that the current playing progress of the target video data is in the first sub-progress bar can include: the current playing progress gradually reaches the first sub-progress bar due to continuous playing of the target video data; or, the playing progress of the target video data is adjusted by the electronic device according to a playing progress adjustment operation (for example, an operation of dragging the progress bar by the user), so that the current playing progress is in the first sub-progress bar, which is not limited herein.
[0111] It should be noted that after the user understands the content of the video segment corresponding to the first sub-progress bar by the video generation information of the video segment corresponding to the displayed first sub-progress bar, the user may want to jump to the first sub-progress bar to understand the video content in detail. In this case, according to the playing progress adjustment operation, the playing progress of the target video data is jumped to the first sub-progress bar, and the user is more likely to view the preview picture of the video segment corresponding to the first sub-progress bar, and no longer needs to view the video generation information of the video segment corresponding to the first sub-progress bar. For this, the display of the video generation information can be cancelled.
[0112] Implementing the above method, the electronic device can cancel the display of the video generation information of the video segment corresponding to the first sub-progress bar when it is determined that the first condition is met, so as to avoid the video generation information from blocking the preview picture, thereby facilitating the user to view the preview picture, improving the preview effect of the video data, and further improving the user experience.
[0113] By triggering the sub progress bar, the method disclosed in the above embodiments can preview the video generation information of the whole video segment, which improves the preview efficiency of the video data compared with the video preview function in the related art which can only preview the video frame by frame and second by second. In addition, the video generation information in the embodiments of the present application can include script information or material information. The script information is used to describe the video structure of the target video data, and the material information includes the source information of each video material used to generate the target video data. Therefore, the user can quickly understand the video structure of the video data and the source of the video material by browsing the video generation information, thereby improving the preview effect of the video data. In addition, the display component is displayed on one side of the first sub progress bar, which can make the user more easily notice the display component and facilitate the user to view the video generation information in the display component. In addition, displaying the display component on one side of the first sub progress bar can also avoid the display component from blocking the preview picture as much as possible, thereby improving the preview effect of the video data. In addition, the display component is displayed in the middle area of the preview picture, which is more convenient for the user to view the video generation content in the display component. In addition, the middle area of the preview picture is larger, which is convenient for displaying a larger display component to accommodate more video generation content, thereby improving the flexibility of the method. In addition, the display component is displayed in the blank area of the target page except the preview picture, which can avoid the display component from blocking the preview picture, thereby facilitating the user to view the preview picture and improving the preview effect of the video data. In addition, the indication icon can indicate the target progress node currently selected by the user, so that the user can know which sub progress bar is currently selected. In addition, the video generation information of the video segment corresponding to the first sub progress bar is displayed at the position of the indication icon, so that the user can more easily notice the video generation information and view the video generation information, thereby improving the user experience. In addition, the video generation information of the video segment corresponding to the first sub progress bar can follow the dynamic change process of the indication icon to give the user a more intense visual feedback, so that the user can know that the currently displayed video generation information corresponds to the whole video segment corresponding to the first sub progress bar. In addition, the video generation information of the video segment corresponding to the first sub progress bar can be displayed and cancelled under the condition that the first condition is met, so as to avoid the video generation information from blocking the preview picture, thereby facilitating the user to view the preview picture, improving the preview effect of the video data, and further improving the user experience.
[0114] Please refer to Figure 8 , Figure 8 is a flow diagram of another method for previewing video data disclosed in the embodiments of the present application. Optionally, the method can be applied to the electronic device described above or other execution subjects, which are not limited herein. Optionally, the method can include the following steps:
[0115] 802、In the target page, a preview picture corresponding to the target video data and a progress bar are displayed, the progress bar includes a plurality of sub-progress bars, the plurality of sub-progress bars correspond to a plurality of video segments of the target video data one by one, and the plurality of video segments are obtained by segmenting the target video data according to video generation information.
[0116] In an embodiment, the target page can include a first sub-page, and the first sub-page can include a dialogue component for inputting script information.
[0117] Optionally, the dialogue component can be a text input window displayed in the first sub-page, or a voice receiving component, etc., which is not limited herein. The target video data can be video data generated by a video generation model according to video material and script information input in the dialogue component.
[0118] By implementing the above method, the user can input script information through the dialogue component to generate video data meeting the user's demand, improve the controllability of the method, and further improve the user's experience.
[0119] Optionally, the target page can further include a second sub-page, and the electronic device can display the preview picture corresponding to the target video data and the progress bar in the second sub-page.
[0120] For example, refer to Figure 9A , Figure 9A is a schematic diagram of an interface of a target page disclosed in an embodiment of the present application. The left side of the target page 210 can be a first sub-page 900 for displaying a dialogue component 910, script information 920, video material 930, etc., which is not limited herein.
[0121] The right side of the target page 210 can be a second sub-page 940, and the second sub-page 940 can be used to display a preview picture 220 corresponding to the target video data and a progress bar 230.
[0122] By implementing the above method, the electronic device can display the generation interface of the target video data and the preview interface of the target video data in two sub-pages respectively, so as to avoid confusion of the two function interfaces, and thus the page of the target page can be more neat and orderly, and the user's viewing experience is improved.
[0123] In another optional embodiment, the second sub-page can further include one or more of a candidate area, a history area, an editing icon and a push icon, which is not limited herein.
[0124] Optionally, the video generation model generates a plurality of candidate video data according to the script information and the video material, and the plurality of candidate video data are different. Optionally, the electronic device can display the plurality of candidate video data in the candidate area, so as to enable the user to select according to the user's own needs.
[0125] Optionally, the video generation model generates historical video information according to the script information and the video material in the past, and the historical video information can be displayed in the history area, so as to enable the user to view the video data generated in the past at any time.
[0126] Optionally, the edit icon is used to trigger a video editing function, and the video editing function is a function of editing the target video data.
[0127] Optionally, the push icon is used to trigger a video push function, and the video push function is used to push the target video data to a social page.
[0128] Exemplarily, please refer to Figure 9B , Figure 9B is another interface schematic diagram of a target page disclosed by the embodiment of the present application. The electronic device can display a candidate area 950 below the preview picture 220, display a history area 960 on the right side of the preview picture 220, display an edit icon 970 on the upper right side of the preview picture 220, and display a push icon 980 on the lower right side of the preview picture 220. It should be noted that Figure 9B is only an example, and should not be regarded as a limitation to the embodiment of the present application.
[0129] Optionally, the electronic device can edit the sub-progress bar and / or the video generation information according to the editing operation, and display the edited sub-progress bar and / or the edited video generation information, in the case that the editing operation is detected for the sub-progress bar in the progress bar. Optionally, the editing operation can include a merging operation, a splitting operation, and a sequence adjustment operation, etc., which are not limited herein.
[0130] Optionally, the electronic device can re-adjust the target video data according to the edited sub-progress bar and / or the edited video generation information, in the case that the editing operation is performed on the sub-progress bar and / or the video generation information.
[0131] As an optional implementation, the electronic device can merge at least two sub-progress bars to obtain a merged progress bar, and merge the video generation information corresponding to the at least two sub-progress bars respectively and display the merged video generation information, in the case that a merging operation is detected for the at least two sub-progress bars.
[0132] Optionally, the merging of the video generation information corresponding to the at least two sub-progress bars includes: combining the video generation information corresponding to the at least two sub-progress bars to obtain merged video generation information; or,
[0133] The video generation information corresponding to the at least two sub-progress bars is subjected to semantic analysis, and the merged video generation information is regenerated according to the semantic analysis structure and the video generation corresponding to the at least two sub-progress bars, and the merged video generation information represents the merged progress bar video structure information or the video material source information.
[0134] As another optional implementation, the electronic device can split a target sub-progress bar to obtain at least two split sub-progress bars when detecting a splitting operation on the target sub-progress bar. Optionally, the video generation information corresponding to the split sub-progress bars can be the video generation information of the target sub-progress bar.
[0135] As still another optional implementation, the electronic device can adjust the arrangement order of one or more sub-progress bars in the progress bar according to a sequence adjustment operation when detecting the sequence adjustment operation on the one or more sub-progress bars, and regenerate new target video data according to the adjusted progress bar.
[0136] Implementing the above method, based on the sub-progress bar scheme provided in the embodiments of the present application, the user can directly adjust the structure and video content of the target video data based on the sub-progress bar, thereby improving the adjustment efficiency and adjustment effect of the target video data.
[0137] In an embodiment, the electronic device can extract a target video segment corresponding to a target sub-progress bar from the target video data and store the target video segment in a target storage space when detecting a selection operation on the target sub-progress bar, and the target storage space can include a cloud server or a local storage space, which is not limited herein.
[0138] Optionally, the electronic device can output the target video segment through a preview window before storing the target video segment in the target storage space, and if a video adjustment operation on the target video segment is detected, the target video segment is adjusted according to the video adjustment operation to obtain an adjusted target video segment, and the adjusted target video segment is stored in the target storage space.
[0139] Optionally, the target video segment described above can be used as a video material to generate video data.
[0140] Implementing the above method, the electronic device can store the video segment that the user likes, so that the user can reuse it next time when generating video data, thereby improving the user experience.
[0141] In an embodiment, the electronic device can store the target video segment into a material library corresponding to the video generation model, and then a subsequent video generation model can generate new video data based on the stored target video segment.
[0142] Optionally, the electronic device can upload the target video segment stored in the material library corresponding to the video generation model to a social page, and accumulate a score for the target video segment according to a scoring operation for the target video segment; if the accumulated score of the target video segment is higher than a score threshold, the target video segment is preferentially output in the case of generating video data by the video generation model next time, so that the video data generated by the subsequent video generation model is more popular with the public.
[0143] 804、In response to a first trigger operation on the first sub-progress bar in the progress bar, the display style of the first sub-progress bar is adjusted, and video generation information of a video segment corresponding to the first sub-progress bar is displayed.
[0144] In the embodiment of the application, in response to a first trigger operation on the first sub-progress bar in the progress bar, the electronic device can adjust the display style of the first sub-progress bar. Optionally, the display style of the first sub-progress bar can include one or more of the progress bar color, the progress bar transparency, and the progress bar shape.
[0145] Optionally, the manner of adjusting the display style of the first sub-progress bar can include at least one of adjusting the color of the first sub-progress bar, reducing the transparency of the first sub-progress bar, and thickening the first sub-progress bar, without limitation.
[0146] By implementing the above method, the electronic device can give visual feedback to the user by adjusting the display style of the first sub-progress bar, reminding the user that the currently selected sub-progress bar is the first sub-progress bar, and improving the user's experience.
[0147] Optionally, in the case of canceling the display of the video generation information corresponding to the target paragraph, the electronic device can adjust the display style of the paragraph icon corresponding to the target paragraph to the initial display style.
[0148] The initial display style can be the initial display style set for the first sub-progress bar, or a default display style, without limitation.
[0149] In an optional embodiment, in response to a first trigger operation on the first sub-progress bar in the progress bar, the electronic device can display video generation information and video content information of a video segment corresponding to the first sub-progress bar. The video content information is used to describe the video content of the video segment corresponding to the first sub-progress bar.
[0150] As introduced above, the video generation information can assist the user to quickly understand the structure of the target video data, or understand the source of each video material. Further, the electronic device can also display video content information of the video segment, which can be used to represent a content summary of the video segment.
[0151] Exemplarily, please refer to Figure 10 , Figure 10 is a schematic diagram of video content information disclosed by an embodiment of the present application. Optionally, in response to the first triggering operation on the first sub-progress bar 240 in the progress bar, the electronic device can display the video generation information "introduction of functions" 1002, and display the video content information 1004 below the video generation information, which is not limited herein.
[0152] By implementing the above method, in response to the first triggering operation on the first sub-progress bar in the progress bar, the electronic device can also display the video content information representing a content summary of the video segment corresponding to the first sub-progress bar, so as to facilitate the user to quickly understand the content of the entire video segment according to the video content information, thereby improving the preview efficiency and effect of the video data.
[0153] By implementing the method disclosed by the above embodiments, the video generation information of the entire video segment can be previewed by triggering the sub-progress bar, which improves the preview efficiency of the video data compared with the video preview function in the related art which can only preview the video picture frame by frame or second by second. In addition, the video generation information in the embodiments of the present application can include script information or material information, the script information is used to describe the video structure of the target video data, and the material information includes the source information of each video material for generating the target video data, so that the user can quickly understand the video structure of the video data and the source of the video material by browsing the video generation information, thereby improving the preview effect of the video data; and the user can input the script information through the conversation component to generate the video data meeting the user's demand, thereby improving the controllability of the method and further improving the user's use experience; and the generation interface of the target video data and the preview interface of the target video data can be displayed on two sub-pages respectively, so as to avoid the confusion of the two function interfaces, thereby making the target page more neat and orderly, and improving the user's viewing experience; and the display style of the first sub-progress bar can be adjusted to give the user visual feedback and remind the user that the currently selected sub-progress bar is the first sub-progress bar, thereby improving the user's use experience; and in response to the first triggering operation on the first sub-progress bar in the progress bar, the electronic device can also display the video content information representing a content summary of the video segment corresponding to the first sub-progress bar, so as to facilitate the user to quickly understand the content of the entire video segment according to the video content information, thereby improving the preview efficiency and effect of the video data.
[0154] Please refer toFigure 11 , Figure 11 is a structural schematic diagram of a preview device for video data. Optionally, the device can be applied to the electronic device described above, or other execution subjects, which are not limited herein. Optionally, the device can include a first display unit 1102 and a second display unit 1104, wherein:
[0155] The first display unit 1102 is configured to display a preview picture corresponding to target video data and a progress bar in a target page, the progress bar includes a plurality of sub-progress bars, the plurality of sub-progress bars correspond to a plurality of video segments of the target video data one by one, the plurality of video segments are obtained by segmenting the target video data according to video generation information, and the video generation information includes script information or material information, the script information is used to describe a video structure of the target video data, and the material information includes source information of each video material used to generate the target video data.
[0156] The second display unit 1104 is configured to display video generation information of a video segment corresponding to a first sub-progress bar in response to a first triggering operation on the first sub-progress bar.
[0157] The device described above can display a preview picture corresponding to target video data and a progress bar in a target page. Unlike the progress bar in the related art, which is usually a continuous straight line, the progress bar in the embodiment of the present application can include a plurality of sub-progress bars, and the plurality of sub-progress bars correspond to a plurality of video segments of the target video data one by one. The plurality of video segments are obtained by segmenting the target video data according to video generation information. In response to a first triggering operation on any first sub-progress bar in the progress bar, the video generation information of the video segment corresponding to the first sub-progress bar can be displayed. It can be seen that, in the embodiment of the present application, the video generation information of the entire video segment can be previewed by triggering the sub-progress bar. Compared with the video preview function in the related art, which can only preview video pictures frame by frame and second by second, the video data preview efficiency is improved.
[0158] In addition, the video generation information in the embodiment of the present application can include script information or material information, the script information is used to describe a video structure of the target video data, and the material information includes source information of each video material used to generate the target video data. Therefore, a user can quickly understand the video structure of the video data and the source of the video material by browsing the video generation information, thereby improving the video data preview effect.
[0159] As an optional implementation, the second display unit 1104 is further configured to superimposedly display a display component in response to the first triggering operation on the first sub-progress bar in the progress bar, and the display component is used to display the video generation information of the video segment corresponding to the first sub-progress bar.
[0160] The device can display the video generation information of the video segment corresponding to the first sub-progress bar through the more eye-catching and information-intensive display component, so as to give the user stronger visual feedback, facilitate the user to view the video generation information, and thus improve the preview effect of the video data.
[0161] As an optional implementation, the second display unit 1104 is further configured to superimpose and display the display component on one side of the first sub-progress bar.
[0162] The display component is displayed in a target region in the preview picture, and the target region includes a middle region of the preview picture.
[0163] The display component is displayed in a blank region of the target page other than the preview picture.
[0164] The device can make the user more easily notice the display component and facilitate the user to view the video generation information in the display component, because the user's attention is at the position of the first sub-progress bar when the user selects the first sub-progress bar. In addition, superimposing and displaying the display component on one side of the first sub-progress bar can avoid the display component from blocking the preview picture as much as possible, thereby improving the preview effect of the video data. Superimposing and displaying the display component in the middle region of the preview picture can facilitate the user to view the video generation information in the display component. The middle region of the preview picture is relatively large, which facilitates the display of a larger display component to accommodate more video generation information, thereby improving the flexibility of the method. Superimposing and displaying the display component in the blank region of the target page other than the preview picture can avoid the display component from blocking the preview picture, thereby facilitating the user to view the preview picture and improving the preview effect of the video data.
[0165] As an optional implementation, the second display unit 1104 is further configured to display an indication icon at a target progress node in the first sub-progress bar in response to a first triggering operation on the target progress node, and display the video generation information of the video segment corresponding to the first sub-progress bar at the position of the indication icon.
[0166] The device can indicate the currently selected target progress node to the user through the indication icon, so that the user knows which sub-progress bar is currently selected. In addition, the device displays the video generation information of the video segment corresponding to the first sub-progress bar at the position of the indication icon, so that the user can more easily notice the video generation information and facilitate the user to view the video generation information, thereby improving the user experience.
[0167] As an optional implementation, the second display unit 1104 is further configured to display video generation information of the video segment corresponding to the first sub-progress bar in response to the indication icon following the target progress node moving within the first sub-progress bar.
[0168] Implementing the above device can display the video generation information of the video segment corresponding to the first sub-progress bar following the dynamic change process of the indication icon moving, so as to give the user stronger visual feedback, and make the user know that the currently displayed video generation information corresponds to the entire video segment corresponding to the first sub-progress bar.
[0169] As an optional implementation, Figure 11 The device shown can also include a cancel unit not shown, wherein:
[0170] The cancel unit is configured to, after displaying the video generation information of the video segment corresponding to the first sub-progress bar in response to the first trigger operation on the first sub-progress bar in the progress bar, cancel the display of the video generation information of the video segment corresponding to the first sub-progress bar if a first condition is met; the first condition includes at least one of the following:
[0171] The display duration of the video generation information is greater than or equal to a first duration threshold;
[0172] The first trigger operation on the first sub-progress bar in the progress bar is not detected;
[0173] The current playback progress of the target video data is within the first sub-progress bar.
[0174] Implementing the above device, the electronic device can cancel the display of the video generation information of the video segment corresponding to the first sub-progress bar if it is determined that the first condition is met, so as to avoid the video generation information blocking the preview picture, thereby facilitating the user to view the preview picture, improving the preview effect of the video data, and further improving the user experience.
[0175] As an optional implementation, the second display unit 1104 is further configured to, in response to the first trigger operation on the first sub-progress bar in the progress bar, adjust the display style of the first sub-progress bar and display the video generation information of the video segment corresponding to the first sub-progress bar.
[0176] The display style of the first sub-progress bar includes one or more of the progress bar color, the progress bar transparency, and the progress bar shape.
[0177] Implementing the above device, the electronic device can give the user visual feedback by adjusting the display style of the first sub-progress bar, reminding the user that the currently selected sub-progress bar is the first sub-progress bar, and improving the user experience.
[0178] As an optional implementation, the second display unit 1104 is further configured to display video generation information and video content information of the video segment corresponding to the first sub-progress bar, and the video content information is used to describe the video content of the video segment corresponding to the first sub-progress bar.
[0179] By implementing the above device, the electronic device can further display the video content information representing the content summary of the video segment corresponding to the first sub-progress bar in response to the first triggering operation on the first sub-progress bar, so that the user can quickly understand the content of the entire video segment according to the video content information, thereby improving the preview efficiency and effect of the video data.
[0180] As an optional implementation, the target video data is video data generated by a video generation model according to the script information and the video material; or,
[0181] The target video data is video data captured by a camera device; or,
[0182] The target video data is video data downloaded from the Internet.
[0183] By implementing the above device, different types of video data of different sources can use the preview method of the video data, thereby improving the compatibility and flexibility of the method of the video data.
[0184] As an optional implementation, the target page includes a first sub-page, the first sub-page includes a dialogue component, the dialogue component is used to input the script information, and the target video data is generated by a video generation model according to the script information input in the dialogue component and the video material.
[0185] By implementing the above device, the user can input the script information through the dialogue component to generate the video data meeting the user's demand, thereby improving the controllability of the method and the user's use experience.
[0186] As an optional implementation, the target page further includes a second sub-page, and the first display unit 1102 is further configured to display the preview picture and the progress bar corresponding to the target video data in the second sub-page.
[0187] By implementing the above device, the electronic device can display the generation interface of the target video data and the preview interface of the target video data in two sub-pages respectively, so as to avoid the confusion of the two function interfaces, thereby making the target page more neat and orderly, and improving the user's viewing experience.
[0188] Please refer to Figure 12 , Figure 12 is a structural schematic diagram of an electronic device disclosed in an embodiment of the present application. As shown inFigure 12 As shown in the figure, the electronic device can include a memory 1201 storing executable program code; and a processor 1202 coupled with the memory 1201; wherein the processor 1202 invokes the executable program code stored in the memory 1201 to perform the preview method of the video data disclosed in each of the above embodiments.
[0189] The embodiments of the present application disclose a computer readable storage medium storing a computer program, wherein the computer program causes a computer to perform the preview method of the video data disclosed in each of the above embodiments.
[0190] The embodiments of the present application also disclose an application publishing platform, wherein the application publishing platform is used to publish a computer program product, and when the computer program product runs on a computer, causes the computer to perform part or all steps of the method in each of the above method embodiments.
[0191] It should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in any suitable manner in one or more embodiments. Those skilled in the art should also know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.
[0192] In various embodiments of the present application, it should be understood that the size of the serial number of the above processes does not mean the inevitable sequence of execution, and the execution sequence of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0193] The units described above as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e. they can be located in one place, or they can be distributed on multiple network units. According to actual needs, some or all of the units can be selected to achieve the purpose of the embodiments of the present application.
[0194] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can exist physically independently, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.
[0195] The above integrated units, if realized in the form of software functional units and sold or used as independent products, can be stored in a computer-accessible memory. Based on this understanding, the technical solutions of the present application essentially or the part that contributes to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a memory and includes a number of parts or all steps of the above-mentioned methods of the embodiments of the present application for enabling a computer device (which can be a personal computer, a server or a network device, and specifically can be a processor in the computer device) to execute the steps of the above-mentioned methods.
[0196] A person of ordinary skill in the art can understand that all or part of the steps in the above-mentioned embodiments can be completed by programs instructing relevant hardware, and the programs can be stored in a computer-readable storage medium, including a Read-Only Memory (ROM), a Random Access Memory (RAM), a Programmable Read-only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), a One-time Programmable Read-Only Memory (OTPROM), an Electrically-Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical disk memories, magnetic disk memories, magnetic tape memories, or any other computer-readable medium capable of carrying or storing data.
[0197] The above describes the preview method and device of video data, electronic equipment and storage medium disclosed in the embodiments of the present application in detail. The principles and implementation manners of the present application are described by applying specific examples. The above description of the embodiments is only used to help understand the method of the present application and its core idea. Meanwhile, for those of ordinary skill in the art, according to the idea of the present application, the specific implementation manners and application ranges can be changed. In summary, the content of the specification should not be understood as a limitation of the present application.
Claims
1. A method of previewing video data, characterized by, The method comprises: In the target page, a preview picture corresponding to target video data and a progress bar are displayed, the progress bar comprises a plurality of sub-progress bars, the plurality of sub-progress bars correspond to a plurality of video segments of the target video data one by one, the plurality of video segments are obtained by segmenting the target video data according to video generation information, the video generation information comprises script information or material information, the script information is used for describing a video structure of the target video data, and the material information comprises source information of each video material used for generating the target video data; In response to a first trigger operation on a first sub-progress bar in the progress bar, video generation information of a video segment corresponding to the first sub-progress bar is displayed.
2. The method of claim 1, wherein, The response to the first trigger operation on the first sub-progress bar in the progress bar to display the video generation information of the video segment corresponding to the first sub-progress bar comprises: In response to the first trigger operation on the first sub-progress bar in the progress bar, a display component is superimposed and displayed in the target page, and the display component is used for displaying the video generation information of the video segment corresponding to the first sub-progress bar.
3. The method of claim 2, wherein, The superimposed and displayed display component in the target page comprises: The display component is superimposed and displayed on one side of the first sub-progress bar; or The display component is superimposed and displayed in a target region in the preview picture, and the target region comprises a middle region of the preview picture; or The display component is superimposed and displayed in a region of the target page except the preview picture.
4. The method of claim 1, wherein, The response to the first trigger operation on the first sub-progress bar in the progress bar to display the video generation information of the video segment corresponding to the first sub-progress bar comprises: In response to a first trigger operation on a target progress node in the first sub-progress bar, an indication icon is displayed at the target progress node; The video generation information of the video segment corresponding to the first sub-progress bar is displayed at a first position corresponding to the indication icon.
5. The method of claim 4, wherein, The method further comprises: If the indication icon moves in the first sub-progress bar while following the target progress node, the video generation information of the video segment corresponding to the first sub-progress bar is displayed to follow a dynamic change process of the indication icon.
6. The method of claim 1, wherein, After the response to the first trigger operation on the first sub-progress bar in the progress bar to display the video generation information of the video segment corresponding to the first sub-progress bar, the method further comprises: In a case where a first condition is met, the video generation information of the video segment corresponding to the first sub-progress bar is cancelled. The first condition comprises at least one of the following: A display duration of the video generation information is greater than or equal to a first time threshold; No first trigger operation on the first sub-progress bar in the progress bar is detected; A current playing progress of the target video data is in the first sub-progress bar.
7. The method of claim 1, wherein, The response to the first trigger operation on the first sub-progress bar in the progress bar to display the video generation information of the video segment corresponding to the first sub-progress bar comprises: In response to a first triggering operation on a first sub-progress bar in the progress bar, a display style of the first sub-progress bar is adjusted, and video generation information of a video segment corresponding to the first sub-progress bar is displayed. The display style of the first sub-progress bar includes one or more of a progress bar color, a progress bar transparency, and a progress bar shape.
8. The method of claim 1, wherein, The display of the video generation information of the video segment corresponding to the first sub-progress bar includes: The video generation information and video content information of the video segment corresponding to the first sub-progress bar are displayed, and the video content information is used to describe video content of the video segment corresponding to the first sub-progress bar.
9. The method according to any one of claims 1 to 8, characterized in that, The target video data is video data generated by a video generation model according to script information and video materials; or The target video data is video data obtained by shooting with a camera device; or The target video data is video data downloaded from the Internet.
10. The method of claim 9, wherein, The target page includes a first sub-page, and the first sub-page includes a dialogue component used to input script information; and the target video data is video data generated by a video generation model according to video materials and script information input in the dialogue component.
11. The method of claim 10, wherein, The target page further includes a second sub-page; and the display of the preview picture and the progress bar corresponding to the target video data in the target page includes: In the second sub-page, the preview picture and the progress bar corresponding to the target video data are displayed.
12. A video data previewing apparatus characterized by comprising: The apparatus includes: A first display unit configured to display a preview picture and a progress bar corresponding to target video data in a target page, the progress bar including a plurality of sub-progress bars, the plurality of sub-progress bars corresponding one-to-one to a plurality of video segments of the target video data, the plurality of video segments being obtained by segmenting the target video data according to video generation information, the video generation information including script information or material information, the script information being used to describe a video structure of the target video data, and the material information including source information of each video material used to generate the target video data; A second display unit configured to display video generation information of a video segment corresponding to a first sub-progress bar in the progress bar in response to a first triggering operation on the first sub-progress bar.
13. An electronic device, comprising: The computer program is executed by a processor to implement the method of any one of claims 1-11.
14. A computer-readable storage medium storing a computer program, wherein the computer program comprises instructions that, when executed by a computer, cause the computer to perform the method according to any one of claims 1 to 13. The computer program is executed by a processor to implement the method of any one of claims 1-11.