Nothing Special   »   [go: up one dir, main page]

CN112995774A - Video playing method, device, terminal and storage medium - Google Patents

Video playing method, device, terminal and storage medium Download PDF

Info

Publication number
CN112995774A
CN112995774A CN201911281589.6A CN201911281589A CN112995774A CN 112995774 A CN112995774 A CN 112995774A CN 201911281589 A CN201911281589 A CN 201911281589A CN 112995774 A CN112995774 A CN 112995774A
Authority
CN
China
Prior art keywords
video
interactive
mask layer
interaction
playing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911281589.6A
Other languages
Chinese (zh)
Inventor
房秀强
章兢
徐昊
陈翌
朱艺
崔明君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Youku Culture Technology Beijing Co ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201911281589.6A priority Critical patent/CN112995774A/en
Publication of CN112995774A publication Critical patent/CN112995774A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47205End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention provides a video playing method, a video playing device, a terminal and a storage medium, wherein the method comprises the following steps: acquiring an interactive script corresponding to a video; when the video is played to the interactive node of the video recorded by the interactive script, displaying a mask layer and interactive prompt information corresponding to the interactive node; the interaction prompt information is used for prompting the interaction operation with the mask layer; detecting a screen touch signal, and determining the state of the mask layer in real time according to the screen touch signal; and when the state meets the interaction condition of the interaction node, playing the branch video content corresponding to the interaction condition. The embodiment of the invention can realize the support of the interactive video, so that the user can participate in the playing process of the interactive video, and the participation degree of the user is improved.

Description

Video playing method, device, terminal and storage medium
Technical Field
The embodiment of the invention relates to the technical field of data processing, in particular to a video playing method, a video playing device, a video playing terminal and a storage medium.
Background
With the popularization of intelligent terminals and the development of network technologies, users can watch videos through video applications or video websites on various types of terminals. At present, a user can only passively receive video content as a spectator when watching a video, the user participation degree is low, and the interactive video is produced in order to improve the user participation degree in watching the video.
Interactive video allows users to interact based on video content in the video playing process, so that the plot development is promoted or different plot development directions are selected, and how to provide a technical solution capable of supporting the interactive video realization is always a problem for interactive video producers.
Disclosure of Invention
In view of this, embodiments of the present invention provide a video playing method, an apparatus, a terminal, and a storage medium to support an interactive video, so that a user can participate in the playing process of the interactive video, and the user participation degree is improved.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
a video playback method, comprising:
acquiring an interactive script corresponding to a video;
when the video is played to the interactive node of the video recorded by the interactive script, displaying a mask layer and interactive prompt information corresponding to the interactive node; the interaction prompt information is used for prompting the interaction operation with the mask layer;
detecting a screen touch signal, and determining the state of the mask layer in real time according to the screen touch signal;
and when the state meets the interaction condition of the interaction node, playing the branch video content corresponding to the interaction condition.
An embodiment of the present invention further provides a video playing device, including:
the interactive script acquisition module is used for acquiring an interactive script corresponding to the video;
the interactive prompt module is used for displaying the shielding layer and interactive prompt information corresponding to the interactive nodes when the video is played to the interactive nodes of the video recorded by the interactive script; the interaction prompt information is used for prompting the interaction operation with the mask layer;
the state determining module is used for detecting a screen touch signal and determining the state of the mask layer in real time according to the screen touch signal;
and the playing module is used for playing the branch video content corresponding to the interaction condition when the state meets the interaction condition of the interaction node.
The embodiment of the present invention further provides a terminal, which includes at least one memory and at least one processor, where the memory stores one or more computer-executable instructions, and the processor invokes the one or more computer-executable instructions to execute the video playing method.
An embodiment of the present invention further provides a storage medium, where the storage medium stores one or more computer-executable instructions, and the one or more computer-executable instructions are used to execute the video playing method.
According to the video playing method provided by the embodiment of the invention, the interactive operation of a user on the mask layer is taken as the interactive operation of the user, and aiming at the video supporting the user interaction, the embodiment of the invention can obtain the interactive script corresponding to the video; furthermore, the screen touch signal is detected, the state of the mask layer is determined in real time according to the screen touch signal, and the state of the mask layer can reflect the interactive operation between a user and the mask layer, so that the embodiment of the invention can detect whether the state meets the interactive condition of the interactive node or not based on the state of the mask layer, and when the state meets the interactive condition of the interactive node, the embodiment of the invention can play the branch video content corresponding to the interactive condition, thereby realizing the purpose of promoting the video to play the branch video content or selecting the branch video content with different plot trends based on the interactive operation between the user and the mask layer. Therefore, the video playing method provided by the embodiment of the invention can be provided for an interactive video producer as a technical solution for supporting the realization of the interactive video, and when the video is played to an interactive node, a user can determine the subsequent playing content of the video through the interactive operation with the mask layer, so that the user participation degree is higher, and the user participation degree in the interactive video playing process can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a video playing method according to an embodiment of the present invention;
fig. 2 is another flowchart of a video playing method according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating an example of an interactive prompt message according to an embodiment of the present invention;
FIG. 4 is an exemplary diagram showing a video frame occluded by a wiped area;
fig. 5 is another flowchart of a video playing method according to an embodiment of the present invention;
FIG. 6 is an exemplary plot of area fraction values corresponding to wiped areas;
FIG. 7 is another exemplary graph of area ratio values for a wiped area;
FIG. 8 is a flowchart illustrating a video playing method according to an embodiment of the present invention;
fig. 9 is a block diagram of a video playing apparatus according to an embodiment of the present invention;
fig. 10 is a block diagram of a terminal.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
When the interactive video is played to an interactive node, a user needs to promote the plot development or select different plot development directions through interactive operation; taking the example that different branch scenarios are set behind the interactive node, when the interactive video is played to the interactive node, the user needs to be prompted to complete the interactive operation through the prompt information displayed on the terminal screen, so that the selection of the branch scenarios is realized in a man-machine interaction manner.
When an interactive video is played to an interactive node at present, a user is prompted to select a branch scenario mainly through options displayed on a terminal screen, the branch scenario corresponding to the option clicked by the user is used as the branch scenario selected by the user, the user is prompted to simply select the options only through displaying the options in the interactive video playing process, the user participation degree is low, and the immersive experience of the video cannot be brought.
In order to provide a technical scheme supporting interactive video implementation and improve the participation degree of a user in the interactive video playing process, the embodiment of the invention provides an improved video playing scheme. As an optional implementation, fig. 1 shows an optional flow of a video playing method provided in an embodiment of the present invention, where the method may be executed by a terminal, and the terminal may be a terminal device such as a smart phone, a tablet computer, a PC (personal computer), or a smart television that plays a video; referring to fig. 1, the process may include:
and step S10, acquiring an interactive script corresponding to the video.
The video indicated by step S10 is an interactive video, and for the interactive video, before playing the video, or when starting playing the video, or during playing the video, the embodiment of the present invention may obtain an interactive script corresponding to the video, where the interactive script may set an interactive node, an interactive mode, an interactive requirement, and the like for a user to participate in interaction.
It should be noted that, the embodiment of the present invention does not limit the execution sequence of the interactive script corresponding to the video playing and the video obtaining, and the two may be executed in parallel or have a sequential execution sequence; for example, an interactive script of a video may be obtained first, and then the video may be played; the video can also be played first, and the corresponding interactive script can be obtained as soon as possible in the process of playing the video, for example, the corresponding interactive script can be obtained immediately after the video is played.
In optional implementation, whether the video is an interactive video or not can be distinguished by whether the video has an interactive tag or not, and specifically, the video with the interactive tag is an interactive video, so that a user is supported to participate in interaction in the video playing process. Optionally, an interactive tag attribute may be added to the video in the embodiment of the present invention, and a value setting of the interactive tag attribute may indicate whether the video has an interactive tag, for example, if the value of the interactive tag attribute of the video is 1, the video has the interactive tag, and if the value of the interactive tag attribute of the video is 0, the video does not have the interactive tag.
Step S11, when the video is played to the interactive node of the video recorded by the interactive script, displaying a mask layer and interactive prompt information corresponding to the interactive node; the interactive prompt information is used for prompting the interactive operation with the mask layer.
The interactive script can record interactive nodes of the video, the video can be provided with one or more interactive nodes, and when the video is played to any interactive node, a user can carry out interactive operation, so that the plot development of the video is promoted or different plot development directions are selected.
In the process of playing the video at the terminal, when the video is played to the interactive node, the embodiment of the invention can display the interactive prompt information on the screen of the terminal, so that a user can carry out interactive operation based on the prompt of the interactive prompt information.
In order to improve the user interaction participation degree, the embodiment of the invention takes the interaction operation of the user and the mask layer as the user interaction operation, and the mask layer can be selected to be in a picture form; based on this, when the video is played to the interactive node, the embodiment of the invention needs to display a mask layer besides the interactive prompt information; optionally, the mask layer may be located on the video playing interface, for example, the mask layer is displayed on the video playing interface in an overlapping manner, and the mask layer may selectively mask a part of the video picture played by the video playing interface; in another alternative implementation, the embodiment of the present invention may also set the mask layer to be displayed on the non-video-playing interface of the screen, for example, in a case that the video is not played in a full screen, the mask layer may be displayed on the non-video-playing interface of the terminal screen.
In an optional implementation, the mask layer may have a display element, and the display element of the mask layer may be matched with the video content of the interactive node, for example, the display element may be a matting result of a video object in the video content, and the matting result is used as the display element by matting the video object, and a floating layer of the display element on the video interface is used as the mask layer; the video object may be a character, a prop, or the like in the video, and the embodiment of the present invention is not limited. Of course, the mask layer may be a mask picture of only a solid color or a plurality of colors. It should be noted that the specific form of the mask layer may be set based on the interaction requirement, and the embodiment of the invention is not limited thereto.
The interactive prompt information is used for prompting the user to interact with the mask layer, in optional implementation, the interactive operation can be matched with the video content of the interactive node, for example, based on the plot demand or the scene demand in the video content, and the interactive prompt information can prompt the user to interact with the mask layer so as to realize the plot demand or the scene demand; for example, if the scene of the video content is a fog scene, the interactive operation may be a wiping operation, based on the wiping operation of the user and the mask layer, the video content scattered by fog may be played on the video, if the scenario in the video content is an alarm clock ringing, the interactive operation may be a toggling operation, and based on the toggling operation of the user and the mask layer, the video content that the video playing alarm clock rings may be stopped.
In a further optional implementation, the mask layer has a display element matched with the video content of the interactive node, and the interactive prompt information is matched with the video content of the interactive node, for example, the display element of the mask layer may be a sectional result of a prop, a character, and a scene in the video content of the interactive node, and based on the current scenario, the interactive prompt information may prompt the user to perform interactive operation on the display element of the mask layer; for example, the mask layer may show the cutout result of the character or the prop in the video, and the interaction prompt information may prompt the user to interact with the video character or the prop shown in the mask layer and perform corresponding interaction actions.
It should be noted that, in the above-described form of the mask layer, the interaction between the user and the mask layer is only an example, and the form of the mask layer and the interaction between the user and the mask layer may be defined according to specific interaction requirements, which is not limited by the embodiment of the present invention.
In optional implementation, the interaction prompt information corresponding to the interaction node may include an interaction prompt image and/or an interaction prompt text corresponding to the interaction node; the interactive prompting image can be static or dynamic image prompting information, for example, static or dynamic images on or near the mask layer for displaying interactive operation to vividly prompt the user to interact with the mask layer; the interactive prompt text can be displayed near the mask layer so as to prompt the user to interact with the mask layer in a text mode.
Step S12, detecting a screen touch signal, and determining the state of the mask layer in real time according to the screen touch signal.
Based on the prompt of the interactive prompt information, a user can touch a terminal screen by using an operation body such as a finger or a touch pen, so that the terminal can detect a screen touch signal; in the embodiment of the invention, a terminal can detect a screen touch signal through a touch screen, the touch screen is essentially a sensor and comprises a touch detection part and a touch screen controller, the touch detection part is arranged in front of a display screen and is used for detecting touch information of a user and transmitting the touch information to the touch screen controller, and the touch screen controller is mainly used for receiving the touch information from the touch detection part, converting the touch information into contact point coordinates and sending the contact point coordinates to a CPU (central processing unit), and meanwhile, receiving a command sent by the CPU and executing the command;
in the process that a user touches a terminal screen, the terminal can detect a screen touch signal, if a contact coordinate corresponding to the screen touch signal is located in a display area of a mask layer, the user operates the mask layer, and based on the operation of the user on the mask layer, the state of the mask layer changes, for example, when the interactive operation is a wiping operation (for example, the mask layer can display a cutout result of a fog scene in video content, and the interactive operation aims at wiping the mask layer, so that a video drama is developed towards the direction of the fog), a wiped area and an unwashed area of the mask layer are adjusted along with the operation of the user on the mask layer, and at the moment, the state of the mask layer can be the wiped degree of the mask layer, and particularly, the state of the mask layer can be embodied through the wiped area and the unwashed area of the mask layer; for another example, when the interactive operation is a toggle operation, if the user toggles the elements displayed in the mask layer, the mask layer will have different states, and at this time, the state of the mask layer can be reflected by whether the elements in the mask layer are toggled; the above-described state form of the mask layer is merely an example, the state form of the mask layer may be set according to actual circumstances, and the embodiment of the present invention may determine the state of the mask layer in real time based on the screen touch signal.
Step S13, when the state meets the interaction condition of the interaction node, playing the branch video content corresponding to the interaction condition
The interaction condition of the interaction node can be a preset condition for successful user interaction, and can be specifically set according to an actual condition; for example, when the user interacts with the mask layer by a wiping operation, the condition that the mask layer satisfies the interaction condition may be that the user wipes the mask layer, the area of the wiped area in the mask layer reaches a certain area, or the time for the user to wipe the mask layer reaches a certain time. The specific setting of the interaction condition may be determined according to the interaction requirement, and the embodiment of the invention is not limited thereto.
When the interactive node of the video corresponds to a plurality of branch video contents with different plot trends, different results of user interactive operation can realize the selection of different branch video contents, thereby promoting the plot to develop in different directions; optionally, in the embodiment of the present invention, a first branch video content corresponding to the interaction condition (that is, the first branch video content is a branch video content corresponding to the interaction condition) and a second branch video content not corresponding to the interaction condition may be set, where the first branch video content and the second branch video content may be branch video contents in different plot trends; therefore, when the state of the mask layer meets the interaction condition of the interaction node, the embodiment of the invention can play the first branch video content, and when the state of the mask layer does not meet the interaction condition of the interaction node, the embodiment of the invention can play the second branch video content.
In another optional implementation, branch video content of a single plot trend can be set behind an interactive node of a video, and if the state of the mask layer meets the interactive condition of the interactive node, the video can be promoted to play the next branch video content; and when the state of the mask layer does not meet the interaction condition of the interaction node, not playing subsequent contents of the video, and at the moment, the embodiment of the invention can circularly prompt the user to carry out interaction operation with the mask layer until the state of the mask layer meets the interaction condition of the interaction node, and playing the next branch video content of the video.
According to the video playing method provided by the embodiment of the invention, the interactive operation of a user on the mask layer is taken as the interactive operation of the user, and aiming at the video supporting the user interaction, the embodiment of the invention can obtain the interactive script corresponding to the video; furthermore, the screen touch signal is detected, the state of the mask layer is determined in real time according to the screen touch signal, and the state of the mask layer can reflect the interactive operation between a user and the mask layer, so that the embodiment of the invention can detect whether the state meets the interactive condition of the interactive node or not based on the state of the mask layer, and when the state meets the interactive condition of the interactive node, the embodiment of the invention can play the branch video content corresponding to the interactive condition, thereby realizing the purpose of promoting the video to play the branch video content or selecting the branch video content with different plot trends based on the interactive operation between the user and the mask layer. Therefore, the video playing method provided by the embodiment of the invention can be provided for an interactive video producer as a technical solution for supporting the realization of the interactive video, and when the video is played to an interactive node, a user can determine the subsequent playing content of the video through the interactive operation with the mask layer, so that the user participation degree is higher, and the user participation degree in the interactive video playing process can be improved.
In an alternative implementation, the user interaction with the mask layer may be a user wiping operation of the mask layer; optionally, fig. 2 shows another flow of the video playing method provided by the embodiment of the present invention, and as shown in fig. 2, the flow may include:
and S100, acquiring an interactive script corresponding to the video.
Step S110, when the video is played to an interactive node of the video recorded by the interactive script, displaying a mask layer and interactive prompt information corresponding to the interactive node; the interactive prompt message at least prompts wiping of the mask layer.
Optionally, the mask layer may have a matting result of a character, a prop, and/or a scene in the video, and the interactive prompt information may prompt the user to wipe the mask layer to interact with the character, the prop, and/or the scene in the video, for example, the mask layer displays a matting result of a fog scene in the video, and the interactive prompt information may prompt the user to wipe the mask layer to disperse the fog in the video; of course, the mask layer may also be set in a user-defined manner, and the embodiment of the present invention is not limited thereto.
Step S120, detecting a screen touch signal, and determining a wiped area of the mask layer in real time according to the screen touch signal.
Based on the prompt of the interactive prompt information, a user can use a finger or a touch pen or other operation bodies to wipe the terminal screen, so that the terminal can detect a screen touch signal; in the process of wiping the terminal screen by a user, the terminal can detect a screen touch signal, and if the contact coordinates corresponding to the screen touch signal are located in the display area of the mask layer, the user wipes the mask layer; based on the detected screen touch signal, the embodiment of the invention can determine the wiped area of the mask layer in real time according to the screen touch signal; in an optional specific implementation, when the touch point coordinate corresponding to the screen touch signal is located in the display area of the mask layer, the touch point coordinate corresponding to the screen touch signal may correspond to a position point in the mask layer, which is wiped by a user, and the touch point coordinate corresponding to the screen touch signal is in a variation with the continuous wiping operation performed by the user, so that the position point in the mask layer, which is wiped by the user, may form an area, which may be a wiped area of the mask layer; it can be understood that as the user continuously performs the wiping operation on the mask layer, the wiped area of the mask layer will be continuously enlarged, i.e. the wiped area is changed in real time.
In an embodiment of the present invention, the state of the mask layer may be represented by the wiped area of the mask layer.
And S130, when the wiped area meets the interaction condition of the interaction node, playing the branch video content corresponding to the interaction condition.
In the embodiment of the present invention, the state of the mask layer satisfies the interaction condition, that is, the wiped area of the mask layer satisfies the interaction condition; under the condition that the wiping operation of the user on the mask layer is taken as the interactive operation of the user and the mask layer, the wiped area of the mask layer can reflect the wiping operation of the user on the mask layer, and based on the wiped area, the embodiment of the invention can detect whether the wiped area meets the interactive condition of the interactive node, thereby determining the interactive result of the interactive success or interactive failure of the user, and promoting the plot development of the video or selecting different plot development directions.
In a scenario where a user performs a wiping operation on the mask layer as a user interaction operation, the interaction condition may be determined according to a specific interaction setting; for example, in the embodiment of the present invention, an area ratio threshold value to be wiped by a user wiping a mask layer may be preset, so that when the area ratio value corresponding to a wiped region is greater than the area ratio threshold value, it is determined that the wiped region satisfies the interaction condition of the interaction node; for another example, in the embodiment of the present invention, a target area to be wiped by a user in the mask layer may be preset, so that when the wiped area is matched with the target area, it is determined that the wiped area satisfies the interaction condition of the interaction node; for another example, the shape of the wipe may be preset, so that when the shape of the wiped area matches the preset shape, it is determined that the wiped area satisfies the interaction condition of the interaction node; it should be noted that the above-described interaction condition form of the interaction node is only an example, and the embodiment of the present invention is not limited thereto.
When the wiped area is determined to meet the interaction condition of the interaction node, the embodiment of the invention can play the branch video content corresponding to the interaction condition, so as to promote the plot development of the video or select different plot development directions. Optionally, when the wiped area satisfies the interaction condition of the interaction node, the embodiment of the present invention may play the first branch video content, and when the wiped area does not satisfy the interaction condition of the interaction node, the embodiment of the present invention may play the second branch video content.
In another optional implementation, a branch video content of a single plot trend may be set after an interactive node of a video, and only when the wiped area satisfies the interactive condition of the interactive node, the video may be advanced to play the next branch video content.
The video playing method provided by the embodiment of the invention can be provided for an interactive video producer as a technical solution for supporting interactive video realization, and when the video is played to an interactive node, a user can determine the subsequent playing content of the video by wiping the mask layer, namely the interactive operation between the user and the mask layer is reflected by the wiping operation of the user for the mask layer, so that the participation degree of the user is higher, and the participation degree of the user in the interactive video playing process can be improved.
In an alternative implementation of step S110, the embodiment of the invention may prompt the user to perform a wiping operation on the mask layer through an interactive prompt image and/or an interactive prompt text. In the embodiment of the present invention, the interactive prompt image prompts the user to wipe the mask layer in an image manner, the interactive prompt image may be a dynamic image, and the user may be visually prompted to interact by displaying the dynamic image for wiping the mask layer, and certainly, the interactive prompt image may also be a static image, which is not limited in the embodiment of the present invention. Optionally, the interactive prompt text may be further combined with the video content of the interactive node, for example, the interactive prompt text may describe an influence on a video scenario after the user wipes the mask layer;
for example, assuming that the user wipes the mask layer to match the video content of the interactive node, as shown in fig. 3, taking the user wipes the mask layer to influence whether the video character wipes the dirt on the face, when the video is played to the interactive node, the mask layer, the interactive prompt image and the interactive prompt text may be displayed on the video playing interface, as shown in fig. 3, the interactive prompt image may be a dynamic image of a finger on the mask layer for wiping, and the interactive prompt text may be set to "wipe the dirt on the face". Alternatively, based on the example in fig. 3, if the user wipes the mask layer and the wiped area of the mask layer satisfies the interaction condition of the interaction node, the corresponding branch video content is erased from the dirt on the face of the video playable video character, and if the wiped area of the mask layer does not satisfy the interaction condition of the interaction node, the corresponding branch video content is not erased from the dirt on the face of the video playable video character.
In an optional implementation, the mask layer may be located above the video playing interface and block a part of the video frame played by the video playing interface, and regarding a display position of the mask layer above the video playing interface, the embodiment of the present invention is not limited, and is preferably a position lower than a middle portion of the video playing interface.
The embodiment of the invention can also carry out real-time feedback on the interactive operation between the user and the mask layer; for example, in the case that the user performs a wiping operation on the mask layer and the mask layer masks a video picture, the embodiment of the present invention can perform real-time feedback on the wiping operation of the user on the mask layer.
It can be understood that, based on the fact that a user continuously wipes the mask layer, the area of the wiped area of the mask layer is continuously increased, and for the wiped area, the embodiment of the present invention can display the video picture originally shielded by the wiped area, that is, through the wiping operation of the user for the mask layer, the embodiment of the present invention can continuously display the video picture originally shielded by the wiped position of the mask layer, so as to implement the real-time feedback on the wiping operation of the user; in an alternative implementation, the wiped area of the mask layer may be set to be transparent according to the screen touch signal to reveal the blocked video picture, it may be understood that the touch point coordinates of the screen touch signal may correspond to the position point wiped by the user in the mask layer, and by setting each position point wiped by the user in the mask layer to be transparent, the wiped area of the mask layer may be set to be transparent, so as to reveal the video picture originally blocked by the wiped area; as shown in fig. 4, the originally blocked video frame of the area wiped by the user (i.e. the wiped area) in the mask layer is displayed, and the video frame is still blocked by the non-wiped area in the mask layer.
It should be noted that, setting the wiped area of the mask layer to be transparent to show out the blocked video frame is only an optional real-time feedback manner, and the embodiment of the present invention may also display the wiped area in the mask layer in a highlighted color to perform real-time feedback on the wiping operation of the user through the highlighted wiped area.
As an optional implementation, the embodiment of the present invention may also perform real-time feedback on the wiping operation of the user through interactive feedback text, for example, when detecting whether the wiped region meets the interaction condition of the interaction node through the area ratio value of the wiped region, the embodiment of the present invention may display the interactive feedback text, so as to display the area ratio value of the wiped region through the interactive feedback text, thereby feeding back the area ratio value of the wiped region to the user in real time; for another example, in the user wiping process, if the wiped area does not meet the interaction condition of the interaction node, the embodiment of the present invention may display an interaction feedback text to prompt the user to continue to wipe the mask layer in a text manner.
In a further alternative implementation, in the case that the user performs the wiping operation, the embodiment of the present invention may cancel the display of the interactive prompt message when the wiping operation of the user with respect to the mask layer is detected (that is, when the coordinates of the touch point of the screen touch signal are located in the display area of the mask layer), so that the wiping operation of the user with respect to the mask layer is fed back in real time by setting the wiped area of the mask layer to be transparent and/or by displaying the interactive feedback text.
The interactive feedback under the wiping operation condition is taken as an example to illustrate the interactive feedback of the embodiment of the invention on the user interactive operation; of course, this is only an optional implementation of the interactive feedback according to the embodiment of the present invention, and based on different interactive operation forms, the embodiment of the present invention may define different forms of the interactive feedback.
Optionally, the state of the mask layer satisfies the interaction condition, for example, an area ratio value of a wiped region of the mask layer is greater than an area ratio threshold; based on this, fig. 5 shows still another optional flow of the video playing method provided by the embodiment of the present invention, and referring to fig. 5, the flow may include:
and S200, acquiring an interactive script corresponding to the video.
And step S210, when the video is played to the interactive node of the video recorded by the interactive script, displaying a mask layer and interactive prompt information corresponding to the interactive node.
Optionally, the mask layer is located on a video playing interface, and blocks a part of video pictures played by the video playing interface; the interactive prompt message at least prompts wiping of the mask layer.
Step S220, detecting a screen touch signal, determining a wiped area of the mask layer in real time according to the screen touch signal, and setting the wiped area of the mask layer to be transparent so as to show out a shielded video picture.
Based on the wiping operation of the user for the mask layer, the embodiment of the invention can detect the screen touch signal, thereby determining the wiped area in the mask layer and displaying the video picture originally blocked by the wiped area.
Step S230, calculating an area ratio value corresponding to the wiped area in real time, displaying interactive feedback characters to show the area ratio value, and detecting whether the area ratio value is greater than a preset area ratio threshold, if not, executing step S240, and if so, executing step S250.
Optionally, if a user performs a wiping operation on the mask layer continuously, the wiped area of the mask layer is expanded continuously, and the embodiment of the present invention may calculate an area ratio value corresponding to the wiped area in real time, and display the calculated area ratio value through interactive feedback text; meanwhile, the embodiment of the invention can detect whether the area proportion value is larger than a preset area proportion threshold value so as to detect whether the wiped area meets the interaction condition of the interaction node.
In an alternative implementation, the area proportion value corresponding to the wiped area may be the area proportion of the wiped area in the mask layer; for example, as shown in fig. 6, the area of the wiped area in fig. 6 is half of that of the mask layer, which can show that the area ratio of the wiped area is 50%; in this case, assuming that the area ratio threshold is 70%, the user should continue to wipe the mask layer on the basis of fig. 6.
In another alternative implementation, the mask layer may be pre-set with a target area to be wiped, where the target area may be smaller than the mask layer, and thus, the area ratio value corresponding to the wiped area may be the ratio of the area of the wiped area to the target area; for example, assuming that the mask layer should be wiped with a target area of half the mask layer, as shown in fig. 7, the area of the wiped region in fig. 7 is half of the mask layer, so that the ratio of the area of the wiped region to the target area is 100%, which indicates that the area ratio of the wiped region is 100%; in this case, assuming that the area ratio threshold is 100%, it may be determined that the wiped area satisfies the interaction condition of the interaction node.
It should be noted that, based on the detected screen touch signal, the embodiment of the present invention may synchronously execute step S220 and step S230, and step S220 and step S230 may not be sequentially executed.
Step S240, detecting whether a preset interaction time is reached, if not, returning to step S220, and if so, executing step S260.
The embodiment of the invention can set interaction time, a user can complete the wiping operation of the mask layer within the interaction time, and if the area proportion value corresponding to the wiped area is detected to be larger than the preset area proportion threshold value within the interaction time, the wiped area can be determined to meet the interaction condition of the interaction node, namely, the user interaction is successful, and the interaction success result is obtained; and if the area proportion value corresponding to the wiped area is not detected to be larger than the preset area proportion threshold value in the interaction time, determining the interaction result that the wiped area does not meet the interaction condition, namely the user interaction fails, and obtaining the interaction failure result.
And S250, determining that the wiped area meets the interaction condition of the interaction node, and playing the first branch video content of the video.
The first branch video content may be a branch video content corresponding to the interaction condition.
And step S260, determining that the wiped area does not meet the interaction condition of the interaction node, and playing second branch video content of the video.
The flow of fig. 5 is implemented by detecting the area ratio of the wiped area to detect whether the wiped area satisfies the interaction condition of the interaction node, which is only an alternative example implementation of the embodiment of the present invention; in the embodiment of the invention, under the condition that whether the wiped area meets the interaction condition of the interaction node is detected, the scheme of detecting whether the shape of the wiped area is matched with the preset shape or not, or detecting whether the wiped area is matched with the preset target area or not is not excluded.
In an optional implementation, the mask layer may be displayed by a fade-in display effect, which refers to a display effect in which the picture gradually appears from complete darkness to complete clarity; further, the embodiment of the present invention may preset whether to directly display the mask layer or display the mask layer with a fade-in display effect, for example, the embodiment of the present invention may preset time for the fade-in display effect, if the time is greater than 0, it indicates that the embodiment of the present invention needs to display the mask layer with the fade-in display effect, and if the time is not greater than 0, it indicates that the fade-in display effect is set to be skipped, and the embodiment of the present invention may directly display the mask layer; optionally, the time for fading in the display effect may be set by a video producer, a video publisher, or a user, and the embodiment of the present invention is not limited.
Optionally, further, under the condition that the user performs a wiping operation on the mask layer, if it is determined that the state satisfies the interaction condition of the interaction node, a successful interaction result is obtained, and the mask layer has an un-wiped area, the embodiment of the present invention may hide the un-wiped area of the mask layer before playing the branch video content corresponding to the interaction condition, so as to display a video picture blocked by the un-wiped area; in an optional implementation, an unpinned area of the mask layer may be set to be transparent to show out a blocked video picture; in terms of the use of the display effect, the embodiment of the invention may be configured to fade out the display effect, and set the non-wiped area of the mask layer to be transparent, so as to hide the non-wiped area of the mask layer;
it should be noted that the fade-out display effect is a display effect in which the picture is gradually dimmed from completely clear to completely invisible. Optionally, the time for fading out the display effect may be preset, and if the time is greater than 0, the embodiment of the present invention may set the non-wiped area of the mask layer to be transparent by fading out the display effect after determining that the wiped area satisfies the interaction condition, and if the time is not greater than 0, the embodiment of the present invention may directly set the non-wiped area of the mask layer to be transparent without using the fading out display effect. Of course, after determining that the wiped area does not satisfy the interaction failure result of the interaction condition, the embodiment of the invention may also set the non-wiped area of the mask layer to be transparent, and may also use a fade-out display effect in the use of the display effect.
Optionally, after the interaction result is determined, the embodiment of the present invention may further display an interaction result prompt message, for example, when the state of the mask layer satisfies the interaction condition of the interaction node, display an interaction success result prompt message, and when the state of the mask layer does not satisfy the interaction condition of the interaction node, display an interaction failure result prompt message.
Based on the preset setting, the embodiment of the present invention may also skip the step of displaying the interaction result prompting information, for example, a video producer, a video publisher, or a user may set the display time of the interaction result prompting information, if the display time is greater than 0, the step of displaying the interaction result prompting information is performed, otherwise, the step of displaying the interaction result prompting information is skipped.
Optionally, after determining the interaction result, the embodiment of the present invention may immediately play the corresponding branch video content, for example, immediately play a first branch video content of a video when determining that the state of the mask layer satisfies the interaction condition of the interaction node, and immediately play a second branch video content of the video when determining that the state of the mask layer does not satisfy the interaction condition of the interaction node; of course, the embodiment of the present invention may also be configured to wait for the video content corresponding to the interactive node to be played to end after the interactive result is determined, and then play the corresponding branch video content;
in a more specific implementation, a video content skip switch may be preset, and the turning on or off of the video content skip switch may be set by a video producer, a video publisher, or a user; in an optional implementation, when it is determined that the state of the mask layer satisfies the interaction condition of the interaction node, if it is detected that the video content skip switch is turned on, the embodiment of the present invention may immediately play the branch video content corresponding to the interaction condition; when it is detected that the video content skip switch is not turned on, the embodiment of the present invention needs to wait for the end of the playing of the video content corresponding to the interactive node to play the branch video content corresponding to the interactive condition.
Optionally, taking a wiping operation as an example, fig. 8 shows another flowchart of a video playing method provided by an embodiment of the present invention, and as shown in fig. 8, the flowchart may include:
and step S300, obtaining an interactive script corresponding to the video.
Step S310, when the video is played to the interactive node of the video recorded by the interactive script, detecting whether a preset fade-in display effect time is greater than 0, if so, executing step S320, and if not, executing step S330.
Step S320, displaying a mask layer with a fade-in display effect, wherein the mask layer masks the video frame.
Step S330, directly displaying a mask layer, wherein the mask layer shields the video picture.
And step S340, displaying an interactive prompt image and interactive prompt characters corresponding to the interactive node, wherein the interactive prompt image prompts to wipe the mask layer in an image mode, and the interactive prompt characters prompt to wipe the mask layer in a character mode.
Step S350, determining whether the mask layer is erased according to the screen touch signal, if not, performing step S350, and if so, performing step S360.
When the mask layer is not wiped, the embodiment of the present invention may keep displaying the interactive prompt image and the interactive prompt text, and when the mask layer is wiped, the embodiment of the present invention may cancel displaying the interactive prompt image and the interactive prompt text, and step S360 is proceeded.
Step S360, determining a wiped area of the mask layer in real time according to the screen touch signal, and setting the wiped area of the mask layer to be transparent so as to show out a shielded video picture.
Step S370, calculating an area proportion value corresponding to the wiped area in real time, displaying interactive feedback characters to show the area proportion value, detecting whether the area proportion value is larger than a preset area proportion threshold value, if not, executing step S380, and if so, executing step S390.
Alternatively, step S360 and step S370 may be performed simultaneously.
And step 380, detecting whether the preset interaction time is reached, if not, returning to step 360, and if so, executing step 390.
Step S390, detecting whether the display time of the preset interaction result prompt message is greater than 0, if so, executing step S400, and if not, executing step S410.
And S400, displaying the prompt information of the interaction result according to the interaction result.
Correspondingly, if the detection result of step S370 is yes and the detection result of step S490 is yes, the embodiment of the present invention may display an interaction result prompt message indicating that the interaction is successful in step S400; when the preset interaction time is reached, if the detection result of step S370 is no all the time and it is detected that the display time of the interaction result prompt message is greater than 0, the embodiment of the present invention may display the interaction result prompt message indicating that the interaction has failed in step S400.
After step S400 is executed, the embodiment of the present invention proceeds to step S410.
Step S410, detecting whether a preset video content skip switch is turned on, if not, executing step S420, and if so, executing step S430.
Step S420, whether the video content corresponding to the interactive node is played is finished, if not, step S420 is executed, and if so, step S430 is executed.
And step S430, playing the corresponding branch video content according to the interaction result.
Optionally, when the area proportion value corresponding to the wiped area is greater than a preset area proportion threshold, the interaction result is that the wiped area satisfies the interaction condition of the interaction node, that is, the interaction is successful, and the first branch video content corresponding to the interaction condition can be played in the embodiment of the present invention; and when the interaction result is that the wiped area does not meet the interaction condition of the interaction node, the embodiment of the invention can play the second branch video content, which can be the set branch video content not corresponding to the interaction condition.
Optionally, further, when the wiped area satisfies the interaction condition of the interaction node, a video object (such as a video character or an object) in the video may perform corresponding feedback, and when the wiped area does not satisfy the interaction condition of the interaction node, the video object in the video may also perform corresponding feedback; for example, taking an example that a user wipes a mask layer to wipe the stain on the face of the video character, if the wiped area meets the interaction condition of the interaction node within a preset interaction time, the wipe on the face of the video character is successful, and if the wiped area does not meet the interaction condition of the interaction node within the preset interaction time, the wipe on the face of the video character fails; different branching scenarios may be set for success or failure of stain erasure on the face of the video character.
The video playing method provided by the embodiment of the invention can be provided for an interactive video producer as a technical solution supporting interactive video realization, and when the video is played to an interactive node, a user can determine the subsequent playing content of the video through interactive operation with the mask layer, so that the user participation degree is higher, and the user participation degree in the interactive video playing process can be improved.
While various embodiments of the present invention have been described above, various alternatives described in the various embodiments can be combined and cross-referenced without conflict to extend the variety of possible embodiments that can be considered disclosed and disclosed in connection with the embodiments of the present invention.
In the following, the video playing apparatus provided in the embodiment of the present invention is introduced, and the content of the video playing apparatus described below may be regarded as a functional module that is required by the terminal to implement the video playing method provided in the embodiment of the present invention. The contents of the video playback apparatus described below may be referred to in correspondence with the contents of the video playback method described above.
In an alternative implementation, fig. 9 shows a block diagram of a video playing apparatus provided in an embodiment of the present invention, and referring to fig. 9, the video playing apparatus may include:
the interactive script acquisition module 100 is configured to acquire an interactive script corresponding to a video;
the interactive prompting module 110 is configured to display a mask layer and interactive prompting information corresponding to the interactive node when the video is played to the interactive node of the video recorded by the interactive script; the interaction prompt information is used for prompting the interaction operation with the mask layer;
a state determining module 120, configured to detect a screen touch signal, and determine a state of the mask layer in real time according to the screen touch signal;
the playing module 130 is configured to play the branch video content corresponding to the interaction condition when the state meets the interaction condition of the interaction node.
Optionally, the interactive prompt module 110 is configured to display interactive prompt information corresponding to the interactive node, and includes:
displaying an interactive prompt image and/or interactive prompt characters corresponding to the interactive node; the interactive prompt image prompts the interactive operation in an image mode, and the interactive prompt characters prompt the interactive operation in a character mode.
Optionally, the mask layer is located on a video playing interface and is used for shielding a video picture played by the video playing interface; the interaction comprises a wiping operation of the mask layer.
Optionally, the state determining module 120 is configured to determine the state of the mask layer in real time according to the screen touch signal, and includes:
and determining the wiped area of the mask layer in real time according to the screen touch signal.
Accordingly, the state of the mask layer satisfying the interaction condition of the interaction node may be, for example: the wiped area meets the interaction condition of the interaction node.
The video playing device provided by the embodiment of the invention can also be used for:
and setting the wiped area of the mask layer to be transparent according to the screen touch signal so as to show out the shielded video picture.
Optionally, the state meeting the interaction condition of the interaction node includes: and in a preset interaction time, the area proportion value corresponding to the wiped area is larger than a preset area proportion threshold value.
Optionally, the video playing apparatus provided in the embodiment of the present invention may further be configured to:
and displaying interactive feedback characters, wherein the interactive feedback characters are at least used for displaying the area proportion value corresponding to the wiped area.
Optionally, the interactive prompt module 110 is configured to display a mask layer, and includes:
the mask layer is displayed with a fade-in display effect.
Optionally, before the interactive prompt module 110 displays the mask layer with the fade-in display effect, the video playing apparatus provided in the embodiment of the present invention may further be configured to: and detecting whether the preset fade-in display effect time is greater than 0, if so, the interactive prompt module 110 enters the step of displaying the mask layer by the fade-in display effect.
Optionally, before the playing module 130 plays the branch video content corresponding to the interaction condition, the video playing apparatus provided in the embodiment of the present invention may further be configured to:
and setting the non-wiping area of the mask layer to be transparent by fading out a display effect so as to show out the shielded video picture.
Optionally, before the non-wiped area of the mask layer is set to be transparent with the fade-out display effect, the video playing apparatus provided in the embodiment of the present invention may further be configured to:
and detecting whether the preset fade-out display effect time is more than 0, if so, entering the step of setting the non-wiping area of the mask layer to be transparent by the fade-out display effect.
Optionally, the video playing apparatus provided in the embodiment of the present invention may further be configured to:
displaying interaction result prompt information; the displaying of the prompt information of the interaction result at least comprises: and when the state meets the interaction condition of the interaction node, prompting information of the interaction success result.
Optionally, before displaying the interaction result prompt information, the video playing device provided in the embodiment of the present invention may further be configured to:
and detecting whether the display time of the preset interaction result prompt information is greater than 0, if so, entering the step of displaying the interaction result prompt information.
Optionally, before the playing module 130 plays the branch video content corresponding to the interaction condition, the video playing apparatus provided in the embodiment of the present invention may further be configured to:
detecting whether a preset video content skip switch is turned on or not;
if the video content skip switch is turned on, the playing module 130 enters the step of playing the branch video content corresponding to the interaction condition;
if the video content skip switch is not turned on, when the playing of the video content corresponding to the interactive node is finished, the playing module 130 enters the step of playing the branch video content corresponding to the interactive condition.
The embodiment of the present invention further provides a terminal, where the terminal may implement the video playing method provided by the embodiment of the present invention by loading the above-mentioned device in a form of computer executable instructions (e.g., in a form of a program). Optionally, fig. 10 shows a block diagram of a terminal provided in the embodiment of the present invention, and as shown in fig. 10, the terminal may include: at least one processor 1, at least one communication interface 2, at least one memory 3 and at least one communication bus 4;
in the embodiment of the present invention, the number of the processor 1, the communication interface 2, the memory 3, and the communication bus 4 is at least one, and the processor 1, the communication interface 2, and the memory 3 complete mutual communication through the communication bus 4; it is clear that the illustrated communication connection illustration of the processor 1, the communication interface 2, the memory 3 and the communication bus 4 is only optional;
optionally, the communication interface 2 may be an interface of a communication module for performing network communication;
the processor 1 may be a central processing unit CPU or a Specific Integrated circuit asic (application Specific Integrated circuit) or one or more Integrated circuits configured to implement an embodiment of the invention.
The memory 3 may comprise a high-speed RAM memory and may also comprise a non-volatile memory, such as at least one disk memory.
The memory 3 stores one or more computer-executable instructions, and the processor 1 calls the one or more computer-executable instructions to execute the video playing method provided by the embodiment of the present invention.
Embodiments of the present invention may also provide a storage medium, where the storage medium may store one or more computer-executable instructions, and the one or more computer-executable instructions may be configured to execute the video playing method provided in the embodiments of the present invention.
For the details of the video playing method, reference may be made to the description of the corresponding parts, and details are not repeated here.
Although the embodiments of the present invention have been disclosed, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (15)

1. A video playback method, comprising:
acquiring an interactive script corresponding to a video;
when the video is played to the interactive node of the video recorded by the interactive script, displaying a mask layer and interactive prompt information corresponding to the interactive node; the interaction prompt information is used for prompting the interaction operation with the mask layer;
detecting a screen touch signal, and determining the state of the mask layer in real time according to the screen touch signal;
and when the state meets the interaction condition of the interaction node, playing the branch video content corresponding to the interaction condition.
2. The video playing method according to claim 1, wherein the displaying the interactive prompt information corresponding to the interactive node comprises:
displaying an interactive prompt image and/or interactive prompt characters corresponding to the interactive node; the interactive prompt image prompts the interactive operation in an image mode, and the interactive prompt characters prompt the interactive operation in a character mode.
3. The video playing method of claim 1, wherein the mask layer is located on a video playing interface for blocking a video frame played by the video playing interface; the interaction comprises a wiping operation of the mask layer.
4. The video playing method of claim 3, wherein the determining the state of the mask layer in real time according to the screen touch signal comprises:
and determining the wiped area of the mask layer in real time according to the screen touch signal.
5. The video playback method of claim 4, wherein the method further comprises:
and setting the wiped area of the mask layer to be transparent according to the screen touch signal so as to show out the shielded video picture.
6. The video playing method according to any one of claims 4 to 5, wherein the state satisfying the interaction condition of the interaction node comprises: and in a preset interaction time, the area proportion value corresponding to the wiped area is larger than a preset area proportion threshold value.
7. The video playback method of claim 6, further comprising:
and displaying interactive feedback characters, wherein the interactive feedback characters are at least used for displaying the area proportion value corresponding to the wiped area.
8. The video playback method of claim 1, wherein the display mask layer comprises:
the mask layer is displayed with a fade-in display effect.
9. The video playback method of claim 8, wherein before displaying the mask layer with the fade-in display effect, the method further comprises:
detecting whether the preset fade-in display effect time is greater than 0;
and if the time of the fade-in display effect is more than 0, entering the step of displaying the mask layer by the fade-in display effect.
10. The video playing method according to any of claims 3 to 5, wherein before playing the branch video content corresponding to the interaction condition, the method further comprises:
and setting the non-wiping area of the mask layer to be transparent by fading out a display effect so as to show out the shielded video picture.
11. The video playback method according to claim 10, wherein before the non-wiped area of the mask layer is set to be transparent in a fade-out display effect, the method further comprises:
detecting whether the preset fade-out display effect time is greater than 0;
and if the time of the fade-out display effect is more than 0, entering the step of setting the non-wiping area of the mask layer to be transparent so as to display the fade-out display effect.
12. The video playing method according to claim 1, wherein before playing the branch video content corresponding to the interaction condition, the method further comprises:
detecting whether a preset video content skip switch is turned on or not;
if the video content skip switch is turned on, entering a step of playing the branch video content corresponding to the interaction condition;
and if the video content skip switch is not turned on, when the video content corresponding to the interactive node is played, entering a step of playing the branch video content corresponding to the interactive condition.
13. A video playback apparatus, comprising:
the interactive script acquisition module is used for acquiring an interactive script corresponding to the video;
the interactive prompt module is used for displaying the shielding layer and interactive prompt information corresponding to the interactive nodes when the video is played to the interactive nodes of the video recorded by the interactive script; the interaction prompt information is used for prompting the interaction operation with the mask layer;
the state determining module is used for detecting a screen touch signal and determining the state of the mask layer in real time according to the screen touch signal;
and the playing module is used for playing the branch video content corresponding to the interaction condition when the state meets the interaction condition of the interaction node.
14. A terminal comprising at least one memory storing one or more computer-executable instructions and at least one processor invoking the one or more computer-executable instructions to perform the video playback method of any of claims 1-12.
15. A storage medium storing one or more computer-executable instructions for performing the video playback method of any of claims 1-12.
CN201911281589.6A 2019-12-13 2019-12-13 Video playing method, device, terminal and storage medium Pending CN112995774A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911281589.6A CN112995774A (en) 2019-12-13 2019-12-13 Video playing method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911281589.6A CN112995774A (en) 2019-12-13 2019-12-13 Video playing method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN112995774A true CN112995774A (en) 2021-06-18

Family

ID=76332405

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911281589.6A Pending CN112995774A (en) 2019-12-13 2019-12-13 Video playing method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112995774A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023155734A1 (en) * 2022-02-21 2023-08-24 北京字节跳动网络技术有限公司 Playing method, playing apparatus, and computer-readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070050717A1 (en) * 2005-08-29 2007-03-01 Eklund Don Slicing interactive graphic data in disc authoring
CN101000674A (en) * 2006-12-30 2007-07-18 上海序参量科技发展有限公司 Method for setting lottery in network
EP1956838A2 (en) * 2007-02-07 2008-08-13 The DirecTV Group, Inc. Live video management system
CN108156523A (en) * 2017-11-24 2018-06-12 互影科技(北京)有限公司 The interactive approach and device that interactive video plays
CN108769814A (en) * 2018-06-01 2018-11-06 腾讯科技(深圳)有限公司 Video interaction method, device and readable medium
CN108897881A (en) * 2018-07-05 2018-11-27 腾讯科技(深圳)有限公司 Interactive image display methods, device, equipment and readable storage medium storing program for executing
CN109729411A (en) * 2019-01-09 2019-05-07 广州酷狗计算机科技有限公司 Living broadcast interactive method and device
US20190215581A1 (en) * 2016-06-20 2019-07-11 Flavourworks Ltd A method and system for delivering an interactive video

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070050717A1 (en) * 2005-08-29 2007-03-01 Eklund Don Slicing interactive graphic data in disc authoring
CN101000674A (en) * 2006-12-30 2007-07-18 上海序参量科技发展有限公司 Method for setting lottery in network
EP1956838A2 (en) * 2007-02-07 2008-08-13 The DirecTV Group, Inc. Live video management system
US20190215581A1 (en) * 2016-06-20 2019-07-11 Flavourworks Ltd A method and system for delivering an interactive video
CN108156523A (en) * 2017-11-24 2018-06-12 互影科技(北京)有限公司 The interactive approach and device that interactive video plays
CN108769814A (en) * 2018-06-01 2018-11-06 腾讯科技(深圳)有限公司 Video interaction method, device and readable medium
CN108897881A (en) * 2018-07-05 2018-11-27 腾讯科技(深圳)有限公司 Interactive image display methods, device, equipment and readable storage medium storing program for executing
CN109729411A (en) * 2019-01-09 2019-05-07 广州酷狗计算机科技有限公司 Living broadcast interactive method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
夏雨;王珂;: "交互式多媒体系统在电视新闻节目中的应用", 视听界(广播电视技术), no. 05, 10 June 2007 (2007-06-10) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023155734A1 (en) * 2022-02-21 2023-08-24 北京字节跳动网络技术有限公司 Playing method, playing apparatus, and computer-readable storage medium

Similar Documents

Publication Publication Date Title
KR102710712B1 (en) Method and device for displaying live broadcast data, device and storage medium
CN107341018B (en) Method and device for continuously displaying view after page switching
CN107547750B (en) Control method, device and the storage medium of terminal
CN107820132B (en) Live broadcast interaction method, device and system
WO2022068478A1 (en) Video-based interaction and video processing methods, apparatus, device, and storage medium
US11265614B2 (en) Information sharing method and device, storage medium and electronic device
CN108924622B (en) Video processing method and device, storage medium and electronic device
CN105812941A (en) Video playing method and device and electronic equipment
CN103634686A (en) Method and device for previewing video
CN105872820A (en) Method and device for adding video tag
US20190230311A1 (en) Video interface display method and apparatus
CN107592577B (en) Method and system for displaying bullet screen information, mobile terminal and smart television
CN113312017B (en) Terminal handwriting synchronization method, system, equipment and storage medium
US11941728B2 (en) Previewing method and apparatus for effect application, and device, and storage medium
CN113342248A (en) Live broadcast display method and device, storage medium and electronic equipment
CN114579030A (en) Information stream display method, device, apparatus, storage medium, and program
CN112866798A (en) Video generation method, device, equipment and storage medium
US20210289266A1 (en) Video playing method and apparatus
CN113495664B (en) Information display method, device, equipment and storage medium based on media information flow
CN109656463B (en) Method, device and system for generating individual expressions
CN105828167A (en) Screen-shot sharing method and device
CN114302209B (en) Video processing method, device, electronic equipment and medium
CN112995774A (en) Video playing method, device, terminal and storage medium
CN113101633B (en) Cloud game simulation operation method and device and electronic equipment
CN115623226A (en) Live broadcast method, device, equipment, storage medium and computer program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20240620

Address after: Room 201, No. 9 Fengxiang East Street, Yangsong Town, Huairou District, Beijing

Applicant after: Youku Culture Technology (Beijing) Co.,Ltd.

Country or region after: China

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: ALIBABA GROUP HOLDING Ltd.

Country or region before: Cayman Islands

TA01 Transfer of patent application right