CN104902337B - Video masking player method, device and terminal device - Google Patents
Video masking player method, device and terminal device Download PDFInfo
- Publication number
- CN104902337B CN104902337B CN201510309966.8A CN201510309966A CN104902337B CN 104902337 B CN104902337 B CN 104902337B CN 201510309966 A CN201510309966 A CN 201510309966A CN 104902337 B CN104902337 B CN 104902337B
- Authority
- CN
- China
- Prior art keywords
- video
- frame
- played
- shielding
- current
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-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/47202—End-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 requesting content on demand, e.g. video on demand
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
- H04N21/440245—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display the reformatting operation being performed only on part of the stream, e.g. a region of the image or a time segment
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
The embodiment of the invention discloses a kind of video masking player method, device and terminal device, it is related in mobile device technology field, this method, receives the play instruction to video;Read the current frame of video to be played of the video;The current frame of video to be played is matched with the start frame of the frame of video centering pre-saved, when the match is successful, N number of frame of video after current frame of video to be played and current frame of video to be played is played in shielding, and last frame of video and the end frame of the frame of video centering that wherein N plays for the integer not less than 0 and shielding match.This programme is simple to operate and can ensure the integrality of video.
Description
Technical field
The present embodiments relate to mobile device technology field, more particularly to a kind of video masking player method, device and
Terminal device.
Background technology
At present, such as mobile terminal of smart mobile phone, tablet personal computer or personal digital assistant etc, has penetrated into each neck
Domain, is generally used by people.One common mobile terminal generally there is instant messaging, game, music, video to broadcast
Put, the function such as Internet resources are browsed.Video playback is used as the highly important function of one of which, using the teaching of the invention it is possible to provide the resources of movie & TV
(such as film, TV play, entertainment) is watched for user, so as to be greatly enriched the cultural life of people, meets people
Visual experience, contribute to people obtain knowledge understand the world.
However, some contents that are immoral, illegal or not meeting socialist value outlook are included in some videos, this
A little contents are to be not suitable for playing out, it is necessary to carry out information filtering.Current information filtering mode be by video intercepting or
Being not suitable in video is played content and deleted by person's video filtering instrument, is then not suitable for what is obtained in broadcasting
The video of appearance re-starts preservation.
Such scheme has a drawback in that:The integrality of video is destroyed, it is desirable to which the video content for recovering complete compares
It is difficult;And, it is not suitable for when the quantity comprising the video for being not suitable for playing content is more, it is necessary to be performed respectively to multiple videos
The deletion action of content is played, is then each preserved again, is operated comparatively laborious.
The content of the invention
The purpose of the present invention is to propose to a kind of video masking player method, device and terminal device, to solve prior art
In information filtering is carried out to video and the integrity of video that causes is destroyed, and content filtering operations it is cumbersome the problem of.
In a first aspect, the embodiment of the present invention provides a kind of method video masking player method, including:
Receive the play instruction to video;
Read the current frame of video to be played of the video;
The current frame of video to be played is matched with the start frame of the frame of video centering pre-saved, matched into
During work(, N number of frame of video after current frame of video to be played and current frame of video to be played is played in shielding, and wherein N is not small
Last frame of video and the end frame of the frame of video centering played in 0 integer and shielding match.
Second aspect, the embodiment of the present invention provides a kind of video masking playing device, including:
Instruction reception unit, for receiving the play instruction to video;
Frame of video reading unit, the current frame of video to be played for reading the video;
Frame of video matching unit, for by the starting of the current frame of video to be played and the frame of video centering pre-saved
Frame is matched;
Frame of video screen unit, for when the match is successful for the frame of video matching unit, shielding to be played current to be played
N number of frame of video after frame of video and current frame of video to be played, wherein N is the integer not less than 0 and shields broadcasting most
Latter frame of video and the end frame of the frame of video centering match.
The third aspect, the embodiment of the present invention provides a kind of terminal device, including the video masking playing device.
In the embodiment of the present invention, receive after the play instruction to video, read the current video to be played of the video
Frame, the current frame of video to be played is matched with the start frame of the frame of video centering pre-saved, when the match is successful,
N number of frame of video after current frame of video to be played and current frame of video to be played is played in shielding, and wherein N is not less than 0
Last frame of video and the end frame of the frame of video centering that integer and shielding are played match.That is, pre- in this programme
First preserving needs to shield the start frame and end frame corresponding to the video content played, ought then in video display process
Preceding frame of video to be played is matched with the start frame pre-saved, and current video to be played is played in shielding when the match is successful
Frame and content (including current frame of video to be played and the video that matches with end frame between the frame of video that matches of end frame
Frame), so as to reach that the purpose of video content is played in shielding, using this programme, without to video progress video frame deletion and again
Operation is preserved, thus operation is simpler, simplifies information filtering scheme of the prior art, also due to without be regarded to video
Frequency frame deletion is operated, so as to ensure that the integrality of video.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet for video masking player method that the embodiment of the present invention one is provided;
Fig. 2 is a kind of schematic flow sheet for video masking player method that the embodiment of the present invention two is provided;
Fig. 3 is a kind of schematic flow sheet for video masking player method that the embodiment of the present invention three is provided;
Fig. 4 is a kind of schematic flow sheet for video masking player method that the embodiment of the present invention four is provided;
Fig. 5 is a kind of schematic flow sheet for video masking player method that the embodiment of the present invention five is provided;
Fig. 6 is a kind of structural representation for video masking broadcasting device that the embodiment of the present invention six is provided.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that, in order to just
Part related to the present invention rather than entire infrastructure are illustrate only in description, accompanying drawing.
Embodiment one
Fig. 1 be the embodiment of the present invention one provide a kind of video masking player method flow chart, this method can by regarding
Frequency shields playing device to perform, and the device can realize that the device may be provided in terminal device, such as with software or example, in hardware
Shown in Fig. 1, the method for the present embodiment is specifically included:Step 110- steps 130.
Step 110:Receive the play instruction to video;
Step 120:Read the current frame of video to be played of video;
Step 130:Current frame of video to be played is matched with the start frame of the frame of video centering pre-saved,
During with success, N number of frame of video after current frame of video to be played and current frame of video to be played is played in shielding, and wherein N is
Last frame of video and the end frame of frame of video centering that integer and shielding not less than 0 are played match.
Specifically, receive user triggering the play instruction to video after, for the video the need for play it is every
Individual frame of video, is performed both by the operation of above-mentioned steps 130.
Also, the frame of video pre-saved is one or more to that can have, when having pre-saved multiple frame of video pair,
Read every time after the current frame of video to be played of video, it is necessary to for each frame of video to performing the operation of step 130 respectively.
According to the scheme of the present embodiment, when start frame in the video frame is identical with end frame, only shielding is played and currently treated
Play frame of video.
In the present embodiment, in video display process, current frame of video to be played and the start frame pre-saved are carried out
Matching, and current frame of video to be played and the content between the frame of video that matches of end frame are played in shielding when the match is successful
(including current frame of video to be played and frame of video with end frame matching), so as to reach that the mesh of video content is played in shielding
, using this programme, operated without carrying out video frame deletion to video and preserving again, thus operation is simpler, simplifies existing
There is the information filtering scheme in technology, also due to without carrying out frame of video deletion action to video, so as to ensure that the complete of video
Whole property.
Embodiment two:
Fig. 2 be the embodiment of the present invention two provide a kind of video masking player method flow chart, this method can by regarding
Frequency shields playing device to perform, and the device can realize that the device may be provided in terminal device, such as with software or example, in hardware
Shown in Fig. 2, the method for the present embodiment is specifically included:Step 210- steps 240.
Step 210:Determine the video content for needing shielding to play in Sample video;Extract the corresponding starting of the video content
Frame and end frame;Using the start frame and end frame as frame of video to preserving;
Step 220:Receive the play instruction to video;
Step 230:Read the current frame of video to be played of the video;
Step 240:Current frame of video to be played is matched with the start frame of the frame of video centering pre-saved,
During with success, N number of frame of video after current frame of video to be played and current frame of video to be played is played in shielding, and wherein N is
Last frame of video and the end frame of frame of video centering that integer and shielding not less than 0 are played match.
Specifically, in above-mentioned steps 210, determining the video content for needing shielding to play in Sample video, it is implemented
Can be as follows:According to setting operation of the user during samples played video to the video, determine to need in Sample video
The video content played is shielded, it is exemplary, clicking operation is carried out at video playback interface twice before and after user, then by first
Video playback picture during secondary clicking operation shields the starting point for the video content played as needs, during by second of clicking operation
Video playback picture as need shield play video content terminal, using the video content between Origin And Destination as
All need to shield the video content played.It is also possible that the start time point and end time point of user's input are received, by sample
Video content in this video between start time point and end time point, is used as the video content for needing shielding to play.
Above-mentioned Sample video can be user's selection or the video obtained by other any modes.The number of Sample video
Mesh can be one or more, and when the number of Sample video is multiple, step 210 is performed respectively for each Sample video
Operation, when performing the operation of step 210 to some Sample video, can obtain one or more frame of video pair.
It is exemplary, using start frame and end frame as frame of video to preserving when, can specifically be saved in one
Under catalogue, such as frame is under catalogue.The frame can be saved in server end to catalogue, and user starts Video Applications in terminal
Afterwards, terminal can obtain the frame to catalogue from server end.
In the present embodiment, pre-saving needs to shield the start frame and end frame corresponding to the video content played, then
In video display process, current frame of video to be played is matched with the start frame pre-saved, and when the match is successful
Current frame of video to be played and content (including the currently frame of video to be played between the frame of video that match of end frame are played in shielding
And the frame of video matched with end frame), so as to reach that the purpose of video content is played in shielding, using this programme, without to regarding
Frequency carries out video frame deletion and preserves operation again, thus operation is simpler, simplifies information filtering scheme of the prior art,
Also due to without carrying out frame of video deletion action to video, so as to ensure that the integrality of video.
Embodiment three:
Fig. 3 be the embodiment of the present invention three provide a kind of video masking player method flow chart, this method can by regarding
Frequency shields playing device to perform, and the device can realize that the device may be provided in terminal device with software or example, in hardware.This
Embodiment is by the operation in above-mentioned two embodiment:Shielding play current frame of video to be played and current frame of video to be played it
N number of frame of video afterwards, is specifically optimized, as shown in figure 3, the operation after optimization is specifically included:Step 310- steps 320.
Step 310:Current frame of video to be played is played in shielding;
Step 320:When current frame of video to be played is not last frame of video of video, reads the next of video and treat
Frame of video is played as current frame of video to be played, by current frame of video to be played and the end frame progress of frame of video centering
Match somebody with somebody, if the match is successful, shielding plays current frame of video to be played and terminates current shielding playing flow, if it fails to match,
Then shielding plays current frame of video to be played and repeats this step 320.
In above-mentioned steps 320, when the match is successful, it is meant that current frame of video to be played is to need screen to play most
Latter frame of video, therefore terminate current shielding playing flow after current frame of video to be played is played in shielding;Lost in matching
When losing, it is meant that current frame of video to be played is also not required to last frame of video of screen broadcasting, therefore is played in shielding
Still need to proceed the matching of frame of video after current frame of video to be played, until finding the frame of video matched with end frame.
In above-mentioned steps 320, when current frame of video to be played is last frame of video of video, then shielding, which is played, works as
Preceding frame of video to be played simultaneously terminates current shielding playing flow.
The present embodiment is realized in currently playing video, the start frame with frame of video centering by such scheme
Video content between the frame of video matched somebody with somebody and the frame of video matched with the end frame of frame of video centering, carries out the side of shielding broadcasting
Case so that the feasibility of the shielding broadcasting scheme of video content is higher, more precisely.
Example IV:
Fig. 4 be the embodiment of the present invention four provide a kind of video masking player method flow chart, this method can by regarding
Frequency shields playing device to perform, and the device can realize that the device may be provided in terminal device with software or example, in hardware.
Above-described embodiment three is optimized the present embodiment, in embodiment three, in current frame of video to be played and video
The end frame of frame centering is when it fails to match, can read next frame of video and be carried out as current frame of video to be played and end frame
Match somebody with somebody, until finding the frame of video matched with end frame, just terminate shield playing flow, however, be likely to occur in force with
Lower situation:There is the frame of video matched with the start frame of frame of video centering in video, but in the absence of the knot with frame of video centering
The frame of video that beam frame matches, now, if still using the scheme of embodiment three, can cause last video until video
Frame, also can not find the frame of video matched with end frame, so as to video since the frame of video matched with start frame in video
Last frame of video, played by shielding, and contents that these shieldings are played be not it is advance contemplate the need for shield and broadcast
The content put, can strong influence Consumer's Experience.
To solve the above problems, as shown in figure 4, the method for the present embodiment is specifically included:Following steps 410- steps 460.
Step 410:Current frame of video to be played is played in shielding;
Step 420:After it is determined that currently frame of video to be played is for last frame of video of video, judgement currently is waited to broadcast
Put the corresponding difference played between the broadcasting moment corresponding with start frame at moment of frame of video, if corresponding less than end frame to broadcast
Put the moment difference played between the moment corresponding with start frame;If so, then performing step 430, otherwise, step 460 is performed:
Step 430:Next frame of video to be played of video is read as current frame of video to be played, is regarded currently to be played
Frequency frame is matched with the end frame of frame of video centering, if the match is successful, is performed step 440, if it fails to match, is performed step
Rapid 450;
Step 440:Shielding plays current frame of video to be played and terminates current shielding playing flow;
Step 450:Shielding plays current frame of video to be played and returns to execution step 420;
Step 460:Terminate current shielding playing flow.
In the present embodiment, after current frame of video to be played is played in shielding, it can judge that current frame of video to be played is corresponding
Play the moment difference played between the moment corresponding with start frame, if broadcasting moment corresponding less than end frame and start frame
The corresponding difference played between the moment, if being less than, means that the time span of the frame of video that shielding is played at present is less than and regards
The interval time lengths of frequency frame centering start frame and end frame, now may proceed to read next frame of video and to be played are regarded as current
Frequency frame is matched with end frame;If being not less than, mean that the time span of the frame of video that shielding is played at present is equal to video
The interval time lengths of frame centering start frame and end frame, can now terminate current shielding playing flow, that is, using we
, there is the frame of video that matches with the start frame in frame of video pair in there is video, but be not present and frame of video centering in case
During the situation for the frame of video that end frame matches, the time span for shielding the video content played is at most equal to frame of video centering
The interval time lengths of beginning frame and end frame, rather than in video since the frame of video matched with start frame to the last of video
One frame of video, can be played by shielding, so as to be effectively reduced the duration of the video content that shielding is played by mistake, and then be improved
The precision of video masking player method, improves Consumer's Experience.
Embodiment five:
Fig. 5 be the embodiment of the present invention five provide a kind of video masking player method flow chart, this method can by regarding
Frequency shields playing device to perform, and the device can realize that the device may be provided in terminal device with software or example, in hardware.
Above-described embodiment three is optimized the present embodiment, and situations below is likely to occur in implementation:In the multiple of preservation
There are two frame of video pair in frame of video centering, respectively frame of video to a and frame of video to b, start frame and video of the frame of video to a
Frame is identical to b start frame, and frame of video is different to b end frame from frame of video to a end frame, and frame of video is to a knot
The beam frame corresponding broadcasting moment is later than end frame corresponding broadcasting moment of the frame of video to b, if according to the side of above-described embodiment three
Case, two frame of video will not be played to the differential section that the video content of broadcasting is shielded the need for corresponding by shielding, influence
The precision of video masking player method.
To solve the above problems, as shown in figure 5, the method for the present embodiment is specifically included:Step 510- steps 560.
Step 510:Current frame of video to be played is played in shielding;
Step 520:When current frame of video to be played is not last frame of video of video, reads the next of video and treat
Frame of video is played as current frame of video to be played, by current frame of video to be played and the end frame progress of frame of video centering
Match somebody with somebody, if the match is successful, perform step 530, if it fails to match, perform step 560;
Step 530:Judge whether to meet other frame of video pair imposed a condition;This impose a condition including:Comprising
Start frame end frame identical and being included with the start frame of the frame of video centering it is corresponding play the moment be later than video
The end frame corresponding broadcasting moment of frame centering;If so, then performing step 540, otherwise, step 550 is performed;
Step 540:When current frame of video to be played is not last frame of video of the video, read under video
One frame of video to be played is as current frame of video to be played, by current frame of video to be played and the end frame of other frame of video centerings
Matched, if the match is successful, shielding plays current frame of video to be played and terminates current shielding playing flow, if matching
Failure, then shielding plays current frame of video to be played and repeats this step;
Step 550:Shielding plays current frame of video to be played and terminates the operation of current shielding playing flow;
Step 560:Shielding plays current frame of video to be played and returns to execution step 520.
In the present embodiment, after by the end frame progress in current frame of video to be played and frame of video pair, the match is successful, meeting
Other frame of video pair imposed a condition described in meeting are judged whether, if in the presence of the next to be played of video is read in continuation
Frame of video is matched as current frame of video to be played with the end frame of other frame of video centerings, until find and other
The frame of video that the end frame of frame of video centering matches, just terminates to shield the operation of playing flow so that two frame of video are to institute
The differential section of the video content of broadcasting is shielded the need for correspondence to be played by shielding, so as to ensure that video masking broadcasting side
The precision of method.
Embodiment six:
Referring to Fig. 6, the present embodiment provides a kind of video masking playing device, may be disposed in terminal device, the device bag
Include:
Instruction reception unit 610, for receiving the play instruction to video;
Frame of video reading unit 620, the current frame of video to be played for reading the video;
Frame of video matching unit 630, for by the current frame of video to be played and the frame of video centering pre-saved
Start frame is matched;
Frame of video screen unit 640, for when the match is successful for the frame of video matching unit, shielding to be played and currently waits to broadcast
N number of frame of video after frame of video and current frame of video to be played is put, wherein N is the integer not less than 0 and shields what is played
Last frame of video and the end frame of the frame of video centering match.
Further, the device also includes:
Frame of video is to acquiring unit 650, for the video content for determining to need shielding to play in Sample video;Extract described
The corresponding start frame of video content and end frame;Using the start frame and the end frame as frame of video to preserving.
Further, the frame of video screen unit 640 specifically for:Shielding is played current to be played in accordance with the following steps
N number of frame of video after frame of video and current frame of video to be played:
A, shielding play current frame of video to be played;
B, when current frame of video to be played is not last frame of video of the video, read the next of the video
Frame of video to be played enters current frame of video to be played and the end frame of the frame of video centering as current frame of video to be played
Row matching, if the match is successful, shielding plays current frame of video to be played and terminates current shielding playing flow, if matching is lost
Lose, then shielding plays current frame of video to be played and repeats this step B.
Further, the frame of video screen unit 640 is additionally operable to:
It is determined that after currently frame of video to be played is not for last frame of video of the video, reading institute in step B
Before next frame of video to be played of video is stated as current frame of video to be played, judge that current frame of video to be played is corresponding broadcasts
Put the moment it is corresponding with the start frame play the moment between difference, if it is corresponding less than the end frame broadcasting moment with
The corresponding difference played between the moment of the start frame;
When being judged as YES, triggering performs the next frame of video to be played for reading the video as current video to be played
The operation of frame.
Further, the frame of video screen unit 640 is additionally operable to:When being judged as NO, terminate current shielding and play
Flow.
Further, the frame of video screen unit 640 is additionally operable to:In step B after the match is successful, shielding play work as
Preceding frame of video to be played simultaneously terminates current shielding
Before playing flow, judge whether to meet other frame of video pair imposed a condition;It is described impose a condition including:
Comprising start frame end frame identical and being included with the start frame of the frame of video centering it is corresponding play evening at moment
In the end frame of the frame of video centering corresponding broadcasting moment;
When being judged as NO, triggering performs shielding and plays current frame of video to be played and terminate current shielding playing flow
Operation.
Further, the frame of video screen unit 640 is additionally operable to:When being judged as YES, following steps C is performed:
C, when current frame of video to be played is not last frame of video of the video, read the next of the video
Frame of video to be played is as current frame of video to be played, by current frame of video to be played and the end of other frame of video centerings
Frame is matched, if the match is successful, and shielding plays current frame of video to be played and terminates current shielding playing flow, if
With failure, then shielding plays current frame of video to be played and repeats this step C.
The video masking playing device that the present embodiment is provided can perform the video masking that any embodiment of the present invention is provided
Player method, possesses the corresponding functional module of execution method and beneficial effect.
Embodiment seven:
The present embodiment provides a kind of terminal device, and the video masking that the terminal device includes described in embodiment six plays dress
Put.The terminal device can be specifically smart mobile phone, notebook, PC, tablet personal computer etc..
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art it is various it is obvious change,
Readjust and substitute without departing from protection scope of the present invention.Therefore, although the present invention is carried out by above example
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.
Claims (14)
1. a kind of video masking player method, it is characterised in that including:
Receive the play instruction to video;
Read the current frame of video to be played of the video;
The current frame of video to be played is matched with the start frame of each frame of video centering pre-saved, matched into
During work(, N number of frame of video after current frame of video to be played and current frame of video to be played is played in shielding, and wherein N is not small
Last frame of video and the end frame of the frame of video centering played in 0 integer and shielding match;Pre-save
Frame of video is one or more to having;
N number of frame of video after current frame of video to be played and current frame of video to be played is played in shielding, is specifically included:
A, shielding play current frame of video to be played;
B, when current frame of video to be played is not last frame of video of the video, read the next of video and wait to broadcast
Frame of video is put as current frame of video to be played, by current frame of video to be played and the end frame progress of the frame of video centering
Match somebody with somebody, if the match is successful, shielding plays current frame of video to be played and terminates current shielding playing flow, if it fails to match,
Then shielding plays current frame of video to be played and repeats this step B.
2. the method as described in claim 1, it is characterised in that before the play instruction to video is received, in addition to:
Determine the video content for needing shielding to play in Sample video;
Extract the corresponding start frame of the video content and end frame;
Using the start frame and the end frame as frame of video to preserving.
3. the method as described in claim 1, it is characterised in that it is determined that current frame of video to be played is not described in step B
After last frame of video of video, read next frame of video to be played of the video as current frame of video to be played it
Before, in addition to:
Judge that current frame of video to be played is corresponding and play the moment difference played between the moment corresponding with the start frame, be
The no difference played between the broadcasting moment corresponding with the start frame at moment corresponding less than the end frame;
When being judged as YES, triggering performs the next frame of video to be played for reading the video as current frame of video to be played
Operation.
4. method as claimed in claim 3, it is characterised in that also include:When being judged as NO, terminate current shielding and play
Flow.
5. the method as described in claim 1, it is characterised in that in step B after the match is successful, shielding plays and currently waits to broadcast
Before putting frame of video and terminating current shielding playing flow, in addition to:
Judge whether to meet other frame of video pair imposed a condition;It is described impose a condition including:Comprising start frame with
The start frame of the frame of video centering is identical and end frame that included is corresponding plays the moment and is later than the frame of video centering
The end frame corresponding broadcasting moment;
When being judged as NO, triggering performs shielding and plays current frame of video to be played and terminate the behaviour of current shielding playing flow
Make.
6. method as claimed in claim 5, it is characterised in that also include:When being judged as YES, following steps C is performed:
C, when current frame of video to be played is not last frame of video of the video, read the next of video and wait to broadcast
Frame of video is put as current frame of video to be played, current frame of video to be played and the end frame of other frame of video centerings are entered
Row matching, if the match is successful, shielding plays current frame of video to be played and terminates current shielding playing flow, if matching is lost
Lose, then shielding plays current frame of video to be played and repeats this step C.
7. the method as described in any in claim 1-6, it is characterised in that identical with the end frame in the start frame
When, current frame of video to be played is played in only shielding.
8. a kind of video masking playing device, it is characterised in that including:
Instruction reception unit, for receiving the play instruction to video;
Frame of video reading unit, the current frame of video to be played for reading the video;
Frame of video matching unit, for by the starting of the current frame of video to be played and each frame of video centering pre-saved
Frame is matched;
Frame of video screen unit, for when the match is successful for the frame of video matching unit, current video to be played to be played in shielding
N number of frame of video after frame and current frame of video to be played;
Last frame of video and the end frame phase of the frame of video centering that wherein N plays for the integer not less than 0 and shielding
Matching;The frame of video pre-saved has one or more;
Specifically for:The N after current frame of video to be played and current frame of video to be played is played in shielding in accordance with the following steps
Individual frame of video:
A, shielding play current frame of video to be played;
B, when current frame of video to be played is not last frame of video of the video, read the next of video and wait to broadcast
Frame of video is put as current frame of video to be played, by current frame of video to be played and the end frame progress of the frame of video centering
Match somebody with somebody, if the match is successful, shielding plays current frame of video to be played and terminates current shielding playing flow, if it fails to match,
Then shielding plays current frame of video to be played and repeats this step B.
9. device as claimed in claim 8, it is characterised in that the device also includes:
Frame of video is to acquiring unit, for the video content for determining to need shielding to play in Sample video;Extract in the video
Hold corresponding start frame and end frame;Using the start frame and the end frame as frame of video to preserving.
10. device as claimed in claim 8, it is characterised in that the frame of video screen unit is additionally operable to:
It is determined that being regarded after currently frame of video to be played is for last frame of video of the video, described in reading in step B
Before next frame of video to be played of frequency is as current frame of video to be played, when judging the corresponding broadcasting of current frame of video to be played
Carve it is corresponding with the start frame play the moment between difference, if it is corresponding less than the end frame broadcasting moment with it is described
The corresponding difference played between the moment of start frame;
When being judged as YES, triggering performs the next frame of video to be played for reading the video as current frame of video to be played
Operation.
11. device as claimed in claim 10, it is characterised in that the frame of video screen unit is additionally operable to:It is being judged as NO
When, terminate current shielding playing flow.
12. device as claimed in claim 8, it is characterised in that the frame of video screen unit is additionally operable to:
In step B after the match is successful, shielding play current frame of video to be played and terminate current shielding playing flow it
Before, judge whether to meet other frame of video pair imposed a condition;It is described impose a condition including:Comprising start frame and institute
State frame of video centering start frame is identical and end frame that included is corresponding plays the moment and be later than the frame of video centering
The end frame corresponding broadcasting moment;
When being judged as NO, triggering performs shielding and plays current frame of video to be played and terminate the behaviour of current shielding playing flow
Make.
13. device as claimed in claim 12, it is characterised in that the frame of video screen unit is additionally operable to:
When being judged as YES, following steps C is performed:
C, when current frame of video to be played is not last frame of video of the video, read the next of video and wait to broadcast
Frame of video is put as current frame of video to be played, current frame of video to be played and the end frame of other frame of video centerings are entered
Row matching, if the match is successful, shielding plays current frame of video to be played and terminates current shielding playing flow, if matching is lost
Lose, then shielding plays current frame of video to be played and repeats this step C.
14. a kind of terminal device, it is characterised in that play dress including the video masking any one of claim 8-13
Put.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510309966.8A CN104902337B (en) | 2015-06-05 | 2015-06-05 | Video masking player method, device and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510309966.8A CN104902337B (en) | 2015-06-05 | 2015-06-05 | Video masking player method, device and terminal device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104902337A CN104902337A (en) | 2015-09-09 |
CN104902337B true CN104902337B (en) | 2017-10-10 |
Family
ID=54034687
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510309966.8A Active CN104902337B (en) | 2015-06-05 | 2015-06-05 | Video masking player method, device and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104902337B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106126220A (en) * | 2016-06-21 | 2016-11-16 | 乐视控股(北京)有限公司 | A kind of data managing method and device |
CN109005423A (en) * | 2018-08-10 | 2018-12-14 | 北京奇艺世纪科技有限公司 | A kind of video broadcasting method and device |
CN114051171A (en) * | 2021-11-15 | 2022-02-15 | 上海卓易科技股份有限公司 | Fear picture shielding method and system in video based on AI emotion analysis |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101605239B (en) * | 2009-07-07 | 2011-03-23 | 青岛海信电器股份有限公司 | Signal shielding method, device and system |
CN103369272A (en) * | 2012-03-27 | 2013-10-23 | 联想(北京)有限公司 | Controlling method and controlling device for video playing of video terminal and video terminal |
CN104270675B (en) * | 2014-09-24 | 2017-07-14 | 深圳市国华识别科技开发有限公司 | The advertisement shielding system and method for intelligent television |
CN104540024B (en) * | 2014-12-18 | 2019-03-08 | 网宿科技股份有限公司 | Video terminal and its method and system for limiting video playing |
-
2015
- 2015-06-05 CN CN201510309966.8A patent/CN104902337B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN104902337A (en) | 2015-09-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103713800B (en) | User interface control method and electronic device with user interface | |
US9615122B2 (en) | Methods and apparatus to synchronize second screen content with audio/video programming using closed captioning data | |
JP5174675B2 (en) | Interactive TV without trigger | |
CN109729420A (en) | Image processing method and device, mobile terminal and computer readable storage medium | |
KR101201498B1 (en) | Method of guiding menu and picture processing apparatus thereof | |
CN103686200A (en) | Intelligent television video resource searching method and system | |
WO2017181597A1 (en) | Method and device for video playback | |
CN107786887A (en) | A kind of method and device for showing displaying information | |
CN104902337B (en) | Video masking player method, device and terminal device | |
US20150156227A1 (en) | Synchronize Tape Delay and Social Networking Experience | |
CN104202657B (en) | The method and device that multiple videos selection in same theme video group is played | |
WO2017096903A1 (en) | Android platform-based multimedia recommendation method and terminal device | |
US10413825B2 (en) | Software-application initiation | |
TWI521365B (en) | Methods for handling urls to trigger functionalities | |
WO2017024895A1 (en) | Channel operation, playing method and corresponding apparatus for smart television | |
US20170171643A1 (en) | Method and electronic device for displaying watermark | |
CN105915936B (en) | A kind of video of video website gets method and system ready | |
CN110996157A (en) | Video playing method and device, electronic equipment and machine-readable storage medium | |
CN103986938A (en) | Preview method and system based on video playing | |
CN104010223A (en) | Method and system for taking over terminal system for video playing | |
CN105657545A (en) | Video play method and apparatus | |
CN104394478A (en) | Method and player for playing video | |
CN110263318B (en) | Entity name processing method and device, computer readable medium and electronic equipment | |
CN103514196A (en) | Information processing method and electronic device | |
CN112926546A (en) | Bullet screen sending method, bullet screen sending device, bullet screen equipment and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CP01 | Change in the name or title of a patent holder |