Video screenshot methods, devices, equipment and storage media

By displaying a screenshot control and performing a screenshot operation in response to interactive events or interface status on the video playback page, the problem of long screenshot operation paths and occlusion in existing technologies is solved, enabling convenient screenshots in video playback scenarios and improving user experience.

CN123123635APending Publication Date: 2026-11-17BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611264679.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-19
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

In existing technologies, video screenshot operations have a relatively long operation path in short video playback scenarios, making it difficult to achieve a fast and smooth process. Furthermore, the screenshot button fixed in the player interface obscures the video screen, affecting the user experience.

Method used

On the video playback page, a screenshot control is displayed in response to interactive events or when the interface state meets preset conditions. The screenshot operation is then executed in response to user triggers, generating a screenshot file.

Benefits of technology

It enables users to quickly take screenshots without exiting the playback page without affecting the video viewing experience, improving the convenience and timeliness of screenshot interaction and ensuring intelligent adaptation in video playback scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123123635A_ABST
    Figure CN123123635A_ABST
Patent Text Reader

Abstract

This application discloses a video screenshot method, apparatus, device, and storage medium. It includes: displaying a video playback page showing a target video; responding to detecting that an interaction event or interface state related to the video playback page meets preset conditions, displaying a screenshot control on the video playback page; and responding to triggering the screenshot control, performing a screenshot operation on the currently displayed video frame of the target video to generate a screenshot file. This solution effectively improves the convenience, timeliness, and user experience of screenshot interaction in video playback scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a video screenshot method, apparatus, device, and storage medium. Background Technology

[0002] In short video playback scenarios, users often need to capture the currently playing screen for saving, sharing, or posting in comments. For example, related technologies typically use the operating system's built-in global screenshot function (such as physical button combinations), a separate screenshot tool, or a screenshot button fixed in the player interface to capture the current screen.

[0003] However, the above methods have the following problems in practical applications: On the one hand, the global screenshot function built into the operating system or the independent screenshot tool usually runs independently of the video playback page. Users need to leave the current playback page or call up other tools to complete the screenshot. The operation path is long and it is difficult to achieve a fast and smooth screenshot operation in the current playback scenario. On the other hand, although the screenshot button fixed in the player interface retains the screenshot entry, this entry occupies the display resources of the playback interface for a long time, which can easily obstruct the video screen and affect the user's viewing experience. Summary of the Invention

[0004] In view of this, this application provides a video screenshot method, apparatus, device, and storage medium.

[0005] This application provides the following solution: Firstly, a method for taking screenshots of videos is provided, the method comprising: Displays a video playback page showing the target video; In response to detecting that an interactive event or interface state related to the video playback page meets preset conditions, a screenshot control is displayed on the video playback page; In response to the triggering of the screenshot control, a screenshot operation is performed on the currently displayed video frame of the target video to generate a screenshot file.

[0006] In one embodiment, the interactive event or interface state satisfies preset conditions, including at least one of the following: detecting a press operation on the video playback area of ​​the video playback page; detecting that the video playback page has switched to or is in a clear screen state; detecting a drag operation on the progress bar of the video playback page; detecting that the target video is in a paused state and the comment area of ​​the target video is activated; detecting a preset interactive trigger operation on the comment input area of ​​the video playback page.

[0007] In one embodiment, the preset conditions include detecting a press operation on the video playback area; displaying a screenshot control on the video playback page includes: in response to the press operation, displaying a first function panel corresponding to the video playback area on the video playback page, and displaying the screenshot control on the first function panel.

[0008] In one embodiment, the preset conditions include detecting that the video playback page has switched to or is in a clear screen state; displaying a screenshot control on the video playback page includes: in response to the video playback page switching to or being in a clear screen state, displaying a screenshot control in a preset area of ​​the video playback page.

[0009] In one embodiment, the preset conditions include detecting a drag operation on the progress bar; displaying a screenshot control on the video playback page includes: in response to the drag operation, displaying screenshot prompt information as a screenshot control in the display area associated with the progress bar; wherein the screenshot prompt information includes prompt content for indicating the duration of the press, so that the user triggers a screenshot operation based on the prompt content.

[0010] In one embodiment, in response to triggering the screenshot control, a screenshot operation is performed on the currently displayed video frame of the target video to generate a screenshot file, including: in response to continuously pressing the display area corresponding to the screenshot prompt information for a preset duration, and upon detecting the end of the pressing operation, extracting the video frame corresponding to the current playback progress of the target video; performing screenshot processing on the extracted video frame to generate a screenshot file containing the video frame.

[0011] In one embodiment, after generating the screenshot file, the method further includes: displaying a screenshot result operation panel on the video playback page; the screenshot result operation panel includes at least one of the following interactive controls: local save control, share control, forward control, or edit control.

[0012] In one embodiment, the preset conditions include detecting that the target video is paused and the comment section of the target video is activated; displaying a screenshot control on the video playback page includes: in response to detecting that the target video is paused and the comment section of the target video is activated, displaying a screenshot control on the video playback page; the screenshot control is a screenshot guidance overlay containing interactive prompts, the interactive prompts being used to prompt the user to trigger a screenshot operation through a specified operation.

[0013] In one embodiment, in response to triggering the screenshot control, a screenshot operation is performed on the currently displayed video frame of the target video to generate a screenshot file, including: in response to a specified operation on the screenshot guide overlay, extracting the video frame corresponding to the current playback progress of the target video, and generating a screenshot file containing the video frame.

[0014] In one embodiment, the preset conditions include detecting a preset interactive trigger operation on the comment input area of ​​the video playback page; displaying a screenshot control on the video playback page includes: in response to detecting the preset interactive trigger operation on the comment input area, displaying a second function panel corresponding to the comment input area on the video playback page, and displaying a screenshot control on the second function panel.

[0015] In one embodiment, in response to triggering the screenshot control, a screenshot operation is performed on the currently presented video frame of the target video to generate a screenshot file, including: in response to triggering the screenshot control in the second function panel, extracting the currently presented video frame of the target video and generating a screenshot file.

[0016] In one embodiment, after generating the screenshot file, the method further includes inserting the screenshot file into the edit box of the comment input area.

[0017] In one embodiment, the method further includes: in response to a sending operation to the comment input area, displaying a screenshot file in the comment section of the target video, and displaying a video playback timestamp corresponding to the screenshot file at a location associated with the screenshot file.

[0018] In one embodiment, after displaying the video playback timestamp, the method further includes: in response to a triggering operation on the video playback timestamp, jumping the playback progress of the target video to the playback position corresponding to the video playback timestamp, and playing the target video.

[0019] In one embodiment, generating a screenshot file includes: obtaining the author identifier of the target video and the playback time point corresponding to the video frame; and overlaying the author identifier and playback time point onto the video frame to generate a screenshot file with a watermark.

[0020] Secondly, a video screenshotting device is provided, the device comprising: The page display unit is configured to display a video playback page containing the target video. The detection unit is configured to detect interactive events or interface states related to the video playback page; The page display unit is further configured to display a screenshot control on the video playback page in response to detecting that an interactive event or interface state related to the video playback page meets preset conditions; and to perform a screenshot operation on the currently presented video frame of the target video in response to triggering the screenshot control, thereby generating a screenshot file.

[0021] Thirdly, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described in any one of the first aspects above.

[0022] Fourthly, an electronic device is provided, comprising: One or more processors; and A memory associated with the one or more processors, the memory being used to store program instructions that, when read and executed by the one or more processors, perform the steps of the method described in any one of the first aspects above.

[0023] Fifthly, a computer program product is provided, comprising a computer program that, when executed by a processor, implements the steps of the method described in any of the first aspects above.

[0024] According to the specific embodiments provided in this application, the following technical effects are disclosed: This application embodiment displays a video playback page showing the target video. In response to detecting that an interaction event or interface state related to the video playback page meets preset conditions, a screenshot control is displayed on the video playback page. Then, in response to triggering the screenshot control, a screenshot operation is performed on the currently displayed video frame of the target video to generate a screenshot file. Therefore, the screenshot control is not permanently stationary on the video playback page, but dynamically appears only when preset conditions are met. This avoids the screenshot entry point occupying playback interface display resources for extended periods, thus preventing obstruction of the video screen and ensuring the complete presentation and visual continuity of the video content. It also ensures the immediate accessibility of the control when the user intends to take a screenshot or has the necessary conditions. This allows users to acquire video frames within the original playback scenario without exiting the current playback page or calling a separate external screenshot tool. This significantly reduces the operation path and time cost from watching the video to obtaining a screenshot, achieving intelligent adaptation of the screenshot function to the playback scenario, and effectively improving the convenience, timeliness, and user experience of screenshot interaction in video playback scenarios.

[0025] Of course, any product implementing this application does not necessarily need to achieve all of the advantages described above at the same time. Attached Figure Description

[0026] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, 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.

[0027] Figure 1 This is a schematic diagram of the system architecture applicable to the embodiments of this application.

[0028] Figure 2 A flowchart of a video screenshot method provided in an embodiment of this application.

[0029] Figure 3 A schematic diagram of the first function panel, the screenshot control in the clear screen state, and the screenshot result operation panel provided in the embodiments of this application.

[0030] Figure 4 This is a schematic diagram of the screenshot prompt information and screenshot result operation panel in the progress bar interaction scenario provided in the embodiments of this application.

[0031] Figure 5 This is a schematic diagram illustrating the triggering and operation process of the screenshot guidance overlay in the pause comment scenario provided in the embodiments of this application.

[0032] Figure 6 The screenshots and schematic diagrams of the posting process based on the second function panel are provided in the comment input scenario of this application embodiment.

[0033] Figure 7 A schematic block diagram of a video screenshot device provided in an embodiment of this application.

[0034] Figure 8 A schematic block diagram of an electronic device provided in an embodiment of this application. Detailed Implementation

[0035] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0036] The terminology used in the embodiments of this invention is for the purpose of describing particular embodiments only and is not intended to limit the invention. The singular forms “a,” “the,” and “the” as used in the embodiments of this invention and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.

[0037] It should be understood that the term "and / or" used in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.

[0038] Depending on the context, the word "if" as used here can be interpreted as "when," "when," "in response to determination," or "in response to detection." Similarly, depending on the context, the phrase "if determination" or "if detection (of the stated condition or event)" can be interpreted as "when determination," "in response to determination," "when detection (of the stated condition or event)," or "in response to detection (of the stated condition or event)."

[0039] In related technologies, the current screen is typically captured using the operating system's built-in global screenshot function (such as physical button combinations), a separate screenshot tool, or a fixed screenshot button in the player interface. However, these methods have the following problems in practical applications: First, the operating system's built-in global screenshot function or a separate screenshot tool usually runs independently of the video playback page. Users need to leave the current playback page or launch other tools to take a screenshot, resulting in a long operation path and making it difficult to achieve fast and smooth screenshot operations in the current playback scenario. Second, although the fixed screenshot button in the player interface retains the screenshot entry point, this entry point occupies the display resources of the playback interface for a long time, which can easily obstruct the video screen and affect the user's viewing experience.

[0040] In view of this, this application provides a new approach. To facilitate understanding of this application, the system architecture on which this application is based will first be described. Figure 1 This is a schematic diagram of the system architecture applicable to the embodiments of this application, such as... Figure 1 As shown, the system architecture may include: user terminal, terminal device and server terminal.

[0041] In this embodiment, the user terminal is set on the terminal device. The user terminal involved in this application can be a client running on the terminal device, a mini-program, or a web application running through a browser. It is mainly used to present a video playback page, display the playback content of the target video, respond to the detected interactive events or interface status related to the video playback page to display a screenshot control, respond to the user's trigger operation on the screenshot control to perform screenshot processing of the current video frame, and interact with the server.

[0042] Terminal devices can include, but are not limited to, smart mobile terminals, wearable devices, PCs (Personal Computers), and smart home devices. Smart mobile devices can include devices such as mobile phones, tablets, laptops, PDAs (Personal Digital Assistants), and connected car terminals. Wearable devices can include devices such as smartwatches, smart glasses, smart bracelets, VR (Virtual Reality) devices, AR (Augmented Reality) devices, and mixed reality devices (devices that support both virtual and augmented reality). Smart home devices can include devices such as smart TVs and smart refrigerators with displays.

[0043] The user client can interact with the server through the network. The server is a service platform that provides video content distribution, video stream push, and screenshot-related data support. It can be a single server, a server cluster consisting of multiple servers, or a cloud server. A cloud server, also known as a cloud computing server or cloud host, is a host product in the cloud computing service system, designed to address the shortcomings of traditional physical hosts and Virtual Private Servers (VPS) services, such as high management difficulty and weak service scalability.

[0044] One possible approach is for the user to play the target video on the video playback page. When an interactive event or interface state related to the video playback page is detected to meet preset conditions, a screenshot control is displayed on the video playback page. In response to the user's triggering of the screenshot control, the user performs a screenshot operation on the currently displayed video frame of the target video, generates a screenshot file, and sends the generated screenshot file to the server via the network or saves it locally. The server stores or further processes the received screenshot file and related information.

[0045] It should be understood that Figure 1 The number of client terminals, terminal devices, and servers shown is merely illustrative. Depending on implementation needs, there can be any number of client terminals, terminal devices, and servers.

[0046] Figure 2 This is a flowchart of a video screenshot method provided in an embodiment of this application. The method can be... Figure 1 The user-side execution in the system shown is as follows. Figure 2 As shown, the method may include the following steps: Step 201: Display the video playback page containing the target video.

[0047] Step 202: In response to detecting that an interactive event or interface state related to the video playback page meets preset conditions, display a screenshot control on the video playback page.

[0048] Step 203: In response to the triggering of the screenshot control, perform a screenshot operation on the currently displayed video frame of the target video and generate a screenshot file.

[0049] As can be seen, this embodiment of the application displays a video playback page containing the target video, and in response to detecting that an interactive event or interface state related to the video playback page meets preset conditions, displays a screenshot control on the video playback page. Then, in response to triggering the screenshot control, it performs a screenshot operation on the currently displayed video frame of the target video to generate a screenshot file. Therefore, the screenshot control is not permanently stationary on the video playback page, but dynamically appears only when preset conditions are met. This avoids the screenshot entry point occupying playback interface display resources for a long time, thus preventing obstruction of the video screen and ensuring the complete presentation and visual continuity of the video content. It also ensures the immediate accessibility of the control when the user intends to take a screenshot or has the conditions for doing so. This allows the user to acquire video frames in the original playback scenario without exiting the current playback page or calling a separate external screenshot tool, significantly reducing the operation path and time cost from watching the video to obtaining a screenshot. It achieves intelligent adaptation of the screenshot function to the playback scenario, effectively improving the convenience, timeliness, and user experience of screenshot interaction in video playback scenarios.

[0050] The following describes in detail each step of the above process and the effects that can be further produced, with reference to the embodiments. It should be noted that the terms "first," "second," etc., used in this disclosure do not have limitations on size, order, or quantity, but are merely used to distinguish them by name. For example, "first function panel" and "second function panel" are used to distinguish between two types of function panels by name. And so on.

[0051] First, the above step 201, namely "displaying the video playback page containing the target video", will be described in detail with reference to the embodiments.

[0052] In this application embodiment, the target video refers to any video content that the user is currently watching or playing. As one possible implementation, the target video can be, but is not limited to, the following types: video-on-demand, short video, live video stream, locally stored video file, network video transmitted via network protocols, or any combination of the above video types. The type of target video does not affect the applicability of the video screenshot method provided in this application embodiment.

[0053] A video playback page refers to the interface area or state used to present the target video and carry interactive functions related to video playback. Video playback pages can encompass various interface formats. As one implementation, it can display the target video in a single-column immersive playback interface within a short video application. Another implementation is in a composite playback interface that includes a recommendation feed, interactive area, or sidebar. Yet another implementation is in a way that the target video is continuously displayed in the upper area of ​​the interface while the comment section is already expanded. More generally, a video playback page can be a full-screen playback page, or it can encompass a half-screen playback page, a comment expansion page, or a composite page containing a floating player. All of these page formats can achieve the playback presentation of the target video.

[0054] In some embodiments of this application, to enable video playback and subsequent screenshot functions, the video playback page includes at least a video playback area. The target video is played and presented within this video playback area through decoding, rendering, and display processes. Users can watch video content on this page and interact with various interactive elements (such as progress bars, comment input areas, and function panels).

[0055] The following describes in detail step 202, namely, "in response to detecting that an interactive event or interface state related to the video playback page meets preset conditions, displaying a screenshot control on the video playback page," with reference to an embodiment.

[0056] In this embodiment, the interactive events related to the video playback page refer to input actions directly applied by the user to the video playback page, or composite operations identified by the system based on the input actions. As one possible implementation, these interactive events may include, but are not limited to: single input actions such as touch, click, long press, press, drag, release, and swipe, or composite operations formed by combinations of the above actions (e.g., long press followed by drag, double-click, etc.). The interface state related to the video playback page refers to the interface presentation form of the video playback page under specific display modes or playback conditions. As one possible implementation, this interface state may include, but is not limited to: the display form after page switching (e.g., switching from normal playback state to clear screen state), the page layout state after a change in playback state (e.g., the interface layout after the video is paused), or the combined interface state after the comment section is activated (e.g., the video is paused and the comment panel is expanded).

[0057] The preset conditions in this application embodiment refer to a pre-configured set of conditions used to determine whether to display the screenshot control. These preset conditions are used to limit the presentation of the screenshot entry (i.e., the screenshot control) to scenarios where the user has a high intention to take a screenshot, so that the screenshot control is not permanent on the video playback page, but appears in specific scenarios to reduce obstruction of the playback screen and reduce accidental touches.

[0058] As one possible approach, preset conditions can be predetermined by local policies on the user's end. Alternatively, preset conditions can be dynamically adjusted in conjunction with configuration parameters issued by the server. For example, trigger conditions can be added, deleted, or modified through server-side configuration files to achieve differentiated configurations across different versions or user groups. Preset conditions can be a single condition, or a union, intersection, or priority-based combination of multiple conditions. Meeting preset conditions is not limited to events occurring completely synchronously; it can also include a logically related sequence of events occurring sequentially within a preset time window. For example, pausing the video before expanding the comment section, or triggering the comment input area before launching the function panel, can both be considered as meeting the corresponding preset conditions.

[0059] In some embodiments of this application, the interaction event or interface state meeting preset conditions may include at least one of the following situations. By limiting the display timing of the screenshot control to one or more of the above scenarios, the screenshot control can be more focused on the moment when the user intends to capture the screen, reducing obstruction and accidental touches caused by the entry point being constantly present in normal playback mode, thereby ensuring the discoverability of the screenshot function while minimizing interference with the user's normal viewing experience.

[0060] Scenario 1: A press operation on the video playback area of ​​the video playback page is detected. This press operation can be any form of touch input, such as a short press, long press, hard press, or continuous touch. This press operation is a natural gesture by which the user expresses interest in the current video screen or desires further action. Using this as the trigger condition for the screenshot entry point directly links the screenshot function to the user's active attention behavior, thereby improving the discoverability of the screenshot function when the user has a clear intention to operate.

[0061] Scenario 2: The video playback page is detected to have switched to or be in a clear screen state. The clear screen state refers to a state where all interface elements on the video playback page, except for the video itself (such as the comment section, operation buttons, status bar, etc.), are hidden, weakened, or minimized. In this state, the page only displays the video content or a few interactive elements. The clear screen state indicates that the user wants to focus on the video itself. Providing a screenshot entry point in this state accurately matches the user's potential screenshot needs. Furthermore, the ample interface space in the clear screen state ensures that the screenshot control will not cause additional visual interference, thus providing accessibility to the screenshot function while maintaining the user's immersive viewing experience.

[0062] Scenario 3: Dragging of the progress bar on the video playback page is detected. When users drag the progress bar to browse different points in time, they are usually looking for specific content. At this time, the user's intention to select video frames is most clear. Providing a screenshot entry point during the dragging process allows users to quickly complete the screenshot while finding the target screen, thus avoiding the multiple steps of pausing and then taking a screenshot, and shortening the operation path from locating the screen to completing the screenshot.

[0063] Scenario 4: The target video is detected to be paused and its comment section is activated. Activation of the comment section can include, but is not limited to: the comment panel being expanded, the comment list being displayed, the focus being switched to the comment area, the comment browsing layer covering a preset height, or the comment component being interactive. The combination of a paused video and an expanded or interactive comment section indicates that the user may wish to comment on the current screen. Providing a screenshot entry point in this case seamlessly connects the screenshot and comment actions, shortening the "screenshot-comment" operation path and increasing the relevance between the comment content and the video footage.

[0064] Scenario 5: A preset interactive trigger operation is detected in the comment input area of ​​the video playback page. This preset interactive trigger operation may include, but is not limited to: clicking the comment input box, long-pressing the comment input area, clicking the attachment button or image button in the comment input box, clicking the post entry, calling the comment editor, or performing other actions on the comment input area to invoke the comment publisher. Providing a screenshot entry point when the user has entered or is about to enter the comment editing state integrates the screenshot and comment posting process, allowing the user to capture the current video frame without exiting the comment editing interface, thereby reducing the page switching cost between comment input and screenshot.

[0065] It should be noted that the above five situations can be triggered by a single event or determined by a combination of event and state.

[0066] In some embodiments of this application, a screenshot control is displayed on the video playback page when an interactive event or interface state meets preset conditions. The specific implementation of the screenshot control can vary depending on the triggering scenario.

[0067] As one possible implementation, the screenshot control can include at least one of the following: icon button, text button, graphic and text combination control, tooltip bubble, floating entry, and semi-transparent overlay. Its display position can be set according to the triggering scenario: within the function panel, a preset area of ​​the video playback page (such as the top corner, bottom corner, or center of the side), a display area associated with the progress bar (such as the time indicator area above the progress bar, the floating preview area near the progress bar, or partial display areas on both sides of the progress bar), above the comment section, near the comment input area, or at the edge of the video playback area. Its triggering method can be clicking, pressing and releasing, sliding to a specified area, or other operations that conform to the page interaction logic. These multiple implementation methods allow the system to select the most suitable control presentation method according to different triggering scenarios, providing a screenshot entry point without interfering with the user's normal viewing experience.

[0068] The following describes in detail step 203, namely, "in response to the triggering of the screenshot control, perform a screenshot operation on the currently presented video frame of the target video and generate a screenshot file", with reference to the embodiments.

[0069] In this embodiment, the currently displayed video frame of the target video refers to the frame that is visible to the user in the video playback area at the time of viewing, or that logically corresponds to the current playback progress. This video frame can be the actual display frame that has been rendered and written to the display buffer, or it can be an image frame decoded from the video stream by a decoder after being located according to the current playback progress. To balance the response latency of screenshot processing with the temporal consistency of the screen content, in some embodiments, the determination error of the currently displayed video frame is controlled within the range of 1 to 3 frames. This error control method ensures a fast response time for screenshot operations while maintaining a high degree of consistency between the captured image and the image perceived by the user.

[0070] The following section provides a detailed explanation of how the screenshot control is displayed and how screenshot files are generated.

[0071] In some embodiments of this application, the preset conditions include detecting a press operation on the video playback area. Accordingly, displaying a screenshot control on the video playback page includes: in response to the press operation, displaying a first function panel corresponding to the video playback area on the video playback page, and displaying a screenshot control in the first function panel.

[0072] The first function panel is an operation menu or toolbar that pops up in response to a press operation (such as long-pressing the video playback area). As an example, in addition to the screenshot control, the first function panel can also include other function options such as favorites, report, share, and "watch later." These controls can be arranged in the first function panel as icons, text, or a combination of text and images. By integrating the screenshot control into the existing first function panel, users can complete function identification and operation selection within the same interaction layer after long-pressing the video playback area, without additional navigation steps, thus minimizing the operation path. At the same time, since the screenshot entry and other function options are displayed together in a unified function panel, the discoverability of the screenshot function is ensured, and the obstruction of the video screen by a separate floating screenshot control is avoided.

[0073] To further clarify the specific implementation of the press operation, in a preferred embodiment, the press operation is specifically defined as applying a touch input to the video playback area for a duration reaching a first threshold. For example, the first threshold can be a touch of 300 milliseconds, 500 milliseconds, or more than 800 milliseconds. The specific value can be configured according to the touch sensitivity of the terminal device and the user's operating habits. By setting this duration threshold, the user's intention to briefly click can be effectively distinguished from the intention to long-press to bring up the function panel, thereby avoiding frequent pop-ups of the function panel due to accidental touches, which would interfere with the user's normal viewing experience.

[0074] In terms of interface presentation, the first function panel can adopt various layout methods, such as popping up from the bottom of the page, sliding out from the side, or floating near the press point. The specific method adopted can be adaptively determined according to the page layout and the screen size of the terminal device. The screenshot control can take the form of a camera icon, a cropping icon, or a combination button with screenshot text prompts, so that users can quickly identify its function. This design allows the screenshot entry to reuse the existing long-press activation mechanism, eliminating the need for a separate fixed button on the main playback interface. Its advantage is that it maintains a clean interface while providing a perceptible entry point when the user has a clear intention to operate.

[0075] Furthermore, the first function panel can be overlaid on top of the video playback area and presented with a semi-transparent background. This reduces the obstruction of the video content while the panel pops up, allowing the user to still observe the screen content while operating the panel and easily determine whether a screenshot is needed. The screenshot control can be placed in the center or edge area of ​​the first function panel for easy one-handed operation. The specific position can be flexibly adjusted according to the number and arrangement of controls in the function panel.

[0076] In some embodiments, the display duration of the first function panel can be from 1 second to 5 seconds. If the user does not perform any further operation on the first function panel within this duration, the first function panel automatically disappears to avoid obscuring the video screen for an extended period and to reduce interface redundancy. If the user clicks the screenshot control during the display of the first function panel, the screenshot processing flow is initiated, and the current video frame is extracted to generate a screenshot file. Through the above method, the embodiments of this application can provide an interaction path consistent with other operations in the long-press video scenario, further helping to reduce the cost for users to find the screenshot entry point.

[0077] As an example, Figure 3 Image (a) schematically illustrates one specific presentation of the first function panel. Figure 3 In the interface shown in (a), the video playback page 200 includes a video playback area 201, where the target video 210 is playing. When a user applies a press operation to the video playback area 201 for a duration reaching a preset threshold, a first function panel 205 pops up at the bottom of the video playback page 200. The first function panel 205 has a semi-transparent background layer, above which are horizontally arranged controls for favorites, share, screenshot 230, and "Watch Later" control. The screenshot control 230 is presented as a combination of a camera icon and the text "Screenshot" for quick location and identification by the user. The screenshot control 230 is located slightly to the right of the center of the panel, making it easily accessible to the user's thumb when holding the device with their right hand. When the user clicks the screenshot control 230, a screenshot is taken of the currently displayed video frame of the target video 210 in response to the trigger operation.

[0078] Understandable Figure 3 The panel layout, control arrangement order, and specific display form of the screenshot control shown in (a) are merely illustrative and do not constitute a limitation on the embodiments of this application. In other implementations, the first function panel 205 may also be presented in the form of sliding out from the side or floating near the press point, and the screenshot control 230 may also be in the form of pure icons, pure text, or other combinations of graphics and text, as long as it can provide the user with a triggerable screenshot entry function. These variations are all within the reasonable extension scope of the embodiments of this application.

[0079] In some embodiments of this application, the preset conditions include detecting that the video playback page has switched to or is in a clear screen state. Accordingly, displaying a screenshot control on the video playback page includes: in response to the video playback page switching to or being in a clear screen state, displaying a screenshot control in a preset area of ​​the video playback page.

[0080] The "clear screen state" refers to a state where all UI elements on a video playback page, except for the video itself (such as the comment section, operation buttons, status bar, etc.), are hidden, weakened, or minimized. In this state, the page only displays the video content or a few interactive elements. The clear screen state indicates that the user wants to focus on the video itself. Providing a screenshot entry point in this state precisely matches the user's potential screenshot needs. Furthermore, the ample UI space in the clear screen state ensures that the screenshot control will not cause additional visual interference.

[0081] In practical implementation, the preset area can be the top corner, bottom corner, middle side of the video playback page, or other areas that are unlikely to obscure the main content. The screenshot control can be a low-border icon, a semi-transparent button, or a lightweight tooltip to fit the clean page style in the clear screen state. This solution aims to address the problem of the screenshot entry point being difficult to access when regular interactive controls are hidden in the clear screen state. The principle is that when the detection module recognizes that the page has entered the clear screen state, the page display module renders the screenshot control separately in the preset area without restoring other playback controls, thus maintaining the clear screen display effect and preserving the visual purity of the clear screen state while providing the screenshot function entry point.

[0082] Regarding the timing of the control's display, the screenshot control displayed in the preset area can appear when the user taps the page, or it can automatically appear within a preset duration after the page switches to the clear screen state. This preset duration can be, for example, 0.5 seconds to 3 seconds, and the specific value can be configured according to the product interaction strategy and user habits. By setting this duration threshold, the screenshot control can be prevented from flashing immediately upon entering the clear screen state, thus avoiding visual abruptness, while ensuring that the user can easily access the entry point when needed. The control size can be adaptively adjusted according to the display resolution of the terminal device to balance clickability and occlusion control. In some embodiments, if the screenshot control is not triggered by the user within a second preset duration after display, it automatically fades out to avoid prolonged hovering on the screen and affecting the viewing experience; the user can tap the page again to re-enable the control. Through the above methods, the embodiments of this application can retain screenshot capabilities in clear screen viewing scenarios and complement the aforementioned scheme of pressing to bring up the first function panel, ensuring that the screenshot entry point is available in different viewing states.

[0083] As an example, Figure 3 Image (b) schematically illustrates one specific presentation of the screenshot control in the clear screen state. Figure 3In the interface shown in (b), the video playback page 200 is in a clear screen state. Regular interactive elements such as the progress bar, comment section entry, and function buttons are hidden. Only the content of the target video 210 is displayed in the video playback area 201, providing users with an immersive viewing experience. In the upper right corner of the video playback page 200, in a preset area 206, a semi-transparent screenshot control 230 is displayed. This control is presented as a lightweight camera icon. Its semi-transparent material ensures that the control does not visually distract from the main subject of the image, while still being easily perceived and accessed by the user. When the user clicks the semi-transparent camera icon, a screenshot is taken of the currently displayed video frame of the target video 210 in response to the trigger operation. Furthermore, if the user does not perform any operation on the screenshot control 230, the control automatically fades out after 3 seconds. The user can re-enable the control by tapping any area of ​​the video playback page 200.

[0084] Understandable Figure 3 The control position (top right corner), control style (semi-transparent camera icon), and display duration (3 seconds) shown in (b) are merely illustrative and do not constitute a limitation on the embodiments of this application. In other implementations, the screenshot control 230 can also be set in other preset areas such as the top left corner, bottom left corner, bottom right corner, or center side of the video playback page 200. It can also be presented as a weak border icon, a lightweight prompt bar, or other low-visual-interference form. Its automatic disappearance duration can also be configured to any value within the range of 0.5 seconds to 5 seconds according to different product strategies, as long as it can provide the user with a screenshot entry in the clear screen state without interfering with the display of the main video content. These variations all fall within the reasonable extension range of the embodiments of this application.

[0085] In some embodiments of this application, the preset conditions include detecting a drag operation on the progress bar. Accordingly, displaying a screenshot control on the video playback page includes: in response to the drag operation, displaying screenshot prompt information as a screenshot control in the display area associated with the progress bar. The screenshot prompt information includes prompt content indicating the duration of the press, so that the user triggers a screenshot operation based on the prompt content.

[0086] The display area associated with the progress bar can be the time indicator area above the progress bar, the floating preview area near the progress bar, or the partial display areas on both sides of the progress bar. Displaying screenshot prompts in the associated area of ​​the progress bar closely links them spatially with the user's current focus (the progress bar), allowing the user to understand how to take a screenshot without shifting their gaze.

[0087] Screenshot prompts can include text prompts, icon prompts, dynamic progress bars, or press-to-take timers. For example, screenshot prompts could include "Press and release to take a screenshot" or "Long press until the progress bar is complete, then release to generate a screenshot." This solution aims to match the screenshot triggering method with the gesture logic of dragging the progress bar, which reduces accidental operations caused by users switching between dragging and clicking.

[0088] Furthermore, the prompt message indicating the duration of the press can be presented as a countdown timer, a circular progress bar, a color gradient, or a bar fill, with a preset duration of, for example, 0.3 to 2 seconds. Through this method, the embodiments of this application can link the video timing selection with the screenshot triggering process, further helping users accurately capture the desired frame.

[0089] In some embodiments of this application, in response to the triggering of the screenshot control, a screenshot operation is performed on the currently displayed video frame of the target video to generate a screenshot file, including: in response to the continuous pressing of the display area corresponding to the screenshot prompt information for a preset duration, and upon detecting the end of the pressing operation, extracting the video frame corresponding to the current playback progress of the target video; performing screenshot processing on the extracted video frame to generate a screenshot file containing the video frame.

[0090] The prerequisite for taking a screenshot is to press and hold for a preset duration. This preset duration can be a pre-defined time threshold such as 0.5 seconds, 1 second, or 2 seconds. Setting a preset duration threshold as a prerequisite for triggering a screenshot can effectively filter out users' actions that are not intended for screenshotting, such as brief touches or rapid swipes while dragging the progress bar, thus reducing the probability of accidental triggering.

[0091] Upon detecting the end of a press operation, the system extracts the video frame corresponding to the current playback progress of the target video. In other words, the target frame for the screenshot is the video frame corresponding to the position indicated by the progress bar when the user releases their hand. Using the moment the press ends (the hand is released) as the time reference for video frame extraction allows the user to continue fine-tuning the progress bar position during a long press to accurately select the target image. Releasing the hand confirms the screenshot, making the operation logic intuitive and precise.

[0092] When a user drags the progress bar to the target position and keeps their finger pressed in the area corresponding to the screenshot prompt, the system can continuously record the duration of the press. When the duration reaches a set threshold and the system detects that the user has released their finger, the frame extraction module reads the corresponding video frame based on the current progress value, and the screenshot generation module encapsulates it into a screenshot file. This design creates a clear logical boundary between progress adjustment and screenshot confirmation. If the scene corresponding to the current progress has not yet been rendered, adjacent frames can be re-decoded based on the playback time point, and the closest frame can be selected as the video frame. Through the above method, the embodiments of this application can improve the consistency between the screenshot result and the target time point in the progress bar scenario, thereby strengthening the data correlation between video time positioning and screenshot generation.

[0093] As an example, such as Figure 4 As shown, see Figure 4 In (a), when the user operates the progress bar slider, the associated area of ​​the progress bar (e.g., above the progress bar) will simultaneously display a preview of the current video frame that the current progress is pointing to; for example... Figure 4 As shown in (b), when the user's finger hovers over a specific position on the progress bar, the interface will dynamically display the text prompt "Long press to take a screenshot" along with a corresponding press timer progress bar. When the user releases their finger after continuously pressing in that area for a preset duration (e.g., 2 seconds), the system will extract the current video frame at the position indicated by the progress bar at the moment the finger is released and automatically generate a screenshot file to save locally. Figure 4 The red box in (b) clearly illustrates the triggering mechanism of the screenshot prompt. By spatially aligning the screenshot control with the progress bar's focus, this example allows users to accurately capture screenshots while simultaneously locating the video, significantly simplifying the user's operation.

[0094] In some embodiments of this application, after generating the screenshot file, the method further includes: displaying a screenshot result operation panel on the video playback page. This panel is an interface element that automatically appears after the screenshot file is generated, allowing users to immediately perform subsequent operations on the screenshot file after taking the screenshot, forming a complete screenshot usage loop. This avoids the need for users to switch to other applications or interfaces to process the screenshot file after taking it, thereby significantly improving the processing efficiency of the screenshot results.

[0095] Specifically, the screenshot result operation panel includes at least one of the following interactive controls: The local save control is used to save screenshot files to the user's local storage space, enabling users to persistently store screenshot files for later use in other scenarios, such as viewing and managing them in the system album or accessing them through other applications.

[0096] The sharing control is used to share screenshots with other users through social media platforms, instant messaging tools, and other channels, enabling users to quickly spread exciting moments from videos and improve the efficiency of social dissemination of video content.

[0097] Forwarding controls are used to forward screenshots to other users or other functional modules within the application. They support screenshot sharing within the application, enabling screenshots to be easily reused within the application ecosystem, such as forwarding them to a friend's chat window or the application's dynamic publishing module.

[0098] Editing controls are used to crop, annotate, and filter screenshots, allowing users to personalize the image immediately after taking a screenshot and meet their needs for secondary creation of the screenshot content. For example, users can add text descriptions, draw arrow markers, or adjust the color style of the image.

[0099] In terms of interface layout, the screenshot result operation panel can be displayed in conjunction with the screenshot preview area. This preview area can display a thumbnail of the generated screenshot file, allowing users to confirm whether the screenshot content meets expectations before operation. If not, they can cancel or retake the screenshot. The screenshot result operation panel can adopt a bottom drawer layout or a floating bar layout; the position, number, and order of each control can be adjusted according to page space and interaction frequency. For example, frequently used controls such as save and share can be arranged at the front of the panel, while edit and forward controls can be arranged at the back to optimize the user's operation path. Through the above methods, this embodiment can shorten the subsequent operation path after screenshotting and form a continuous interactive closed loop with the step of generating the screenshot file.

[0100] As an example, see the above. Figure 3 (c) and Figure 4 As shown in (c), this illustrates one specific presentation of the screenshot results operation panel. Figure 3Taking the interface shown in (c) as an example, the video playback page 200 includes a video playback area 201, where the target video 210 is playing or paused. After the user triggers the screenshot control and generates the screenshot file 220, a screenshot result operation panel 208 pops up from the bottom of the video playback page 200. The upper part of this screenshot result operation panel 208 has a screenshot preview area, which displays a thumbnail of the newly generated screenshot file 220, allowing the user to confirm the screenshot content. Below the screenshot preview area, four controls are arranged horizontally: a local save control, a share control, a forward control, and an edit control. All four controls are presented as icons with text labels, making it easy for users to quickly identify the function of each control. When the user clicks the local save control, the screenshot file 220 is written to the local storage space of the terminal device; when the user clicks the share control, the system invokes the system-level share panel for the user to select a sharing channel; when the user clicks the edit control, the screenshot file 220 is loaded into the editing interface for the user to perform cropping, annotation, and other processing. After performing the required operations on the screenshot file 220, the user can collapse the screenshot operation panel 208 by clicking on the area outside the panel or by clicking the close button on the panel, and return to the normal video playback interface to continue watching.

[0101] Understandable Figure 3 The panel layout (bottom drawer type), control arrangement (horizontal arrangement), and specific display form of each control shown in (c) are merely illustrative examples and do not constitute a limitation on the embodiments of this application. In other implementations, the screenshot result operation panel 208 may also be presented in a floating bar layout, a side slide-out panel, or other forms; the interactive controls may include only one or any combination of local save controls, share controls, forward controls, or edit controls, and need not include all four types of controls simultaneously; the arrangement order and display style of each control can also be adjusted according to actual product needs, as long as the function of providing users with an entry point for subsequent processing of screenshot files can be achieved. These variations all fall within the reasonable extension scope of the embodiments of this application.

[0102] In some embodiments of this application, the preset conditions include detecting that the target video is paused and that the comment section of the target video is activated. Accordingly, displaying a screenshot control on the video playback page includes: in response to detecting that the target video is paused and that the comment section of the target video is activated, displaying a screenshot control on the video playback page. The screenshot control is a screenshot guidance overlay containing interactive prompts, which are used to prompt the user to trigger a screenshot operation through a specified action.

[0103] A screenshot guidance overlay is a guiding interface element that overlays or floats above the video playback page, containing interactive prompts. Screenshot guidance overlays can appear above the comment section, between the video playback area and the comment section, or at a partial edge of the video playback area. Overlay-style screenshot guidance has strong visual guidance, actively attracting user attention and making users aware that they can capture the currently paused screen for commenting, thus increasing the usage rate of the screenshot function in comment scenarios.

[0104] The interactive prompts can include messages such as "Click to capture the current screen," "Click to save the screen," or "Click to post a comment with the image." The specified action can be clicking the overlay, clicking a button within the overlay, swiping to confirm on the overlay, or other lightweight interactive methods. Clear interactive prompts reduce the cognitive load on users, allowing them to understand how to trigger the screenshot action without exploration, thus improving operational efficiency.

[0105] This solution aims to adapt to the page state when pausing a video and reading comments, ensuring that the screenshot entry point does not occupy fixed space but is effectively perceived when the user intends to associate the video with comments. By providing a clear screenshot trigger prompt without significantly interfering with comment browsing, this application embodiment effectively solves the problem of the screenshot entry point being difficult to access in the context of pausing comments.

[0106] In some embodiments of this application, in response to the triggering of the screenshot control, a screenshot operation is performed on the currently displayed video frame of the target video to generate a screenshot file, including: in response to the specified operation of the screenshot guide overlay, extracting the video frame corresponding to the current playback progress of the target video, and generating a screenshot file containing the video frame.

[0107] Since the target video is currently paused, the video frames corresponding to the current playback progress are usually stable, allowing the system to directly generate a screenshot file based on the frame at the paused moment. After the user performs a specified operation on the screenshot guide overlay (e.g., clicking the overlay or clicking the screenshot button within it), the system can read the playback time point at the current paused moment and extract the corresponding video frame from the rendering buffer or decoding cache. A single click completes the screenshot, minimizing the operation steps and enabling users to quickly obtain the current frame for enriching their comment content in comment scenarios.

[0108] If the page design requires capturing the top frame of the current screen, a preset area cropping process can be performed after extracting the video frame, retaining only the upper part of the video screen or a specified area. If the target video has a play button, title information, or prompt layer overlaid while paused, the system can choose to capture only the video layer or retain some of the overlay elements according to the interface configuration. This design ensures that the screenshot action is highly consistent with the target screen in the paused comment state, avoiding screen offset caused by resuming playback and then taking a screenshot. Through the above methods, the embodiments of this application enable the screenshot operation in the paused comment scenario to directly correspond to the screen content that the user is currently focusing on, thereby improving the semantic consistency of the screenshot results.

[0109] As an example, such as Figure 5 As shown, see Figure 5 In section (a), when the target video is paused, an entry to the comment section is provided on the side of the video playback page (209); for example... Figure 5 As shown in (b), when a user clicks to activate the comment section, the system detects that the target video is paused and the comment section is active. It then displays a screenshot guidance overlay below the video playback area and above the comment section, containing interactive prompts such as "Click to capture the current screen." This overlay provides clear visual guidance, allowing users to immediately perceive the screenshot entry point when preparing to post a comment. Figure 5 As shown in (c), users can directly click on this overlay to trigger a screenshot operation. The system extracts the video frame at the current pause moment, generates a screenshot file, and automatically associates the screenshot file with the attachment area of ​​the comment input box (e.g., ...). Figure 5 (See the "Click to Upload" prompt area marked in (c)). Users can then post a comment with an image with a single click. This example deeply integrates the screenshot entry point with the user's intent while the comment is paused, not only reducing the time cost for users to find the screenshot function but also significantly simplifying the "screenshot-upload-post comment" operation path.

[0110] In some embodiments of this application, the preset conditions include detecting a preset interactive trigger operation on the comment input area of ​​the video playback page. Accordingly, displaying a screenshot control on the video playback page includes: in response to detecting the preset interactive trigger operation on the comment input area, displaying a second function panel corresponding to the comment input area on the video playback page, and displaying the screenshot control in the second function panel.

[0111] The so-called second function panel is the function operation panel corresponding to the comment input area, which integrates various comment assistance functions, including screenshotting. The second function panel can be located above the comment input area, above the keyboard, or at the bottom of the page. It can integrate screenshot controls as well as comment enhancement controls such as image selection, emoticons, topics, and mentions. This solution aims to make the screenshot entry point appear as part of the comment editing capabilities, thereby improving the convenience of directly importing screenshot content into the comment publisher.

[0112] Providing a screenshot entry point while the user is already in comment editing mode allows them to capture the current video frame and insert it into their comment without leaving the comment editing interface, thus integrating the screenshot and comment posting process. By bringing up a second function panel after the comment input area is triggered, and providing a screenshot entry point within it, users can directly obtain video screenshot capabilities when preparing to post a comment, without leaving the comment editing process, thereby reducing the page switching cost for users between comment input and screenshot.

[0113] In some embodiments of this application, in response to the triggering of the screenshot control, a screenshot operation is performed on the currently presented video frame of the target video to generate a screenshot file, including: in response to the triggering of the screenshot control in the second function panel, extracting the currently presented video frame of the target video and generating a screenshot file.

[0114] This extracts the frame of the target video that is currently displayed at the moment the user triggers the screenshot control. Using the current frame at the moment of triggering as the screenshot target ensures the timeliness of the screenshot content and its consistency with the user's intention. If the target video is still playing, the currently displayed video frame can be extracted first; if the player has automatically paused when the comment input is triggered, the video frame corresponding to the pause point can be extracted. Subsequently, the screenshot generation module encapsulates the extracted video frames and generates a screenshot file. Users can take a screenshot with a single click of the screenshot control in the function panel while editing a comment, without interrupting the comment editing process, ensuring strong operational continuity. Through the above method, this embodiment of the application enables the current video frame to be smoothly converted into comment material and, in conjunction with the aforementioned display scheme of the second function panel, improves the usability of screenshot capabilities in comment scenarios.

[0115] In some embodiments of this application, after generating the screenshot file, the method further includes: inserting the screenshot file into the edit box of the comment input area.

[0116] Inserting a screenshot into the comment input area's edit box refers to automatically filling the comment edit box with a generated screenshot as an image preview, thumbnail, or attachment, as part of the comment to be published. The edit box can have a text input area, a media attachment area, or a mixed text and image area. The screenshot can be inserted at the current cursor position, the attachment slot, or a preset image area. If the edit box already contains text, the system can retain the existing text and insert a screenshot thumbnail after it or at a specified position.

[0117] The automatic insertion mechanism eliminates the need for users to manually select screenshot files from their albums, directly linking screenshot operations with comment content editing. This significantly shortens the "screenshot-comment" operation path, allowing for seamless integration between the screenshot file and the comment editing process. After completing a screenshot, users can directly import the screenshot content into the comment posting process without manually selecting or pasting it, achieving zero operation interval from screenshot to comment.

[0118] In some embodiments of this application, the method further includes: in response to a sending operation to the comment input area, displaying a screenshot file in the comment section of the target video, and displaying the video playback timestamp corresponding to the screenshot file at a location associated with the screenshot file.

[0119] The video playback timestamp refers to the playback time and position information of the video frame corresponding to the screenshot file within the target video (such as "01:23", "2 minutes 15 seconds", etc.). This timestamp information allows other users to quickly locate the specific position of the screenshot within the video, providing a precise time reference for comments and enhancing the correlation between comments and video content.

[0120] Displaying the video playback timestamp in a location associated with the screenshot file—for example, below or above the screenshot, in a corner marker, or as a hyperlink within the comment text—allows users to intuitively establish a correspondence between the screenshot and its corresponding video time point. This way, other users browsing comments not only see the screenshot but also understand its corresponding video time point, providing temporal contextual information to the comment content and enhancing its expressiveness and traceability.

[0121] In some embodiments of this application, after displaying the video playback timestamp, the method further includes: in response to a triggering operation on the video playback timestamp, jumping the playback progress of the target video to the playback position corresponding to the video playback timestamp, and playing the target video.

[0122] The triggering action for the video playback timestamp can be, for example, clicking, tapping, or long-pressing the timestamp element. Designing the timestamp as a triggerable interactive element allows users to jump directly from the comments section to the corresponding position in the video with a simple operation, without having to manually drag the progress bar to find it, significantly reducing the operational cost of navigating back through video content.

[0123] Jumping the playback progress of the target video to the playback position corresponding to the video's timestamp means positioning the video's current playback progress to the time position of the video frame corresponding to the screenshot file. Precise jumping ensures that users can start watching from the exact time point corresponding to the screenshot, quickly obtaining the context information before and after the screenshot. After jumping, the target video automatically plays, allowing users to continuously watch the video content from the time point corresponding to the screenshot, avoiding the extra operation of manually clicking the play button, and making the experience of traversing from comments to the video smooth and seamless.

[0124] If the target video has not yet been loaded into the corresponding buffer position when triggered, the player control module can initiate a buffering request before locating and playing the video. Through this mechanism, the timestamp is not only an information display element but also an interactive navigation control, realizing a complete interactive loop from "video → screenshot → comment → video". This application embodiment enables screenshot information in comments to go beyond static presentation and further serve as content navigation, thereby strengthening the collaborative relationship between screenshot display and video playback in the comment section.

[0125] As an example, such as Figure 6 As shown, Figure 6 As shown in (a), when a user clicks the comment input area on the video playback page (i.e., executes a preset interactive trigger operation), the system responds by activating the comment editing state; as Figure 6 As shown in (b), the system then invokes and displays a second function panel above the input method keyboard. This panel contains horizontally arranged icons for multimodal auxiliary functions, including screenshot, image selection, and emoticons. The screenshot control is prominently displayed to guide the user to quickly locate it; Figure 6 As shown in (c), when the user clicks the screenshot control, the system immediately extracts the currently displayed video frame of the target video and generates a screenshot file. The generated screenshot file will be automatically attached as an attachment to the comment input box (shown as a screenshot thumbnail above the input area in the image). The user can then continue editing text and prepare to publish. Figure 6As shown in (d), after a user posts a comment, the screenshot is displayed in the comment section along with the comment content, creating a visually appealing comment presentation. This example seamlessly integrates the screenshot function into the second function panel of the comment input, allowing users to directly capture and upload the image during the comment posting process without complex in-app navigation or album searches. This fully realizes the seamless integration of screenshot generation and comment posting in terms of operational logic, effectively optimizing user interaction steps and enhancing the overall experience of combining images with content expression in comment scenarios.

[0126] In some embodiments of this application, generating a screenshot file may include: obtaining the author identifier of the target video and the playback time point corresponding to the video frame; superimposing the author identifier and the playback time point onto the video frame to generate a screenshot file with a watermark.

[0127] The author identifier refers to the identity information of the creator of the target video, such as author ID, nickname, account identifier, or other information that can identify the content publisher. Overlaying the author identifier on a screenshot allows the screenshot file to still indicate the source of the content after being removed from the original video playback environment, protecting the video creator's right to attribution, and providing the ability to trace the source for secondary dissemination of the screenshot.

[0128] The playback time point refers to the position information of the video frame corresponding to the screenshot file on the target video timeline, which can be represented by text timestamps, numerical codes, or graphical time labels. Overlaying playback time point information on the screenshot allows users viewing the screenshot to understand the specific time position of the frame in the video, facilitating the review of the original video content.

[0129] Overlaying author information and playback time points onto video frames refers to rendering this information as a watermark at a specific location on the video frame image (such as the image edge, corner, bottom information bar, or semi-transparent watermark layer), generating a screenshot file carrying the watermark. The overlay location can be set at the edge, corner, bottom information bar, or semi-transparent watermark layer of the screenshot. This watermark-based information overlay integrates the source information with the screenshot, achieving persistent information annotation without significantly affecting the visual appeal. Even if the screenshot file is cropped or forwarded, the watermark information remains.

[0130] In some embodiments, the author identifier can be located in the lower left corner of the screenshot, and the playback time point can be located in the lower right corner. Both can use semi-transparent fonts to reduce their impact on the original image. The watermark font size, color, transparency, and margins can be adaptively adjusted according to the screenshot resolution. Through the above methods, the embodiments of this application can establish a stable association between each screenshot and the source and playback time point of the target video, further facilitating the identification of screenshot context in comment, sharing, or saving scenarios.

[0131] It should be noted that the aforementioned implementation methods can be combined with each other. For example, screenshot files carrying author identifiers and playback timestamps can be generated in scenarios where a long press brings up a function panel, or in scenarios where the screen is cleared, progress bar is dragged, comments are paused, or comments are entered. The generated screenshot files can either display a screenshot result operation panel for saving, sharing, forwarding, or editing, or they can be directly inserted into an editing box and associated with a timestamp displayed in the comment section. Through the above combinations, video screenshotting, screenshot processing, comment posting, and video playback can form a continuous page interaction and data processing chain, thereby providing a consistent and coherent screenshot experience in different video viewing and commenting scenarios.

[0132] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.

[0133] According to another embodiment, a video screenshot device is provided. Figure 7 A schematic block diagram of a video screenshot device according to one embodiment is shown, the device being disposed in... Figure 1 The user end in the illustrated architecture. For example... Figure 7 As shown, the device 700 includes a page display unit 701 and a detection unit 702. The main functions of each component are as follows: Page display unit 701 is configured to display a video playback page containing a target video; The detection unit 702 is configured to detect interactive events or interface states related to the video playback page; The page display unit 701 is further configured to display a screenshot control on the video playback page in response to detecting that an interactive event or interface state related to the video playback page meets preset conditions; and to perform a screenshot operation on the currently presented video frame of the target video in response to triggering the screenshot control, thereby generating a screenshot file.

[0134] Optionally, the interactive event or interface state satisfies preset conditions, including at least one of the following: A press operation on the video playback area of ​​the video playback page was detected. The video playback page has been detected to have switched to or be in a clear screen state; A dragging operation on the progress bar in the video playback page was detected; The target video was detected to be paused and the comment section of the target video was activated. A preset interactive trigger operation was detected in the comment input area of ​​the video playback page.

[0135] Optionally, the preset conditions include detecting a press operation on the video playback area; The page display unit 701 is specifically configured as follows: In response to the press operation, a first function panel corresponding to the video playback area is displayed on the video playback page, and the screenshot control is displayed in the first function panel.

[0136] Optionally, the preset conditions include detecting that the video playback page has switched to or is in a clear screen state; The page display unit 701 is specifically configured as follows: In response to the video playback page switching to or being in a clear screen state, the screenshot control is displayed in a preset area of ​​the video playback page.

[0137] Optionally, the preset conditions include detecting a dragging operation on the progress bar; The page display unit 701 is specifically configured to: in response to the drag operation, display screenshot prompt information as the screenshot control in the display area associated with the progress bar; wherein, the screenshot prompt information includes prompt content for indicating the duration of the press, so that the user can trigger a screenshot operation based on the prompt content.

[0138] Optionally, the page display unit 701 is specifically configured as follows: In response to continuous pressing of the display area corresponding to the screenshot prompt information for a preset duration, and upon detecting the end of the pressing operation, extract the video frame corresponding to the current playback progress of the target video; The extracted video frames are processed to generate screenshot files containing the video frames.

[0139] Optionally, the page display unit 701 is further configured as follows: The screenshot result operation panel is displayed on the video playback page; the screenshot result operation panel includes at least one of the following interactive controls: local save control, share control, forward control, or edit control.

[0140] Optionally, the preset conditions include detecting that the target video is paused and that the comment section of the target video is activated; The page display unit 701 is specifically configured as follows: In response to detecting that the target video is paused and the comment section of the target video is activated, a screenshot control is displayed on the video playback page; the screenshot control is a screenshot guidance overlay containing interactive prompts, which are used to prompt the user to trigger the screenshot operation through a specified operation.

[0141] Optionally, the page display unit 701 is specifically configured as follows: In response to a specified operation on the screenshot guide overlay, the video frame corresponding to the current playback progress of the target video is extracted, and a screenshot file containing the video frame is generated.

[0142] Optionally, the preset conditions include detecting a preset interactive trigger operation on the comment input area of ​​the video playback page; The page display unit 701 is specifically configured as follows: In response to detecting a preset interactive trigger operation on the comment input area, a second function panel corresponding to the comment input area is displayed on the video playback page, and the screenshot control is displayed in the second function panel.

[0143] Optionally, the page display unit 701 is specifically configured as follows: In response to the triggering of the screenshot control in the second function panel, the currently displayed video frame of the target video is extracted and a screenshot file is generated.

[0144] Optionally, the page display unit 701 is further configured to: Insert the screenshot file into the edit box of the comment input area.

[0145] Optionally, the page display unit 701 is further configured to: In response to a sending operation to the comment input area, the screenshot file is displayed in the comment section of the target video, and the video playback timestamp corresponding to the screenshot file is displayed at the position associated with the screenshot file.

[0146] Optionally, the page display unit 701 is further configured to: In response to a trigger operation on the video playback timestamp, the playback progress of the target video is redirected to the playback position corresponding to the video playback timestamp, and the target video is played.

[0147] Optionally, the page display unit 701 is specifically configured as follows: Obtain the author identifier of the target video and the playback time point corresponding to the video frame; The author identifier and the playback time point are superimposed on the video frame to generate a screenshot file with a watermark. The various embodiments in this specification are described in a progressive manner; similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, for system or device embodiments, since they are basically similar to method embodiments, the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments. The system and device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without creative effort.

[0148] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation entry points are provided for users to choose to authorize or refuse.

[0149] In addition, embodiments of this application also provide a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the method described in any of the foregoing method embodiments.

[0150] And an electronic device, comprising: One or more processors; and A memory associated with the one or more processors, the memory being used to store program instructions that, when read and executed by the one or more processors, perform the steps of the method described in any of the foregoing method embodiments.

[0151] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the method described in any of the foregoing method embodiments.

[0152] in, Figure 8An exemplary architecture of an electronic device is shown, which may include a processor 810, a video display adapter 811, a disk drive 812, an input / output interface 813, a network interface 814, and a memory 820. The processor 810, video display adapter 811, disk drive 812, input / output interface 813, network interface 814, and memory 820 can communicate with each other via a communication bus 830.

[0153] The processor 810 can be implemented using a general-purpose CPU, microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits to execute relevant programs and implement the technical solution provided in this application.

[0154] The memory 820 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 820 can store the operating system 821 for controlling the operation of the electronic device 800, and the basic input / output system (BIOS) 822 for controlling the low-level operations of the electronic device 800. Additionally, it can store a web browser 823, a data storage management system 824, and a video screenshot device 700, etc. The aforementioned video screenshot device 700 can be the application program that specifically implements the aforementioned steps in this embodiment. In summary, when the technical solution provided in this application is implemented through software or firmware, the relevant program code is stored in the memory 820 and is called and executed by the processor 810.

[0155] The input / output interface 813 is used to connect input / output modules to realize information input and output. Input / output modules can be configured as components within the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Input devices may include keyboards, mice, touchscreens, microphones, various sensors, etc., while output devices may include displays, speakers, vibrators, indicator lights, etc.

[0156] Network interface 814 is used to connect a communication module (not shown in the figure) to enable communication between this device and other devices. The communication module can communicate via wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0157] Bus 830 includes a pathway for transmitting information between various components of the device, such as processor 810, video display adapter 811, disk drive 812, input / output interface 813, network interface 814, and memory 820.

[0158] It should be noted that although the above-described device only shows the processor 810, video display adapter 811, disk drive 812, input / output interface 813, network interface 814, memory 820, bus 830, etc., in specific implementations, the device may also include other components necessary for normal operation. Furthermore, those skilled in the art will understand that the above-described device may only include the components necessary for implementing the solution of this application, and does not necessarily include all the components shown in the figures.

[0159] As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus necessary general-purpose hardware platforms. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer program product. This computer program product can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in various embodiments or some parts of the embodiments of this application.

[0160] The technical solutions provided in this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. Furthermore, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A method for taking screenshots of videos, characterized in that, include: Displays a video playback page showing the target video; In response to detecting that an interactive event or interface state related to the video playback page meets a preset condition, a screenshot control is displayed on the video playback page; In response to the triggering of the screenshot control, a screenshot operation is performed on the currently displayed video frame of the target video to generate a screenshot file.

2. The method according to claim 1, characterized in that, The interactive event or interface state meets preset conditions, including at least one of the following: A press operation on the video playback area of ​​the video playback page was detected. The video playback page has been detected to have switched to or be in a clear screen state; A dragging operation on the progress bar in the video playback page was detected; The target video was detected to be paused and the comment section of the target video was activated. A preset interactive trigger operation was detected in the comment input area of ​​the video playback page.

3. The method according to claim 2, characterized in that, The preset conditions include detecting a press operation on the video playback area; The screenshot control displayed on the video playback page includes: In response to the press operation, a first function panel corresponding to the video playback area is displayed on the video playback page, and the screenshot control is displayed in the first function panel.

4. The method according to claim 2, characterized in that, The preset conditions include detecting that the video playback page has switched to or is in a clear screen state; The screenshot control displayed on the video playback page includes: In response to the video playback page switching to or being in a clear screen state, the screenshot control is displayed in a preset area of ​​the video playback page.

5. The method according to claim 2, characterized in that, The preset conditions include detecting a dragging operation on the progress bar; The screenshot control displayed on the video playback page includes: In response to the drag operation, a screenshot prompt message is displayed as the screenshot control in the display area associated with the progress bar; wherein, the screenshot prompt message includes prompt content for indicating the duration of the press, so that the user can trigger a screenshot operation based on the prompt content.

6. The method according to claim 5, characterized in that, The step of performing a screenshot operation on the currently displayed video frame of the target video in response to the triggering of the screenshot control, and generating a screenshot file, includes: In response to continuous pressing of the display area corresponding to the screenshot prompt information for a preset duration, and upon detecting the end of the pressing operation, extract the video frame corresponding to the current playback progress of the target video; The extracted video frames are processed to generate screenshot files containing the video frames.

7. The method according to any one of claims 3 to 5, characterized in that, After generating the screenshot file, the method further includes: The screenshot result operation panel is displayed on the video playback page; the screenshot result operation panel includes at least one of the following interactive controls: local save control, share control, forward control, or edit control.

8. The method according to claim 2, characterized in that, The preset conditions include detecting that the target video is paused and that the comment section of the target video is activated; The screenshot control displayed on the video playback page includes: In response to detecting that the target video is paused and the comment section of the target video is activated, a screenshot control is displayed on the video playback page; the screenshot control is a screenshot guidance overlay containing interactive prompts, which are used to prompt the user to trigger the screenshot operation through a specified operation.

9. The method according to claim 8, characterized in that, The step of performing a screenshot operation on the currently displayed video frame of the target video in response to the triggering of the screenshot control, and generating a screenshot file, includes: In response to a specified operation on the screenshot guide overlay, the video frame corresponding to the current playback progress of the target video is extracted, and a screenshot file containing the video frame is generated.

10. The method according to claim 2, characterized in that, The preset conditions include detecting a preset interactive trigger operation on the comment input area of ​​the video playback page; The screenshot control displayed on the video playback page includes: In response to detecting a preset interactive trigger operation on the comment input area, a second function panel corresponding to the comment input area is displayed on the video playback page, and the screenshot control is displayed in the second function panel.

11. The method according to claim 10, characterized in that, The step of performing a screenshot operation on the currently displayed video frame of the target video in response to the triggering of the screenshot control, and generating a screenshot file, includes: In response to the triggering of the screenshot control in the second function panel, the currently displayed video frame of the target video is extracted and a screenshot file is generated.

12. The method according to any one of claims 8 to 11, characterized in that, After generating the screenshot file, the method further includes: Insert the screenshot file into the edit box of the comment input area.

13. The method according to claim 12, characterized in that, The method further includes: In response to a sending operation to the comment input area, the screenshot file is displayed in the comment section of the target video, and the video playback timestamp corresponding to the screenshot file is displayed at the position associated with the screenshot file.

14. The method according to claim 13, characterized in that, After displaying the video playback timestamp, the method further includes: In response to a trigger operation on the video playback timestamp, the playback progress of the target video is redirected to the playback position corresponding to the video playback timestamp, and the target video is played.

15. The method according to claim 1, characterized in that, The generated screenshot file includes: Obtain the author identifier of the target video and the playback time point corresponding to the video frame; The author identifier and the playback time point are superimposed onto the video frame to generate a screenshot file with a watermark.

16. A video screenshot device, characterized in that, The device includes: The page display unit is configured to display a video playback page containing the target video. The detection unit is configured to detect interactive events or interface states related to the video playback page; The page display unit is further configured to display a screenshot control on the video playback page in response to detecting that an interactive event or interface state related to the video playback page meets preset conditions; and to perform a screenshot operation on the currently presented video frame of the target video in response to triggering the screenshot control, thereby generating a screenshot file.

17. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the steps of the method according to any one of claims 1 to 15.

18. An electronic device, characterized in that, include: One or more processors; as well as A memory associated with the one or more processors, the memory being used to store program instructions that, when read and executed by the one or more processors, perform the steps of the method according to any one of claims 1 to 15.

19. A computer program product, comprising a computer program, characterized in that, When executed by a processor, the computer program implements the steps of the method according to any one of claims 1 to 15.