CN111866550A - Method and device for shielding video clip - Google Patents

Method and device for shielding video clip Download PDF

Info

Publication number
CN111866550A
CN111866550A CN202010728262.5A CN202010728262A CN111866550A CN 111866550 A CN111866550 A CN 111866550A CN 202010728262 A CN202010728262 A CN 202010728262A CN 111866550 A CN111866550 A CN 111866550A
Authority
CN
China
Prior art keywords
video
target
type
playing
server
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
CN202010728262.5A
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.)
Shanghai Shengfutong Electronic Payment Service Co ltd
Original Assignee
Shanghai Shengfutong Electronic Payment Service Co 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 Shanghai Shengfutong Electronic Payment Service Co ltd filed Critical Shanghai Shengfutong Electronic Payment Service Co ltd
Priority to CN202010728262.5A priority Critical patent/CN111866550A/en
Publication of CN111866550A publication Critical patent/CN111866550A/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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2387Stream processing in response to a playback request from an end-user, e.g. for trick-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • 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/437Interfacing the upstream path of the transmission network, e.g. for transmitting client requests to a VOD server
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/454Content or additional data filtering, e.g. blocking advertisements
    • H04N21/4542Blocking scenes or portions of the received content, e.g. censoring scenes
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/454Content or additional data filtering, e.g. blocking advertisements
    • H04N21/4545Input to filtering algorithms, e.g. filtering a region of the image
    • H04N21/45457Input to filtering algorithms, e.g. filtering a region of the image applied to a time segment

Landscapes

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

Abstract

The application discloses a method and a device for shielding video clips, and relates to the technical field of videos. The specific implementation mode comprises the following steps: sending a video playing request for a selected video to a server, and receiving the selected video from the server; sending a fragment shielding request for the selected videos to the server, wherein the fragment shielding request is used for requesting to shield video fragments of at least one type of presentation content in the selected videos; receiving a shielding indication fed back by the server, wherein the shielding indication is used for indicating a target playing period of a video clip of the presentation content of a target type in the selected video; and according to the shielding indication, shielding the video clip corresponding to the target playing time interval when the selected video is played. According to the method and the device, when the terminal plays the video, the video clips of the target type presenting content can be shielded, so that the discomfort brought by the user when watching the video clips is avoided.

Description

Method and device for shielding video clip
Technical Field
The present application relates to the field of computer technologies, in particular to the field of video technologies, and in particular, to a method and an apparatus for shielding a video segment.
Background
With the development of video technology, more and more users watch videos through various terminals such as mobile phones and smart televisions. In many scenarios, the same terminal device is used by all the family members to watch the same video, and the family members may include the old and children with limited bearing capacity.
In the related technology, the elder can select the videos such as movies and the like which are suitable for both children and adults, so that the videos can be watched together, and the discomfort brought to audiences by pictures such as violence, bloody smell, terrorism and the like in the video playing process can be avoided.
Disclosure of Invention
A method, an apparatus, an electronic device and a storage medium for shielding a video clip are provided.
According to a first aspect, there is provided a method for masking a video segment, which is applied to a terminal, and includes: sending a video playing request for the selected video to a server, and receiving the selected video from the server; sending a fragment shielding request for the selected video to a server, wherein the fragment shielding request is used for requesting to shield a video fragment of at least one type of presentation content in the selected video; receiving a shielding indication fed back by the server, wherein the shielding indication is used for indicating a target playing period of a video clip of the presentation content of the target type in the selected video; and according to the shielding indication, shielding the video clip corresponding to the target playing time interval when the selected video is played.
According to a second aspect, there is provided a video segment masking apparatus for a terminal, the apparatus comprising: a video request unit configured to transmit a video play request for the selected video to the server and receive the selected video from the server; the shielding request unit is configured to send a fragment shielding request for the selected videos to the server, wherein the fragment shielding request is used for requesting to shield video fragments of at least one type of presentation content in the selected videos; a receiving unit configured to receive a masking indication fed back by the server, wherein the masking indication is used for indicating a target playing period of a video segment of the presentation content of the target type in the selected video; and the playing unit is configured to shield the video clip corresponding to the target playing time interval when the selected video is played according to the shielding indication.
According to a third aspect, there is provided an electronic device comprising: one or more processors; a storage device for storing one or more programs which, when executed by one or more processors, cause the one or more processors to implement a method as in any embodiment of the masking method for a video clip.
According to a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the method as any one of the embodiments in the masking method of a video segment.
According to the scheme of the application, the video clips of the target type presenting content can be shielded when the terminal plays the video, so that the uncomfortable feeling brought when a user watches the video clips is avoided.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram to which some embodiments of the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of a method for masking video segments according to the present application;
FIG. 3 is a flow diagram of yet another embodiment of a method of masking video segments according to the present application;
FIG. 4 is a flow diagram of yet another embodiment of a method of masking a video segment according to the present application;
FIG. 5 is a schematic block diagram of one embodiment of a video segment masking device according to the present application;
fig. 6 is a block diagram of an electronic device for implementing the method for masking a video segment according to the embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 shows an exemplary system architecture 100 to which embodiments of the video segment masking method or video segment masking apparatus of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. Various communication client applications, such as video applications, live applications, instant messaging tools, mailbox clients, social platform software, and the like, may be installed on the terminal devices 101, 102, and 103.
Here, the terminal apparatuses 101, 102, and 103 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices having a display screen, including but not limited to smart phones, tablet computers, e-book readers, laptop portable computers, desktop computers, and the like. When the terminal apparatuses 101, 102, 103 are software, they can be installed in the electronic apparatuses listed above. It may be implemented as multiple pieces of software or software modules (e.g., multiple pieces of software or software modules to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
The server 105 may be a server providing various services, such as a background server providing support for the terminal devices 101, 102, 103. The background server may analyze and perform other processing on the received data such as the video playing request, and feed back a processing result (e.g., the selected video) to the terminal device.
It should be noted that the method for shielding video segments provided in the embodiment of the present application may be executed by the terminal devices 101, 102, and 103, and accordingly, the shielding apparatus for video segments may be disposed in the terminal devices 101, 102, and 103.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to FIG. 2, a flow 200 of one embodiment of a method of masking video segments in accordance with the present application is shown. The method for shielding the video clip comprises the following steps:
step 201, sending a video playing request for the selected video to the server, and receiving the selected video from the server.
In this embodiment, an execution subject (for example, the terminal device shown in fig. 1) on which the video clip masking method operates may send a video playing request for a selected video to the server, and receive the selected video fed back by the server. The selected video received here is a video file that can be played. Specifically, the selected video is selected by the user of the terminal by using the terminal, for example, the user performs a selection operation on a video identifier displayed by the terminal, so that the selected video can be selected.
Step 202, sending a segment shielding request for the selected video to the server, wherein the segment shielding request is used for requesting to shield the video segment of at least one type of presentation content in the selected video.
In this embodiment, the execution subject may generate and send a clip mask request for the selected video to the server. The fragment masking request may carry the identifier of the selected video.
In particular, the presentation content, i.e. the content style, of the video may be of various types, e.g. these types may include bloody smell, violence, horror, pornography, etc.
The segment masking request may carry information indicating at least one of the types, thereby requesting to mask the video segment corresponding to the at least one type in the selected video. Alternatively, the segment blocking request may only request to block the video segments in the selected video, and does not indicate which type of video segment is to be blocked, and the server determines the type of the presentation content to be blocked.
And step 203, receiving a shielding indication fed back by the server, wherein the shielding indication is used for indicating a target playing period of the video clip of the target type of the presentation content in the selected video.
In this embodiment, the execution subject may receive a shielding indication fed back by the server for the fragment shielding request. The masking indication may not only indicate a playing period of the video segment of the target type of the presentation content in the selected video, i.e., a target playing period, but also indicate to mask the target playing period when playing.
If the segment masking request indicates a type of the presentation content to be masked, the target type is the type of the presentation content that the segment masking request indicates to mask. If the segment masking request does not include a type indicating the presentation content to be masked, the target type is determined by the server.
And 204, according to the shielding indication, shielding the video clip corresponding to the target playing time interval when the selected video is played.
In this embodiment, the execution main body may mask the video clip corresponding to the target playing period when the selected video is played according to the masking instruction. For example, when playing the selected video, the execution subject may skip the target playing period.
The method provided by the embodiment of the application can shield the video clips of the target type of the presentation content when the terminal plays the video, thereby avoiding the uncomfortable feeling brought when the user watches the video clips.
In some optional implementations of this embodiment, the selected video is divided into a plurality of video segments based on at least one type tag of the presentation content, a part of the video segments in the plurality of video segments corresponds to the at least one type tag, and the video segment of the presentation content of the target type is a video segment corresponding to one or more target type tags.
In these alternative implementations, different types of tags in the at least one type of tag may be represented by different characters, such as letters, words, and/or numbers, etc. The selected video may be divided into a plurality of video segments, for example, at least one type tag is two in number, and the video segments are violent and fishy, and the executive body or other electronic equipment such as a server or a platform terminal may determine the video segment corresponding to the violent type and the video segment corresponding to the fishy type, and other video segments separated by the video segments. Then, the video clips corresponding to the violence type, the video clips corresponding to the bloody smell type, and the other video clips can be taken as the video clips obtained by the division. Here, the video clip corresponding to the violence type and the video clip corresponding to the bloody smell type correspond to the at least one type tag. Any type of video segment described above refers to a video segment of the type of presentation content.
The implementation modes can accurately distinguish different types of video clips by using the type labels, so that the video clips corresponding to the target types can be shielded in playing.
In some optional application scenarios of these implementations, the segment masking request carries one or more target type tags of the at least one type tag.
In these optional application scenarios, the segment shielding request may carry one object type tag of the at least one type tag, or carry multiple object type tags of the at least one type tag. That is, if the user or the terminal selects the target type of the presentation content, the execution body may generate a fragment masking request including a target type tag corresponding to the target type of the presentation content. The number of object types here is the same as the number of object type tags. Here, a plurality of the terms means two or more.
The application scenes can carry target type tags corresponding to the presentation contents of the target types in the fragment shielding request, so that the selection of the target types by a user or a terminal is accurately conveyed.
In some optional implementations of this embodiment, step 202 may include: and sending a request for shielding the selected video clip to the server, so that the server determines more than one type of video clip of the presentation content as the video clip of the target type of the presentation content according to the type of the presentation content of the video clip shielded during video playing in the watching record of the terminal.
In these alternative implementations, the executing agent may send a request for blocking the selected video segment to the server, so that the server determines the video segment of the target type of the presentation content according to the viewing record of the terminal. Specifically, the server may determine, according to the type of the presentation content masked when the user of the terminal viewed the video in the viewing record, more than one type of the presentation content as a target type, and determine a video segment of the presentation content of the target type in the selected video.
In practice, the execution body described above may determine the target type in various ways. For example, the execution subject may directly use the types of the presentation contents of all the masked video segments when the video playing in the viewing record is viewed as the target type. In addition, the execution subject may also set, as the target type, a type of presentation content of a video clip that is masked when the video is played in the last viewing record.
The realization modes can lead the server to automatically determine the video clip to be shielded according to the watching history of the user, thereby avoiding the process of manually inputting the target type by the user and simultaneously ensuring that the method is more in line with the intention of the user.
In some optional implementations of this embodiment, step 202 may include: determining more than one type of video clips of the presentation content as video clips of the target type of the presentation content according to the type of the presentation content of the video clips shielded during video playing in the watching record of the terminal, and sending a clip shielding request for the video clips in the selected video to the server.
In these optional implementation manners, the execution main body may determine, by using the viewing record of the user, video segments of more than one type of display content as video segments of the target type of presentation content, determine a target type tag corresponding to the video segment of the target type of presentation content, and generate and send a segment blocking request carrying the target type tag to the server. Specifically, the execution subject may be determined in such a manner that the target type is determined from the viewing history with reference to the server.
The terminals in the implementation modes can determine the video clips which are more in line with the wishes of the users to shield according to the historical watching records, and meanwhile, the process of automatic determination of the equipment can be realized, and the steps of manual operation of the users are omitted.
In some optional implementations of this embodiment, the method may further include: generating feedback operation information indicating the feedback operation in response to the detection of the feedback operation on the playing period information and the target type label, wherein the target type label indicates the presentation content of the target type, the feedback operation information is used for indicating that a video clip with the presentation content of the target type exists in the video clip corresponding to the playing period indicated by the playing period information, and the playing period indicated by the playing period information is other playing periods except the target playing period in the selected video; and uploading the feedback operation information to the server so that the server or a platform terminal in communication connection with the server adds the target type label to the playing time interval indicated by the feedback operation information.
In these alternative implementations, the execution subject may generate feedback operation information indicating a feedback operation when the feedback operation for the play period information and the target type tag displayed on the terminal is detected. Specifically, the playing period information may be selected by the user on the playing time axis of the displayed selected video, or may be playing period information input by the user, such as starting time point information and ending time point information including the playing period.
The platform terminal here refers to a terminal that can be controlled by a developer of the video platform. The platform terminal may set type tags for various types of presentation contents. Accordingly, the feedback operation information can be fed back to the platform terminal, so that the platform terminal can set target type labels for the missed other playing periods according to the feedback operation information.
When a user watches a selected video of a video segment corresponding to a shielded target playing time period, there is a possibility that the user still watches the presentation content of the target type, that is, the video segment corresponding to the target playing time period cannot completely include the video segment of the presentation content of the target type. In this case, the user can perform feedback, so that the video segment corresponding to the target playing period can accurately and comprehensively include the video segment of the presentation content of the target type in the selected video.
In some optional implementations of this embodiment, step 204 may include: and for each target playing time interval in which the video segment of the target type presenting content in the selected video is positioned, responding to a starting video frame played to the target playing time interval or a previous adjacent video frame of the starting video frame, and taking an ending video frame of the target playing time interval as a video frame played next to the starting video frame, wherein the previous adjacent video frame is a video frame which is different from the starting video frame by a preset number of video frames.
In these alternative implementations, for each target playing period, in the case where the starting video frame of the target playing period is played, the execution subject may regard the ending video frame of the target playing period as the video frame played next to the starting video frame. For example, the first frame of a horror video clip is a1The last frame is anTerminal playing a1Then, directly play an
The starting video frame may also be replaced by a previous neighboring video frame of the starting video frame, where the previous neighboring video frame is different from the starting video frame by a preset number of video frames, such as by one frame, that is, the two are neighboring video frames.
The realization modes can avoid the uncomfortable feeling caused by that a user watches a video picture or hears the sound of the target type by directly skipping the video clip corresponding to the target playing time interval.
In some optional implementations of this embodiment, step 204 may include: carrying out preset shielding treatment on the original audio of the video clip corresponding to the target playing time interval to obtain the treated audio; and playing the processed audio.
In these optional implementation manners, the execution main body may perform preset masking processing on an original audio of the video segment corresponding to the target playing time period, so as to obtain a processed audio, and play the processed audio. Meanwhile, the execution main body can play the original picture of the video clip.
In practice, the preset masking process may be various processes. For example, the execution subject may turn down the volume of the original audio, and use the audio with the turned-down volume as the processed audio.
The realization modes can shield the audio frequency, so that the user is not interfered by the audio frequency, and the discomfort brought to audiences by the audio frequency with larger stimulation can be effectively reduced.
In some optional application scenarios of these implementation manners, the performing, in these implementation manners, a preset masking process on an original audio of a video segment corresponding to a target playing time period to obtain a processed audio may include: and replacing the original audio with a preset type audio, wherein the preset type audio is an interesting audio.
In these optional application scenarios, the execution subject may replace the original audio with the preset type audio. Specifically, the preset type audio may be interesting audio, and may also be classical music audio, symphony audio, or audio selected by the user, and the like.
By playing preset types of audio, such as interesting audio, the application scenes can eliminate the discomfort brought to the user by the target type of pictures and can bring more ease and pleasure to the user.
In some optional application scenarios of these implementation manners, the performing, in these implementation manners, a preset masking process on an original audio of a video segment corresponding to a target playing time period to obtain a processed audio may include: separating original voice and original background sound from original audio; replacing the original voice with a preset type voice, and playing the preset type voice and the original background voice, wherein the preset type voice is a preset tone voice and/or a preset speech speed voice; or replacing the original background sound with a preset type background sound; and playing a preset type background sound and an original voice, wherein the preset type background sound is an interesting background sound.
In these optional application scenarios, the execution main body may process the speech and the background sound of the original audio respectively, so as to obtain different processed audio. For example, the execution body may directly adopt a target voice with a preset pitch and/or a preset speech rate to exchange an original voice. Specifically, the target speech here may be broadcast cavity speech, drama cavity speech, foreign language translation cavity speech, or the like. Alternatively, the execution main body may use a preset type background sound instead of the original background sound, for example, the execution main body may use an interesting background sound, a classical background sound, and the like.
The realization modes can ensure that the user does not miss the audio content in the video clip by processing the original audio, and simultaneously avoid the discomfort of the user caused by the original audio.
In some optional implementations of this embodiment, step 204 may include: for each target playing time interval in which a video segment of the target type presenting content in the selected video is located, responding to a starting video frame played to the target playing time interval or a previous adjacent video frame of the starting video frame, and displaying preset description information, wherein the description information is used for indicating shielding operation in video playing and/or plot introduction information of the video segment corresponding to the target playing time interval, and the previous adjacent video frame is a video frame which is different from the starting video frame by a preset number of video frames; and in response to the time length for displaying the description information reaching the preset time length, taking the ending video frame of the target playing period as a video frame played next to the starting video frame.
In these alternative implementations, the execution main body may display the description information in a case where the playback reaches the target playback period. And in a case where the caption information has been displayed for a preset time period, for example, for 5 seconds, the execution main body may play the video at the play time after the target play period.
Specifically, the description information may indicate a masking operation during the playing of the selected video, for example, the description information may be "skip here violent segments". In addition, the description information may also be a plot introduction of the video segment corresponding to the target playing period. For example, a text segment of the introduction, the executive body may also play the reading sound of the text segment during the process of displaying the scenario introduction information. The reading time of the text may be the preset time.
The realization modes can explain the audience while skipping the playing, thereby leading the audience to know the skipping operation and avoiding the video shielding operation to a certain extent to lead the user to generate the feeling of tangling.
In some optional implementations of this embodiment, step 204 may include: for each target playing time interval in which a video clip of the target type presenting content in the selected video is located, responding to a starting video frame played to the target playing time interval or a previous adjacent video frame of the starting video frame, and playing a processed video clip of the video clip corresponding to the target playing time interval, wherein at least part of a picture of the processed video clip is blurred or shielded, and the previous adjacent video frame is a video frame which is different from the starting video frame by a preset number of video frames.
In these alternative implementations, the executing entity or another electronic device, such as a server, may process a picture of a video clip corresponding to the target playing period to obtain a processed video clip, so that the executing entity may play the processed video clip to the user. Specifically, the execution subject or other electronic device may perform blurring processing or blocking processing, such as mosaic processing, on the video clip corresponding to the target playing period.
The realization modes can process the pictures of the video, not only can avoid the problem that the user can not experience the video clip of the target playing time period at all, but also can reduce or eliminate the discomfort of the user to the target type of the presentation content.
With continued reference to fig. 3, fig. 3 illustrates the flow of yet another embodiment of a method of masking a video segment.
With further reference to fig. 4, a flow 400 of yet another embodiment of a method of masking a video segment is shown. The fragment mask request in this embodiment carries one or more target type tags of the at least one type tag. The process 400 includes the following steps:
step 401, sending a video playing request for the selected video to the server, and receiving the selected video from the server.
In this embodiment, an execution subject (for example, the terminal device shown in fig. 1) on which the video clip masking method is executed may send a video play request for a selected video to the server and receive the selected video from the server. The selected video received here is a video file that can be played. Specifically, the selected video is selected by the user of the terminal by using the terminal, for example, the user performs a selection operation on a video identifier displayed by the terminal, so that the selected video can be selected.
Step 402, before the selected video is played or in the playing process of the selected video, in response to the detection of the shielding operation on the video clip of the presentation content of the target type, sending a clip shielding request for the video clip in the selected video to the server, wherein the clip shielding request is used for requesting to shield the video clip of at least one type of presentation content in the selected video.
In this embodiment, the execution subject may send a segment blocking request for the video segment of the presentation content of the target type in the selected video to the server in the case that a blocking operation for the video segment of the presentation content of the target type is detected before or during the selected video playing.
Specifically, the masking operation by the user may be a selection operation of an option for each target type tag, or an operation of inputting a name of a target type in a video clip of the presentation content of the target type, such as inputting "bloody smell".
And step 403, receiving a shielding indication fed back by the server, wherein the shielding indication is used for indicating a target playing period of the video clip of the presentation content of the target type in the selected video.
In this embodiment, the execution subject may receive a shielding indication fed back by the server for the fragment shielding request. The masking indication may not only indicate a playing period of the video segment of the target type of the presentation content in the selected video, i.e., a target playing period, but also indicate to mask the target playing period when playing.
And step 404, according to the shielding indication, shielding the video clip corresponding to the target playing time interval when the selected video is played.
In this embodiment, the execution main body may mask the video clip corresponding to the target playing period when the selected video is played according to the masking instruction. That is, when playing the selected video, the terminal may completely or partially shield the video segment corresponding to the target playing time period, for example, when playing the selected video, skip the target playing time period. The video clip is a video clip of the target type of presentation content described above.
The embodiment can enable the user to determine the type of the target to be shielded so as to enable the shielded video clip to better meet the user's intention, and can perform shielding operation at various times before or during video broadcasting, thereby increasing the controllability of the video and giving the user greater operation freedom.
With further reference to fig. 5, as an implementation of the methods shown in the above figures, the present application provides an embodiment of a device for masking video segments, which corresponds to the embodiment of the method shown in fig. 2, and which may include the same or corresponding features or effects as the embodiment of the method shown in fig. 2, in addition to the features described below. The device can be applied to various electronic equipment.
As shown in fig. 5, the video clip masking apparatus 500 of the present embodiment includes: a video requesting unit 501, a mask requesting unit 502, a receiving unit 503, and a playing unit 504. The video requesting unit 501 is configured to send a video playing request for the selected video to the server, and receive the selected video from the server; a blocking request unit 502 configured to send a segment blocking request for the selected video to the server, wherein the segment blocking request is used for requesting to block a video segment of at least one type of presentation content in the selected video; a receiving unit 503 configured to receive a masking indication fed back by the server, wherein the masking indication indicates a target playing period of a video segment of the presentation content of the target type in the selected video; and the playing unit 504 is configured to mask the video segment corresponding to the target playing time interval when the selected video is played according to the masking indication.
In this embodiment, specific processing of the video request unit 501, the masking request unit 502, the receiving unit 503, and the playing unit 504 of the video clip masking device 500 and technical effects thereof can refer to the related descriptions of step 201, step 202, step 203, and step 204 in the corresponding embodiment of fig. 2, which are not repeated herein.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
Fig. 6 is a block diagram of an electronic device according to an embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 6, the electronic apparatus includes: one or more processors 601, memory 602, and interfaces for connecting the various components, including a high-speed interface and a low-speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). In fig. 6, one processor 601 is taken as an example.
The memory 602 is a non-transitory computer readable storage medium as provided herein. The memory stores instructions executable by the at least one processor to cause the at least one processor to perform the method for masking video segments provided herein. The non-transitory computer-readable storage medium of the present application stores computer instructions for causing a computer to perform the method of masking a video segment provided by the present application.
The memory 602, which is a non-transitory computer-readable storage medium, may be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions/modules corresponding to the video segment masking method in the embodiment of the present application (for example, the video requesting unit 501, the masking requesting unit 502, the receiving unit 503, and the playing unit 504 shown in fig. 5). The processor 601 executes various functional applications of the server and data processing, i.e., implementing the video clip masking method in the above-described method embodiments, by running non-transitory software programs, instructions, and modules stored in the memory 602.
The memory 602 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created from use of the masking electronics of the video clip, and the like. Further, the memory 602 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 602 optionally includes memory located remotely from the processor 601, and these remote memories may be connected to the video clip's masking electronics over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the video clip masking method may further include: an input device 603 and an output device 604. The processor 601, the memory 602, the input device 603 and the output device 604 may be connected by a bus or other means, and fig. 6 illustrates the connection by a bus as an example.
The input device 603 may receive input numeric or character information and generate key signal inputs related to user settings and function controls of the shielded electronic device for the video clip, such as a touch screen, keypad, mouse, track pad, touch pad, pointer stick, one or more mouse buttons, track ball, joystick, or other input device. The output devices 604 may include a display device, auxiliary lighting devices (e.g., LEDs), and tactile feedback devices (e.g., vibrating motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes a video requesting unit, a mask requesting unit, a receiving unit, and a playing unit. The names of these units do not in some cases constitute a limitation on the unit itself, for example, the blocking request unit may also be described as a "unit that sends a blocking request for a segment of the selected video to the server".
As another aspect, the present application also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be present separately and not assembled into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to: sending a video playing request for the selected video to a server, and receiving the selected video from the server; sending a fragment shielding request for the selected video to a server, wherein the fragment shielding request is used for requesting to shield a video fragment of at least one type of presentation content in the selected video; receiving a shielding indication fed back by the server, wherein the shielding indication is used for indicating a target playing period of a video clip of the presentation content of the target type in the selected video; and according to the shielding indication, shielding the video clip corresponding to the target playing time interval when the selected video is played.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (15)

1. A method for shielding video clips is applied to a terminal, and comprises the following steps:
sending a video playing request for a selected video to a server, and receiving the selected video from the server;
sending a fragment shielding request for the selected videos to the server, wherein the fragment shielding request is used for requesting to shield video fragments of at least one type of presentation content in the selected videos;
receiving a shielding indication fed back by the server, wherein the shielding indication is used for indicating a target playing period of a video clip of the presentation content of a target type in the selected video;
and according to the shielding indication, shielding the video clip corresponding to the target playing time interval when the selected video is played.
2. The method of claim 1, wherein,
the selected video is divided into a plurality of video segments based on at least one type label of the presentation content, part of the video segments in the plurality of video segments correspond to the at least one type label, and the video segments of the presentation content of the target type are video segments corresponding to one or more target type labels.
3. The method according to claim 1 or 2, wherein the method further comprises:
in response to detecting a feedback operation on playing period information and a target type label, generating feedback operation information indicating the feedback operation, wherein the target type label indicates the presentation content of the target type, the feedback operation information is used for indicating that a video clip of the presentation content of the target type exists in a video clip corresponding to the playing period indicated by the playing period information, and the playing period indicated by the playing period information is a playing period other than the target playing period;
and uploading the feedback operation information to the server so that the server or a platform terminal in communication connection with the server adds the target type tag to the playing time period indicated by the feedback operation information.
4. The method of claim 2, wherein the fragment mask request carries one or more target type tags of the at least one type tag.
5. The method of claim 1 or 4, wherein said sending a segment masking request for the selected video to the server comprises:
and responding to the detected shielding operation of the video clip of the target type of the presentation content before the selected video is played or in the playing process of the selected video, and sending a clip shielding request of the video clip in the selected video to the server.
6. The method of claim 1 or 4, wherein said sending a segment masking request for the selected video to the server comprises:
determining more than one type of video clips presenting the content as the video clips of the target type of the presenting content according to the type of the presenting content of the video clips shielded during the video playing in the watching record of the terminal, and sending a clip shielding request for the video clip in the selected video to the server.
7. The method of claim 1, wherein said sending a segment mask request for the selected video to the server comprises:
and sending a request for shielding the selected video clip to the server, so that the server determines more than one type of video clip presenting content as the video clip of the target type of presenting content according to the type of the presenting content of the video clip shielded during video playing in the watching record of the terminal.
8. The method according to claim 1, wherein the masking, according to the masking indication, the video segment corresponding to the target playing period when the selected video is played includes:
and for each target playing time interval in which the video segment of the target type presenting content in the selected video is located, responding to a starting video frame played to the target playing time interval or a previous adjacent video frame of the starting video frame, and taking an ending video frame of the target playing time interval as a video frame played next to the starting video frame, wherein the previous adjacent video frame is a video frame which is different from the starting video frame by a preset number of video frames.
9. The method according to claim 8, wherein the masking, according to the masking indication, the video segment corresponding to the target playing period when the selected video is played further comprises:
carrying out preset shielding treatment on the original audio of the video clip corresponding to the target playing time interval to obtain the treated audio;
and playing the processed audio.
10. The method according to claim 9, wherein the step of performing preset masking processing on the original audio of the video segment corresponding to the target playing time period to obtain a processed audio includes:
and replacing the original audio with a preset type audio, wherein the preset type audio is an interesting audio.
11. The method according to claim 9, wherein the step of performing preset masking processing on the original audio of the video segment corresponding to the target playing time period to obtain a processed audio includes:
separating original voice and original background sound from the original audio;
replacing the original voice with a preset type voice, and playing the preset type voice and the original background voice, wherein the preset type voice is a preset tone voice and/or a preset speech speed voice; or
Replacing the original background sound with a preset type background sound; and playing the preset type background sound and the original voice, wherein the preset type background sound is an interesting background sound.
12. The method according to claim 1, wherein the masking, according to the masking indication, the video segment corresponding to the target playing period when the selected video is played includes:
for each target playing time interval in which the video segment of the target type presenting content in the selected video is located, responding to a starting video frame played to the target playing time interval or a previous adjacent video frame of the starting video frame, and displaying preset description information, wherein the description information is used for indicating shielding operation in video playing and/or scenario introduction information of the video segment corresponding to the target playing time interval, and the previous adjacent video frame is a video frame which is different from the starting video frame by a preset number of video frames;
and in response to the time length for displaying the description information reaching the preset time length, taking the ending video frame of the target playing time interval as the video frame played next to the starting video frame.
13. The method according to claim 1, wherein the masking, according to the masking indication, the video segment corresponding to the target playing period when the selected video is played includes:
for each target playing time interval in which the video clip of the target type presenting content in the selected video is located, responding to a starting video frame played to the target playing time interval or a previous adjacent video frame of the starting video frame, and playing a processed video clip of the video clip corresponding to the target playing time interval, wherein at least part of a picture of the processed video clip is blurred or shielded, and the previous adjacent video frame is a video frame which is different from the starting video frame by a preset number of video frames.
14. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-13.
15. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method of any one of claims 1-13.
CN202010728262.5A 2020-07-24 2020-07-24 Method and device for shielding video clip Pending CN111866550A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010728262.5A CN111866550A (en) 2020-07-24 2020-07-24 Method and device for shielding video clip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010728262.5A CN111866550A (en) 2020-07-24 2020-07-24 Method and device for shielding video clip

Publications (1)

Publication Number Publication Date
CN111866550A true CN111866550A (en) 2020-10-30

Family

ID=72947037

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010728262.5A Pending CN111866550A (en) 2020-07-24 2020-07-24 Method and device for shielding video clip

Country Status (1)

Country Link
CN (1) CN111866550A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112416222A (en) * 2020-11-16 2021-02-26 珠海格力电器股份有限公司 Method and device for shielding screen projection video clip and user terminal
CN112423081A (en) * 2020-11-09 2021-02-26 腾讯科技(深圳)有限公司 Video data processing method, device and equipment and readable storage medium
CN114339361A (en) * 2021-10-18 2022-04-12 腾讯科技(深圳)有限公司 Video content masking method, apparatus, device, storage medium and program product
CN114745588A (en) * 2022-04-08 2022-07-12 泰州市华仕达机械制造有限公司 Microcomputer operating platform applying characteristic detection
WO2023001152A1 (en) * 2021-07-21 2023-01-26 华为技术有限公司 Method for recommending video clip, electronic device, and server

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110217024A1 (en) * 2010-03-05 2011-09-08 Tondra Schlieski System, method, and computer program product for custom stream generation
CN103209339A (en) * 2006-06-22 2013-07-17 Tivo有限公司 Method and apparatus for creating and viewing customized multimedia segments
CN103931199A (en) * 2011-11-14 2014-07-16 苹果公司 Generation of multi -views media clips
CN107454475A (en) * 2017-07-28 2017-12-08 珠海市魅族科技有限公司 Control method and device, computer installation and the readable storage medium storing program for executing of video playback
CN107995523A (en) * 2017-12-21 2018-05-04 广东欧珀移动通信有限公司 Video broadcasting method, device, terminal and storage medium
CN110381364A (en) * 2019-06-13 2019-10-25 北京奇艺世纪科技有限公司 Video data handling procedure, device, computer equipment and storage medium
CN110475154A (en) * 2018-05-10 2019-11-19 腾讯科技(深圳)有限公司 Network television video playing method and device, Web TV and computer media
CN111314744A (en) * 2020-03-17 2020-06-19 北京奇艺世纪科技有限公司 Video pushing method and server

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103209339A (en) * 2006-06-22 2013-07-17 Tivo有限公司 Method and apparatus for creating and viewing customized multimedia segments
US20110217024A1 (en) * 2010-03-05 2011-09-08 Tondra Schlieski System, method, and computer program product for custom stream generation
CN103931199A (en) * 2011-11-14 2014-07-16 苹果公司 Generation of multi -views media clips
CN107454475A (en) * 2017-07-28 2017-12-08 珠海市魅族科技有限公司 Control method and device, computer installation and the readable storage medium storing program for executing of video playback
CN107995523A (en) * 2017-12-21 2018-05-04 广东欧珀移动通信有限公司 Video broadcasting method, device, terminal and storage medium
CN110475154A (en) * 2018-05-10 2019-11-19 腾讯科技(深圳)有限公司 Network television video playing method and device, Web TV and computer media
CN110381364A (en) * 2019-06-13 2019-10-25 北京奇艺世纪科技有限公司 Video data handling procedure, device, computer equipment and storage medium
CN111314744A (en) * 2020-03-17 2020-06-19 北京奇艺世纪科技有限公司 Video pushing method and server

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112423081A (en) * 2020-11-09 2021-02-26 腾讯科技(深圳)有限公司 Video data processing method, device and equipment and readable storage medium
CN112416222A (en) * 2020-11-16 2021-02-26 珠海格力电器股份有限公司 Method and device for shielding screen projection video clip and user terminal
WO2023001152A1 (en) * 2021-07-21 2023-01-26 华为技术有限公司 Method for recommending video clip, electronic device, and server
CN115695860A (en) * 2021-07-21 2023-02-03 华为技术有限公司 Method for recommending video clip, electronic device and server
CN114339361A (en) * 2021-10-18 2022-04-12 腾讯科技(深圳)有限公司 Video content masking method, apparatus, device, storage medium and program product
CN114745588A (en) * 2022-04-08 2022-07-12 泰州市华仕达机械制造有限公司 Microcomputer operating platform applying characteristic detection

Similar Documents

Publication Publication Date Title
CN111866550A (en) Method and device for shielding video clip
CN109640188B (en) Video preview method and device, electronic equipment and computer readable storage medium
US11778247B2 (en) Dynamic insertion of content within live streaming video
CN111291220B (en) Label display method and device, electronic equipment and computer readable medium
US20220337920A1 (en) Sharing timestamps for video content in a messaging platform
CN113365133B (en) Video sharing method, device, equipment and medium
US11677711B2 (en) Metrics-based timeline of previews
CN113286197A (en) Information display method and device, electronic equipment and storage medium
CN111277861B (en) Method and device for extracting hot spot segments in video
CN114154012A (en) Video recommendation method and device, electronic equipment and storage medium
CN111954077A (en) Video stream processing method and device for live broadcast
US20180249213A1 (en) Cognitive image obstruction
CN110958481A (en) Video page display method and device, electronic equipment and computer readable medium
WO2021218556A1 (en) Information display method and apparatus, and electronic device
CN111163348A (en) Searching method and device based on video playing
CN111770376A (en) Information display method, device, system, electronic equipment and storage medium
CN111601150A (en) Video processing method and device
US20140119710A1 (en) Scene control system and method and recording medium thereof
CN112383825B (en) Video recommendation method and device, electronic equipment and medium
US20200099987A1 (en) Systems and methods for displaying a live video stream in a graphical user interface
CN112579935A (en) Page display method, device and equipment
CN114443201A (en) Message display method, device, equipment and storage medium
CN111770388B (en) Content processing method, device, equipment and storage medium
CN110798736B (en) Video playing method, device, equipment and medium
CN113365010A (en) Volume adjusting method, device, equipment and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20201030

RJ01 Rejection of invention patent application after publication