Video interaction method and device, equipment and storage medium
By overlaying interactive interface elements and special effects in the video display area, the problem of insufficient user interactivity during video playback in the existing technology is solved, and rich video application functions and improved user experience are realized.
Patent Information
- Application Number
- CN202410658430.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-24
- Publication Date
- 2024-09-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing technology is difficult to effectively introduce user interaction during video playback, which limits video interaction effects and flexibility. In addition, the video editing and production stages require the design of a user interface to support interactive components, which affects the richness and user experience of video playback.
While rendering the target video in the video display area, the interactive configuration based on the target video is overlaid to present interactive interface elements, and interactive special effects are displayed in the video display area in response to user operations. This is achieved through off-screen rendering technology without the user being aware of it. Make videos interactive.
It enriches the functions of video applications, improves user experience, controls the interactivity of videos through interactive configuration, and enhances the flexibility and interactivity of video playback.
Smart Images

Figure CN118590701A
Abstract
Description
Technical Field
[0001] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly, to methods, devices, apparatuses, and computer-readable storage media for video interaction. Background Art
[0002] With the rapid development of computer technology, interactive functions have been widely used in many fields. Interaction means that through a platform with interactive functions, users can obtain relevant news, information or services on the platform, and can also communicate and interact with each other or between users and the platform. At present, as a carrier that can carry rich information, the form of video interaction is also expected to be richer, more diverse and more efficient. Summary of the invention
[0003] In a first aspect of the present disclosure, a method for video interaction is provided. The method includes: rendering a target video in a visible video display area of a terminal device; based on an interaction configuration associated with the target video, overlaying and presenting an interactive interface element on a video frame of the target video presented in the video display area; and in response to detecting a triggering operation on the interactive interface element, overlaying and presenting an interactive special effect corresponding to the interactive interface element in the video display area.
[0004] In a second aspect of the present disclosure, a device for video interaction is provided. The device includes: a rendering module configured to render the target video in a visible video display area of a terminal device; a first presentation module configured to overlay and present an interactive interface element on the video frame of the target video presented in the video display area based on an interaction configuration associated with the target video; and a second presentation module configured to overlay and present an interactive special effect corresponding to the interactive interface element in the video display area in response to detecting a triggering operation on the interactive interface element.
[0005] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit. When the instructions are executed by the at least one processing unit, the device executes the method of the first aspect.
[0006] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the method of the first aspect.
[0007] In a fifth aspect of the present disclosure, a computer program product is provided. The computer program product is tangibly stored in a computer storage medium and comprises computer executable instructions, which, when executed by a device, cause the device to perform the method of the first aspect.
[0008] It should be understood that the contents described in this content section are not intended to limit the key features or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:
[0010] Figure 1 A schematic diagram showing an example environment in which embodiments of the present disclosure can be implemented;
[0011] Figure 2 A flowchart of a process for video interaction according to some embodiments of the present disclosure is shown;
[0012] FIG. 3A to FIG. 3D A schematic diagram showing an example interface for video interaction according to some embodiments of the present disclosure is shown;
[0013] Figure 4 A flowchart of a process for video interaction according to some embodiments of the present disclosure is shown;
[0014] Figure 5 A schematic structural block diagram showing an apparatus for video interaction according to some embodiments of the present disclosure; and
[0015] Figure 6 A block diagram of an electronic device capable of implementing one or more embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0016] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0017] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below.
[0018] Herein, unless explicitly stated, executing a step “in response to A” does not mean executing the step immediately after “A” but may include one or more intermediate steps.
[0019] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.
[0020] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0021] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information, so that the user can independently choose whether to provide personal information to software or hardware such as electronic devices, applications, servers or storage media that execute operations of the technical solution of the present disclosure based on the prompt message.
[0022] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information is sent to the user in a manner such as a pop-up window, in which the prompt information can be presented in text form. In addition, the pop-up window can also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0023] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0024] In video playback, the content presented in the video screen usually needs to be designed during the video editing and production stage. In order to support the introduction of user interaction while the video is playing, the server responsible for video delivery may also need to design a user interface to send interactive components above or near the video playback area. However, this will limit the video interaction effects and flexibility.
[0025] In view of this, an embodiment of the present disclosure provides an improved solution for video interaction. In this solution, while rendering the target video in the visible video display area, based on the interaction configuration corresponding to the target video, the interactive interface elements are superimposed and presented on the video display area. In response to detecting a triggering operation on the interactive interface element, the interactive special effects corresponding to the interactive interface element are superimposed and presented in the video display area. In this way, the interactivity in the video can be controlled by the interaction configuration while rendering the video. This can enrich the functions of related applications and improve the user experience.
[0026] Figure 1 A schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented is shown. In the example environment 100, an application 120 is installed in a terminal device 110. A user 140 can interact with the application 120 via the terminal device 110 and / or an attached device of the terminal device 110.
[0027] In some embodiments, application 120 may be a content sharing application (e.g., a video application mainly based on video sharing), which may provide various services related to media content items to user 140, including browsing, commenting, forwarding, creation (e.g., shooting and / or editing), publishing, etc. of content. In some embodiments, application 120 may also be any other appropriate application, in which media content items may be displayed. In this article, each "media content item" includes one or more types of content, such as video, image, animated image, image set, audio, text, etc.
[0028] exist Figure 1 In the environment 100, if the application 120 is in an active state, the terminal device 110 can present a page 150 of the application 120. The page 150 may include various types of pages that the application 120 can provide, such as a content presentation page, a content creation page, a content publishing page, a message page, a personal homepage, and the like. The application 120 may provide a content viewing function to view various types of content published in the application 120. Via the corresponding page, the application 120 may provide media content and any other appropriate content to the user 140. Through appropriate means, such as clicking or selecting a page element, the application 120 may also provide the user 140 with the selection and switching of the presentation method of the associated content. In this article, "media content" includes one or more types of content, such as images, image sets, videos, animated images, audio, text, and the like.
[0029] In some embodiments, the terminal device 110 communicates with the server 130 to provide the service of the application 120. The terminal device 110 can be any type of mobile terminal, fixed terminal or portable terminal, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, personal communication systems (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio / video players, digital cameras / camcorders, positioning devices, television receivers, radio broadcast receivers, e-book devices, gaming devices, or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. In some embodiments, the terminal device 110 can also support any type of interface for the user (such as "wearable" circuits, etc.). The server 130 can be various types of computing systems / servers that can provide computing power, including but not limited to mainframes, edge computing nodes, computing devices in cloud environments, and the like.
[0030] It should be understood that the structure and function of the various elements in the environment 100 are described for exemplary purposes only and do not imply any limitation on the scope of the present disclosure.
[0031] Various example implementations of the present disclosure will be described in detail below.
[0032] The following is for easy understanding. Figure 2 An example process 200 for video interaction is described. Figure 2 FIG. 2 is a flowchart of a process 200 for video interaction according to some embodiments of the present disclosure. The process 200 may be implemented at the terminal device 110. Figure 1 The process 200 is described with reference to the environment 100 of FIG.
[0033] In block 230 , the terminal device 110 renders the video frames of the target video to the visible video display area in real time.
[0034] In some embodiments, the target video may be obtained remotely. Figure 2 As shown, in box 210, terminal device 110 downloads the remote target video based on the access address of the target video. In some embodiments, terminal device 110 can obtain the access address of target video 220 from server 130 and download it subsequently. In some embodiments, the target video may have been stored in terminal device 110 locally. In such a case, terminal device 110 does not need to perform a download operation.
[0035] In some embodiments, in order to facilitate the presentation of the superimposed interactive interface elements, the target video may be first rendered by off-screen rendering, and then the off-screen rendered video frames may be synchronized in real time to the visible video display area.
[0036] Specifically, in box 220 before box 230, the terminal device 110 renders the target video off-screen. In operation, if a trigger operation for playing the target video 320 is detected, the terminal device 110 renders the target video 320 off-screen in the non-visible area. In some embodiments, the terminal device 110 plays the target video 220 off-screen in the non-visible area.
[0037] Offscreen rendering is a kind of off-screen rendering method, which is to open up another buffer outside the current display screen for graphics rendering. In this way, the rendering result will not be directly presented on the current screen. In the normal video playback process, the video frames are generally rendered to the current screen in sequence through the current screen rendering method. At this time, the rendering operation of the graphics processor (Graphics Processing Unit, GPU) is performed in the screen buffer currently used for display. In the off-screen rendering process, the GPU will open up a buffer outside the current screen buffer for rendering operations and will not render to the current screen. By rendering the obtained video frames to the off-screen rendering environment, direct rendering and playback on the current screen is avoided, and off-screen video playback can be achieved without the user's perception.
[0038] The terminal device 110 can obtain the video frames of the target video rendered offline in the non-visible area frame by frame, and render the video frames of the target video frame by frame in the visible video display area. While rendering off-screen, the terminal device 110 re-renders the target video 220 rendered offline in the non-visible area in real time to the visible video display area so that the user can watch the video screen. In some embodiments, the terminal device 110 obtains the video frames of the target video rendered offline in the non-visible area frame by frame, and renders the video frames of the target video frame by frame in the visible video display area.
[0039] The terminal device 110 can render the video frames of the target video rendered off-screen in the non-visible area in real time to the visible video display area, so that the user can see the video effect in real time in the video display area of the terminal device 110.
[0040] To help understand, also refer to FIG. 3A to FIG. 3D The example interface / example page shown is used to describe an example embodiment of video interaction. FIG. 3A to FIG. 3D Schematic diagrams of example interfaces 301 to 304 for video interaction according to some embodiments of the present disclosure are shown. It should be understood that FIG. 3A to FIG. 3DThe user interfaces shown in the other figures below are merely examples, and various designs may exist in practice. For example, the various graphical elements and / or controls in the user interface may have different arrangements and different visual representations, one or more of the elements and / or controls may be omitted or replaced, and one or more other elements and / or controls may also exist. In addition, any appropriate content may be included in the user interface. The scope of the present disclosure is not limited in this respect.
[0041] In an example embodiment of the present disclosure, example interfaces 301 to 304 of the video display area may be presented at the terminal device 110, for example, via the application 120 of the terminal device 110. For ease of discussion, reference will be made to Figure 1 The environment 100 and example interfaces 301 to 304 are provided according to some implementations of the present disclosure. Although these embodiments are described, they can be implemented in Figure 1 The operations are performed at the terminal device 110, particularly at the application client of the terminal device 110. However, in other embodiments, the terminal device 110 may perform these operations with the assistance of the server device 130.
[0042] like Figure 3A In the example interface 301 shown, the terminal device 110 presents the target video 220 downloaded from the server 130 in the canvas 310 of the video display area provided by the application 120 .
[0043] In some embodiments, the canvas 310 of the video display area can be a Canvas canvas or any other type of user interface for displaying video frames. The canvas 310 of the video display area can also include a play progress display area 325. The play progress display area 325 can include multiple elements related to play. For example, the play progress display area 325 shown in the example interface 301 includes a play status icon, a current play duration, a play progress bar, a total video duration, and a volume icon.
[0044] In some embodiments, the current playback duration in the playback progress display area 325 can indicate the time corresponding to the current operation when an operation is performed on the target video 320 .
[0045] In some embodiments, when the terminal device 110 renders the target video 320 in the non-visible area, the user cannot see the target video 320. When the terminal device 110 re-renders the target video 320 in the visible video display area, the user can see the target video 320 and the corresponding rendering effect.
[0046] In box 240, the terminal device 110 overlays and presents one or more interactive interface elements on the video frame presented in the video display area based on the interaction configuration corresponding to the target video.
[0047] The interaction configuration can be set independently of the target video. The interaction configuration at least indicates one or more interactive interface elements to be presented during the playback of the target video. The interaction configuration can indicate whether one or more interactive interface elements are to be displayed in the target video 320, the specific visual style of each interactive interface element, the interactive special effects corresponding to each interactive interface element, and the triggering operation of each interactive interface element (for example, single-click trigger, double-click trigger, or drag trigger, etc.). In some embodiments, in addition to the presentation time and presentation position of the interactive interface element, the interaction configuration can also indicate the presentation duration of the interactive interface element, when it will disappear, etc.
[0048] In some embodiments, the terminal device 110 determines the presentation time and presentation position of the interactive interface element based on the interactive configuration corresponding to the target video. The terminal device 110 overlays and presents the interactive interface element on the video display area based on the presentation time and presentation position.
[0049] In some embodiments, the interaction configuration can be associated with the specified video content of the target video. At this time, the specified video content of the target video can be automatically detected. When the specified video content is presented in the video display area, the interactive interface elements will be superimposed and presented on the video frame corresponding to the specified video content presented in the video display area. In some embodiments, the specified video content can be configured as an interaction configuration or can be indicated by other means. If the interaction configuration does not explicitly indicate that the specified content of the interactive interface elements is to be presented, the interactive interface elements can be presented by automatically detecting and analyzing the video content of the target video. For example, for a certain type of video content in the video being played, it can be uniformly configured to present interactive interface elements. When it is detected that the currently playing target video contains this type of video content, the interaction configuration corresponding to the target video will be triggered for use, thereby superimposing and presenting the interactive interface elements on the video frame.
[0050] In box 250, the terminal device 110 presents the corresponding interactive special effect after detecting the triggering of the interactive interface element.
[0051] In some embodiments, the terminal device 110 can set the time for presenting the interactive interface, so that the interactive interface can be presented in the video frame corresponding to the set time, and the corresponding interactive special effects are presented after the user triggers the interactive interface.
[0052] In some examples, the interactive interface may be a user interface (UI). The triggering operation for triggering the interactive interface may be a click operation, such as a single-click operation, a double-click operation, etc. The interactive special effect may be a dynamic special effect, such as an animation effect, such as a firework animation. The interactive special effect may also be a static special effect or a static picture, or may be a pop-up window, an information entry window, etc.
[0053] In some embodiments, after the presentation duration of the interactive interface element reaches a predetermined duration and no triggering operation on the interactive interface element is detected, the presentation of the interactive interface element in the video display area is canceled.
[0054] like Figure 3B and Figure 3C In the example interfaces 302 and 303 shown, the terminal device 110 presents an interactive interface for video interaction on the target video, and the interactive interface may include a countdown display area 330 and a content display area 340 .
[0055] In some embodiments, the countdown display area 330 of the interactive interface may include corresponding shape elements and time elements. The countdown display area 330 is used to display the remaining display time of the interactive interface. For example, the time element of the countdown display area 330 is 4, which can indicate that the remaining display time of the interactive interface is 4s. The remaining display time can indicate that the presentation duration of the interactive configuration indication is 4s, and can also indicate that the interactive configuration indication interactive interface element is canceled and disappears after 4s.
[0056] In some examples, assuming that the set display time is 4s, during the process of the remaining display time counting down from 4s to 0s, the terminal device 110 does not detect the triggering operation of the interactive interface element, and the interactive interface can cancel the display of the interactive interface element after the remaining display time reaches 0s. An example interface for canceling the display of the interactive interface element is shown in example interface 301. Note that the time length given here is only an example and can be configured according to actual conditions.
[0057] After presenting the interactive interface element, the terminal device 110 will detect the triggering of the interactive interface element. In response to detecting the triggering operation of the interactive interface element, the terminal device 110 can overlay and present the interactive special effects corresponding to the interactive interface element in the video display area. In this way, various interactive special effects can be displayed on the target video while the target video is playing.
[0058] In some embodiments, an exemplary interface for triggering an interactive interface element is as follows: Figure 3CThe example interface 303 shown, the trigger operation shown in the example interface 303 can be a click operation 350 on the interactive interface element. The trigger operation on the interactive interface element can also be other trigger operations, such as a double-click operation, a long press operation, etc. The trigger operation for each interactive interface element can be set in the interactive configuration of the target video, or can be a default trigger operation (for example, the default is a click operation). The embodiments of the present disclosure are not limited to this.
[0059] like Figure 3D The example interface 304 shown is for ease of description. Figure 3C The trigger operation description example interface 304 is shown. In response to detecting a click operation 350 on an interactive interface element, the terminal device 110 overlays and presents an interactive special effect 360 corresponding to the interactive interface element in the courseware display area. The interactive special effect 360 can be the heart icon shown in the example interface 304, that is, a static icon effect. It can also be an animation effect, such as a fireworks animation, a two-hand heart animation, etc. It can also be a particle effect, such as a particle smoke effect, a particle starry sky effect, etc. It is possible to interact with the user through the interactive special effects corresponding to the interactive interface element.
[0060] In some embodiments, each video frame of the target video 320 is presented in the first display layer of the visible video display area, and the interactive interface elements and the interactive special effects corresponding to the interactive interface elements are presented in the second display layer of the video display area, and the second display layer is higher than the first display layer. That is, the interactive interface elements and the interactive special effects corresponding to the interactive interface elements are presented in the upper layer of the target video 320.
[0061] Through the embodiments of the present disclosure, the target video is rendered and the interactive interface elements are edited in the non-visible area, and the target video rendering effect and the interactive interface elements are displayed to the user in the video display area. The corresponding interactive special effects can be displayed by detecting the user's triggering operation on the interactive interface elements in the video display area to achieve interaction with the user. In this way, the interactive video interaction in the video can be controlled by additional interactive configuration while rendering the video. This can enrich the functions of related applications and improve the user experience.
[0062] Figure 4 FIG. 4 is a flowchart of a process 400 for video interaction according to some embodiments of the present disclosure. The process 400 may be implemented at the terminal device 110. Figure 1 Process 400 is described.
[0063] In block 410 , the terminal device 110 renders a target video in a visible video presentation area of the terminal device.
[0064] In box 420, the terminal device 110 overlays and presents the interactive interface element on the video frame of the target video presented in the video presentation area based on the interaction configuration associated with the target video.
[0065] In box 430, in response to detecting a triggering operation on the interactive interface element, the terminal device 110 overlays and presents an interactive special effect corresponding to the interactive interface element in the video display area.
[0066] In box 440, in response to detecting a triggering operation on the interactive interface element, the terminal device 110 overlays and presents an interactive special effect corresponding to the interactive interface element in the video display area.
[0067] In some embodiments, rendering the target video in the visible video display area of the terminal device includes: rendering the target video off-screen in a non-visible area of the terminal device; and re-rendering the target video rendered offline in the non-visible area into the visible video display area.
[0068] In some embodiments, the interaction configuration is associated with the specified video content of the target video. In some embodiments, superimposing and presenting the interactive interface element on the video screen of the target video presented in the video display area includes: in response to detecting that the specified video content is presented in the video display area, superimposing and presenting the interactive interface element on the video frame corresponding to the specified video content presented in the video display area.
[0069] In some embodiments, process 400 further includes: before rendering the target video off-screen, downloading the target video to the terminal device based on the access address of the target video.
[0070] In some embodiments, re-rendering the target video rendered offline in the non-visible area into the video display area includes: acquiring video frames of the target video rendered offline in the non-visible area frame by frame; and rendering video frames of the target video in the video display area frame by frame.
[0071] In some embodiments, based on the interaction configuration corresponding to the target video, superimposing the interactive interface element on the video display area includes: determining the presentation time and presentation position of the interactive interface element based on the interaction configuration corresponding to the target video; and superimposing the interactive interface element on the video display area based on the presentation time and presentation position.
[0072] In some embodiments, each video frame of the target video is presented in a first display layer of the video display area. In some embodiments, the interactive interface elements and the interactive special effects corresponding to the interactive interface elements are presented in a second display layer of the video display area, and the second display layer is higher than the first display layer.
[0073] In some embodiments, after the presentation duration of the interactive interface element reaches a predetermined duration and no triggering operation on the interactive interface element is detected, the presentation of the interactive interface element in the video display area is canceled.
[0074] In some embodiments, the interactive special effects include dynamic special effects.
[0075] Figure 5 A schematic structural block diagram of an apparatus 500 for video interaction according to some embodiments of the present disclosure is shown. The apparatus 500 may be implemented as or included in a terminal device 110. Each module / component in the apparatus 500 may be implemented by hardware, software, firmware, or any combination thereof.
[0076] As shown in the figure, the device 500 includes a rendering module 510, which is configured as a rendering module, and is configured to render the target video in the visible video display area of the terminal device. The device 500 also includes a first rendering module 520, which is configured to overlay and present the interactive interface element on the video frame of the target video presented in the video display area based on the interactive configuration associated with the target video. The device 500 also includes a second rendering module 530, which is configured to overlay and present the interactive special effects corresponding to the interactive interface element in the video display area in response to detecting a trigger operation on the interactive interface element.
[0077] In some embodiments, the rendering module 510 also includes an off-screen rendering module, which is configured to render the target video off-screen in a non-visible area in the terminal device; and a re-rendering module, which is configured to re-render the target video rendered offline in the non-visible area into the visible video display area.
[0078] In some embodiments, the interaction configuration is associated with the specified video content of the target video. The first presentation module 520 is further configured to: in response to detecting that the specified video content is presented in the video display area, overlay the interactive interface element on the video frame corresponding to the specified video content presented in the video display area.
[0079] In some embodiments, the apparatus 500 further includes a download module configured to download the target video to the terminal device based on the access address of the target video before rendering the target video off-screen.
[0080] In some embodiments, the rendering module 510 is further configured to obtain video frames of the target video rendered offline in the non-visible area frame by frame, and render the video frames of the target video in the video display area frame by frame.
[0081] In some embodiments, the first presentation module 520 is configured to determine the presentation time and presentation position of the interactive interface element based on the interaction configuration corresponding to the target video, and based on the presentation time and presentation position, superimpose the interactive interface element on the video frame of the target video presented in the video display area.
[0082] In some embodiments, each video frame of the target video is presented in a first display layer of the video display area. In some embodiments, the interactive interface elements and the interactive special effects corresponding to the interactive interface elements are presented in a second display layer of the video display area, and the second display layer is higher than the first display layer.
[0083] In some embodiments, the device 500 also includes: a presentation cancellation module, which is configured to cancel the presentation of the interactive interface element in the video display area after the presentation time of the interactive interface element reaches a predetermined time and no triggering operation on the interactive interface element is detected.
[0084] In some embodiments, the interactive special effects include dynamic special effects.
[0085] Figure 6 6 shows a block diagram of an electronic device 600 in which one or more embodiments of the present disclosure may be implemented. It should be understood that Figure 6 The electronic device 600 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein. Figure 6 The electronic device 600 shown can be used to implement Figure 1 The terminal device 110 or Figure 5 Device 500.
[0086] like Figure 6 As shown, the electronic device 600 is in the form of a general electronic device. The components of the electronic device 600 may include, but are not limited to, one or more processors or processing units 610, a memory 620, a storage device 630, one or more communication units 640, one or more input devices 650, and one or more output devices 660. The processing unit 610 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 620. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of the electronic device 600.
[0087] The electronic device 600 typically includes a plurality of computer storage media. Such media may be any accessible media that is accessible to the electronic device 600, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 620 may be a volatile memory (e.g., a register, a cache, a random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 630 may be a removable or non-removable medium, and may include a machine-readable medium, such as a flash drive, a disk, or any other medium, which may be capable of being used to store information and / or data (e.g., training data for training) and may be accessed within the electronic device 600.
[0088] The electronic device 600 may further include additional removable / non-removable, volatile / non-volatile storage media. Figure 6 As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. The memory 620 may include a computer program product 625 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.
[0089] The communication unit 640 implements communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device 600 can be implemented with a single computing cluster or multiple computing machines that can communicate through a communication connection. Therefore, the electronic device 600 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.
[0090] The input device 650 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 660 may be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 600 may also communicate with one or more external devices (not shown) through the communication unit 640 as needed, such as a storage device, a display device, etc., communicate with one or more devices that allow a user to interact with the electronic device 600, or communicate with any device that allows the electronic device 600 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).
[0091] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.
[0092] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices, equipment, and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0093] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0094] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable data processing apparatus, or other device implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0095] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.
[0096] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the various implementations disclosed herein.
Claims
1. A method for video interaction, comprising: Rendering the target video in a visible video display area of a terminal device; Based on the interaction configuration associated with the target video, overlaying and presenting an interactive interface element on the video frame of the target video presented in the video display area; as well as In response to detecting a triggering operation on the interactive interface element, an interactive special effect corresponding to the interactive interface element is superimposed and presented in the video display area.
2. The method according to claim 1, wherein rendering the target video in a visible video display area of the terminal device comprises: Rendering the target video off-screen in a non-visible area of the terminal device; as well as The target video rendered offline in the non-visible area is re-rendered into the visible video display area.
3. The method according to claim 1, wherein the interaction configuration is associated with a specified video content of the target video, and wherein superimposing and presenting an interactive interface element on the video screen of the target video presented in the video display area comprises: In response to detecting that the designated video content is presented in the video display area, the interactive interface element is superimposed and presented on a video frame corresponding to the designated video content presented in the video display area.
4. The method according to claim 2, further comprising: Before rendering the target video off-screen, Based on the access address of the target video, the target video is downloaded to the terminal device.
5. The method according to claim 2, wherein re-rendering the target video rendered offline in the non-visible area into the video display area comprises: Acquire video frames of the target video rendered offline in the non-visible area frame by frame; as well as Render the video frames of the target video frame by frame in the video display area.
6. The method according to claim 1, wherein based on the interaction configuration corresponding to the target video, overlaying and presenting the interactive interface element on the video display area comprises: Determining the presentation time and presentation position of the interactive interface element based on the interaction configuration corresponding to the target video; as well as Based on the presentation time and the presentation position, an interactive interface element is superimposed and presented on the video frame of the target video presented in the video display area.
7. The method according to claim 1, wherein each video frame of the target video is presented in a first presentation layer of the video presentation area, and The interactive interface elements and the interactive special effects corresponding to the interactive interface elements are presented in a second display layer of the video display area, and the second display layer is higher than the first display layer.
8. The method according to claim 1, further comprising: After the presentation time of the interactive interface element reaches a predetermined time and no triggering operation on the interactive interface element is detected, the presentation of the interactive interface element in the video display area is canceled.
9. The method according to claim 1, wherein the interactive special effect comprises a dynamic special effect.
10. A device for video interaction, comprising: A rendering module, configured to render the target video in a visible video display area of a terminal device; A first presentation module is configured to overlay and present an interactive interface element on a video frame of the target video presented in the video display area based on an interaction configuration associated with the target video; as well as The second presentation module is configured to, in response to detecting a triggering operation on the interactive interface element, overlay and present an interactive special effect corresponding to the interactive interface element in the video display area.
11. An electronic device, comprising: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 9 when executed by the at least one processing unit.
12. A computer-readable storage medium having a computer program stored thereon, wherein the computer program can be executed by a processor to implement the method according to any one of claims 1 to 9.
13. A computer program product tangibly stored in a computer storage medium and comprising computer executable instructions which, when executed by a device, cause the device to perform the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Video dynamic editing method and device and intelligent mobile terminal
CN108038185A
Display method and device, computer equipment and storage medium
CN111880709A
Video interaction method and device, equipment and storage medium
CN115480687A
Interaction method and device, equipment and storage medium
CN116048318A
Cited By
Method and apparatus for video interaction, and device and storage medium
WO2025241637A1
