CN104822078B - The occlusion method and device of a kind of video caption - Google Patents

The occlusion method and device of a kind of video caption Download PDF

Info

Publication number
CN104822078B
CN104822078B CN201510219557.9A CN201510219557A CN104822078B CN 104822078 B CN104822078 B CN 104822078B CN 201510219557 A CN201510219557 A CN 201510219557A CN 104822078 B CN104822078 B CN 104822078B
Authority
CN
China
Prior art keywords
captions
languages
user
video
blocked
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.)
Expired - Fee Related
Application number
CN201510219557.9A
Other languages
Chinese (zh)
Other versions
CN104822078A (en
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.)
Wuxi Tvmining Juyuan Media Technology Co Ltd
Original Assignee
Wuxi Tvmining Juyuan Media Technology 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 Wuxi Tvmining Juyuan Media Technology Co Ltd filed Critical Wuxi Tvmining Juyuan Media Technology Co Ltd
Priority to CN201510219557.9A priority Critical patent/CN104822078B/en
Publication of CN104822078A publication Critical patent/CN104822078A/en
Application granted granted Critical
Publication of CN104822078B publication Critical patent/CN104822078B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4318Generation of visual interfaces for content selection or interaction; Content or additional data rendering by altering the content in the rendering process, e.g. blanking, blurring or masking an image region
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8126Monomedia components thereof involving additional data, e.g. news, sports, stocks, weather forecasts
    • H04N21/8133Monomedia components thereof involving additional data, e.g. news, sports, stocks, weather forecasts specifically related to the content, e.g. biography of the actors in a movie, detailed information about an article seen in a video program

Abstract

The embodiment of the invention discloses a kind of occlusion method of video caption and device, to block the captions that user is not intended to display, realizes the captions according to corresponding to user's operation only shows the languages of user's selection.Methods described includes:Search and video data corresponding to obtaining video to be played, parse the video data, obtain the captions languages included in video to be played corresponding to the video data;According to the captions languages of acquisition, there is provided a languages select control, and the captions languages to be blocked are selected for user;The selection instruction of user's triggering is responded, the captions languages to be blocked selected according to user, blocks captions corresponding to the captions languages;With block user be not intended to display captions beneficial effect, realize according to user operation only show user selection languages corresponding to captions;While a kind of video caption display mode is provided, also improve video caption show it is intelligent;For user side, Consumer's Experience is improved.

Description

The occlusion method and device of a kind of video caption
Technical field
The present invention relates to Internet technical field, the occlusion method and device of more particularly to a kind of video caption.
Background technology
By the rapid development of Internet technology in recent years, the business of internet is continuously increased, and people are based on internet Various information can be touched, network also turns into a part indispensable in people's routine work and life.Such as User can be received and dispatched work mail using internet, carry out video conference etc.;Or using internet browsing news, listen music, Do shopping, make a reservation, watching video etc..
User is when watching various videos, such as variety show class video, educational programs class video, film, electricity Depending on play etc., it generally can all be corresponded to while above-mentioned video is played and show corresponding captions, and some video councils are shown simultaneously Multiple languages distinguish corresponding to captions, such as simultaneously show captions corresponding to the languages such as English, Chinese, Korean.At present, play It is to show captions corresponding to above-mentioned all languages simultaneously, it is impossible to by user when the captions of above-mentioned languages are shown while video Unrestricted choice wants the captions corresponding to the languages of display.
The content of the invention
The embodiment of the present invention provides a kind of occlusion method and device of video caption, and display is not intended to block user Captions, realize the captions according to corresponding to user's operation only shows the languages of user's selection.
The embodiment of the present invention provides a kind of occlusion method of video caption, including:
Search and video data corresponding to obtaining video to be played, parse the video data, obtain the video data Captions languages included in corresponding video to be played;
According to the captions languages of acquisition, there is provided a languages select control, and the captions to be blocked are selected for user Languages;
The selection instruction of user's triggering is responded, the captions languages to be blocked selected according to user, blocks the captions Captions corresponding to languages.
In one embodiment, it is described to search and video data corresponding to obtaining video to be played, parse the video counts According to, the captions languages included in video to be played corresponding to the video data are obtained, including:
Search and video data corresponding to obtaining video to be played, parse video header information corresponding to the video data In caption information;
According to the analysis result to the caption information, obtain corresponding to the video data included in video to be played Captions languages.
In one embodiment, the captions languages according to acquisition a, there is provided languages select control, for user The captions languages to be blocked are selected, including:
According to the captions languages of acquisition, quantity corresponding to the captions languages is identified;
Identify that the captions languages only have one kind, then a languages selection control for whether needing to block captions be provided, Choose whether to need to block captions corresponding to the captions languages for user;
It is a variety of to identify that the captions languages have, then the languages that multiple languages may be selected a selection control is provided, for Captions corresponding to the captions languages to be blocked of family selection.
In one embodiment, the selection instruction of the response user triggering, the word to be blocked selected according to user Curtain languages, block captions corresponding to the captions languages, including:
The selection instruction that is used for captions blocks of the response user based on languages selection control triggering, obtains user's selection The captions languages to be blocked;
The captions languages to be blocked selected according to user, the shown image portion for blocking captions during to video playback Divide and carry out graphical analysis, subtitle position corresponding to captions and captions length are blocked described in acquisition;
According to the captions length of acquisition, generation blocks figure layer with what the captions length matched;
According to the subtitle position of acquisition, figure layer will be blocked described in generation it is placed on and described block institute corresponding to captions State at subtitle position, block the captions that the need of user's selection block.
In one embodiment, the captions length according to acquisition, what generation matched with the captions length Figure layer is blocked, including:
According to all captions length of acquisition, the captions length maximum in all captions length is found out;
According to the captions length maximum, generation blocks figure layer with what the captions length maximum matched;
Or:
The each captions length obtained according to corresponding to being detected to each frame video image of acquisition, dynamic are raw Figure layer is blocked into what each captions length matched.
Corresponding to a kind of occlusion method of video caption of above-described embodiment description, the embodiment of the present invention also provides one kind and regarded The radical occlusion device of frequency captions, including:
Captions acquisition module, for video data corresponding to searching and obtaining video to be played, the video data is parsed, Obtain the captions languages included in video to be played corresponding to the video data;
Control provides module, for the captions languages according to acquisition, there is provided a languages select control, are selected for user Select the captions languages to be blocked;
Captions block module, for responding the selection instruction of user's triggering, according to the captions to be blocked of user's selection Languages, block captions corresponding to the captions languages.
In one embodiment, the captions acquisition module includes:
Information searching unit, for video data corresponding to searching and obtaining video to be played, parse the video data Caption information in corresponding video header information;
Captions acquiring unit, for according to the analysis result to the caption information, obtaining corresponding to the video data Captions languages included in video to be played.
In one embodiment, the control provides module and included:
Number obtainment unit, for the captions languages according to acquisition, identify quantity corresponding to the captions languages;
First control element, identify that the captions languages only have one kind for the number obtainment unit, then provide one The individual languages selection control for whether needing to block captions, chooses whether to need to block word corresponding to the captions languages for user Curtain;
Second control element, it is a variety of to identify that the captions languages have for the number obtainment unit, then provide one The languages selection control of multiple languages may be selected, the captions corresponding to the captions languages to be blocked are selected for user.
In one embodiment, the captions block module and included:
Languages acquiring unit, for responding the selection that is used for captions blocks of the user based on languages selection control triggering Instruction, obtain the captions languages to be blocked of user's selection;
Captions acquiring unit, it is shown during to video playback for the captions languages to be blocked selected according to user The image section for blocking captions carry out graphical analysis, block subtitle position corresponding to captions and captions length described in acquisition;
Figure layer generation unit, the screening to match for the captions length according to acquisition, generation with the captions length Keep off figure layer;
Captions block unit, for the subtitle position according to acquisition, figure layer will be blocked described in generation and is placed on institute State to block and the captions that the need of user's selection block at the subtitle position, are blocked corresponding to captions.
In one embodiment, the figure layer generation unit includes:
Length obtains subelement, for all captions length according to acquisition, finds out the captions length in all captions length Spend maximum;
First generation subelement, for according to the captions length maximum, generation and the captions length maximum phase Figure layer is blocked in matching;
Or the figure layer generation unit includes:
Second generation subelement, it is every for obtaining corresponding to being detected to each frame video image according to acquisition One captions length, dynamic generation block figure layer with what each captions length matched.
The occlusion method and device of video caption described by above example can reach following beneficial effect:
By video data corresponding to searching and obtaining video to be played, the video data is parsed, obtains the video Captions languages corresponding to data included in video to be played;According to the captions languages of acquisition, there is provided a languages choosing Control is selected, the captions languages to be blocked are selected for user;The selection instruction of user's triggering is responded, is wanted according to what user selected The captions languages blocked, block captions corresponding to the captions languages;With block user be not intended to display captions it is beneficial Effect, realize the captions according to corresponding to user's operation only shows the languages of user's selection;Providing a kind of video caption While display mode, also improve video caption show it is intelligent;For user side, Consumer's Experience is improved.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write Specifically noted structure is realized and obtained in book, claims and accompanying drawing.
Below by drawings and examples, technical scheme is described in further detail.
Brief description of the drawings
Accompanying drawing is used for providing a further understanding of the present invention, and a part for constitution instruction, the reality with the present invention Apply example to be used to explain the present invention together, be not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of the occlusion method of video caption of the present invention according to an exemplary embodiment;
Step S10 in a kind of occlusion method of video captions of the Fig. 2 for the present invention according to an exemplary embodiment Flow chart;
Step S20 in a kind of occlusion method of video captions of the Fig. 3 for the present invention according to an exemplary embodiment Flow chart;
Step S30 in a kind of occlusion method of video captions of the Fig. 4 for the present invention according to an exemplary embodiment Flow chart;
Step S303 in a kind of occlusion method of video captions of the Fig. 5 for the present invention according to an exemplary embodiment Flow chart;
Fig. 6 is a kind of block diagram of the radical occlusion device of video caption of the present invention according to an exemplary embodiment;
Captions obtain mould in a kind of radical occlusion device of video captions of the Fig. 7 for the present invention according to an exemplary embodiment The block diagram of block 60;
Control provides mould in a kind of radical occlusion device of video captions of the Fig. 8 for the present invention according to an exemplary embodiment The block diagram of block 70;
Captions block mould in a kind of radical occlusion device of video captions of the Fig. 9 for the present invention according to an exemplary embodiment The block diagram of block 80;
Figure layer generates in a kind of radical occlusion device of video captions of the Figure 10 for the present invention according to an exemplary embodiment A kind of block diagram of embodiment of unit 803;
Figure layer generates in a kind of radical occlusion device of video captions of the Figure 11 for the present invention according to an exemplary embodiment The block diagram of the another embodiment of unit 803.
Embodiment
The preferred embodiments of the present invention are illustrated below in conjunction with accompanying drawing, it will be appreciated that described herein preferred real Apply example to be merely to illustrate and explain the present invention, be not intended to limit the present invention.
A kind of occlusion method of video caption is provided in one embodiment disclosed by the invention, is not wished to block user The captions of display are hoped, realize the captions according to corresponding to user's operation only shows the languages of user's selection.As shown in figure 1, this hair A kind of occlusion method of video caption includes step S10-S30 in bright embodiment:
Step S10, lookup and video data corresponding to obtaining video to be played, parse the video data, described in acquisition Captions languages corresponding to video data included in video to be played;
The occlusion method of video caption of the embodiment of the present invention, by from the video data corresponding to video to be played, obtaining Captions languages corresponding to the video data are taken, so as to provide a control that can be for selection by the user, user can oneself selection Block captions corresponding to which languages.
When commencing play out corresponding video, search and obtain the video data corresponding to the video to be played, parsing should Video data, according to analysis result, the captions languages that corresponding video to be played is included in the video data are obtained, such as: Chinese, English, Japanese etc..
In one embodiment, as shown in Fig. 2 the step S10 may be embodied as step S101-S102:
Step S101, lookup and video data corresponding to obtaining video to be played, parse and are regarded corresponding to the video data Caption information in frequency header information;
In the embodiment of the present invention, corresponding captions language can be obtained by the caption information in the header information of video Kind.Therefore, after searching and obtaining video data corresponding to video to be played, it can directly find and be regarded corresponding to the video data Caption information in frequency header information, so as to directly parse the caption information in the video header information.
Step S102, according to the analysis result to the caption information, to be played corresponding to the video data regard is obtained Captions languages included in frequency.
According to the analysis result to above-mentioned caption information, you can easily get to be played corresponding to the video data regard Captions languages included in frequency.
Step S20, according to the captions languages of acquisition, there is provided a languages select control, to be hidden for user's selection The captions languages of gear;
When getting the video playback after the captions languages of corresponding display, player can provide the user a languages Control is selected, the captions languages blocked required for being selected for user, user can be to select control, according to itself using the languages Needs select the captions that need to block.For example languages selection control is a plug-in unit button, then user can be clicked on passing through Above-mentioned plug-in unit button, you can the function of corresponding languages captions is blocked in triggering.
In the embodiment of the present invention, languages selection control that player provides can be a physical button or physics by The plug-in unit of key or touch control or operational controls of control etc., the embodiment of the present invention pair are clicked on using cursor The particular type of languages selection control and specific show form and do not limit.
In one embodiment, as shown in figure 3, the step S20 may be embodied as step S201-S203:
Step S201, according to the captions languages of acquisition, quantity corresponding to the captions languages is identified;
Step S202, identify that the captions languages only have one kind, then the languages for whether needing to block captions are provided Control is selected, chooses whether to need to block captions corresponding to the captions languages for user;
Step S203, it is a variety of to identify that the captions languages have, then the languages that multiple languages a may be selected selection is provided Control, the captions corresponding to the captions languages to be blocked are selected for user.
In the embodiment of the present invention, corresponding to offer languages select control when, can according to corresponding to the video captions language Kind selects control selectively to provide corresponding languages.Therefore, after captions languages corresponding to getting, the captions are identified first Languages quantity corresponding to languages, so according to corresponding to captions languages languages quantity come languages selection control corresponding to selecting, and The languages selection control of selection is supplied to user, the captions of the corresponding languages to be blocked are selected for user.
Whether for example corresponding captions languages only have one kind during the video playback if identifying, providing one needs to hide The languages selection control of captions is kept off, chooses whether to need to block captions corresponding to the captions languages for user.If identify this There is a variety of corresponding captions languages, then the languages that multiple languages may be selected a selection control is provided, for user during video playback Select the captions corresponding to the captions languages to be blocked.For example the captions languages have three, then user can be based on offer Languages select control, and captions corresponding to a languages are blocked in selection, or captions corresponding to two languages, Huo Zhexuan are blocked in selection Select and all carry out captions corresponding to these three languages the operation such as to block.
Step S30, the selection instruction of user's triggering is responded, the captions languages to be blocked selected according to user, is blocked Captions corresponding to the captions languages.
During the captions languages blocked required for languages selection control selection of the user based on offer, user is received therefore And when blocking the selection instruction of captions languages of triggering, above-mentioned selection instruction is responded, obtains the word to be blocked of user's selection Curtain languages, and the captions languages to be blocked selected according to user, block captions corresponding to the captions languages.
In one embodiment, as shown in figure 4, the step S30 may be embodied as step S301-S304:
Step S301, the selection instruction that is used for captions blocks of the user based on languages selection control triggering is responded, is obtained Take the captions languages to be blocked of family selection;
Step S302, the captions languages to be blocked selected according to user, it is shown during to video playback to block word The image section of curtain carries out graphical analysis, and subtitle position corresponding to captions and captions length are blocked described in acquisition;
In the embodiment of the present invention, above-mentioned languages of the user based on offer select the selection that captions corresponding to control triggering block During instruction, the above-mentioned selection instruction of response user's triggering, after obtaining the captions languages to be blocked that user selects, according to user The captions languages that the needs of selection block, obtain the display location of the captions languages in video playback;According to blocking captions Display location, the image section at the display location of captions is blocked to this and carries out graphical analysis, captions pair are blocked so as to obtain this The subtitle position and captions length answered.
When obtaining this and blocking captions length corresponding to captions, the maximum of a captions length can be chosen, as obtaining The captions length taken;It is described corresponding to each two field picture when can also be to video playback to block captions and all detect, obtain every One blocks captions length corresponding to captions.
Step S303, figure layer is blocked with what the captions length matched according to the captions length of acquisition, generation;
After captions length corresponding to getting, according to the captions length of acquisition, the screening to match with the captions length is generated Keep off figure layer.
In one embodiment, in order that must generate block figure layer more accurately block corresponding to described block word Curtain, then can according to it is above-mentioned each two field picture is carried out detecting resulting each described in block captions corresponding to captions grow Degree, dynamic generation block figure layer with what each captions length for blocking captions matched.
In one embodiment, as shown in figure 5, in order to block figure layer corresponding to easily generating, the step S303 can To be embodied as step S313-S323:
Step S313, according to all captions length of acquisition, the captions length maximum in all captions length is found out;
Step S323, blocked according to the captions length maximum, generation with what the captions length maximum matched Figure layer.
In the embodiment of the present invention, the word in above-mentioned all captions length can be found out according to all captions length of acquisition Curtain length maximum, so as to block figure layer with what the captions length maximum matched according to captions length maximum, generation.Or Person, the empirical value of captions length is shown according to player, obtain the maximum of captions length, so as to the captions length according to acquisition Maximum, generation block figure layer with what the captions length maximum matched.
Step S304, according to the subtitle position of acquisition, figure layer will be blocked described in generation it is placed on and described block word Corresponding to curtain at the subtitle position, the captions that the need of user's selection block are blocked.
After blocking figure layer corresponding to generation, according to above-mentioned acquisition block captions corresponding to subtitle position, will generate It is described block figure layer be placed on it is described block corresponding to captions at subtitle position, so as to which block user's selection desired blocks Captions.
In the embodiment of the present invention, the color and transparency of blocking figure layer of generation, it can be corresponded to according to when playing video Image carry out concrete configuration, the embodiment of the present invention specifically counts to described block corresponding to the specific color and transparency of figure layer Value does not limit.
The occlusion method of video caption described by above example, regarded by searching and obtaining corresponding to video to be played Frequency evidence, the video data is parsed, obtain the captions languages included in video to be played corresponding to the video data;Root According to the captions languages of acquisition, there is provided a languages select control, and the captions languages to be blocked are selected for user;Response is used The selection instruction of family triggering, the captions languages to be blocked selected according to user, blocks captions corresponding to the captions languages; With block user be not intended to display captions beneficial effect, realize according to user operation only show user selection languages Corresponding captions;While a kind of video caption display mode is provided, also improve video caption show it is intelligent; For user side, Consumer's Experience is improved.
A kind of corresponding occlusion method of video caption provided in an embodiment of the present invention, present invention also offers a kind of video words The radical occlusion device of curtain;As shown in fig. 6, a kind of radical occlusion device of video caption, including:Captions acquisition module 60, control carry Module 80 is blocked for module 70 and captions;Wherein:
The captions acquisition module 60, for searching and obtaining video data corresponding to video to be played, regarded described in parsing Frequency evidence, obtain the captions languages included in video to be played corresponding to the video data;
In one embodiment, as shown in fig. 7, the captions acquisition module 60 includes:
Information searching unit 601, for video data corresponding to searching and obtaining video to be played, parse the video counts According to the caption information in corresponding video header information;
Captions acquiring unit 602, for according to the analysis result to the caption information, it is corresponding to obtain the video data Video to be played included in captions languages.
The control provides module 70, for the captions languages according to acquisition, there is provided a languages select control, supply User selects the captions languages to be blocked;
In one embodiment, as shown in figure 8, control offer module 70 includes:
Number obtainment unit 701, for the captions languages according to acquisition, identify number corresponding to the captions languages Amount;
First control element 702, identify that the captions languages only have one kind for the number obtainment unit, then provide One languages selection control for whether needing to block captions, chooses whether to need to block word corresponding to the captions languages for user Curtain;
Second control element 703, it is a variety of to identify that the captions languages have for the number obtainment unit, then provides one The individual languages selection control that multiple languages may be selected, the captions corresponding to the captions languages to be blocked are selected for user.
The captions block module 80, for responding the selection instruction of user's triggering, to be blocked according to what user selected Captions languages, block captions corresponding to the captions languages.
In one embodiment, as shown in figure 9, the captions block module 80 includes:Languages acquiring unit 801, captions Acquiring unit 802, figure layer generation unit 803 and captions block unit 804;Wherein:
The languages acquiring unit 801, hidden for responding be used for captions of the user based on languages selection control triggering The selection instruction of gear, obtain the captions languages to be blocked of user's selection;
The captions acquiring unit 802, for the captions languages to be blocked selected according to user, during to video playback The shown image section for blocking captions carries out graphical analysis, and subtitle position corresponding to captions and captions length are blocked described in acquisition Degree;
The figure layer generation unit 803, for the captions length according to acquisition, generation and the captions length phase That matches somebody with somebody blocks figure layer;
In one embodiment, as shown in Figure 10, the figure layer generation unit 803 includes:
Length obtains subelement 813, for all captions length according to acquisition, finds out the captions in all captions length Length maximum;
First generation subelement 823, for according to the captions length maximum, generation and the captions length maximum What is matched blocks figure layer.
In one embodiment, as shown in figure 11, the figure layer generation unit 803 includes:
Second generation subelement 833, for obtaining corresponding to being detected to each frame video image according to acquisition Each captions length, what dynamic generation and each captions length matched blocks figure layer.
The captions block unit 804, for the subtitle position according to acquisition, put figure layer is blocked described in generation Put in the captions for blocking and the need of user's selection at the subtitle position, being blocked corresponding to captions and are blocked.
The radical occlusion device of video caption described by above example, regarded by searching and obtaining corresponding to video to be played Frequency evidence, the video data is parsed, obtain the captions languages included in video to be played corresponding to the video data;Root According to the captions languages of acquisition, there is provided a languages select control, and the captions languages to be blocked are selected for user;Response is used The selection instruction of family triggering, the captions languages to be blocked selected according to user, blocks captions corresponding to the captions languages; With block user be not intended to display captions beneficial effect, realize according to user operation only show user selection languages Corresponding captions;While a kind of video caption display mode is provided, also improve video caption show it is intelligent; For user side, Consumer's Experience is improved.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more The shape for the computer program product that usable storage medium is implemented on (including but is not limited to magnetic disk storage and optical memory etc.) Formula.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these changes and modification.

Claims (8)

  1. A kind of 1. occlusion method of video caption, it is characterised in that including:
    Search and video data corresponding to obtaining video to be played, parse the video data, it is corresponding to obtain the video data Video to be played included in captions languages;
    According to the captions languages of acquisition, there is provided a languages select control, and the captions languages to be blocked are selected for user;
    The selection instruction of user's triggering is responded, the captions languages to be blocked selected according to user, blocks the captions languages Corresponding captions;
    The captions languages according to acquisition a, there is provided languages select control, and the captions to be blocked are selected for user Languages, including:
    According to the captions languages of acquisition, quantity corresponding to the captions languages is identified;
    Identify that the captions languages only have one kind, then a languages selection control for whether needing to block captions is provided, for Family chooses whether to need to block captions corresponding to the captions languages;
    It is a variety of to identify that the captions languages have, then the languages that multiple languages may be selected a selection control is provided, selected for user Select the captions corresponding to the captions languages to be blocked.
  2. 2. the method as described in claim 1, it is characterised in that described to search and obtain video counts corresponding to video to be played According to, the video data is parsed, obtains the captions languages included in video to be played corresponding to the video data, including:
    Search and video data corresponding to obtaining video to be played, parse in video header information corresponding to the video data Caption information;
    According to the analysis result to the caption information, the word included in video to be played corresponding to the video data is obtained Curtain languages.
  3. 3. method as claimed in claim 1 or 2, it is characterised in that the selection instruction of the response user triggering, according to user The captions languages to be blocked of selection, captions corresponding to the captions languages are blocked, including:
    The selection instruction that is used for captions blocks of the response user based on languages selection control triggering, obtain the institute of user's selection The captions languages to be blocked;
    The captions languages to be blocked selected according to user, the shown image section for blocking captions enters during to video playback Row graphical analysis, subtitle position corresponding to captions and captions length are blocked described in acquisition;
    According to the captions length of acquisition, generation blocks figure layer with what the captions length matched;
    According to the subtitle position of acquisition, figure layer will be blocked described in generation it is placed on and described block the word corresponding to captions Curtain opening position, block the captions that the need of user's selection block.
  4. 4. method as claimed in claim 3, it is characterised in that the captions length according to acquisition, generation with it is described What captions length matched blocks figure layer, including:
    According to all captions length of acquisition, the captions length maximum in all captions length is found out;
    According to the captions length maximum, generation blocks figure layer with what the captions length maximum matched;
    Or:
    The each captions length obtained according to corresponding to being detected to each frame video image of acquisition, dynamic generation with What each captions length matched blocks figure layer.
  5. A kind of 5. radical occlusion device of video caption, it is characterised in that including:
    Captions acquisition module, for video data corresponding to searching and obtaining video to be played, the video data is parsed, obtained Captions languages corresponding to the video data included in video to be played;
    Control provides module, for the captions languages according to acquisition, there is provided a languages select control, and institute is selected for user The captions languages to be blocked;
    Captions block module, the selection instruction triggered for responding user, the captions languages to be blocked selected according to user, Block captions corresponding to the captions languages;
    The control, which provides module, to be included:
    Number obtainment unit, for the captions languages according to acquisition, identify quantity corresponding to the captions languages;
    First control element, identify that the captions languages only have one kind for the number obtainment unit, then providing one is The no languages selection control for needing to block captions, chooses whether to need to block captions corresponding to the captions languages for user;
    Second control element, it is a variety of to identify that the captions languages have for the number obtainment unit, then offer one is optional The languages selection control of multiple languages is selected, the captions corresponding to the captions languages to be blocked are selected for user.
  6. 6. device as claimed in claim 5, it is characterised in that the captions acquisition module includes:
    Information searching unit, for video data corresponding to searching and obtaining video to be played, it is corresponding to parse the video data Video header information in caption information;
    Captions acquiring unit, for according to the analysis result to the caption information, obtaining and waiting to broadcast corresponding to the video data Put the captions languages included in video.
  7. 7. the device as described in claim 5 or 6, it is characterised in that the captions, which block module, to be included:
    Languages acquiring unit, for responding user referring to for the selection that captions block based on languages selection control triggering Order, obtain the captions languages to be blocked of user's selection;
    Captions acquiring unit, for the captions languages to be blocked selected according to user, shown screening during to video playback The image section for keeping off captions carries out graphical analysis, and subtitle position corresponding to captions and captions length are blocked described in acquisition;
    Figure layer generation unit, the Occlusion Map to match for the captions length according to acquisition, generation with the captions length Layer;
    Captions block unit, for the subtitle position according to acquisition, figure layer will be blocked described in generation and is placed on the screening Keep off and the captions that the need of user's selection block at the subtitle position, are blocked corresponding to captions.
  8. 8. device as claimed in claim 7, it is characterised in that the figure layer generation unit includes:
    Length obtains subelement, for all captions length according to acquisition, finds out captions length in all captions length most Big value;
    First generation subelement, for being matched according to the captions length maximum, generation with the captions length maximum Block figure layer;
    Or the figure layer generation unit includes:
    Second generation subelement, for each obtained according to corresponding to being detected to each frame video image of acquisition Captions length, dynamic generation block figure layer with what each captions length matched.
CN201510219557.9A 2015-04-30 2015-04-30 The occlusion method and device of a kind of video caption Expired - Fee Related CN104822078B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510219557.9A CN104822078B (en) 2015-04-30 2015-04-30 The occlusion method and device of a kind of video caption

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510219557.9A CN104822078B (en) 2015-04-30 2015-04-30 The occlusion method and device of a kind of video caption

Publications (2)

Publication Number Publication Date
CN104822078A CN104822078A (en) 2015-08-05
CN104822078B true CN104822078B (en) 2017-11-28

Family

ID=53732224

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510219557.9A Expired - Fee Related CN104822078B (en) 2015-04-30 2015-04-30 The occlusion method and device of a kind of video caption

Country Status (1)

Country Link
CN (1) CN104822078B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108182030A (en) * 2017-12-28 2018-06-19 深圳豪客互联网有限公司 A kind of player control hidden method and device

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106911971A (en) * 2017-02-28 2017-06-30 维沃移动通信有限公司 A kind of video caption processing method and electronic equipment
CN107729114B (en) * 2017-10-31 2021-06-01 北京酷我科技有限公司 Presentation method of playing control
CN110475139B (en) * 2019-07-30 2021-08-03 腾讯音乐娱乐科技(深圳)有限公司 Video subtitle shielding method and device, storage medium and electronic equipment
CN110598012B (en) * 2019-09-23 2023-05-30 听典(上海)教育科技有限公司 Audio and video playing method and multimedia playing device
CN115442667B (en) * 2021-06-01 2023-10-20 脸萌有限公司 Video processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS633574A (en) * 1986-06-23 1988-01-08 Kazumi Owada Member for shielding superimposed caption on television screen
CN1722783A (en) * 2004-07-14 2006-01-18 上海乐金广电电子有限公司 Method of multi-language playing of optical disk
CN102196209A (en) * 2010-03-05 2011-09-21 深圳Tcl新技术有限公司 Caption concealment method for television program
CN104202678A (en) * 2014-09-22 2014-12-10 杨海 Video subtitle display method with bilingual subtitle replaying and previewing functions

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS633574A (en) * 1986-06-23 1988-01-08 Kazumi Owada Member for shielding superimposed caption on television screen
CN1722783A (en) * 2004-07-14 2006-01-18 上海乐金广电电子有限公司 Method of multi-language playing of optical disk
CN102196209A (en) * 2010-03-05 2011-09-21 深圳Tcl新技术有限公司 Caption concealment method for television program
CN104202678A (en) * 2014-09-22 2014-12-10 杨海 Video subtitle display method with bilingual subtitle replaying and previewing functions

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108182030A (en) * 2017-12-28 2018-06-19 深圳豪客互联网有限公司 A kind of player control hidden method and device

Also Published As

Publication number Publication date
CN104822078A (en) 2015-08-05

Similar Documents

Publication Publication Date Title
CN104822078B (en) The occlusion method and device of a kind of video caption
US10031649B2 (en) Automated content detection, analysis, visual synthesis and repurposing
CN104010230B (en) The method and system of the video playback under screen lock state
CN105933783B (en) A kind of playback method of barrage, device and terminal device
CN106662920B (en) Interactive video generation
CN104902333B (en) Video comments processing method and video comments processing means
US20190250775A1 (en) Mobile user interface for contextual browsing while playing digital content
US20120139839A1 (en) Methods and systems for media annotation, selection and display of additional information associated with a region of interest in video content
CN110263272A (en) The system and method for content item relevant to theme for rendering
Kim Authoring multisensorial content
CN108427589B (en) Data processing method and electronic equipment
CN107450874B (en) Multimedia data double-screen playing method and system
CN107895006A (en) Audio frequency playing method, device, storage medium and electronic equipment
CN106155507A (en) A kind of page content display method and electronic equipment
JP2023165769A (en) Video timed anchor
CN105975552B (en) Question searching method and device of intelligent equipment
CN112579935A (en) Page display method, device and equipment
CN114339076A (en) Video shooting method and device, electronic equipment and storage medium
CN104768083B (en) A kind of video broadcasting method and device of chapters and sections content displaying
CN104270676B (en) A kind of information processing method and electronic equipment
CN104185085B (en) A kind of VOD method and device
KR102403149B1 (en) Electric device and method for controlling thereof
CN115379136A (en) Special effect prop processing method and device, electronic equipment and storage medium
CN105630579A (en) Computer capable of selective playing
CN104754398B (en) A kind of information processing method and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A method and device for occlusion of video subtitles

Effective date of registration: 20210104

Granted publication date: 20171128

Pledgee: Inner Mongolia Huipu Energy Co.,Ltd.

Pledgor: WUXI TVMINING MEDIA SCIENCE & TECHNOLOGY Co.,Ltd.

Registration number: Y2020990001517

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171128

Termination date: 20210430