Method, device, electronic device, and storage medium for interacting with video content preview

The method and apparatus improve video content previews by displaying target text alongside video playback, addressing the limitations of frame-based previews by offering continuous text representation and user-customizable options.

JP2025529990AActive Publication Date: 2025-09-09DOUYIN VISION CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2025514425
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-09-09
Filing Date
2023-09-01
Publication Date
2025-09-09
Estimated Expiration
2043-09-01

AI Technical Summary

Technical Problem

Existing video playback methods provide insufficient information during video content previews, as video frames alone cannot represent audio information or text associated with the video playback position, leading to an incomplete preview experience.

Method used

A method and apparatus that displays a video playback interface with a progress bar component, allowing users to interact with target timestamps by moving a progress bar to display corresponding target text, which characterizes the video content, including subtitle texts generated from audio information, and supports multiple language options and text attributes.

Benefits of technology

Enhances the preview experience by providing continuous text representation of video content, improving information display and user interaction fluency, and accommodating user preferences for language and text styles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025529990000001_ABST
    Figure 2025529990000001_ABST
Patent Text Reader

Abstract

An embodiment of the present disclosure provides a method, an apparatus, an electronic device, and a storage medium for interacting with a video content preview. The method includes displaying a video playback interface, the video playback interface being provided with a progress bar component, the progress bar component being used to display a playback progress of a target video played in the video playback interface, and displaying corresponding target text in response to a movement operation on the progress bar component, the movement operation being used to indicate a first video position of the target video, the target text characterizing video content of the target video at the first video position. In response to the movement operation on the progress bar component, displaying the video content of the video position corresponding to the movement operation in text form.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] TECHNICAL FIELD Embodiments of the present disclosure relate to the field of Internet technology, and in particular to a method, apparatus, electronic device, and storage medium for interacting with video content previews. [Background technology]

[0002] Currently, video playback software is configured with a video jump function and a corresponding video preview function to facilitate users in adjusting the video playback progress, i.e., while adjusting the video playback progress, the video frame at the target jump position is decoded and displayed before the video jumps, allowing users to preview the video content at that video position and thereby decide whether to jump. Summary of the Invention [Problem to be solved by the invention]

[0003] SUMMARY Embodiments of the present disclosure provide a method, apparatus, electronic device, and storage medium for interacting with video content previews. [Means for solving the problem]

[0004] In a first aspect, embodiments of the present disclosure include: B providing a way to interact with video content previews, Displaying a video playback interface, the video playback interface being provided with a progress bar component, the progress bar component comprising: 、 Used for displaying the playback progress of the target video played in the video playback interface; and Movement relative to the progress bar component instruction In response to to the target timestamp of the target video and displaying the corresponding target text. instruction of the target video Target Timestamp and the target text is used to indicate Target Timestamp characterizing the video content of the target video in

[0005] In a second aspect, an embodiment of the present disclosure provides an apparatus for interacting with a video content preview, comprising: A display module used to display a video playback interface, the video playback interface being provided with a progress bar component, the progress bar component comprising: 、 a display module, used for displaying the playback progress of the target video played in the video playback interface; Movement relative to the progress bar component instruction In response to to the target timestamp of the target video a processing module used to display the corresponding target text, instruction of the target video Target Timestamp and the target text is used to indicate Target Timestamp and a processing module for characterizing the video content of the target video in the

[0006] In a third aspect, an embodiment of the present disclosure provides an electronic device, comprising: a processor and a memory communicatively connected to the processor; The memory stores computer executable instructions; The processor executes computer-executable instructions stored in the memory to implement the method for interacting with a video content preview as described in the first aspect and various possible designs of the first aspect above.

[0007] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, comprising: a computer-readable storage medium having stored thereon computer-executable instructions, the computer-executable instructions being stored on the computer-readable storage medium when executed by a processor, for interacting with a video content preview according to the first aspect and various possible designs thereof; but It will be implemented.

[0008] In a fifth aspect, an embodiment of the present disclosure provides a computer program product including a computer program, which, when executed by a processor, realizes the method for interacting with video content preview as described in the first aspect above and various possible designs of the first aspect.

[0009] In a sixth aspect, an embodiment of the present disclosure provides a computer program, which, when executed by a processor, realizes the method for interacting with video content preview as described in the first aspect and various possible designs of the first aspect.

[0010] The present embodiment provides a method, an apparatus, an electronic device, and a storage medium for interacting with a video content preview, which displays a video playback interface, and the video playback interface is provided with a progress bar component, which 、 A progress bar component is used to display the playback progress of the target video played in the video playback interface, and the progress bar component is used to instruction In response to to the target timestamp of the target video The corresponding target text is displayed and moved instruction of the target video Target Timestamp and the target text is used to indicate Target Timestamp The video content of the target video is characterized in the progress bar component. instruction In response to, move instruction corresponds to Target Timestamp Display video content in text format. [Brief explanation of the drawings]

[0011] The embodiments of the present disclosure or Related technologies In order to more clearly explain the technical solutions in the following, examples or Related technologies The drawings necessary to be used in the description will be briefly introduced below. It is obvious that the drawings in the following description are some embodiments of the present disclosure, and those skilled in the art can also obtain other drawings based on these drawings without any creative work.

[0012] [Figure 1] FIG. 2 is an application scene diagram of a method for interacting with video content previews provided by an embodiment of the present disclosure. [Figure 2] 1 is a flowchart 1 of a method for interacting with video content previews provided by an embodiment of the present disclosure. [Figure 3] FIG. 2 is a schematic diagram of a video playback interface provided by an embodiment of the present disclosure. [Figure 4] FIG. 3 is a flow chart showing specific steps for implementing step S102 in the embodiment shown in FIG. 2. [Figure 5] FIG. 2 is a schematic diagram of target text data provided by an embodiment of the present disclosure. [Figure 6] FIG. 1 is a schematic diagram of a progress component provided by an embodiment of the present disclosure. [Figure 7] 2 is a flowchart 2 of a method for interacting with video content previews provided by an embodiment of the present disclosure. [Figure 8] FIG. 2 is an operational schematic diagram of a second language component provided by an embodiment of the present disclosure. [Figure 9] FIG. 8 is a flow chart showing specific steps for implementing step S204 in the embodiment shown in FIG. 7. [Figure 10] FIG. 2 is an operational schematic diagram of a first language component provided by an embodiment of the present disclosure. [Figure 11] FIG. 2 is a schematic diagram of text attribute changes provided by an embodiment of the present disclosure. [Figure 12] FIG. 1 is a block diagram of an apparatus for interacting with video content previews provided by an embodiment of the present disclosure. [Figure 13] 1 is a structural schematic diagram of an electronic device provided by an embodiment of the present disclosure; [Figure 14] FIG. 2 is a schematic structural diagram of the hardware of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE INVENTION

[0013] In order to clarify the objectives, technical solutions and advantages of the embodiments of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings of the embodiments of the present disclosure. Obviously, the described embodiments are only some embodiments of the present disclosure, and are not all embodiments. Based on the embodiments in the present disclosure, all other embodiments that a person skilled in the art can obtain without creative work fall within the scope of protection of the present disclosure.

[0014] The application scenarios of the embodiments of the present disclosure will be described below.

[0015] FIG. 1 is an application scene diagram of a method for interacting with a video content preview provided by an embodiment of the present disclosure. The method for interacting with a video content preview provided by an embodiment of the present disclosure can be applied to a video playback application scene. More specifically, it can be applied to an application scene in which a video preview is performed during video playback. As shown in FIG. 1, the method provided by an embodiment of the present disclosure can be applied to a terminal device such as a smartphone or a tablet. Exemplarily, a target application (APP) for playing a video is running on the terminal device. More specifically, the target application is, for example, a short video platform application, which connects to a short video platform server to download and play the target video. The target application has a video playback interface, which is configured with a progress bar component that displays the video playback progress. During the target video playback process, a user can drag the progress bar component in the video playback interface to jump (seek) the target video, i.e., adjust the playback progress. During this process, the user can preview the video content corresponding to the target video position to which the user wants to jump through the video preview window.

[0016] Related technologies In the process of adjusting the video playback progress, in order to allow the user to know the video content at the target video playback position (i.e., jump target position), a preview window is displayed to display the video frame at the video playback position, thereby realizing the video preview. However, in the actual application process, the video frame can only represent the image information in the video, and cannot represent the audio information in the video. In addition, due to the static characteristics of the video frame, it cannot represent the pre-text and post-text information corresponding to the video playback position. Related technologies In the video preview implemented by the above method, there is a problem that the amount of information displayed is small and the video content cannot be displayed sufficiently, which affects the preview effect of the video content. The embodiment of the present disclosure provides a method for interacting with video content preview to solve the above problem.

[0017] Referring to Figure 2, Figure 2 is a flowchart 1 of a method for interacting with a video content preview provided by an embodiment of the present disclosure. The method of this embodiment can be applied to terminal devices such as smartphones and personal computers, and this embodiment exemplifies a method for interacting with a video content preview provided by this embodiment using a smartphone with a touch screen as the execution body. This method for interacting with a video content preview includes the following steps:

[0018] Step S101: display a video playback interface, in which a progress bar component is provided, for displaying the playback progress of the target video played in the video playback interface.

[0019] For example, the video playback interface is an interface for playing a video in a target application for video playback. The terminal device executes the target application and calls a corresponding system component to display the video playback interface; the specific process is not described further. Here, the video playback interface includes not only a basic video playback component for playing the target video, but also a progress bar component for displaying the playback progress of the target video. Here, in one possible embodiment, the progress bar component can be implemented via the video playback component, i.e., the progress bar component is a subcomponent of the video playback component that displays the video playback progress to the user. In another possible embodiment, the progress bar component may be a component independent of the video playback component. Furthermore, the progress bar component can display the playback progress of the video played in the video playback interface and can also control the video playback progress in response to an operation command.

[0020] 3 is a schematic diagram of a video playback interface provided by an embodiment of the present disclosure. As shown in FIG. 3, the video playback interface exemplarily includes a video playback component and a progress bar component. The progress bar component is located below the video playback component. While the video playback component plays a target video, the progress indicator in the progress bar component moves according to the changes in the playback progress of the target video. On the other hand, when a user operates the progress bar component by performing a gesture operation on the touch screen, for example, by dragging the progress indicator of the progress bar component, the playback progress of the target video played by the video playback component is controlled accordingly, i.e., jump playback. The specific implementation principle of the above video playback component and progress bar component is as follows: Related technologies and will not be further explained here.

[0021] Step S102, moving to the progress bar component instruction In response to to the target timestamp of the target video Display and move the corresponding target text instruction is the target video's Target Timestamp The target text is Target Timestamp Characterize the video content of the target video in.

[0022] Further, referring to the schematic diagram of the video playback interface shown in FIG. 3 , when a user applies a move operation to the progress bar component via a touch screen, the terminal device detects the move operation and generates a corresponding operation command to control the progress bar component. Here, the move operation can include a drag operation or a click operation on the progress bar component. Specifically, the drag operation is a non-release drag gesture on the progress identifier in the progress bar component, i.e., a drag gesture that is always in a push (button down) state. When the progress identifier is dragged to an identified position in the progress bar component, a corresponding first video position is determined based on a timestamp corresponding to the identified position. Meanwhile, the click operation is a non-release click operation on an identified position in the progress bar component. In response to the non-release click operation, the progress identifier in the progress bar component can be moved to the identified position (or the progress identifier can be left unchanged), and the corresponding first video position can be determined based on a timestamp corresponding to the identified position.

[0023] Furthermore, the first video position can be represented by a playback timestamp of the target video. After obtaining the first video position, subtitle text corresponding to the timestamp, i.e., target text, is obtained from text data corresponding to the preset target video based on the corresponding timestamp (the target video and the corresponding text data have matching timestamps). Then, the target text is displayed in a preset area of ​​the video playback interface. Here, the moving operation is a continuous operation (e.g., dragging the progress indicator), and one moving operation can correspond to multiple first video positions. Therefore, as the moving operation continues, the target text corresponding to each first video position is synchronously displayed in the video playback interface.

[0024] In one possible embodiment, as shown in FIG. 4, the specific implementation steps of step S102 illustratively include:

[0025] Step S1021: obtain target text data corresponding to the target video, the target text data including subtitle texts of at least two video positions of the target video, where the subtitle texts are generated according to audio information of corresponding video positions of the target video.

[0026] Step S1022: display the subtitle text corresponding to the first video position as the target text.

[0027] For example, the target text data corresponding to the target video may be pre-generated data, the target text data includes subtitle text corresponding to the target video at different timestamp positions, and the subtitle text is obtained after processing the target video based on speech recognition technology. More specifically, the target text data may be obtained by the terminal device accessing a server, or may be obtained after the terminal device processes the target video. Not all examples will be described here.

[0028] 5 is a schematic diagram of target text data provided by an embodiment of the present disclosure. As shown in FIG. 5, the target text data includes N subtitle texts, where each subtitle text corresponds to at least one video frame of the target video, and each subtitle text and the video frame of the target video are aligned by timestamp. That is, referring to the diagram, for example, subtitle text #1 corresponds to video frames p1-p3, and subtitle text #2 corresponds to video frames p4-p7. After obtaining the target text data corresponding to the target video, the corresponding subtitle text is obtained from the target text data based on the timestamp corresponding to the first video position and displayed as the target text.

[0029] In this embodiment, the first video position corresponding to the moving operation and the independent text data are used to obtain and display the corresponding target text by using a unified timestamp, and there is no need to perform video decoding during the display process of the text data. Related technologies Compared with the method of previewing video content based on video frames, it consumes less resources, displays target text in real time, and has better operation fluency and definition.

[0030] on the other hand, Related technologies In a method of previewing video content based on video frames, the time interval between video frames is short, so even if two consecutive movement operations are performed in response to a movement operation, frame leakage occurs, and a complete representation of the video content cannot be achieved. In a method of previewing video content using subtitle text, the time span corresponding to the subtitle text is long, so consecutive movement operations can achieve a continuous preview of adjacent subtitle text and display continuous context information. This allows a complete representation of the video content (in the text dimension).

[0031] Furthermore, for the above-mentioned movement operations, the movement operations are all non-release operations, because the progress bar component can be used to control the playback progress of the target video, and when the movement gesture is released (e.g., the gesture of dragging the progress identifier is released), a corresponding jump playback is triggered based on the video position when the movement gesture is released. In this case, in another possible embodiment, the progress bar component includes a first progress identifier and a second progress identifier, where the first progress identifier is used to control the preview position of the target video, and the second progress identifier is used to control the playback progress of the target video. Movement relative to the progress bar component instruction In response to to the target timestamp of the target video The specific implementation of displaying the corresponding target text is to move the first progress indicator. instruction and, in response to the preview position, displaying the target text corresponding to the preview position in a view of the video preview of the video playback interface.

[0032] FIG. 6 is a schematic diagram of a progress component provided by an embodiment of the present disclosure. As shown in FIG. 6, the progress bar component includes a first progress identifier and a second progress identifier. Here, illustratively, when the target video is played normally, the video playback interface simultaneously plays the target video and corresponding text subtitles based on the playback timestamp of the target video, and the timestamps of the target video and the corresponding text subtitles are consistent. Illustratively, the text subtitles may be pre-generated text for characterizing and describing the video content. When the user operates the second progress identifier to move it to video position A by dragging or clicking the second progress identifier (shown in the figure as dragging the second progress identifier), the playback of the target video can be controlled, i.e., jump playback can be realized. This process is as follows: Related technologies

[0023] This is a conventional means for realizing video jump playback in the video playback interface, and will not be described further. Meanwhile, when a user operates to move the first progress identifier to video position B (first video position) by dragging or clicking the first progress identifier (shown in the figure as dragging the first progress identifier), the video playback interface displays text corresponding to this first video position, i.e., target text, and optionally displays this target text in the video preview view of the video playback interface. In this case, since the second progress identifier controlling the video playback progress is not moved, the target video and corresponding text subtitles in the second video playback interface are played back normally, and at the same time, the user can preview the text subtitles at the first video position (i.e., preview position) based on the view of the video preview.

[0033] In an embodiment in which the progress bar component includes one progress identifier, if the user does not need to jump but only needs to preview, there is a problem in that the progress identifier cannot be manually restored to the identification position corresponding to the current playback progress of the video after the movement operation for that progress identifier is completed, resulting in unexpected jump playback of the target video being played normally. On the other hand, in this embodiment, a first progress identifier and a second progress identifier are set to control the preview position and playback progress, respectively, thereby realizing separation of the operation for controlling the video playback progress and the operation for previewing the video content. When previewing the video content through the movement operation and displaying the target text, the operation of the second progress identifier is not involved, so the normal playback of the target video is not affected. This avoids unexpected jump playback in which the target video appears after the movement operation is completed, and improves the fluency of video playback.

[0034] In this embodiment, a video playback interface is displayed, and a progress bar component is provided in the video playback interface. The progress bar component is used to display the playback progress of the target video played in the video playback interface, and the movement of the progress bar component instruction In response to to the target timestamp of the target video The corresponding target text will be displayed and moved. instruction is the target video's Target Timestamp The target text is Target Timestamp Characterize the video content of the target video in the progress bar component. instruction In response to, move instruction corresponds to Target Timestamp By displaying the video content in text format and realizing a text preview for the target video, the amount of information displayed in the video can be effectively improved and the problem of insufficient display of the video content can be solved.

[0035] Referring to Figure 7, Figure 7 is a flowchart 2 of a method for interacting with video content previews provided by an embodiment of the present disclosure. This embodiment further subdivides the implementation process of step S102 based on the embodiment shown in Figure 2, and this method for interacting with video content previews includes:

[0036] Step S201: display a video playback interface, in which a progress bar component is provided, for displaying the playback progress of the target video played in the video playback interface.

[0037] Step S202: Search for alternative text data corresponding to the target video, and display data identifiers corresponding to at least two alternative text data.

[0038] Step S203: Selecting a target data identifier instructionIn response to the request, the first target text data corresponding to the target data identifier is downloaded.

[0039] Illustratively, referring to the description of the text data in the above embodiment, the text data is descriptive text for the target video, and corresponds to a timestamp of the target video and is used to characterize the content of the target video at the corresponding timestamp position. Here, the text data is composed of multiple subtitle texts, and the subtitle texts can be generated by analyzing and recognizing audio information for the target video. In one possible implementation form, the text data is subjective descriptive text for the target video, such as a video barrage or video commentary subtitles uploaded by a user. In this case, the text data can be obtained based on different algorithms or created by different users. The target video can also correspond to multiple alternative text data that can be stored in a server (i.e., a service terminal of the target application) communicating with the target application. Before or during playback of the target video, the terminal device accesses the server and performs a text data search on the target video to obtain the alternative text data corresponding to the target video. Then, the terminal device displays a data identifier corresponding to the alternative text data on an application interface, such as a video playback interface, and then displays the data identifier corresponding to the alternative text data in response to a user's selection. instruction Based on the selection result, one of the plurality of alternative text data can be selected as the first target text data, and the subsequent target text display is performed based on the first target text data selected by the user.

[0040] FIG. 8 is an operation schematic diagram of a second language component provided by an embodiment of the present disclosure. As shown in FIG. 8, exemplarily, a video playback interface is provided with a second language component for displaying search results of alternative text data for a target video after being triggered. Referring to FIG. 8, the target video is a game video, and the corresponding alternative text data is a text description for the game video. By triggering the second language component, a data identifier of the alternative text data corresponding to the target video is displayed in the corresponding display view. More specifically, the data identifier is a string, and includes a sort number, a target video number, and introduction information. Exemplarily, for example, for a data identifier whose sort number is #1, the corresponding target video number is No. 0001, and the corresponding introduction information is "A vs. B - user_1's explanation." For example, for a data identifier whose sort number is #2, the corresponding target video number is No. 0001, and the corresponding introduction information is "A vs. B - user_2's explanation." Then, selecting instruction In response to the request, the target data identifier (the data identifier with sort number #2) is selected and the selection result is displayed in the second language component. The sort number #2 corresponding to the target data identifier is shown in the figure. The server is then accessed to obtain and load the corresponding first target text data. As shown in FIG. 8, the second language component can select text data based on the alternative text data retrieved and displayed by the second language component. The user can select the first target text data that interests them based on their personal preferences. In a subsequent step, the target text is displayed for in-video preview based on the first target text data, thereby enhancing the flexibility and variety of video content previews and satisfying the user's personalized needs.

[0041] Step S204: Obtain a subtitle text category corresponding to the target video, where the subtitle text category characterizes the language used for the subtitle text in the text data.

[0042] Step S205: obtain second target text data corresponding to the subtitle text category from the first target text data according to the subtitle text category corresponding to the target video.

[0043] Furthermore, after determining the first target text data, the target application can realize language-independent display of the subtitle text in the first target text data, i.e., the target video can support multiple subtitle text categories. Illustratively, the first target text data includes first text data, second text data, and third text data, where the first text data is Chinese-based text, the second text data is English-based text, and the third text data is Russian-based text. The first text data, the second text data, and the third text data have the same characterization meaning but are in different languages. More specifically, for example, the second text data and the third text data may be translated based on the first text data.

[0044] Illustratively, the corresponding subtitle text category is displayed by showing the identifiers of the corresponding sub-data based on different languages ​​in the first text data (e.g., the first text data, the second text data, and the third text data in the above embodiment). instruction Based on the above, one target category is selected from among the plurality of subtitle text categories, and text data corresponding to the selected target category is determined as second target text data.

[0045] Illustratively, the video playback interface is provided with a first language component, and the language component is used to display at least two subtitle text categories. As shown in FIG. 9, specific implementation steps of step S204 include:

[0046] Step S2041: Detect the number of subtitle text categories corresponding to the target video.

[0047] Step S2042: If the number of subtitle text categories is greater than one, the first language component is set to an available state.

[0048] Step S2043: Setting for the first language component instruction and determining a target subtitle text category corresponding to the target video in response to the

[0049] FIG. 10 is a schematic diagram illustrating the operation of a first language component provided by an embodiment of the present disclosure. The above-described procedure is described with reference to FIG. 10. As shown in FIG. 10, after the first target text data (corresponding to sort number #2) is determined by the second language component, the number of subtext data based on different languages ​​in the first target text data is detected, i.e., the number of subtitle text categories corresponding to the target video is detected. If the number is greater than 1, it indicates that the user can select a subtitle text category of interest. In this case, the first language component is set to an available state. More specifically, the available state includes, for example, a displayable state and a clickable state (in the figure, "Optional" is displayed in the first language component). Conversely, if the number is equal to 1, i.e., the first target text data contains only text data in one language, the first language component is set to an unavailable state, such as not displayable or not clickable.

[0050] Then, as shown in Figure 10, if the first language component is available, the first language component is triggered and the available subtitle text categories are displayed in the corresponding view page, such as "Simplified Chinese" and "English" in Figure 10. instruction, for example, in response to a click selection operation, selecting one of a plurality of subtitle text categories in the first language component as a target subtitle text category (i.e., selecting the target subtitle text category), and then subtly displaying text data corresponding to the target subtitle text category as second target text data.

[0051] In this embodiment, by setting the first language component, the language of the subtitle text can be further selected, and the target text can then be displayed in a specific language during the process of realizing a preview of the video content, thereby increasing the flexibility and amount of information displayed in the preview of the video content and meeting the various preview needs of users.

[0052] It should be noted that in this embodiment, steps S202-S203 are steps of selecting alternative text data for the target video, and steps S204-S205 are steps of selecting a text category for the target video, and the above two steps can be performed sequentially in the manner of this embodiment. In other embodiments provided by the present disclosure, one of these steps can be omitted or performed separately. For example, after selecting alternative text data for the target video and obtaining first target text data, the next steps can be performed directly based on the first target text data (only steps S202-S203 are performed), or because there is only one set of alternative text data for the target video, a text category can be selected based on only one set of alternative text data (only steps S204-S205 are performed). The specific implementation of the steps in the above manner is similar to the above description of steps S202-S205, and will not be further described here.

[0053] Step S206, moving the progress bar component instruction responsive to determining a first video position.

[0054] Step S207, based on the first video position, Text Attributes are determined, where the text attributes characterize a text style and / or a text effect corresponding to the text.

[0055] Step S208: Determine the subtitle text corresponding to the first video position in the target text data as the target text; Text Render and display target text based on attributes.

[0056] Illustratively, the text attributes include at least one of a font type, a font size, and a font color.

[0057] Illustratively, the terminal device then detects a moving operation input by the user, and determines a corresponding first video position based on the moving operation; if the moving operation is a continuous operation (e.g., a drag operation), the first video position is a video position corresponding to a transient operation; specific embodiments of the moving operation and corresponding responses are described in detail in the example shown in FIG. 2 and will not be further described here.

[0058] Furthermore, when the first video position is different, the corresponding target text has corresponding text attributes, i.e., as the first video position changes, the style, effect of the displayed target text also changes.

[0059] 11 is a schematic diagram of a change in text attributes provided by an embodiment of the present disclosure. As shown in FIG. 11, when a first progress identifier (see the related description of the embodiment shown in FIG. 6) of the progress identifiers is moved to a first video position (timestamp t1) based on a moving operation, the target text has a first text attribute, and the font corresponding to the target text is italic, as shown in the figure. When the first progress identifier of the progress identifiers is moved to a second video position (timestamp t2), the target text has a second text attribute, and the font corresponding to the target text is bold, as shown in the figure, and the target text has a text effect (which can be realized based on texture rendering). Here, the direct mapping relationship between the video position and the text attribute may be preset and can be determined by configuration data stored in the first target text data or the second target text data, and will not be further described herein.

[0060] In this embodiment, corresponding text data is determined based on the video position, and the target text is rendered and displayed based on different text data, thereby realizing that the font and special effects of the target text change with changes in the movement operation. Thus, in the process of previewing the video content through the target text, important content in the target video is highlighted, and the guidance effect of the video preview and the sufficiency of the information display are improved.

[0061] In this embodiment, the implementation of step S201 is similar to the implementation of step S101 in the embodiment shown in FIG. 2 of the present disclosure, and will not be described here in general terms.

[0062] 12 is a block diagram of a device for interacting with video content previews provided by an embodiment of the present disclosure, corresponding to the method for interacting with video content previews of the above embodiment. For convenience of explanation, only parts related to the embodiment of the present disclosure are shown. Referring to FIG. 12, the device 3 for interacting with video content previews includes: a display module 31 used to display a video playback interface, the video playback interface being provided with a progress bar component, the progress bar component being used to display the playback progress of the target video played in the video playback interface; Movement relative to the progress bar component instruction In response to to the target timestamp of the target video A processing module 32 used to display the corresponding target text, instruction is the target video's Target Timestamp The target text is Target Timestamp and a processing module 32 for characterizing the video content of the target video in the

[0063] In one embodiment of the present disclosure, the progress bar component includes a first progress identifier and a second progress identifier, the first progress identifier is used to control the preview position of the target video, and the second progress identifier is used to control the playback progress of the target video, and the processing module 32 specifically controls the movement of the first progress identifier. instruction , used to display the target text corresponding to the preview position in the video preview view of the video playback interface.

[0064] In one embodiment of the present disclosure, the target text has text attributes, the text attributes characterizing a text style and / or a text effect corresponding to the target text, and the text attributes of the target text are determined by the first video position.

[0065] In one embodiment of the present disclosure, the text attributes include at least one of a font type, a font size, and a font color.

[0066] In one embodiment of the present disclosure, the processing module 32 includes: to the target timestamp of the target video Specifically, when displaying the corresponding target text: Obtaining target text data corresponding to the target video, the target text data including subtitle texts of at least two video positions of the target video, and the subtitle texts are generated according to audio information of corresponding video positions of the target video; and displaying the subtitle text corresponding to the first video location as the target text.

[0067] In one embodiment of the present disclosure, the processing module 32, when obtaining the target text data corresponding to the target video, specifically: Obtaining a subtitle text category corresponding to the target video, the subtitle text category characterizing a language used for subtitle text in the text data; and obtaining target text data corresponding to the target video based on the subtitle text category corresponding to the target video.

[0068] In one embodiment of the present disclosure, the video playback interface is provided with a first language component, and the language component is used to display at least two subtitle text categories. When obtaining the subtitle text categories corresponding to the target video, the processing module 32 specifically: Detecting a number of subtitle text categories corresponding to a target video; setting a first language component to an enabled state if the number of subtitle text categories is greater than one; Settings for the first language component instruction and determining a target subtitle text category corresponding to the target video in response to the

[0069] In one embodiment of the present disclosure, the processing module 32, when obtaining the target text data corresponding to the target video, specifically: retrieving alternative text data corresponding to the target video; displaying data identifiers corresponding to at least two alternative text data; Selecting a target data identifier instruction and downloading the target text data corresponding to the target data identifier in response to the

[0070] Here, the display module 31 and the processing module 32 are connected together. The video content preview interaction device 3 provided by this embodiment can implement the technical solutions of the above method embodiments, and its realization principles and technical effects are similar to those of this embodiment, so this embodiment will not be further described here.

[0071] 13 is a structural schematic diagram of an electronic device provided by an embodiment of the present disclosure. As shown in FIG. 13, the electronic device 4 includes: A processor 41 and a memory 42 communicatively connected to the processor 41 are included. The memory 42 stores computer-executable instructions, The processor 41 executes computer-executable instructions stored in the memory 42 to implement the methods for interacting with video content previews in the embodiments shown in FIGS.

[0072] Here, optionally, the processor 41 and the memory 42 are connected via a bus 43 .

[0073] The relevant explanations can be understood by referring to the relevant explanations and effects corresponding to the steps in the embodiments corresponding to FIGS. 2 to 11, and many explanations will be omitted here.

[0074] 14 , a structural schematic diagram of an electronic device 900 suitable for implementing an embodiment of the present disclosure is shown. The electronic device 900 may be a terminal device or a server. Here, the terminal device may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (Portable Android Devices, PADs), portable multimedia players (PMPs), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital televisions (TVs) and desktop computers. The electronic device shown in FIG. 14 is merely an example and does not impose any limitations on the functionality and scope of use of the embodiment of the present disclosure.

[0075] 14, electronic device 900 may include a processing unit (e.g., a central processing unit, a graphics processor, etc.) 901 that can perform various appropriate operations and processes based on programs stored in read only memory (ROM) 902 or programs loaded from a storage device 908 into random access memory (RAM) 903. RAM 903 also stores various programs and data necessary for the operation of electronic device 900. The processing unit 901, ROM 902, and RAM 903 are interconnected by a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.

[0076] Devices may be connected to the I / O interface 905, including input devices 906, typically including a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 907, typically including a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 908, typically including a magnetic tape, hard disk, etc.; and communication devices 909. The communication devices 909 may enable the electronic device 900 to communicate wirelessly or via wires with other devices to exchange data. While FIG. 14 illustrates the electronic device 900 having various devices, it should be understood that it is not required to implement or include all of the devices shown. Alternatively, more or fewer devices may be implemented. or It may be prepared.

[0077] In particular, according to embodiments of the present disclosure, the processes described with reference to the flowcharts above may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product, the computer program product including a computer program carried on a computer-readable medium, the computer program including program code for executing the methods illustrated in the flowcharts. In such embodiments, the computer program may be downloaded and installed from a network via the communication device 909, installed from the storage device 908, or installed from the ROM 902. When the computer program is executed by the processing device 901, it performs the functions defined in the methods of the embodiments of the present disclosure.

[0078] It should be noted that the computer-readable medium described in this disclosure may be a computer-readable signal medium, a computer-readable storage medium, or any combination of the above. The computer-readable storage medium may be, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of the computer-readable storage medium may include, but are not limited to, an electrical connection having one or more conductors, a portable computer magnetic disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM) or flash memory, an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program, which may be used by or in combination with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium may include a propagating data signal, either in baseband or as part of a carrier wave, having computer-readable program code borne therein. Such propagating data signals may take various forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable storage medium other than a computer-readable storage medium that is capable of transmitting, propagating, or transporting a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained in the computer-readable medium may be transmitted over a wide range of communication channels, such as electrical wires, optical cables, radio frequency (RF), etc. mosquito , or It may be transmitted over any suitable medium, including, but not limited to, any suitable combination thereof.

[0079] The computer-readable medium may be included in the electronic device, or may exist independently of the electronic device.

[0080] The computer-readable medium carries one or more programs that, when executed by the electronic device, cause the electronic device to perform the methods illustrated in the above embodiments.

[0081] Computer program code for carrying out the operations of the present disclosure may be implemented in object-oriented programming languages ​​such as Java, Smalltalk, C++, and the "C" language. or One or more programming languages, including similar programming languages or The program code may run entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or It may be executed entirely on a remote computer or server. When referring to a remote computer, the remote computer may be connected to the user's computer via any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (e.g., connected via the Internet using an Internet Service Provider).

[0082] The flowcharts and block diagrams in the Figures illustrate possible system architecture, functionality, and operation of systems, methods, and computer program products according to various embodiments of the present disclosure. orEach block in the block diagram is a module, block, or the like, which includes one or more executable instructions for implementing a predetermined logical function. or The blocks may represent portions of code. Note that in some alternative implementations, the functions described in the blocks may be executed in a different order from the order described in the figures. For example, two successively shown blocks, although determined by the relevant functionality, may in fact be executed essentially in parallel, or may be executed in the reverse order. Note that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented in a system using dedicated hardware that performs a predetermined function or operation, or may be implemented in a combination of dedicated hardware and computer instructions.

[0083] The units mentioned in the embodiments of the present disclosure may be implemented in a software manner or a hardware manner. Here, the names of the units do not necessarily limit the units themselves. For example, the first acquiring unit may be described as "a unit for acquiring at least two Internet Protocol addresses."

[0084] Here, the above-mentioned functions are at least partially or It may be implemented by multiple hardware logic components. For example, exemplary types of hardware logic components that may be used may include, but are not limited to, a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a System on Chip (SOC), a Complex Programmable Logic Device (CPLD), etc.

[0085] In the context of this disclosure, a machine-readable medium may be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, device, or apparatus. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium includes, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination thereof. More specific examples of machine-readable storage media include one or more wire-based electrical connections, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0086] In a first aspect, according to one or more embodiments of the present disclosure, there is provided a method for interacting with a video content preview, comprising: Displaying a video playback interface, wherein the video playback interface is provided with a progress bar component, the progress bar component being used to display a playback progress of the target video played in the video playback interface; and Movement relative to the progress bar component instruction In response to to the target timestamp of the target video and displaying the corresponding target text. instruction of the target video Target Timestamp and the target text is used to indicate Target Timestamp characterizing the video content of the target video in

[0087] According to one or more embodiments of the present disclosure, the progress bar component includes a first progress identifier and a second progress identifier, the first progress identifier is used to control a preview position of the target video, and the second progress identifier is used to control a playback progress of the target video; Movement relative to the progress bar component instruction In response to to the target timestamp of the target video Displaying the corresponding target text is Movement relative to the first progress identifier instruction and displaying target text corresponding to the preview location in a video preview view of the video playback interface in response to the preview location.

[0088] According to one or more embodiments of the present disclosure, the target text has text attributes, the text attributes characterizing a text style and / or a text effect corresponding to the target text; A text attribute of the target text is determined by the first video position.

[0089] According to one or more embodiments of the present disclosure, the text attributes include: Includes at least one of the following: font type, font size, and font color.

[0090] According to one or more embodiments of the present disclosure, to the target timestamp of the target video Displaying the corresponding target text is Obtaining target text data corresponding to the target video, the target text data including subtitle texts of at least two video positions of the target video, the subtitle texts being generated by audio information of corresponding video positions of the target video; and displaying subtitle text corresponding to the first video location as the target text.

[0091] According to one or more embodiments of the present disclosure, obtaining target text data corresponding to the target video includes: obtaining a subtitle text category corresponding to the target video, the subtitle text category characterizing a language used for subtitle text in the text data; and obtaining target text data corresponding to the target video based on a subtitle text category corresponding to the target video.

[0092] According to one or more embodiments of the present disclosure, the video playback interface is provided with a first language component, the language component being adapted to display at least two of the subtitle text categories; obtaining a subtitle text category corresponding to the target video, Detecting a number of subtitle text categories corresponding to the target video; and setting the first language component to an enabled state if the number of subtitle text categories is greater than one; Settings for the first language component instruction and determining a target subtitle text category corresponding to the target video in response to the target subtitle text category.

[0093] According to one or more embodiments of the present disclosure, obtaining target text data corresponding to the target video includes: retrieving alternative text data corresponding to the target video; displaying data identifiers corresponding to at least two of the alternative text data; Selecting a target data identifier instruction and downloading target text data corresponding to the target data identifier in response to the download.

[0094] In a second aspect, according to one or more embodiments of the present disclosure, there is provided an apparatus for interacting with a video content preview, comprising: a display module used to display a video playback interface, wherein the video playback interface is provided with a progress bar component, the progress bar component used to display the playback progress of the target video played in the video playback interface; and Movement relative to the progress bar component instruction In response to to the target timestamp of the target video a processing module used to display the corresponding target text, instruction of the target video Target Timestamp and the target text is used to indicate Target Timestamp and a processing module for characterizing the video content of the target video in the

[0095] According to one or more embodiments of the present disclosure, the progress bar component includes a first progress identifier and a second progress identifier, the first progress identifier is used to control a preview position of the target video, and the second progress identifier is used to control a playback progress of the target video; Specifically, the processing module includes: Movement relative to the first progress identifier instruction , for displaying a target text corresponding to the preview position in a video preview view of the video playback interface.

[0096] According to one or more embodiments of the present disclosure, the target text has text attributes, the text attributes characterizing a text style and / or a text effect corresponding to the target text; A text attribute of the target text is determined by the first video position.

[0097] According to one or more embodiments of the present disclosure, the text attributes include: Includes at least one of the following: font type, font size, and font color.

[0098] According to one or more embodiments of the present disclosure, the processing module comprises: to the target timestamp of the target video Specifically, when displaying the corresponding target text: Obtaining target text data corresponding to the target video, the target text data including subtitle texts of at least two video positions of the target video, the subtitle texts being generated by audio information of corresponding video positions of the target video; and displaying the subtitle text corresponding to the first video position as the target text.

[0099] According to one or more embodiments of the present disclosure, when obtaining target text data corresponding to the target video, the processing module specifically: obtaining a subtitle text category corresponding to the target video, the subtitle text category characterizing a language used for subtitle text in the text data; and obtaining target text data corresponding to the target video based on the subtitle text category corresponding to the target video.

[0100] According to one or more embodiments of the present disclosure, the video playback interface is provided with a first language component, the language component being adapted to display at least two of the subtitle text categories; When obtaining the subtitle text category corresponding to the target video, the processing module specifically: Detecting a number of subtitle text categories corresponding to the target video; and setting the first language component to an enabled state if the number of subtitle text categories is greater than one; Settings for the first language component instruction and determining a target subtitle text category corresponding to the target video in response to the target subtitle text category.

[0101] According to one or more embodiments of the present disclosure, when obtaining target text data corresponding to the target video, the processing module specifically: retrieving alternative text data corresponding to the target video; displaying data identifiers corresponding to at least two of the alternative text data; Selecting a target data identifier instruction and downloading target text data corresponding to the target data identifier in response to the download.

[0102] In a third aspect, according to one or more embodiments of the present disclosure, there is provided an electronic device, comprising: a processor and a memory communicatively connected to the processor; The memory stores computer executable instructions; The processor executes computer-executable instructions stored in the memory to implement the method for interacting with a video content preview as described in the first aspect and various possible designs of the first aspect above.

[0103] In a fourth aspect, according to one or more embodiments of the present disclosure, there is provided a computer-readable storage medium, comprising: The computer-readable storage medium stores computer-executable instructions, and when a processor executes the computer-executable instructions, a method for interacting with a video content preview as described in the first aspect and various possible designs of the first aspect is implemented.

[0104] In a fifth aspect, an embodiment of the present disclosure provides a computer program product including a computer program, which, when executed by a processor, realizes the method for interacting with video content preview as described in the first aspect above and various possible designs of the first aspect.

[0105] In a sixth aspect, an embodiment of the present disclosure provides a computer program, which, when executed by a processor, realizes the method for interacting with video content preview as described in the first aspect and various possible designs of the first aspect.

[0106] The above is only a description of the preferred embodiments and the technical principles applied in the present disclosure. Those skilled in the art should understand that the scope of the present disclosure is not limited to the specific combination of the above technical features, and also includes other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the spirit of the above disclosure. For example, technical means formed by mutually substituting the above features with technical features having similar functions (not limited to) disclosed in the present disclosure.

[0107] Also, although operations are described in a particular order, this should not be understood as requiring these operations to be performed in the particular order or sequence shown. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although the above includes some specific implementation details, these should not be construed as limiting the scope of the present disclosure. Some features that are described in the context of a single embodiment may also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment may also be implemented in multiple embodiments alone or in any suitable subcombination.

[0108] Although the present subject matter has been described in language specific to structural features and / or methodological logical operations, it is to be understood that claimed subject matter is not necessarily limited to the described features or operations. Rather, the described specific features and operations are merely example forms of implementing the claims.

[0109] This application claims priority to a Chinese patent application bearing application number 202211105139.3 and entitled "Method, apparatus, electronic device and storage medium for interacting with video content preview," filed with the China Patent Office on September 9, 2022, the entire contents of which are incorporated herein by reference.

Claims

1. 1. A method for interacting with a video content preview, comprising: Displaying a video playback interface, wherein the video playback interface is provided with a progress bar component, the progress bar component being used to display a playback progress of the target video played in the video playback interface; and displaying corresponding target text in response to a movement operation on the progress bar component, the movement operation being used to indicate a first video position of the target video, and the target text characterizing video content of the target video at the first video position; How to interact with the video content preview.

2. the progress bar component includes a first progress identifier and a second progress identifier, the first progress identifier is used to control a preview position of the target video, and the second progress identifier is used to control a playback progress of the target video; Displaying a corresponding target text in response to a move operation on the progress bar component includes: In response to a move operation on the first progress identifier, displaying target text corresponding to the preview position in a video preview view of the video playback interface. The method of claim 1.

3. the target text has text attributes, the text attributes characterizing a text style and / or a text effect corresponding to the target text; a text attribute of the target text is determined by the first video position; 3. The method according to claim 1 or 2.

4. The text attributes are: including at least one of a font type, a font size, and a font color; The method of claim 3.

5. Displaying the corresponding target text is Obtaining target text data corresponding to the target video, the target text data including subtitle texts at at least two video positions of the target video, the subtitle texts being generated by audio information at corresponding video positions of the target video; displaying subtitle text corresponding to the first video location as the target text. The method according to any one of claims 1 to 4.

6. obtaining target text data corresponding to the target video, obtaining a subtitle text category corresponding to the target video, the subtitle text category characterizing a language used for subtitle text in the text data; and obtaining target text data corresponding to the target video based on a subtitle text category corresponding to the target video. The method of claim 5.

7. the video playback interface is provided with a first language component, the language component being adapted to display at least two of the subtitle text categories; obtaining a subtitle text category corresponding to the target video, Detecting a number of subtitle text categories corresponding to the target video; and setting the first language component to an enabled state if the number of subtitle text categories is greater than one; determining a target subtitle text category corresponding to the target video in response to a setting operation for the first language component; The method of claim 6.

8. obtaining target text data corresponding to the target video, retrieving alternative text data corresponding to the target video; displaying data identifiers corresponding to at least two of the alternative text data; downloading target text data corresponding to the target data identifier in response to a selection operation of the target data identifier; The method of claim 5.

9. 1. A device for interacting with a video content preview, comprising: a display module used to display a video playback interface, wherein the video playback interface is provided with a progress bar component, the progress bar component used to display the playback progress of the target video played in the video playback interface; and a processing module adapted to display corresponding target text in response to a movement operation on the progress bar component, the movement operation being adapted to indicate a first video position of the target video, and the target text characterizing video content of the target video at the first video position; A device for interacting with video content previews.

10. a processor and a memory communicatively connected to the processor; The memory stores computer executable instructions; The processor executes computer-executable instructions stored in the memory to implement the method of any one of claims 1 to 8. electronic equipment.

11. The method for interacting with video content preview according to any one of claims 1 to 8 is performed when computer-executable instructions are stored and executed by a processor. A computer-readable storage medium.

12. A computer program is included, which, when executed by a processor, implements the method for interacting with video content previews according to any one of claims 1 to 8. Computer program products.

13. A computer program for implementing the method for interacting with a video content preview according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Video preview method and device and electronic equipment

    CN112135181A

  • Video processing method, video processing device, electronic equipment and readable storage medium

    CN112437353A