CN102088571B - Caption displaying method and terminal equipment - Google Patents
Caption displaying method and terminal equipment Download PDFInfo
- Publication number
- CN102088571B CN102088571B CN2009102417704A CN200910241770A CN102088571B CN 102088571 B CN102088571 B CN 102088571B CN 2009102417704 A CN2009102417704 A CN 2009102417704A CN 200910241770 A CN200910241770 A CN 200910241770A CN 102088571 B CN102088571 B CN 102088571B
- Authority
- CN
- China
- Prior art keywords
- captions
- picture
- display
- region territory
- divergent
- 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
Images
Landscapes
- Television Systems (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The invention discloses a method for changing a caption display mode and terminal equipment. The method comprises the following steps of: acquiring information of an image display region; acquiring information of a non-image display region; reading information of a first caption to be displayed; if determining that the first caption is displayed in the image displaying region, adjusting the first caption to acquire a second caption; and displaying the adjusted second caption in the non-image display region. According to the application of the embodiment of the invention, regardless of the number of rows of the captions to be displayed, the captions do not appear in a video displaying region, so superposition of the captions and a video image is avoided. By the embodiment of the invention, the captions can appear in the non-image displaying region, so that the displayed captions are clear and displaying quality of the image is improved.
Description
Technical field
The present invention relates to the high definition technical field, particularly a kind of caption presentation method and terminal equipment.
Background technology
Along with popularizing of HDTV, watch the high definition film to become general demand, at present, the blue light film becomes the main force of high definition film.
In the data source of blue light film; Cooperate its audio frequency and video, the embedded captions that Show Picture (PGS, Presentation Graphics Subtitle) are provided; These captions are to show to scheme sheet mode, only support to be fade-in fade-out, to change effects such as color, rolling, elimination.The form that these captions are supported is as shown in table 1:
Table 1
The output resolution ratio of HDTV was generally 16: 9 or 16: 10; And present most of blue light films all can reach the wide screen effect of movie theatre; The active area ratio can be accomplished 2.35: 1 or be wideer; Therefore also for the demonstration of captions desirable display area is provided with regard to being equivalent to, promptly delegation's captions can be arranged on the non-picture-display-region territory of black, shown in Fig. 1 a.
But, if captions surpass two row, generally all can drop on video display area, shown in Fig. 1 b, promptly these captions can show by superposition in the effective picture of video, make captions very unintelligible, and influence the display quality of picture.
At present, a kind of method of solution is to solve the unsharp problem of captions of demonstration through the color of change captions.But,,, in the background of black, will know demonstration so if in the background of white, change the black captions into because the picture of video can change always.User's custom also can be tended to white captions simultaneously, and therefore changing color not can solve the unsharp problem of captions, can not solve the problem that improves image quality simultaneously.
Summary of the invention
The embodiment of the invention is to provide a kind of caption presentation method and device, makes captions can drop on non-picture-display-region territory, makes captions more clear and do not influence the display quality of picture.
The embodiment of the invention provides a kind of caption presentation method, comprising:
Obtain the information in picture-display-region territory;
Obtain the information in non-picture-display-region territory;
Read the information of first captions to be shown;
If judging said first captions is presented at said picture-display-region territory, then said first captions are adjusted, obtain second captions;
Adjusted said second captions are presented at said non-picture-display-region territory.
Wherein, the step of the information in the non-picture-display-region of said acquisition territory comprises:
Obtain the output resolution ratio Wtv*Htv of screen;
Obtain the aspect ratio r of current broadcast film;
Calculate the information in non-picture-display-region territory according to the output resolution ratio of said screen and the aspect ratio of current broadcast film.
Wherein, below screen, the information in non-picture-display-region territory, then said screen below is as if said non-picture-display-region territory:
From { 0, Wtv-(Htv-Wtv/r)/2} begins widely is Wtv, and height is the zone of (Htv-Wtv/r)/2.
Wherein,, then said first captions are adjusted, obtained second captions if said captions are picture captions; The step that adjusted said second captions is presented at said non-picture-display-region territory comprises:
I) as if wide high information, know that said first captions greater than delegation, then cut by line number said first captions, the captions after the cutting are reconfigured according to said first captions to be shown;
Whether the height of ii) judging the captions after said the reconfiguring greater than the height in said non-picture-display-region territory, if, then execution in step iii) otherwise, execution in step is iv);
Iii) said captions are cut by line number once more, the captions after the cutting are reconfigured, execution in step ii) afterwards;
Second captions after iv) will reconfiguring are presented at non-picture-display-region territory.
Wherein,, then said first captions are adjusted, obtained second captions if said captions are picture captions; The step that adjusted said second captions is presented at said non-picture-display-region territory comprises:
01) as if wide high information, know the height of the height of said first captions, then said first captions carried out convergent-divergent greater than non-picture-display-region territory in the said screen according to said first captions to be shown,
Whether the height of 02) judging the captions behind the said convergent-divergent is greater than the height in said non-picture-display-region territory, if then execution in step 03) otherwise, execution in step 04);
03) said captions are carried out convergent-divergent once more, execution in step 02 afterwards);
04) second captions behind the convergent-divergent is presented at non-picture-display-region territory.
Wherein,, then said first captions are adjusted, obtained second captions if said captions are picture captions; The step that adjusted said second captions is presented at said non-picture-display-region territory comprises:
A) as if wide high information, know said first captions, then said first captions are cut with convergent-divergent by line number and handle greater than delegation according to said first captions to be shown;
Whether the height of b) judging the captions after said cutting and convergent-divergent are handled greater than the height in non-picture-display-region territory in the said screen, if, execution in step c then) otherwise, execution in step d);
C) said captions are cut and convergent-divergent processing, execution in step b afterwards once more);
Second captions that d) will cut after handling with convergent-divergent are presented at non-picture-display-region territory.
Wherein, said method further comprises: the record scaling;
All captions in the film are carried out convergent-divergent according to same scaling.
Wherein,, then said first captions are adjusted, obtained second captions if said captions are text subtitles; The step that adjusted said second captions is presented at said non-picture-display-region territory comprises:
Characters per line addition with said first captions draws total number of characters;
Judge this total number of characters shows whether to exceed non-picture-display-region territory by delegation, if not, be about to adjusted second captions by one and be presented at non-picture-display-region territory; If then, first display part second captions in non-picture-display-region territory show remaining second captions again after refreshing afterwards.
The embodiment of the invention also provides a kind of terminal equipment, comprising:
First acquiring unit is used to obtain the information in picture-display-region territory;
Second acquisition unit is used to obtain the information in non-picture-display-region territory
Reading unit is used to read the information of first captions to be shown,
Adjustment unit is used for when judging said first captions and be presented at said picture-display-region territory, said first captions being adjusted,, obtain second captions, adjusted said second captions are presented at said non-picture-display-region territory.
Wherein, said second acquisition unit comprises:
The resolution acquiring unit is used to obtain the output resolution ratio Wtv*Htv of screen;
The aspect ratio acquiring unit is used to obtain the aspect ratio r of current broadcast film;
Non-picture-display-region territory computation subunit is used for calculating the information in non-picture-display-region territory according to the output resolution ratio of said screen and the aspect ratio of current broadcast film.
Wherein, said adjustment unit comprises:
Judging unit is used for when judging said first captions and be presented at said picture-display-region territory, notice cutting subelement;
The cutting subelement is used for the wide high information according to said first captions to be shown, when knowing said first captions greater than delegation, said first captions is cut by line number, and the captions after the cutting are reconfigured; Whether the height of judging the captions after said the reconfiguring is greater than the height in said non-picture-display-region territory; If; Then said captions are cut by line number once more, the captions after the cutting are reconfigured, carry out once more afterwards judge the captions after said the reconfiguring height whether greater than the step of the height in said non-picture-display-region territory; Otherwise, second captions after reconfiguring are presented at non-picture-display-region territory.
Wherein, said adjustment unit comprises:
Judging unit is used for when judging said first captions and be presented at said picture-display-region territory, notice convergent-divergent subelement;
The convergent-divergent subelement is used for the wide high information according to said first captions to be shown, and the height of knowing said first captions carries out convergent-divergent to said first captions during greater than the height in said non-picture-display-region territory; Whether the height of judging the captions behind the said convergent-divergent is greater than the height in said non-picture-display-region territory; If; Then said captions are carried out convergent-divergent once more; Whether the height of judging the captions behind the said convergent-divergent afterwards greater than the height in said non-picture-display-region territory, otherwise, second captions behind the convergent-divergent are presented at non-picture-display-region territory.
Wherein, said adjustment unit comprises:
Judging unit is used for when judging said first captions and be presented at said picture-display-region territory, notice cutting and convergent-divergent subelement;
Cutting and convergent-divergent subelement are used for the wide high information according to first captions to be shown, know said first captions greater than delegation, then said first captions are cut with convergent-divergent by line number and handle; Whether the height of judging the captions after said cutting and convergent-divergent are handled is greater than the height in said non-picture-display-region territory; If; Then said captions are cut with convergent-divergent once more and handle; Whether the height of judging the captions after said cutting and convergent-divergent are handled afterwards again greater than the height in said non-picture-display-region territory, otherwise, second captions after cutting and the convergent-divergent processing are presented at non-picture-display-region territory.
Wherein, said terminal equipment also comprises:
Record cell is used to write down scaling, so that all captions in film carry out convergent-divergent according to same scaling.
Wherein, said adjustment unit comprises:
Judging unit is used for when judging said first captions and be presented at said picture-display-region territory, and notice merges subelement;
Merge subelement, be used for number of characters addition, draw total number of characters every capable captions of said first captions; If this total number of characters does not exceed non-picture-display-region territory by delegation demonstration, then be about to adjusted second captions and be presented at non-picture-display-region territory by one; Exceed non-picture-display-region territory if this total number of characters shows by delegation, then first display part second captions in non-picture-display-region territory show remaining second captions again after refreshing afterwards.
Use caption presentation method and terminal equipment that the embodiment of the invention provides; No matter captions to be shown have several row; All make these captions can not drop on video display area, avoided the superposition of captions and video pictures, the embodiment of the invention makes captions can drop on non-picture-display-region territory; Make the captions that shown clear, improved the display quality of picture.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention; To do to introduce simply to the accompanying drawing of required use among the embodiment below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 a is the sketch map that shows delegation's captions in the non-picture-display-region territory of black of prior art;
Fig. 1 b is the sketch map of the demonstration two row captions of prior art;
Fig. 2 is the flow chart according to the caption presentation method of the embodiment of the invention;
Fig. 3 is the sketch map that shows delegation's captions according to the cutting reorganization back of the embodiment of the invention;
Fig. 4 is the terminal equipment structural representation according to the embodiment of the invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Referring to Fig. 2, it is the flow chart according to the caption presentation method of the embodiment of the invention.Present embodiment is shown as example with captions in the change TV and describes, and specifically comprises
The information in above-mentioned picture-display-region territory comprises the position of demonstration and the wide high information of picture;
Step 202 obtains the information in non-picture-display-region territory;
The information in above-mentioned non-picture-display-region territory comprises the position of demonstration and the wide high information of picture; For example, a kind of possible account form is following:
Obtain the output resolution ratio Wtv*Htv of screen; The output resolution ratio of TV for example;
Obtain the aspect ratio r of current broadcast film; For example aspect ratio is 2.35: 1;
Calculate the wide height in non-picture-display-region territory in the screen according to the output resolution ratio of said screen and the aspect ratio of current broadcast film.Wide height to calculate non-picture-display-region territory, screen below is an example, and a kind of possible computational methods are: from { 0, Wtv-(Htv-Wtv/r)/the wide of 2} point beginning is Wtv, and height is the zone of (Htv-Wtv/r)/2.
For example, output resolution ratio is the HDTV of 1080*1920, and when playing the film of 2:35:1, following black surround zone be that to put wide 1920 height that begin from (0,968) be 130 zone.
Step 203 reads the information of first captions to be shown;
The information of above-mentioned first captions comprises the position of demonstration and the wide high information of captions;
Step 204 if judging said first captions is presented at said picture-display-region territory, is then adjusted said first captions, obtains second captions;
Being appreciated that above-mentioned first captions can be presented on the screen, also can be not to be presented on the screen.
Step 205 is presented at non-picture-display-region territory with adjusted said second captions.
Need to prove that captions to be shown are called first captions before above-mentioned will the adjustment, and adjusted captions are called second captions.
Here, can adopt the method for cutting row to the adjustment that captions carry out, can also adopt the method for convergent-divergent, the method that can also adopt cutting row and convergent-divergent to combine specifies respectively below.
If adopt the method for cutting row, then said first captions to be adjusted, the step that adjusted said second captions is presented at said non-picture-display-region territory comprises:
I) as if wide high information, know first captions to be shown, then said first captions to be shown cut by line number that the captions after the cutting are reconfigured, and execution in step ii) then greater than delegation according to first captions to be shown; If know that captions to be shown are delegation, then can directly show;
Whether the height of ii) judging the captions after said the reconfiguring greater than the height in non-picture-display-region territory in the said screen, if, then execution in step iii) otherwise, execution in step is iv);
Iii) said captions are cut by line number once more, the captions after the cutting are reconfigured, execution in step ii) afterwards;
Second captions after iv) will reconfiguring are presented at non-picture-display-region territory.
The above-mentioned method of cutting and reconfiguring by row is prior art, is example with a kind of possible implementation method only here, describes.
Suppose that the picture captions are two row, then the process by the row cutting can be:
Whether the color of from the first capable delegation to the end, being had a few in every row in identification and the recording caption picture is identical;
Begin to be designated as h0 from captions first row to the line number at first non-same color rows (being to have a few in the delegation not to be same color) place; Begin to same color first row (promptly next first row of the next one from h0; The color of being had a few is all identical in this first row) the place line number is designated as h1, can know that then effective captions height zone is for capable of the capable zone of h1 since h0;
The line number that searches out next non-same color rows is designated as h2, and effective captions height zone of second row is since the capable zone of the capable h1-h0 of h2 so;
Therefore, can cutting arbitrarily in the zone from h1 to h2.Certainly,, there is more accurate algorithm to cut, no longer specifies here at which in field of image recognition in the zone of h1 to h2.
During demonstration, if guarantee h0 and h2 make up after finally with delegation.
Press columns when cutting in like manner.
Need to prove that above-mentioned only is a kind of possible implementation method, in practical application, also have other cutting implementation method, the embodiment of the invention does not limit concrete cutting method.
For example, the wide high information of captions to be shown is that the captions of the 70*360 of single file can directly show, wide high information is the two row captions of 140*500, can go to show after the cutting again; Be appreciated that if the above captions of triplex row are arranged, can carry out twice row cutting, all be data line with what guarantee to show at every turn, thereby guarantee on non-picture-display-region territory such as black surround, to show captions.
Referring to Fig. 3; It is according to the embodiment of the invention by the picture view after the row cutting; As can be seen from the figure, being originally after two capable captions reconfigure through cutting becomes delegation, like this; Delegation's captions after reconfiguring are the zone of the black surround below screen demonstration fully just, thereby has avoided the overlapping of captions and video pictures.
If adopt the method for convergent-divergent, then said first captions to be adjusted, the step that adjusted said second captions is presented at said non-picture-display-region territory comprises:
01) as if the wide high information according to first captions to be shown, know the height of the height of captions greater than non-picture-display-region territory in the said screen, then said first captions are carried out convergent-divergent, execution in step 02 then); If know first captions to be shown height, then can directly show smaller or equal to non-picture-display-region territory in the said screen;
Whether the height of 02) judging the captions behind the said convergent-divergent is greater than the height in non-picture-display-region territory in the said screen, if then execution in step 03) otherwise, execution in step 04);
03) said captions are carried out convergent-divergent once more, execution in step 02 afterwards);
04) second captions behind the convergent-divergent is presented at non-picture-display-region territory.
For example; The wide high information of captions to be shown is the captions of the 70*360 of single file; Can adopt (Htv-Wtv/r)/4 proportional zoom to show to 63*324, be the captions of the 140*500 of two row for the wide high information of captions to be shown, can adopt (Htv-Wtv/r)/2 proportional zoom to show to 126*450.
The method that adopts cutting row and convergent-divergent to combine is then adjusted said first captions, and the step that adjusted said second captions is presented at said non-picture-display-region territory comprises:
A) as if wide high information, know captions to be shown, then said first captions to be shown are cut by line number and convergent-divergent processing, then execution in step b) greater than delegation according to first captions to be shown; If know that first captions to be shown equal delegation, and captions to be shown then can directly show smaller or equal to the height in non-picture-display-region territory in the said screen;
Whether the height of b) judging the captions after said cutting and convergent-divergent are handled greater than the height in non-picture-display-region territory in the said screen, if, execution in step c then) otherwise, execution in step d);
C) said captions are cut and convergent-divergent processing, execution in step b afterwards once more);
Second captions that d) will cut after handling with convergent-divergent are presented at non-picture-display-region territory.
For example, the wide high information of captions to be shown is that the height of multirow (more than 3 row) is 210 captions, can adopt the high demonstration of (Htv-Wtv/r)/2 proportional zoom to 126, and the captions cutting back with the 3rd row shows simultaneously.
Need to prove that confirming of above-mentioned scaling only is an embodiment, in practical application, can adopt the whole bag of tricks to confirm as required, the application does not do qualification to definite method and definite great scaling of scaling.
Need to prove that the application embodiment may further include: the record scaling; All captions in the film are carried out convergent-divergent according to same scaling.The font size that can guarantee all pictures in the film like this is all identical, and little problem when big improves user experience when avoiding font.
Above-mentioned is to be that example describes with the picture captions, if in the video pictures be text subtitle, then processing method is simple relatively, is specially:
Calculate the wide height in non-picture-display-region territory in the screen; Concrete computational methods repeat no more with aforementioned identical;
Number of characters addition with every capable captions draws total number of characters;
Judge this total number of characters shows whether to exceed non-picture-display-region territory by delegation, otherwise, be about to adjusted captions by one and be presented at non-picture-display-region territory; If then, first display part second captions in non-picture-display-region territory show remaining second captions again after refreshing afterwards.
Use the caption presentation method that the embodiment of the invention provides; No matter captions to be shown have several row; All make these captions can not drop on video display area, avoided the superposition of captions and video pictures, the embodiment of the invention makes captions can drop on non-picture-display-region territory; Make the captions that shown clear, improved the display quality of picture.
The embodiment of the invention also provides a kind of terminal equipment, referring to Fig. 4, specifically comprises:
First acquiring unit 401 is used to obtain the information in picture-display-region territory;
Reading unit 403 is used to read the information of first captions to be shown,
Above-mentioned second acquisition unit 402 can specifically comprise:
The resolution acquiring unit is used to obtain the output resolution ratio Wtv*Htv of screen;
The aspect ratio acquiring unit is used to obtain the aspect ratio r of current broadcast film;
Non-picture-display-region territory computation subunit is used for calculating the information in non-picture-display-region territory according to the output resolution ratio of said screen and the aspect ratio of current broadcast film.
Above-mentioned adjustment unit 404 can specifically comprise:
Judging unit is used for when judging said first captions and be presented at said picture-display-region territory, notice cutting subelement;
The cutting subelement is used for the wide high information according to said first captions to be shown, when knowing said first captions greater than delegation, said first captions is cut by line number, and the captions after the cutting are reconfigured; Whether the height of judging the captions after said the reconfiguring is greater than the height in said non-picture-display-region territory; If; Then said captions are cut by line number once more, the captions after the cutting are reconfigured, carry out once more afterwards judge the captions after said the reconfiguring height whether greater than the step of the height in said non-picture-display-region territory; Otherwise, second captions after reconfiguring are presented at non-picture-display-region territory.
Above-mentioned adjustment unit 404 can specifically comprise:
Judging unit is used for when judging said first captions and be presented at said picture-display-region territory, notice convergent-divergent subelement;
The convergent-divergent subelement is used for the wide high information according to said first captions to be shown, and the height of knowing said first captions carries out convergent-divergent to said first captions during greater than the height in said non-picture-display-region territory; Whether the height of judging the captions behind the said convergent-divergent is greater than the height in said non-picture-display-region territory; If; Then said captions are carried out convergent-divergent once more; Whether the height of judging the captions behind the said convergent-divergent afterwards greater than the height in said non-picture-display-region territory, otherwise, second captions behind the convergent-divergent are presented at non-picture-display-region territory.
Above-mentioned adjustment unit 404 can specifically comprise:
Judging unit is used for when judging said first captions and be presented at said picture-display-region territory, notice cutting and convergent-divergent subelement;
Cutting and convergent-divergent subelement are used for the wide high information according to first captions to be shown, know said first captions greater than delegation, then said first captions are cut with convergent-divergent by line number and handle; Whether the height of judging the captions after said cutting and convergent-divergent are handled is greater than the height in said non-picture-display-region territory; If; Then said captions are cut with convergent-divergent once more and handle; Whether the height of judging the captions after said cutting and convergent-divergent are handled afterwards again greater than the height in said non-picture-display-region territory, otherwise, second captions after cutting and the convergent-divergent processing are presented at non-picture-display-region territory.
Said terminal equipment can also comprise:
Record cell is used to write down scaling, so that all captions in film carry out convergent-divergent according to same scaling.
Above-mentioned adjustment unit 404 can specifically comprise:
Judging unit is used for when judging said first captions and be presented at said picture-display-region territory, and notice merges subelement;
Merge subelement, be used for number of characters addition, draw total number of characters every capable captions of said first captions; If this total number of characters does not exceed non-picture-display-region territory by delegation demonstration, then be about to adjusted second captions and be presented at non-picture-display-region territory by one; Exceed non-picture-display-region territory if this total number of characters shows by delegation, then first display part second captions in non-picture-display-region territory show remaining second captions again after refreshing afterwards.
Use the terminal equipment that the embodiment of the invention provides; No matter captions to be shown have several row; All make these captions can not drop on video display area, avoided the superposition of captions and video pictures, the embodiment of the invention makes captions can drop on non-picture-display-region territory; Make the captions that shown clear, improved the display quality of picture.
For terminal equipment embodiment, because it is basically similar in appearance to method embodiment, so description is fairly simple, relevant part gets final product referring to the part explanation of method embodiment.
Need to prove; In this article; Such as term " comprise ", " comprising " or its any other variant be intended to contain comprising of nonexcludability; Thereby make to comprise that process, method, article or the equipment of a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or also be included as this process, method, article or equipment intrinsic key element.Under the situation that do not having much more more restrictions, the key element that limits by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises said key element and also have other identical element.
The application can be used in numerous general or special purpose computingasystem environment or the configuration.For example: personal computer, server computer, handheld device or portable set, plate equipment, multicomputer system, the system based on microprocessor, set top box, programmable consumer-elcetronics devices, network PC, minicom, mainframe computer, comprise DCE of above any system or equipment or the like.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the said method execution mode is to instruct relevant hardware to accomplish through program; Described program can be stored in the computer read/write memory medium; Here the alleged storage medium that gets, as: ROM/RAM, magnetic disc, CD etc.
The above is merely preferred embodiment of the present invention, is not to be used to limit protection scope of the present invention.All any modifications of within spirit of the present invention and principle, being done, be equal to replacement, improvement etc., all be included in protection scope of the present invention.
Claims (14)
1. a caption presentation method is characterized in that, comprising:
Obtain the information in picture-display-region territory;
Obtain the information in non-picture-display-region territory;
Read the information of first captions to be shown;
If judging said first captions is presented at said picture-display-region territory, then said first captions are adjusted, obtain second captions;
Adjusted said second captions are presented at said non-picture-display-region territory.
2. method according to claim 1 is characterized in that, the step of the information in the non-picture-display-region of said acquisition territory comprises:
Obtain the output resolution ratio Wtv*Htv of screen;
Obtain the aspect ratio r of current broadcast film;
Calculate the information in non-picture-display-region territory according to the output resolution ratio of said screen and the aspect ratio of current broadcast film.
3. method according to claim 1 is characterized in that, if said captions are picture captions, then said first captions is adjusted, and obtains second captions; The step that adjusted said second captions is presented at said non-picture-display-region territory comprises:
I) as if wide high information, know that said first captions greater than delegation, then cut by line number said first captions, the captions after the cutting are reconfigured according to said first captions to be shown;
Whether the height of ii) judging the captions after said the reconfiguring greater than the height in said non-picture-display-region territory, if, then execution in step iii) otherwise, execution in step is iv);
Iii) said captions are cut by line number once more, the captions after the cutting are reconfigured, execution in step ii) afterwards;
Second captions after iv) will reconfiguring are presented at non-picture-display-region territory.
4. method according to claim 1 is characterized in that, if said captions are picture captions, then said first captions is adjusted, and obtains second captions; The step that adjusted said second captions is presented at said non-picture-display-region territory comprises:
01) as if wide high information, know the height of the height of said first captions, then said first captions carried out convergent-divergent greater than non-picture-display-region territory in the said screen according to said first captions to be shown,
Whether the height of 02) judging the captions behind the said convergent-divergent is greater than the height in said non-picture-display-region territory, if then execution in step 03) otherwise, execution in step 04);
03) said captions are carried out convergent-divergent once more, execution in step 02 afterwards);
04) second captions behind the convergent-divergent is presented at non-picture-display-region territory.
5. method according to claim 1 is characterized in that, if said captions are picture captions, then said first captions is adjusted, and obtains second captions; The step that adjusted said second captions is presented at said non-picture-display-region territory comprises:
A) as if wide high information, know said first captions, then said first captions are cut with convergent-divergent by line number and handle greater than delegation according to said first captions to be shown;
Whether the height of b) judging the captions after said cutting and convergent-divergent are handled greater than the height in non-picture-display-region territory in the said screen, if, execution in step c then) otherwise, execution in step d);
C) said captions are cut and convergent-divergent processing, execution in step b afterwards once more);
Second captions that d) will cut after handling with convergent-divergent are presented at non-picture-display-region territory.
6. according to claim 4 or 5 described methods, it is characterized in that said method further comprises: the record scaling;
All captions in the film are carried out convergent-divergent according to same scaling.
7. method according to claim 1 is characterized in that, if said captions are text subtitles, then said first captions is adjusted, and obtains second captions; The step that adjusted said second captions is presented at said non-picture-display-region territory comprises:
Characters per line addition with said first captions draws total number of characters;
Judge this total number of characters shows whether to exceed non-picture-display-region territory by delegation, if not, be about to adjusted second captions by one and be presented at non-picture-display-region territory; If then, first display part second captions in non-picture-display-region territory show remaining second captions again after refreshing afterwards.
8. a terminal equipment is characterized in that, comprising:
First acquiring unit is used to obtain the information in picture-display-region territory;
Second acquisition unit is used to obtain the information in non-picture-display-region territory;
Reading unit is used to read the information of first captions to be shown,
Adjustment unit is used for when judging said first captions and be presented at said picture-display-region territory, said first captions being adjusted, and obtains second captions, and adjusted said second captions are presented at said non-picture-display-region territory.
9. terminal equipment according to claim 8 is characterized in that, said second acquisition unit comprises:
The resolution acquiring unit is used to obtain the output resolution ratio Wtv*Htv of screen;
The aspect ratio acquiring unit is used to obtain the aspect ratio r of current broadcast film;
Non-picture-display-region territory computation subunit is used for calculating the information in non-picture-display-region territory according to the output resolution ratio of said screen and the aspect ratio of current broadcast film.
10. terminal equipment according to claim 8 is characterized in that, said adjustment unit comprises:
Judging unit is used for when judging said first captions and be presented at said picture-display-region territory, notice cutting subelement;
The cutting subelement is used for the wide high information according to said first captions to be shown, when knowing said first captions greater than delegation, said first captions is cut by line number, and the captions after the cutting are reconfigured; Whether the height of judging the captions after said the reconfiguring is greater than the height in said non-picture-display-region territory; If; Then said captions are cut by line number once more, the captions after the cutting are reconfigured, carry out once more afterwards judge the captions after said the reconfiguring height whether greater than the step of the height in said non-picture-display-region territory; Otherwise, second captions after reconfiguring are presented at non-picture-display-region territory.
11. terminal equipment according to claim 8 is characterized in that, said adjustment unit comprises:
Judging unit is used for when judging said first captions and be presented at said picture-display-region territory, notice convergent-divergent subelement;
The convergent-divergent subelement is used for the wide high information according to said first captions to be shown, and the height of knowing said first captions carries out convergent-divergent to said first captions during greater than the height in said non-picture-display-region territory; Whether the height of judging the captions behind the said convergent-divergent is greater than the height in said non-picture-display-region territory; If; Then said captions are carried out convergent-divergent once more; Whether the height of judging the captions behind the said convergent-divergent afterwards greater than the height in said non-picture-display-region territory, otherwise, second captions behind the convergent-divergent are presented at non-picture-display-region territory.
12. terminal equipment according to claim 8 is characterized in that, said adjustment unit comprises:
Judging unit is used for when judging said first captions and be presented at said picture-display-region territory, notice cutting and convergent-divergent subelement;
Cutting and convergent-divergent subelement are used for the wide high information according to first captions to be shown, know said first captions greater than delegation, then said first captions are cut with convergent-divergent by line number and handle; Whether the height of judging the captions after said cutting and convergent-divergent are handled is greater than the height in said non-picture-display-region territory; If; Then said captions are cut with convergent-divergent once more and handle; Whether the height of judging the captions after said cutting and convergent-divergent are handled afterwards again greater than the height in said non-picture-display-region territory, otherwise, second captions after cutting and the convergent-divergent processing are presented at non-picture-display-region territory.
13., it is characterized in that said terminal equipment also comprises according to claim 11 or 12 described terminal equipments:
Record cell is used to write down scaling, so that all captions in film carry out convergent-divergent according to same scaling.
14. terminal equipment according to claim 8 is characterized in that, said adjustment unit comprises:
Judging unit is used for when judging said first captions and be presented at said picture-display-region territory, and notice merges subelement;
Merge subelement, be used for number of characters addition, draw total number of characters every capable captions of said first captions; If this total number of characters does not exceed non-picture-display-region territory by delegation demonstration, then be about to adjusted second captions and be presented at non-picture-display-region territory by one; Exceed non-picture-display-region territory if this total number of characters shows by delegation, then first display part second captions in non-picture-display-region territory show remaining second captions again after refreshing afterwards.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009102417704A CN102088571B (en) | 2009-12-07 | 2009-12-07 | Caption displaying method and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009102417704A CN102088571B (en) | 2009-12-07 | 2009-12-07 | Caption displaying method and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102088571A CN102088571A (en) | 2011-06-08 |
CN102088571B true CN102088571B (en) | 2012-11-21 |
Family
ID=44100157
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009102417704A Active CN102088571B (en) | 2009-12-07 | 2009-12-07 | Caption displaying method and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102088571B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108174279B (en) * | 2017-12-07 | 2020-07-17 | 四川迪佳通电子有限公司 | Set top box subtitle display method and system |
CN109951523B (en) * | 2019-01-18 | 2021-11-26 | 广州宁基智能系统有限公司 | Data communication method, system and storage medium based on field industrial local area network |
CN109862411B (en) * | 2019-03-04 | 2021-09-24 | 深圳市梦网视讯有限公司 | Subtitle processing method and system |
CN110177295B (en) | 2019-06-06 | 2021-06-22 | 北京字节跳动网络技术有限公司 | Subtitle out-of-range processing method and device and electronic equipment |
CN110363832B (en) * | 2019-07-24 | 2021-05-25 | 广州方硅信息技术有限公司 | Subtitle generating method and device |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1094211A (en) * | 1993-04-21 | 1994-10-26 | 汤姆森消费电子有限公司 | Adaptive letterbox detector |
CN1115540A (en) * | 1994-06-22 | 1996-01-24 | 株式会社日立制作所 | Apparatus for detecting position of area of words screen and picture charactor such as pictureless zone |
CN1139338A (en) * | 1995-06-28 | 1997-01-01 | 大宇电子株式会社 | Apparatus for controling caption display on wide aspect ratio screen |
JP2001313911A (en) * | 2000-04-28 | 2001-11-09 | Nippon Hoso Kyokai <Nhk> | Television transmitter and television receiver |
JP3386399B2 (en) * | 1999-02-18 | 2003-03-17 | 日本電気株式会社 | Video display device |
CN1642234A (en) * | 2004-01-12 | 2005-07-20 | 松下电器产业株式会社 | Caption treating device |
JP2006295746A (en) * | 2005-04-14 | 2006-10-26 | Matsushita Electric Ind Co Ltd | Image signal output device and image signal output method |
CN101193235A (en) * | 2007-07-23 | 2008-06-04 | 南京Lg新港显示有限公司 | Size adjusting method containing subtitle image and digital tv |
CN101360193A (en) * | 2008-09-04 | 2009-02-04 | 北京中星微电子有限公司 | Video subtitle processing apparatus and method |
-
2009
- 2009-12-07 CN CN2009102417704A patent/CN102088571B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1094211A (en) * | 1993-04-21 | 1994-10-26 | 汤姆森消费电子有限公司 | Adaptive letterbox detector |
CN1115540A (en) * | 1994-06-22 | 1996-01-24 | 株式会社日立制作所 | Apparatus for detecting position of area of words screen and picture charactor such as pictureless zone |
CN1139338A (en) * | 1995-06-28 | 1997-01-01 | 大宇电子株式会社 | Apparatus for controling caption display on wide aspect ratio screen |
JP3386399B2 (en) * | 1999-02-18 | 2003-03-17 | 日本電気株式会社 | Video display device |
JP2001313911A (en) * | 2000-04-28 | 2001-11-09 | Nippon Hoso Kyokai <Nhk> | Television transmitter and television receiver |
CN1642234A (en) * | 2004-01-12 | 2005-07-20 | 松下电器产业株式会社 | Caption treating device |
JP2006295746A (en) * | 2005-04-14 | 2006-10-26 | Matsushita Electric Ind Co Ltd | Image signal output device and image signal output method |
CN101193235A (en) * | 2007-07-23 | 2008-06-04 | 南京Lg新港显示有限公司 | Size adjusting method containing subtitle image and digital tv |
CN101360193A (en) * | 2008-09-04 | 2009-02-04 | 北京中星微电子有限公司 | Video subtitle processing apparatus and method |
Also Published As
Publication number | Publication date |
---|---|
CN102088571A (en) | 2011-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7911536B2 (en) | Screen filled display of digital video content | |
CN102208171B (en) | Local detail playing method on portable high-definition video player | |
CN102088571B (en) | Caption displaying method and terminal equipment | |
CN103559713B (en) | Method and terminal for providing augmented reality | |
US20090109125A1 (en) | Image processing method and system | |
KR100866201B1 (en) | Extraction of region of interest for users of multimedia portable terminals | |
CN105338410A (en) | Method and device for displaying barrage of video | |
EP2244264A3 (en) | Image processing apparatus and method | |
MY118839A (en) | Signal reproducing apparatus and signal reproducing method | |
US20150036050A1 (en) | Television control apparatus and associated method | |
MY140124A (en) | Storage medium storing interactive graphics stream, and reproducing apparatus and method | |
CN103996167A (en) | Thumbnail display method and user equipment | |
CN107943444A (en) | A kind of combination image split-joint method and system | |
CN114282081A (en) | Media file display processing method and device, electronic equipment and readable storage medium | |
CN104469178A (en) | Image display method and electronic device | |
US6339453B1 (en) | Television system having replaceable graphics user interface architecture | |
CN102340635A (en) | Multimedia playing equipment and method and device for displaying texts in file of multimedia playing equipment | |
CN101155279A (en) | Display apparatus and broadcasting signal display method thereof | |
US20090214138A1 (en) | Image processing method, and processing methods for digital photo frame and interactive image process | |
CN102376332A (en) | Display control method and device of album p display interface | |
CN105632349B (en) | L ED spherical display screen playing management method, device and system | |
CN105228026B (en) | The more equipment display methods of teletext, apparatus and system | |
CN106454480A (en) | Video playing control method and apparatus | |
CN109117813A (en) | Method for processing video frequency and device | |
US20130127899A1 (en) | Apparatus and method for dynamic film review on an e-book |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |