VIDEO INTERACTION, VIDEO PROCESSING METHOD, APPARATUS, DEVICE, AND STORAGE MEDIUM
The video interaction method and device address the challenge of transitioning users from video playback to target pages by using a mask with interaction controls on the video playback interface, enhancing user experience and interaction with video content.
Patent Information
- Application Number
- JP2023507659
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-09-30
- Filing Date
- 2021-08-26
- Publication Date
- 2025-05-08
- Estimated Expiration
- 2041-08-26
AI Technical Summary
Existing video interaction methods struggle to seamlessly transition users from video playback to target page display, compromising the user experience.
A method and device for video interaction that displays a mask with an interaction control on the video playback interface when a target video is played to a target image frame, allowing users to trigger the display of a target page related to the content of the target image frame.
This solution enables a seamless user experience by allowing users to interactively transition from video playback to relevant target pages, maintaining engagement and improving user interaction with video content.
Smart Images

Figure 0007673178000001 
Figure 0007673178000002 
Figure 0007673178000003
Abstract
Description
[Technical field]
[0001] This application claims priority to a Chinese patent application filed with the China Patent Office on September 30, 2020, bearing application number 202011060471.3 and entitled "Video Interaction, Video Processing Method, Apparatus, Device and Storage Medium," the entire contents of which are incorporated herein by reference.
[0002] The present disclosure relates to the field of data processing, and in particular to video interaction, video processing methods, devices, apparatus and storage media. [Background technology]
[0003] As the number of users of short video software continues to increase, video interaction methods are receiving more and more attention. Summary of the Invention [Problem to be solved by the invention]
[0004] How to switch from playing the video to displaying the target page while ensuring the user experience is currently a technical problem to be solved.
[0005] In order to solve the above technical problems or at least part of them, the present disclosure provides a video interaction, video processing method, device, apparatus and storage medium that can realize switching from playing a video to displaying a target page while ensuring user experience. [Means for solving the problem]
[0006] According to a first aspect, the present disclosure provides a video interaction method, the method comprising: In response to the target video being played up to the target image frame, displaying a mask including an interaction control on a video playback interface corresponding to the target image frame, wherein a position of a display area of the interaction control on the mask is the same as a position of a display area of a target element on the target image frame, and a display image on the interaction control and the target element have a corresponding relationship; The method includes displaying a target page in response to a trigger operation on the interaction control, wherein content displayed on the target page is related to content displayed in the target image frame.
[0007] In a preferred embodiment, the method comprises the steps of: The method further includes the step of jumping from the target page to a video playback interface in response to a back operation triggered on the target page, and continuing to play the target video on the video playback interface based on the target image frame.
[0008] In a preferred embodiment, the method comprises the steps of: continuing to play the target video based on the target image frame in response to a display time of the mask on the video playback interface reaching a preset dwell time; Or, the method further includes the step of continuing to play the target video based on the target image frame when a continue playing operation triggered by the mask on the video playing interface is received.
[0009] In a preferred embodiment, in response to a trigger operation on the interaction control, before displaying the target page, The method further includes a step of displaying an operation presentation corresponding to the interaction control on the mask, the operation presentation being used to guide a user to perform a trigger operation on the interaction control.
[0010] In a preferred embodiment, the method comprises the steps of: The method further includes the step of playing a sound or a vibration in response to a trigger operation on the interaction control.
[0011] In a preferred embodiment, the trigger operation on the interaction control includes a click operation on the interaction control, or an operation of dragging the interaction control to a target area.
[0012] According to a second aspect, the present disclosure provides a video processing method, the method comprising: a step of receiving a selection operation for a target element in a target image frame in the video to be processed, and then generating an interaction control on a mask based on the target element in the target image frame, wherein a position of a display area of the interaction control on the mask is the same as a position of a display area of the target element in the target image frame, a display image of the interaction control and the target element have a corresponding relationship, the interaction control is for triggering the display of a target page, and the content displayed on the target page is related to the content displayed in the target image frame; The method includes a step of inserting the mask at a position between the target image frame and a first image frame in the video to be processed to obtain a target video corresponding to the video to be processed, the first image frame being an image of the next adjacent frame of the target image frame in the video to be processed.
[0013] In a preferred embodiment, the step of generating an interaction control on a mask based on the target element in the target image frame comprises: determining display position information corresponding to the target element in the target image frame; generating an interaction control on a mask corresponding to the target element based on the display position information.
[0014] In a preferred embodiment, after generating an interaction control on a mask based on the display position information, determining display position information of a display element having a corresponding relationship with the target element in the target image frame; The method further includes a step of determining a target area on the mask corresponding to the interaction control based on the display position information of the display element, wherein an operation of dragging the interaction control to the target area is used to trigger the presentation of a target page.
[0015] In a preferred embodiment, the method comprises the steps of: The method further includes determining a preset dwell time corresponding to the mask, the preset dwell time being used to control a display time of the mask.
[0016] According to a third aspect, the present disclosure provides a video interaction device, comprising: a mask display module that, in response to a target video being played up to a target image frame, displays a mask including an interaction control on a video playback interface corresponding to the target image frame, where a position of a display area of the interaction control on the mask is the same as a position of a display area of a target element on the target image frame, and a display image on the interaction control and the target element have a corresponding relationship; The interactive control further includes a page display module for displaying a target page in response to a trigger operation on the interaction control, the target page having a corresponding relationship with the target image frame.
[0017] According to a fourth aspect, the present disclosure provides a video processing device, comprising: a generation module that receives a selection operation for a target element in a target image frame in a video to be processed, and then generates an interaction control on a mask based on the target element in the target image frame, where a position of a display area of the interaction control on the mask is the same as a position of a display area of the target element in the target image frame, a display image of the interaction control is determined based on the target element, the interaction control is for triggering the display of a target page, and the target page and the target image frame have a corresponding relationship; and an insertion module that inserts the mask at a position between the target image frame and a first image frame in the target video to obtain a processed target video, the first image frame being an image of a next adjacent frame of the target image frame in the target video.
[0018] According to a fifth aspect, the present disclosure provides a computer-readable storage medium having instructions stored thereon that, when executed on a terminal device, cause the terminal device to implement the above method.
[0019] According to a sixth aspect, the present disclosure provides an apparatus, comprising a memory, a processor, and a computer program stored in the memory and executable by the processor, the processor, when executing the computer program, realizing the method described above. Effect of the Invention
[0020] The technical solution provided by the embodiment of the present disclosure has the following advantages over the prior art, that is, the embodiment of the present disclosure provides a video interaction method, in response to a target video being played up to a target image frame, pausing the playback of the target video, and displaying a mask including a target interaction control on a video playback interface corresponding to the image frame. A display area of the interaction control on the mask has a corresponding relationship with a display area of a target element in the target image frame, and a display image of the interaction control has a corresponding relationship with the target element. When a trigger operation on the interaction control is received, a target page is displayed, and the target page and the target image frame have a corresponding relationship. In the embodiment of the present disclosure, an interaction control having a corresponding relationship with a display area of the target element in the target image frame and a display image having a corresponding relationship with the target element is displayed on the video playback interface, and a display function of switching from the video playback interface to the target page is realized by a trigger operation on the interaction control.
[0021] In addition, in the embodiments of the present disclosure, since the display for the interaction control is related to the original display content in the target image frame, a mask including the interaction control is displayed in the video playback interface of the target video, and the display of the target webpage related to the target image frame is triggered based on the interaction control related to the original display content in the target image frame, so that the user can be immersively guided to view the target page from the video playback interface, and the user experience is guaranteed. [Brief description of the drawings]
[0022] The drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the specification, serve to explain the principles of the disclosure. In order to more clearly explain the technical solutions of the embodiments or prior art of the present disclosure, the following briefly introduces drawings that need to be used in the description of the embodiments or prior art, and obviously, those skilled in the art can obtain other drawings based on these drawings under the premise of not making any effort worthy of inventive step. [Figure 1] 1 is a flowchart of a video interaction method provided by an embodiment of the present disclosure. [Diagram 2] FIG. 2 is an interface effect diagram of a target image frame of a target video provided by an embodiment of the present disclosure. [Diagram 3] FIG. 13 is an interface effect diagram showing a mask including an interaction control provided by an embodiment of the present disclosure. [Figure 4] 1 is a flowchart of a video processing method provided by an embodiment of the present disclosure. [Diagram 5] FIG. 2 is an interface effect diagram of a mask provided by an embodiment of the present disclosure. [Figure 6] FIG. 1 is a schematic diagram of a configuration of a video interaction device provided by an embodiment of the present disclosure. [Figure 7]FIG. 1 is a schematic diagram of a configuration of a video processing device provided by an embodiment of the present disclosure. [Figure 8] FIG. 1 is a schematic diagram of a video interaction device provided by an embodiment of the present disclosure. [Figure 9] FIG. 1 is a schematic diagram of a video processing device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0023] In order to make the above objectives, features and advantages of the present disclosure more clearly comprehensible, the solutions of the present disclosure are further described below. It should be noted that, if there is no conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other.
[0024] In order to facilitate a thorough understanding of the present disclosure, numerous specific details are set forth in the following description; however, the present disclosure may be embodied in forms different from those described herein, and it is apparent that the embodiments in the specification are only some of the embodiments of the present disclosure, rather than all of the embodiments.
[0025] With the rapid increase in the number of users of short video software, developers are increasingly paying attention to how to ensure the user experience of short video software. Video interaction methods are one of the key factors for ensuring the user experience of short video software, so video interaction methods are also attracting attention.
[0026] Therefore, the present disclosure provides a video interaction method, and when a target video is played up to a target image frame, the playback of the target video is paused, and a mask including a target interaction control is displayed on a video playback interface corresponding to the image frame. The display area of the interaction control on the mask is the same as the position of the display area of the target element in the target image frame, and the display image of the interaction control and the target element have a corresponding relationship. When a trigger operation on the interaction control is received, a target page having a corresponding relationship with the target image frame is displayed. In an embodiment of the present disclosure, an interaction control is displayed on the video playback interface, the position of which is the same as the display area of the target element in the target image frame, and the display image has a corresponding relationship with the target element, and a display function of switching from the video playback interface to the target page is realized by a trigger operation on the interaction control.
[0027] In addition, in the embodiments of the present disclosure, the display of the interaction control is realized based on the display area of the target element in the target image frame, that is, the display of the interaction control is related to the original display content in the target image frame, so that a mask including the interaction control is displayed in the video playback interface of the target video, and the display of the target webpage related to the target image frame is triggered based on the interaction control related to the original display content in the target image frame, thereby immersively guiding the user to view the target page from the playback video interface, and the user experience is guaranteed.
[0028] Based on this, an embodiment of the present disclosure provides a video interaction method. Referring to FIG. 1, there is shown a flowchart of the video interaction method provided by an embodiment of the present disclosure, which includes the following steps: Step S101: In response to a target video being played up to a target image frame, a mask including an interaction control is displayed on a video playback interface corresponding to the target image frame.
[0029] A display area of the interaction control in the mask is in the same position as a display area of the target element in the target image frame, and the display image in the interaction control and the target element have a corresponding relationship.
[0030] In the embodiment of the present disclosure, a target video is a video or video clip with a certain playing time. The image of one or more frames adjacent to the target image frame in the target video are image frames for displaying a mask, that is, the target video includes at least one image frame in which a mask is displayed. For example, the image frame in the target video whose playing time is 5 seconds to 7 seconds is used to display a mask.
[0031] In practical application, during the playback of the target video, when the playback reaches the target image frame, a mask can be displayed on a playback interface corresponding to the target image frame, and the playback of the target video can be paused. An interaction control is displayed on the mask displayed on the video playback interface, and the display area of the interaction control on the mask has a corresponding relationship with the display area of the target element in the target image frame. Specifically, the position of the display area of the interaction control on the mask is the same as the position of the display area of the target element in the target image frame. The display of the mask has a certain transparency, so that to the user, the interaction control displayed on the mask overlaps with the display area of the target element in the target image frame.
[0032] In addition, the display image in the interaction control has a corresponding relationship with the target element, and specifically, the display image in the interaction control may be the same as or similar to the display image of the target element.
[0033] In a preferred embodiment, the mask may display one interaction control alone or multiple interaction controls simultaneously, and the number of interaction controls may be determined based on the display needs of the target page. Specifically, different interaction controls are used to trigger the display of different target pages. For example, the target page is an advertisement page designed based on the display content in the target image frame, and different interaction controls can be used to trigger different advertisement pages designed based on the display content in the target image frame.
[0034] In practical application, the display of the mask has a certain transparency, so that when the mask is displayed on the video playback interface corresponding to the target image frame, the image in the target image frame can also be faintly displayed, and the target image frame in the target video is determined according to the setting needs of the mask.
[0035] In order to more visually present the embodiments of the present disclosure, as shown in FIG. 2, an interface effect diagram of a target image frame of a target video provided by an embodiment of the present disclosure is provided. In practical application, when a target video is played up to the target image frame, a mask including an interaction control is displayed on a video playback interface corresponding to the target image frame. As shown in FIG. 3, an interface effect diagram of a mask including an interaction control provided by an embodiment of the present disclosure is provided. Specifically, in the display area of the mask, the interaction control "composite" in FIG. 3 overlaps with the display area of the target element "composite" in the target image frame in FIG. 2.
[0036] In an embodiment of the present disclosure, the display image in the interaction control is the same as the display image corresponding to the target element in the target image frame, for example, the image of the word “COMPOSITE” displayed against a yellow background on the interaction control “COMPOSITE” in FIG. 3 is the same as the display image of the target element “COMPOSITE” in the target image frame of FIG. 2.
[0037] In an embodiment of the present disclosure, the interaction controls displayed on the mask are set based on the original display elements in the target image frame, so that the content displayed to the user on the mask does not deviate from the content of the target video and does not exceed the user's sensory tolerance, thereby ensuring the user experience.
[0038] In a preferred embodiment, the mask may display not only the interaction control but also an operation prompt corresponding to the interaction control. As shown in Fig. 3, the mask displays not only the interaction control "Merge" but also an operation prompt "Click Merge to download and merge characters", which guides the user to trigger the interaction control and allows the user to anticipate the contents of the target page after triggering the interaction control.
[0039] S102: In response to a trigger operation on the interaction control, a target page is displayed, and content displayed on the target page is related to content displayed in the target image frame.
[0040] In an embodiment of the present disclosure, when a user triggers an interaction control on a mask displayed on a video playback interface corresponding to a target image frame, the video playback interface jumps to a target page to realize the display of the target page. The target page and the target image frame have a corresponding relationship, and the target page is generally set according to the display content of the target image frame, such as an advertisement page, a personal homepage, an official account homepage, etc.
[0041] The trigger operation for the interaction control includes a click operation for the interaction control, or an operation of dragging the interaction control to the target area. Specific implementation forms will be introduced in the following embodiments.
[0042] As shown in Fig. 3, when a user clicks on the interaction control "Mix", it jumps from the current video playback interface to a download page for "Mix ** Characters", displays the download page for "Mix ** Characters", and the user can download "Mix ** Characters" based on the display of the download page. Also, by guiding the user to click the "Mix" button during video playback to move to the download page for "Mix ** Characters", the download amount of "Mix ** Characters" is increased.
[0043] In the above possible implementation, the user can jump from the playback interface playing the target video to the target page by triggering the interaction control on the mask. Optionally, the user can further jump from the target page to the video playback interface playing the target video by triggering a back operation. Specifically, the following step S103 can be implemented.
[0044] Step S103: In response to a back operation triggered on the target page, jump from the target page to a video playback interface, and continue to play the target video on the video playback interface based on the target image frame.
[0045] In an embodiment of the present disclosure, during the display of the target page, the user triggers a back operation on the target page to continue playing the subsequent video frames of the target video. Specifically, when the back operation triggered on the target page is accepted, the target page jumps to a video playing interface, and the target video continues to play the subsequent video frames on the video playing interface. Specifically, the target video may continue to play from the target image frame, or the target video may continue to play from the next frame of the target image frame. That is, the image frame from which the target video starts to continue playing is determined based on the target image frame.
[0046] In another preferred embodiment, in order to present the user with the validity of a trigger operation on an interaction control, in an embodiment of the present disclosure, when a trigger operation on an interaction control is accepted, a sound or vibration is played to present to the user that the trigger operation has been enabled, thereby ensuring the user's interaction experience.
[0047] In another preferred embodiment, when a mask is displayed on a video playback interface corresponding to a target image frame, the display time of the mask on the video playback interface may be timed, and when it is determined that the display time of the mask on the video playback interface reaches a preset dwell time, the target video continues to be played.
[0048] When the display time of the mask on the video playback interface reaches a preset dwell time, it indicates that the user has not triggered the interaction control displayed on the mask within the display time of the mask, and therefore, in order to ensure the user's playback experience for the video, in an embodiment of the present disclosure, the display interface of the mask is switched from the video playback interface to the video playback interface to continue playing subsequent image frames of the target video.
[0049] In another preferred embodiment, when a mask is displayed on the video playback interface corresponding to the target image frame, the user actively triggers the target video to continue playing. Specifically, when the mask on the video playback interface accepts the play continue operation triggered by the mask, the target video continues playing according to the target image frame.
[0050] In a video interaction method provided by an embodiment of the present disclosure, when a target video is played up to a target image frame, the target video is paused, and a mask including a target interaction control is displayed on a video playback interface corresponding to the image frame. A display area of the interaction control on the mask is the same as a display area of a target element in the target image frame, and a display image on the interaction control and the target element have a corresponding relationship. When a trigger operation on the interaction control is received, a target page is displayed, and the content displayed on the target page is related to the content displayed on the target image frame. When a return operation triggered on the target page is received, a jump is made from the target page to a video playback interface, and the target video continues to be played on the video playback interface based on the target image frame. In an embodiment of the present disclosure, an interaction control having a corresponding relationship with a display area of the target element in the target image frame and a display image having a corresponding relationship with the target element is displayed on the video playback interface, and a display function of switching from the video playback interface to the target page is realized by a trigger operation on the interaction control.
[0051] In addition, in the embodiments of the present disclosure, since the display for the interaction control is related to the original display content in the target image frame, a mask including the interaction control is displayed in the video playback interface of the target video, and the display of the target webpage related to the target image frame is triggered based on the interaction control related to the original display content in the target image frame, so that the user can be immersively guided to view the target page from the playback video interface, and the user experience is guaranteed.
[0052] According to the above embodiment, the present disclosure further provides a video processing method, and after processing the target video, obtains a target video in the video interaction method provided by the above embodiment.
[0053] Referring to FIG. 4, it is a flowchart of a video processing method provided by an embodiment of the present disclosure, and the video processing method includes the following steps: Step S401: After receiving a selection operation for a target element in a target image frame in a video to be processed, generate an interaction control on a mask based on the target element in the target image frame.
[0054] The display area of the interaction control in the mask is the same as the position of the display area of the target element in the target image frame, the display image of the interaction control and the target element have a corresponding relationship, the interaction control triggers the display of a target page, and the content displayed on the target page is related to the content displayed in the target image frame.
[0055] In the embodiment of the present disclosure, the video to be processed may be any type of video or video clip having a certain playing time, such as a game video clip, a travel video clip, etc.
[0056] In the embodiment of the present disclosure, after determining the video to be processed, firstly determine the target image frame in the video to be processed. Generally, the target image frame is determined based on the setting needs of the mask, for example, assuming that the mask needs to be arranged to be displayed in the image of the 25th frame in the video to be processed, the image of the 25th frame in the video to be processed is determined as the target image frame.
[0057] In a preferred embodiment, a user can determine the image frame in the video to be processed as the target image frame based on the installation needs.
[0058] After determining the target image frame in the video to be processed, a target element in the target image frame is determined. Generally, the target element is determined based on the installation needs of the interaction control displayed in the mask. For example, assuming that the interaction control in the mask needs to be placed in a certain image style displayed in the target image frame, for example, the "composite" image style in FIG. 2, the "composite" image style can be determined as the target element in the target image frame.
[0059] In practical application, the target image frame includes at least one display element, and after determining the target image frame, at least one display element in the target image frame is selected as a target element to generate an interaction control. Specifically, after receiving a selection operation of the target element in the target image frame, an interaction control is generated based on the target element.
[0060] In an embodiment of the present disclosure, after determining a target element in a target image frame of a video to be processed, an interaction control is generated on a mask, the interaction control having a corresponding relationship with a display area of the target element in the target image frame, so that when the mask is displayed on a video playback interface corresponding to the target image frame, the interaction control displayed on the mask overlaps or is adjacent to the display area of the target element in the target image frame. Specifically, an interaction control is generated on the mask, the same as the position of the display area of the target element in the target image frame.
[0061] In practical application, before generating an interaction control on a mask, firstly determine display position information corresponding to a target element in a target image frame of a video to be processed, and the display position information corresponding to the target element is used to determine the display position of the target element in the target image frame. Specifically, the display position information may include information such as coordinates of each pixel point on the boundary of the target element, or may include information such as center point coordinates and display shape of the target element.
[0062] After determining the display position information corresponding to the target element, generate an interaction control corresponding to the target element on the mask according to the display position information, specifically, the display position of the interaction control on the mask is the same as the display position of the target element in the target image frame, that is, when the mask is displayed on the video playback interface corresponding to the target image frame, the interaction control displayed on the mask overlaps the display area of the target element corresponding to the interaction control.
[0063] In addition, the interaction control generated on the mask triggers the display of a target page. Specifically, a click operation or a move operation on the interaction control is used to trigger the display of the target page. For example, in response to a click operation triggered by a user on the interaction control, the target page can be displayed. Or, in response to a drag operation triggered by a user on the interaction control, the target user can be displayed by, for example, moving the interaction control to a target area. Specifically, the trigger operation on the interaction control can be any type of interaction operation, and is not limited in the embodiments of the present disclosure.
[0064] The target page may also be a page determined based on the content in the target image frame, such as an advertisement page, an official account homepage, etc.
[0065] In a preferred embodiment, when a click operation on an interaction control is set to trigger the display of a target page, it is necessary to further set a click range of the click operation on the interaction control. Specifically, the display area corresponding to the interaction control is determined as the click range of the click operation on the interaction control. When a click operation triggered by a user is detected within the click range, the display of the target page corresponding to the interaction control is triggered.
[0066] In addition, in order to enrich the display content on the mask, other display elements in the target image frame may be displayed on the mask, and specifically, for the same display element, the display area on the mask has the same position as the display area in the target image frame.
[0067] In another preferred embodiment, when the drag operation of the interaction control to the target area is set to trigger the display of the target page, the display position information of the target area may be set. Specifically, a display element having a corresponding relationship with the target element in the target image frame can be determined, and then the display position information of the display element in the target image frame can be determined. As shown in FIG. 5, which is an interface effect diagram of a mask provided by an embodiment of the present disclosure, a card 1 is a target element in the target image frame, and a display element having a corresponding relationship with the card 1 is a card frame. After determining the display position information of the card frame in the target image frame, a target area corresponding to the card 1, i.e., the display area where the card frame is located, is determined on the mask according to the display position information of the card frame. When the interaction control detects the drag operation to the target area in the target area, the display of the target page is triggered.
[0068] In addition, the mask may further be provided with a drag operation presentation for the interaction control, specifically, it may include a drag gesture animation presentation, a drag text presentation, etc. As shown in FIG. 5, the mask is provided with a drag gesture animation presentation for the interaction control "Card 1" to guide the user to drag Card 1 to the target area. Specifically, the number of times of the drag gesture animation, etc., may be arranged to be displayed on the display interface of the mask. The mask is further provided with a text presentation of "Drag the card to unlock the game" to guide the user to trigger the interaction control, so that the user can anticipate the contents of the target page after triggering the interaction control, and ensure the user's interaction experience.
[0069] In a preferred embodiment, in order to avoid the mask staying on the display interface for a long time, which reduces the user's usage experience, a dwell time is set to control the display time of the mask. Specifically, a preset dwell time corresponding to the mask is determined according to the setting needs of the mask, and when the display time of the mask reaches the preset dwell time, a switch from the display interface of the mask to the playback interface of the image of the next frame can be triggered to continue playing the subsequent video for the user.
[0070] In addition, in order to indicate the validity of a user's trigger operation on an interaction control, an embodiment of the present disclosure may arrange for a corresponding audio or vibration prompt to be played after triggering the interaction control on the mask, thereby indicating to the user that the trigger operation has been enabled, thereby ensuring the user's interaction experience.
[0071] In addition, in an embodiment of the present disclosure, for an interaction control with a mask, a corresponding visual effect may be placed after triggering, such as a mask dissipation effect, to indicate the validity of the user's trigger operation on the interaction control, thereby improving the user's interaction experience.
[0072] S402: The mask is inserted at a position between the target image frame and a first image frame in the video to be processed to obtain a target video corresponding to the video to be processed, and the first image frame is an image of the next adjacent frame of the target image frame in the video to be processed.
[0073] In an embodiment of the present disclosure, an interaction control is generated on a mask, an interaction operation is set for the interaction control, and then the mask is inserted at a position between a target image frame and a first image frame in a video to be processed to obtain a target video corresponding to the video to be processed.
[0074] The first image frame is an image of the next adjacent frame of the target image frame in the video to be processed. For example, if the target image frame is an image of the fifth frame in the video to be processed, the first image frame is an image of the sixth frame in the video to be processed, and the mask is inserted between the images of the fifth and sixth frames in the video to be processed.
[0075] It may also be configured to detect a back operation triggered by a user after entering the target page, and in response to the user triggering the back operation, it can return to the playback interface of the above-mentioned fifth frame image or sixth frame image, and continue to play the target video.
[0076] In the video processing method provided by the embodiment of the present disclosure, after a user selects a target element in a target image frame in a video to be processed, an interaction control for jumping to a target page is automatically generated on a mask for the user, and after the mask is inserted into the video to be processed, a target video is automatically generated for the user. In this way, the video processing method provided by the embodiment of the present disclosure reduces the operational difficulty of the user in performing video processing and improves the operational experience of the user in performing video processing.
[0077] Based on the same inventive concept as the above method embodiment, the present disclosure further provides a video interaction device. Referring to FIG. 6, a schematic configuration diagram of a video interaction device provided by an embodiment of the present disclosure is shown, the device comprising: a mask display module 601 for displaying a mask including an interaction control on a video playback interface corresponding to a target image frame in response to a target video being played up to the target image frame, the mask display module 601 being configured such that a position of a display area of the interaction control on the mask is the same as a position of a display area of a target element on the target image frame, and a display image on the interaction control and the target element have a corresponding relationship; and a page display module 602 for displaying a target page in response to a trigger operation on the interaction control, where the content displayed on the target page is related to the content displayed in the target image frame.
[0078] In a preferred embodiment, the apparatus comprises: The device further includes a jump module for, in response to a back operation triggered on the target page, jumping from the target page to a video playback interface, and continuing to play the target video on the video playback interface based on the target image frame.
[0079] In a preferred embodiment, the apparatus comprises: The video playback interface further includes a first playback module for continuing to play the target video based on the target image frames in response to a display time of the mask on the video playback interface reaching a preset dwell time, or for continuing to play the target video based on the target image frames when a continue playback operation triggered by the mask on the video playback interface is received.
[0080] In a preferred embodiment, the apparatus comprises: The present invention further includes a display module for displaying an operation presentation corresponding to the interaction control on the mask, the operation presentation being used to guide a user to perform a trigger operation on the interaction control.
[0081] In a preferred embodiment, the apparatus comprises: The device further includes a presentation module for playing an audio presentation or a vibration presentation in response to a trigger operation on the interaction control.
[0082] In a preferred embodiment, the trigger operation on the interaction control includes a click operation on the interaction control, or an operation of dragging the interaction control to a target area.
[0083] In a video interaction device provided by an embodiment of the present disclosure, when a target video is played up to a target image frame, the playback of the target video is paused, and a mask including a target interaction control is displayed on a video playback interface corresponding to the image frame. The position of a display area of the interaction control on the mask is the same as the position of a display area of a target element in the target image frame, and the display image of the interaction control and the target element have a corresponding relationship. When a trigger operation on the interaction control is received, a target page is displayed, and the content displayed on the target page is related to the content displayed on the target image frame. In an embodiment of the present disclosure, an interaction control having a corresponding relationship with the display area of the target element in the target image frame and a display image having a corresponding relationship with the target element is displayed on the video playback interface, and a display function of switching from the video playback interface to the target page is realized by a trigger operation on the interaction control. When a return operation triggered on the target page is received, a jump is made from the target page to the video playback interface, and the target video continues to be played on the video playback interface based on the target image frame.
[0084] In addition, in the embodiments of the present disclosure, the display of the interaction control is realized based on the display area of the target element in the target image frame, that is, the display of the interaction control is related to the original display content in the target image frame, so that a mask including the interaction control is displayed in the video playback interface of the target video, and the display of the target webpage related to the target image frame is triggered based on the interaction control related to the original display content in the target image frame, thereby immersively guiding the user to view the target page from the playback video interface, and the user experience is guaranteed.
[0085] In addition, based on the same inventive concept as the above method embodiment, the embodiment of the present disclosure further provides a video processing device. Refer to FIG. 7, which is a schematic diagram of the configuration of the video processing device provided by the embodiment of the present disclosure, and the device includes: a generation module 701 for receiving a selection operation for a target element in a target image frame in a video to be processed, and then generating an interaction control on a mask based on the target element in the target image frame, where a position of a display area of the interaction control on the mask is the same as a position of a display area of the target element in the target image frame, a display image of the interaction control and the target element have a corresponding relationship, the interaction control is for triggering the display of a target page, and the content displayed on the target page is related to the content displayed in the target image frame; and an insertion module 702 for inserting the mask at a position between the target image frame and a first image frame in the target video to obtain a processed target video, the first image frame being an image of a next adjacent frame of the target image frame in the target video.
[0086] In a preferred embodiment, the generation module comprises: a first determining sub-module for determining display position information corresponding to the target element in the target image frame; and a generating submodule for generating an interaction control corresponding to the target element on a mask based on the display position information.
[0087] In a preferred embodiment, the generation module comprises: a second determination sub-module for determining display position information of a display element having a corresponding relationship with the target element in the target image frame; The method further includes a third determination submodule for determining a target area on the mask corresponding to the interaction control based on display position information of the display element, wherein an operation of dragging the interaction control to the target area is used to trigger the display of a target page.
[0088] In a preferred embodiment, the apparatus comprises: The method further includes a determination module for determining a preset dwell time corresponding to the mask, the preset dwell time being used to control a display time of the mask.
[0089] In the video processing device provided by the embodiment of the present disclosure, after a user selects a target element in a target image frame in a video to be processed, an interaction control for jumping to a target page can be automatically generated on a mask for the user, and after inserting the mask into the video to be processed, a target video can be automatically generated for the user. In this way, the video processing method provided by the embodiment of the present disclosure reduces the operational difficulty of the user in performing video processing and improves the operational experience of the user in performing video processing.
[0090] In addition to the above methods and devices, the embodiments of the present disclosure further provide a computer-readable storage medium, which stores instructions, which, when executed on a terminal device, cause the terminal device to realize the video interaction method or video processing method described in the embodiments of the present disclosure.
[0091] Moreover, the embodiments of the present disclosure provide a video interaction device, which may include a processor 801, a memory 802, an input device 803, and an output device 804, as shown in Fig. 8. The number of processors 801 in the video interaction device may be one or more, and Fig. 8 takes one processor as an example. In some embodiments of the present disclosure, the processor 801, the memory 802, the input device 803, and the output device 804 are connected by a bus or other manner, and Fig. 8 takes the connection by a bus as an example.
[0092] The memory 802 can store software programs and modules, and the processor 801 executes various functional applications and data processing of the video interaction device by executing the software programs and modules stored in the memory 802. The memory 802 mainly includes a program storage area and a data storage area, and the program storage area stores an operating system, an application program required for at least one function, etc. The memory 802 may also include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk memory, a flash memory device, or other volatile solid-state memory. The input device 803 can be used to receive input numeric or character information and generate signal inputs related to user configuration and function control of the video interaction device.
[0093] Specifically, in this embodiment, the processor 801 loads executable files corresponding to the processes of one or more application programs into the memory 802 in accordance with the following instructions, and executes the application programs stored in the memory 802 by the processor 801, thereby realizing various functions of the above-mentioned video interaction device.
[0094] Moreover, the embodiments of the present disclosure further provide a video processing device, which may include a processor 901, a memory 902, an input device 903, and an output device 904, as shown in Fig. 9. The number of processors 901 in the video processing device may be one or more, and one processor is exemplified in Fig. 9. In some embodiments of the present disclosure, the processor 901, the memory 902, the input device 903, and the output device 904 are connected by a bus or in another manner, and the connection by a bus is exemplified in Fig. 9.
[0095] The memory 902 can store software programs and modules, and the processor 901 executes various functional applications and data processing of the video processing device by executing the software programs and modules stored in the memory 902. The memory 902 mainly includes a program storage area and a data storage area, and the program storage area stores an operating system, an application program required for at least one function, and the like. The memory 902 may also include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state memory. The input device 903 can be used to receive input digital or character information and generate signal inputs related to user settings and function control of the video processing device.
[0096] Specifically, in this embodiment, the processor 901 loads executable files corresponding to the processes of one or more application programs into the memory 902 in accordance with the following instructions, and executes the application programs stored in the memory 902 by the processor 901, thereby realizing various functions of the above-mentioned video processing device.
[0097] In this specification, relational terms such as "first" and "second" are used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or sequence between these entities or operations. Furthermore, the terms "comprise" and "comprises" or any other variations thereof are intended to include non-exclusive inclusions, whereby a process, method, article, or device that includes a set of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article, or device. Unless further limited, an element defined by the phrase "comprises" does not exclude that the process, method, article, or device that includes the element also includes other identical elements.
[0098] The above are only specific embodiments of the present disclosure, which can be used by those skilled in the art to understand or realize the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not limited to these embodiments described herein, but is accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. 1. A method of video interaction comprising: In response to the target video being played up to a target image frame, displaying a mask including an interaction control on a playback interface corresponding to the target image frame and pausing playback of the target video, wherein a position of a display area of the interaction control on the mask is the same as a position of a display area of a target element on the target image frame, a display image of the interaction control and the target element have a corresponding relationship, and the display image of the interaction control is the same as or similar to a display image of the target element; displaying a target page in response to a trigger operation on the interaction control, the content displayed on the target page being related to the content displayed in the target image frame; in response to a back operation triggered on the target page, jumping from the target page to a video playback interface, and continuing to play the target video on the video playback interface based on the target image frame. A method comprising:
2. before the step of displaying the target page in response to the trigger operation on the interaction control, continuing to play the target video based on the target image frame in response to a display time of the mask on a video playback interface reaching a preset dwell time; Alternatively, the method of claim 1 further comprises a step of continuing to play the target video based on the target image frame when a continue playback operation triggered by the mask on the video playback interface is received.
3. before the step of displaying the target page in response to the trigger operation on the interaction control, 2. The method of claim 1, further comprising: displaying an operation presentation corresponding to the interaction control on the mask, the operation presentation being used to guide a user to perform a trigger operation on the interaction control.
4. The method of claim 1 , further comprising the step of playing an audio or vibration presentation in response to a trigger operation on the interaction control.
5. The trigger operation for the interaction control is The method according to any one of claims 1 to 4, further comprising a click operation on the interaction control or a drag operation of the interaction control to a target area.
6. 1. A video processing method comprising the steps of: a step of receiving a selection operation for a target element in a target image frame in a video to be processed, and then generating an interaction control on a mask based on the target element in the target image frame, wherein a position of a display area of the interaction control on the mask is the same as a position of a display area of the target element in the target image frame, a display image of the interaction control and the target element have a corresponding relationship, the interaction control is for triggering the display of a target page, the content displayed on the target page is related to the content displayed in the target image frame, and the display image of the interaction control is the same as or similar to the display image of the target element; inserting the mask at a position between the target image frame and a first image frame in the video to be processed to obtain a target video corresponding to the video to be processed, the first image frame being an image of a next adjacent frame of the target image frame in the video to be processed; When the target video is played up to the target image frame, display the mask, pause the playing of the target video, and when a back operation is triggered on the target page, jump from the target page to a video playing interface, and continue playing the target video on the video playing interface based on the target image frame. A method comprising:
7. generating an interaction control on a mask based on the target element in the target image frame, determining display position information corresponding to the target element in the target image frame; and generating an interaction control on the mask based on the display position information.
8. After the step of generating an interaction control on a mask based on the display position information, determining display position information of a display element having a corresponding relationship with the target element in the target image frame; 8. The method of claim 7, further comprising: determining a target area on the mask corresponding to the interaction control based on display position information of the display element, wherein an operation of dragging the interaction control into the target area is used to trigger a reveal of a target page.
9. 7. The method of claim 6, further comprising determining a preset dwell time corresponding to the mask, the preset dwell time being used to control a display time of the mask.
10. 1. A video interaction device, comprising: a mask display module for displaying a mask including an interaction control on a video playback interface corresponding to a target image frame in response to a target video being played up to a target image frame and pausing the playback of the target video, wherein a position of a display area of the interaction control on the mask is the same as a position of a display area of a target element on the target image frame, a display image of the interaction control and the target element have a corresponding relationship, and the display image of the interaction control is the same as or similar to a display image of the target element; a page display module for displaying a target page in response to a trigger operation on the interaction control, the content displayed on the target page being related to the content displayed in the target image frame; and a jump module that, in response to a back operation triggered on the target page, jumps from the target page to a video playback interface and continues playing the target video on the video playback interface based on the target image frame.
11. 1. A video processing device comprising: a generation module for receiving a selection operation for a target element in a target image frame in a video to be processed, and then generating an interaction control on a mask based on the target element in the target image frame, wherein a position of a display area of the interaction control on the mask is the same as a position of a display area of the target element in the target image frame, a display image of the interaction control is determined based on the target element, the interaction control is for triggering the display of a target page, a content displayed on the target page is related to a content displayed in the target image frame, and a display image of the interaction control is the same as or similar to a display image of the target element; an insertion module for inserting the mask at a position between the target image frame and a first image frame in a target video to obtain a processed target video, the first image frame being an image of a next adjacent frame of the target image frame in the target video; The apparatus further comprises: when the target video is played up to a target image frame, displaying the mask; pausing playback of the target video; when a back operation is triggered on the target page, jumping from the target page to a video playback interface; and continuing to play the target video based on the target image frame on the video playback interface.
12. A computer-readable storage medium having stored thereon instructions which, when executed on a terminal device, cause the terminal device to implement a method according to any one of claims 1 to 9.
13. An apparatus comprising a memory, a processor, and a computer program stored in the memory and executable by the processor, the processor implementing the method according to any one of claims 1 to 9 when executing the computer program.
Citation Information
Patent Citations
Video interaction method and device, and readable medium
CN108769814A
Broadcast method, and program for executing the broadcast method by broadcast station device
JP2002238036A
Information processor, information accumulator, information providing device, computer executable program, and recording medium
JP2005210371A
Program guide system with targeted advertising
JP2006101548A
Display device, tabulation system, and information providing system or the like
JP2007096866A