CN103414936B - Caption presentation method and device - Google Patents

Caption presentation method and device Download PDF

Info

Publication number
CN103414936B
CN103414936B CN201310334889.2A CN201310334889A CN103414936B CN 103414936 B CN103414936 B CN 103414936B CN 201310334889 A CN201310334889 A CN 201310334889A CN 103414936 B CN103414936 B CN 103414936B
Authority
CN
China
Prior art keywords
captions
palette
user
new
color
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
Application number
CN201310334889.2A
Other languages
Chinese (zh)
Other versions
CN103414936A (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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201310334889.2A priority Critical patent/CN103414936B/en
Publication of CN103414936A publication Critical patent/CN103414936A/en
Application granted granted Critical
Publication of CN103414936B publication Critical patent/CN103414936B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention discloses a kind of caption presentation method and device, by the palette that every a line captions are decoded from the data transmission stream including caption information;When detecting the instruction of user's triggering change Subtitle Demonstration pattern, call and show captions adjustment control and the captions palette of acquisition, the Subtitle Demonstration pattern of current transmission is adjusted for user;Receive the Subtitle Demonstration mode adjustment information that user adjusts control input based on captions;The Subtitle Demonstration mode adjustment information inputted according to user, calculate and obtain new captions palette, and the method that new captions are generated according to new captions palette, with the beneficial effect of Subtitle Demonstration pattern can be set according to user's request, improve man-machine interaction;Further, can be in receiving terminal(Such as DTV)The display pattern of upper change captions simultaneously shows captions according to the display pattern after change, enriches the function of DTV, makes DTV more intelligent.

Description

Caption presentation method and device
Technical field
The present invention relates to caption information treatment technology, digital TV field is further related to, more particularly to a kind of digital video is wide Caption presentation method and device in broadcasting.
Background technology
At present, existing video equipment(Such as DTV)Color, transparency of the captions shown to user etc. are according to one The information that fixed display pattern is shown, generally by developer or attendant in sending ending equipment(Such as information station)It is upper to be set Put, and the caption information set is sent to receiving terminal(Such as DTV);I.e. transmitting terminal includes display to receiving terminal transmission The captions of the display patterns such as color, transparency, the display pattern for the captions set that receiving terminal is just transmitted according to transmitting terminal, Captions are showed into user, and user then can not be according to the hobby or particular/special requirement of itself in receiving terminal(As on DTV) The display patterns such as color, the transparency of the captions that have shown are configured.
The content of the invention
In consideration of it, being necessary to provide a kind of caption presentation method and device, it is intended to which solution must not be set according to user's request The problem of Subtitle Demonstration pattern.
The embodiment of the invention discloses a kind of caption presentation method, comprise the following steps:
The palette of every a line captions is decoded from the data transmission stream including caption information;
When detecting the instruction of user's triggering change Subtitle Demonstration pattern, call and show that captions adjust control;Meanwhile, The captions palette obtained is shown, the Subtitle Demonstration pattern of current transmission is adjusted for user;
Receive the Subtitle Demonstration mode adjustment information that user adjusts control input based on the captions;
The Subtitle Demonstration mode adjustment information inputted according to user, calculates and obtains new captions palette;
New captions are generated according to the new captions palette.
Preferably, it is described when detecting the instruction of user's triggering change Subtitle Demonstration pattern, call and show that captions are adjusted Whole control;Meanwhile, the captions palette obtained is shown, the Subtitle Demonstration pattern of current transmission is adjusted for user, Also include before:
The color index and Domain Properties of every a line captions are decoded from the data transmission stream including caption information.
Preferably, it is described to generate new captions according to the new captions palette, also include afterwards:
Window is created according to the Domain Properties of acquisition, the new captions of generation are shown on the window of establishment.
Preferably, it is described every a line captions are decoded from the data transmission stream including caption information palette the step of Afterwards, it is described when detect user triggering change Subtitle Demonstration pattern instruction when call and show captions adjustment control before, Also include:
The palette obtained according to decoding, obtains color mode, color-values and the transparence value per a line captions.
Preferably, it is described to be specially the step of generate new captions according to the new captions palette:With reference to per a line captions Color index and the new color mode of acquisition, color-values and transparence value generate the new captions.
A kind of subtitling display equipment is also disclosed in the embodiment of the present invention, including:
Formation-decoding module, the toning for decoding every a line captions from the data transmission stream including caption information Plate;
Control display module, for when detecting the instruction of user's triggering change Subtitle Demonstration pattern, calling and showing Captions adjust control;Meanwhile, the captions palette obtained is shown, the Subtitle Demonstration pattern of current transmission is carried out for user Adjustment;
Palette adjusting module, the Subtitle Demonstration mode adjustment of control input is adjusted for receiving user based on the captions Information;The Subtitle Demonstration mode adjustment information inputted according to user, calculates and obtains new captions palette;
Captions generation module, for generating new captions according to the new captions palette.
Described information decoder module is additionally operable to:
The color index and Domain Properties of every a line captions are decoded from the data transmission stream including caption information.
Preferably, the subtitling display equipment also includes:
Subtitle Demonstration module, the new captions for showing generation on the window of the Domain Properties establishment according to acquisition.
Preferably, described information decoder module is additionally operable to:
The palette obtained according to decoding, obtains color mode, color-values and the transparence value per a line captions.
Preferably, it is described to be specially the step of generate new captions according to the new captions palette:With reference to per a line captions Color index and the new color mode of acquisition, color-values and transparence value generate the new captions.
The embodiment of the present invention from the data transmission stream including caption information by decoding the palettes of every a line captions; When detecting the instruction of user's triggering change Subtitle Demonstration pattern, call and show that captions adjust control;Meanwhile, what display was obtained The captions palette, is adjusted for user to the Subtitle Demonstration pattern of current transmission;User is received to adjust based on the captions The Subtitle Demonstration mode adjustment information of whole control input;The Subtitle Demonstration mode adjustment information inputted according to user, is calculated And obtain new captions palette, the method for generating new captions according to the new captions palette, with can be according to user's request The beneficial effect of Subtitle Demonstration pattern is set, man-machine interaction is improved;Further, can be in receiving terminal(Such as numeral TV)The display pattern of upper change captions simultaneously shows captions according to the display pattern after change, enriches the function of DTV, Make DTV more intelligent.
Brief description of the drawings
Fig. 1 is the embodiment schematic flow sheet of caption presentation method one of the present invention;
Fig. 2 is the another embodiment schematic flow sheet of caption presentation method of the present invention;
Fig. 3 is the embodiment high-level schematic functional block diagram of subtitling display equipment one of the present invention;
Fig. 4 is the another embodiment high-level schematic functional block diagram of subtitling display equipment of the present invention.
Realization, functional characteristics and the advantage of purpose of the embodiment of the present invention will be done furtherly referring to the drawings in conjunction with the embodiments It is bright.
Embodiment
Technical scheme is further illustrated below in conjunction with Figure of description and specific embodiment.It should be appreciated that this The specific embodiment of place description is not intended to limit the present invention only to explain the present invention.
In the following examples of caption presentation method and device of the present invention, this is described so that receiving terminal is DTV as an example The implementation process of inventive embodiments;Receiving terminal in the embodiment of the present invention can also be other specific carrying terminals, the present invention Embodiment is not limited the specific carrying terminal of receiving terminal, every to realize the equivalent transformation that thought is made using the present invention It is within the scope of the present invention.
Reference picture 1, Fig. 1 is the embodiment schematic flow sheet of caption presentation method one of the present invention;As shown in figure 1, word of the present invention Curtain display methods comprises the following steps:
Step S01, the palette for decoding from the data transmission stream including caption information every a line captions;
The palette decoder of captions decodes the palette corresponding to every a line captions from data transmission stream, according to solution The palette of code out, obtains color mode, color-values and the transparence value per a line captions.In a preferred embodiment, DTV utilizes PES(Packetized Elementary Streams, the elementary stream of packing)Filter obtains user institute PES packets corresponding to the captions of selection, then decode the timestamp required for captions, time here by pre decoding Stamp can be understood as the time point of Subtitle Demonstration;Meanwhile, obtain system current time, by by the timestamp needed for captions with The contrast of the current time in system of acquisition, is decoded.If the current display time for not reaching captions also, then when waiting default Continue to judge after length;If the Subtitle Demonstration moment is had arrived at, then into formal caption decoding.Now, decoder is according to PES Data type in packet, starts corresponding page decoders either domain decoder or palette decoder, or target Data decoder is decoded.
Step S02, call and show captions adjust control, while show obtain the captions palette;
DTV monitors the Action Events of user's triggering in real time or according to preset time period;Triggered when detecting user When changing the instruction of Subtitle Demonstration pattern, DTV calls and shows that captions adjust control;Meanwhile, show the word obtained Curtain palette, is adjusted for user to the Subtitle Demonstration pattern of current transmission.
Such as, the captions called by DTV adjust control, show that each parameter is adjusted in captions adjustment control to user Whole frame;Such as, user can see transparency, color-values and the color mould that the captions currently shown possess in main menu Formula.When user selects transparency, color-values and the corresponding menu bar of color mode, digital television display system can show tune The input frame of transparency, color-values and color mode is saved, user need to only change corresponding numerical value and color mode.
Step S03, reception user adjust the Subtitle Demonstration mode adjustment information of control input based on the captions;
Step S04, calculate and obtain new captions palette.
Control is adjusted when user is based on captions, is inputted after corresponding transparency, color-values and color mode, DTV connects The Subtitle Demonstration mode adjustment information of the above-mentioned transparency, color-values and color mode of user's input is received, is inputted according to user The Subtitle Demonstration parameter such as transparency, color-values and color mode calculates new palette, obtains the new captions needed for user Palette, for subsequently generating new captions according to new captions palette.
In a preferred embodiment, the words such as transparency, color-values and the color mode that DTV is inputted according to user Curtain display parameters, which calculate new palette, to be included:
DTV first obtains the palette that the captions currently shown have in itself, judge the palette whether need into The self-defined regulation of row captions;If desired for regulation, then the transparency set by user is first obtained, and judge set by user The display pattern of transparency, the display pattern of the transparency can be determined by product;In the present embodiment, the transparency Display pattern is illustrated exemplified by replacing pattern and mixed mode.The replacement pattern is referred to the transparency set using user and gone The transparency come is decoded instead of subtitle decoder;Because the general form of palette is RGBA, as long as so rewriting A bytes just Row, and within palette is general all 256 kinds, as long as so at most rewriting 256 times;If the display pattern of the transparency is mixed Syntype, then the transparency and subtitle decoder set using user decode come transparency be overlapped, that is, set The product that both transparence values that transparence value is decoded with subtitle decoder are multiplied, is used as the value of new transparency;Meanwhile, change Write the A bytes in RGBA.
After transparency is provided with, the setting of color is carried out.DTV first obtains the color mode and color-values of user, The color mode of actual product is defined by specific product when dispatching from the factory;In the present embodiment, the color mode is to replace pattern Exemplified by illustrate.If the color mode is replaces pattern, subtitle decoder is replaced using color-values defined in user Decode the color-values come;If the color mode is not that instead of pattern, but other patterns, then using each color mode institute Corresponding color value calculating method.Set up after the transparency and color-values of new palette, subsequently can be according to new tune The picture color index of colour table and captions calculates actual captions picture.
Step S05, new captions are generated according to the new captions palette.
Target decoder decodes the color index of captions in DTV, according to the color index and acquisition decoded Color mode, color-values and the transparence value of new captions, DTV generate new captions.
The present embodiment from the data transmission stream including caption information by decoding the palettes of every a line captions;Detection When triggering the instruction of change Subtitle Demonstration pattern to user, call and show that captions adjust control;Meanwhile, it is described that display is obtained Captions palette, is adjusted for user to the Subtitle Demonstration pattern of current transmission;Receive user and be based on captions adjustment control The Subtitle Demonstration mode adjustment information of part input;The Subtitle Demonstration mode adjustment information inputted according to user, calculates and obtains New captions palette is taken, and the method for generating new captions according to the new captions palette, with can be according to user's request The beneficial effect of Subtitle Demonstration pattern is set, man-machine interaction is improved.
Based on the specific descriptions of embodiment described in Fig. 1, Fig. 2 refer to;Fig. 2 is the another implementation of caption presentation method of the present invention Example schematic flow sheet;The present embodiment and the difference of embodiment described in Fig. 1 be, increase by one before step S02 " step S11, from bag The color index and Domain Properties of every a line captions are decoded in the data transmission stream for including caption information ", and increase after step S05 Plus " step S06, the Domain Properties establishment window according to acquisition, the new captions of generation are shown on the window of establishment ";This reality Apply example only step S11, step S06 is specifically described, other steps involved by relevant caption presentation method of the present invention please With reference to the specific descriptions of related embodiment, it will not be repeated here.
As shown in Fig. 2 caption presentation method of the present invention step S02, call and show captions adjust control, simultaneously show Also include before the captions palette obtained:
Step S11, color index and the domain for decoding from the data transmission stream including caption information every a line captions Attribute.
The target data decoder of captions decodes the corresponding color index of every a line captions, domain solution from data transmission stream Code device decodes corresponding Domain Properties from above-mentioned data transmission stream.
Whether the caption information in data transmission stream, the display window of DTV identification current transmission captions needs Remove;During carrying out caption decoding due to DTV, page decoders and domain decoder according to subtitling standard or its He, which adjusts standard, can set whether the display window content of current display captions should be removed;In the present embodiment, the page solutions The main function of code device judges the type and information of the information included in PES packets to control the integrity attribute of the captions Integrality, it is determined whether need reset the captions all properties and display pattern;Domain decoder is to control the captions The attribute of window and whether need to re-create window etc..When the display window needs to remove, domain decoder is removed described aobvious Show window, and search the effective Domain Index corresponding to current subtitle;According to the effective Domain Index investigated and prosecuted, forward pass is worked as in acquisition The corresponding palette of defeated captions.
Under normal circumstances, it is described captions integrity attribute in new caption data, and the new caption data and does not have but when having It is described the captions of now display in need, then it is then to remove last captions that this time-domain decoder, which sends captions,;Or Clearsanattribute in the title sended in person, caption data transport stream is true, then needs to enter last captions Row is removed;Or, it is necessary to newly-built captions(When such as last captions are that 2 rows, captions of this display are 3 row, then need The captions of newly-built a line), then need to be purged the display window of current display captions;After Subtitle Demonstration window is removed, Effective Domain Index is found, then obtains the palette data corresponding to the effective Domain Index, that is, obtains the captions of current transmission The Subtitle Demonstration pattern such as color mode, color-values and transparence value corresponding to Subtitle Demonstration characteristic information.
In the present embodiment, step S05, new captions are generated according to the new captions palette, also included afterwards:
Step S06, the Domain Properties establishment window according to acquisition, show the new captions of generation on the window of establishment.
Target decoder decodes the color index of captions in DTV, according to the color index and acquisition decoded New captions palette, DTV carries out lookup computing and obtains new captions;The attribute in the domain according to corresponding to new captions, in numeral The relevant position of TV creates Subtitle Demonstration window, and sets display of the domain on the display window of establishment corresponding to new captions Position.On the display location of display window, DTV shows the domain corresponding to new captions.
In a preferred embodiment, palette decoder obtains the color data list of the captions, uses most colors The call number of coloured silk value in lists can be smaller;Target data decoder decodes index corresponding with the color of palette;Finally The BMP pictures of captions, the display that the captions picture is passed through into system are obtained by the picture color index and palette of captions System is pushed and shown, has so just reached the purpose that captions are shown according to new display pattern.
In the present embodiment, if the display system of DTV has the computing function of index color and palette, now Work surface just can be obtained from system;If the display system of DTV does not have the calculating work(of index color and palette Can, then subtitle decoder can be calculated according to index color and obtain display system actually color to display;Finally according to the domain Captions picture corresponding to the corresponding surface location push captions is to being shown on the display screen of display system Show.
In the present embodiment, the surface of the directfb refers to that directfb is used for the internal memory with image function, There are this block internal memory some to belong to its attribute, such as coloured typies(16 colors or 32 colors etc.), this block internal memory also has It is specific to the function of this block internal memory(Such as call drawing function, zoom function of the surface etc.).
The present embodiment generates new captions by the color index according to acquisition and new subtitling mode display information, and according to The Domain Properties of acquisition create window, the method that the new captions of generation are shown on the window of establishment, with can receive End(Such as DTV)The display pattern of upper change captions and the beneficial effect that captions are shown according to the display pattern after change, it is rich The rich function of DTV, makes DTV more intelligent.
Fig. 3 is refer to, Fig. 3 is the embodiment high-level schematic functional block diagram of subtitling display equipment one of the present invention;As shown in figure 3, this Invention subtitling display equipment includes:Formation-decoding module 01, control display module 02, palette adjusting module 03 and captions generation Module 04.
Formation-decoding module 01, the toning for decoding every a line captions from the data transmission stream including caption information Plate;
Formation-decoding module 01 is decoded from data transmission stream and per the palette corresponding to a line captions, according to decoding Palette out, obtains color mode, color-values and the transparence value per a line captions.In a preferred embodiment, believe Decoder module 01 is ceased using the PES packets corresponding to the PES filters acquisition selected captions of user, then passes through pre decoding The timestamp required for captions is decoded, timestamp here can be understood as the time point of Subtitle Demonstration;Meanwhile, information decoding Module 01 obtains the system current time, by by the timestamp needed for captions and the contrast of the current time in system obtained, entering Row decoding.If the current display time for not reaching captions also, then formation-decoding module 01 is waited continues to judge after preset duration; If having arrived at the Subtitle Demonstration moment, then formation-decoding module 01 enters formal caption decoding.Now, formation-decoding module 01 includes page decoders, domain decoder, palette decoder and target data decoder, and according in PES packets Data type, starts corresponding page decoders either domain decoder or palette decoder, or target data decoder Decoded.
Control display module 02, for when detecting the instruction of user's triggering change Subtitle Demonstration pattern, calling and showing Show that captions adjust control;Meanwhile, the captions palette obtained is shown, the Subtitle Demonstration pattern of current transmission is entered for user Row adjustment;
Control display module 02 monitors the Action Events of user's triggering in real time or according to preset time period;When detecting use During the instruction of family triggering change Subtitle Demonstration pattern, control display module 02 calls and shows that captions adjust control;Meanwhile, display The captions palette obtained, is adjusted for user to the Subtitle Demonstration pattern of current transmission.
Such as, the captions called by control display module 02 adjust control, show each in captions adjustment control to user Parameter adjustment frame;Such as, user can see transparency, color-values and the color that the captions currently shown possess in main menu Color pattern.When user selects transparency, color-values and the corresponding menu bar of color mode, control display module 02 can be shown The input frame of transparency, color-values and color mode is adjusted, user need to only change corresponding numerical value and color mode.
Palette adjusting module 03, is adjusted for receiving user based on the Subtitle Demonstration pattern that the captions adjust control input Whole information;The Subtitle Demonstration mode adjustment information inputted according to user, calculates and obtains new captions palette.
When the captions that user is shown based on control display module 02 adjust control, input corresponding transparency, color-values and After color mode, the captions that palette adjusting module 03 receives the above-mentioned transparency, color-values and color mode of user's input show Show mode adjustment information, the Subtitle Demonstration parameter such as transparency, color-values and color mode for being inputted according to user calculates new Palette, obtains the new captions palette needed for user, for subsequently showing new captions according to new captions palette.
In a preferred embodiment, palette adjusting module 03 is inputted according to user transparency, color-values and color The Subtitle Demonstration parameter such as pattern, which calculates new palette, to be included:
The palette that the captions currently shown have in itself is first obtained, judges whether the palette needs to carry out captions Self-defined regulation;If desired for regulation, then the transparency set by user is first obtained, and judge transparency set by user Display pattern, the display pattern of the transparency can be determined by product;In the present embodiment, the display pattern of the transparency Illustrated exemplified by replacing pattern and mixed mode.The replacement pattern is referred to the transparency set using user and goes to replace captions Decoder decodes the transparency come;Because the general form of palette is RGBA, as long as so rewrite A bytes, and Within palette is general all 256 kinds, as long as so at most rewriting 256 times;If the display pattern of the transparency is mixed mode, The transparency and subtitle decoder then set using user decode come transparency be overlapped, that is, the transparence value set The product that both transparence values decoded with subtitle decoder are multiplied, is used as the value of new transparency;Meanwhile, rewrite in RGBA A bytes.
After transparency is provided with, the setting of color is carried out.First obtain the color mode and color-values of user, actual product Color mode defined by specific product when dispatching from the factory;In the present embodiment, the color mode is carried out exemplified by replacing pattern Explanation.If the color mode is replaces pattern, using color-values defined in user instead of subtitle decoder decode come Color-values;If the color mode is not that instead of pattern, but other patterns, then using the color corresponding to each color mode Color value calculating method.Set up after the transparency and color-values of new palette, subsequently can be according to new palette and word The picture color index of curtain calculates actual captions picture.
Captions generation module 04, for generating new captions according to the new captions palette.
Target decoder decodes the color index of captions in DTV, and captions generation module 04 is according to the color decoded Color mode, color-values and the transparence value of coloured silk index and the new captions obtained, generate new captions.
The present embodiment from the data transmission stream including caption information by decoding the palettes of every a line captions;Detection When triggering the instruction of change Subtitle Demonstration pattern to user, call and show that captions adjust control;Meanwhile, it is described that display is obtained Captions palette, is adjusted for user to the Subtitle Demonstration pattern of current transmission;Receive user and be based on captions adjustment control The Subtitle Demonstration mode adjustment information of part input;The Subtitle Demonstration mode adjustment information inputted according to user, calculates and obtains Take new captions palette, and new captions are generated according to the new captions palette, with word can be set according to user's request The beneficial effect of curtain display pattern, improves man-machine interaction.
Fig. 4 is refer to, Fig. 4 is the another embodiment high-level schematic functional block diagram of subtitling display equipment of the present invention.The present embodiment with The difference of embodiment described in Fig. 3 is to add Subtitle Demonstration module 05;The present embodiment is only carried out specifically to Subtitle Demonstration module 05 Description, other modules involved by relevant subtitling display equipment of the present invention, refer to the specific descriptions of related embodiment, herein not Repeat again.
In the present embodiment, formation-decoding module 01 is additionally operable to:
The color index and Domain Properties of every a line captions are decoded from the data transmission stream including caption information.
It is corresponding that the invocation target data decoder of formation-decoding module 01 decodes every a line captions from data transmission stream Color index, and call domain decoder to decode corresponding Domain Properties from above-mentioned data transmission stream.
Caption information in data transmission stream, formation-decoding module 01 recognizes that the display window of current transmission captions is It is no to need to remove;During carrying out caption decoding due to DTV, page decoders and domain decoder are according to subtitling standard Or other adjustment standards can set whether the display window content of current display captions should be removed;It is described in the present embodiment The main function of page decoders judges the type of the information included in PES packets to control the integrity attribute of the captions And the integrality of information, it is determined whether need to reset all properties and display pattern of the captions;Domain decoder should for control The attribute of the window of captions and whether need to re-create window etc..When the display window needs to remove, formation-decoding module 01 removes the display window, and searches the effective Domain Index corresponding to current subtitle;According to the effective domain rope investigated and prosecuted Draw, formation-decoding module 01 obtains the corresponding palette of current transmission captions.
Under normal circumstances, it is described captions integrity attribute in new caption data, and the new caption data and does not have but when having It is described the captions of now display in need, then it is then to remove last captions now to send captions;Or, captions number It is true according to the clearsanattribute in the title sended in transport stream, then needs to be purged last captions;Or Person is, it is necessary to newly-built captions(When such as last captions are that 2 rows, captions of this display are 3 row, then need newly-built a line Captions), then need to be purged the display window of current display captions;After Subtitle Demonstration window is removed, information decoding Module 01 finds effective Domain Index, then obtains the palette data corresponding to the effective Domain Index, that is, obtains current transmission The Subtitle Demonstration pattern such as color mode, color-values and the transparence value of captions corresponding to Subtitle Demonstration characteristic information.
Subtitle Demonstration module 05, the new captions for showing generation on the window of the Domain Properties establishment according to acquisition.
The new captions that Subtitle Demonstration module 05 decodes the color index of captions and obtained according to formation-decoding module 01 are adjusted Colour table, carries out lookup computing and obtains new captions;The attribute in the domain according to corresponding to new captions, is created in the relevant position of DTV Subtitle Demonstration window is built, and display location of the domain on the display window of establishment corresponding to new captions is set.In display window Display location on, Subtitle Demonstration module 05 shows the domain corresponding to new captions.
In a preferred embodiment, it can be got over using the call number of most color-values in lists in the color index It is small;Formation-decoding module 01 decodes index corresponding with the color of palette;The picture that Subtitle Demonstration module 05 passes through captions Color index and palette obtain the BMP pictures of captions, and the captions picture is pushed and shown by the display system of system, The purpose that captions are shown according to new display pattern is so just reached.
In the present embodiment, if the display system of DTV has the computing function of index color and palette, now Work surface just can be obtained from system;If the display system of DTV does not have the calculating work(of index color and palette Can, then subtitle decoder can be calculated according to index color and obtain display system actually color to display;Last Subtitle Demonstration The display of captions picture corresponding to surface of the module 05 according to corresponding to the domain location push captions to display system Shown on screen.
In the present embodiment, the surface of the directfb refers to that directfb is used for the internal memory with image function, There are this block internal memory some to belong to its attribute, such as coloured typies(16 colors or 32 colors etc.), this block internal memory also has It is specific to the function of this block internal memory(Such as call drawing function, zoom function of the surface etc.).
The present embodiment generates new captions by the color index according to acquisition and new subtitling mode display information, and according to The Domain Properties of acquisition create window, and the new captions of generation are shown on the window of establishment, with can be in receiving terminal(In full Word TV)The display pattern of upper change captions and the beneficial effect that captions are shown according to the display pattern after change, enrich number The function of word TV, makes DTV more intelligent.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and And also including other key elements being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there is other identical element in process, method, article or the device of key element.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
The preferred embodiments of the present invention are the foregoing is only, its scope of the claims is not thereby limited, it is every to utilize the present invention Equivalent structure or equivalent flow conversion that specification and accompanying drawing content are made, are directly or indirectly used in other related technology necks Domain, is included within the scope of the present invention.

Claims (6)

1. a kind of caption presentation method, it is characterised in that comprise the following steps:
The palette of every a line captions is decoded from the data transmission stream including caption information;
The color index and Domain Properties of every a line captions are decoded from the data transmission stream including caption information;
When detecting the instruction of user's triggering change Subtitle Demonstration pattern, call and show that captions adjust control;Meanwhile, display The captions palette obtained, is adjusted for user;
Receive the Subtitle Demonstration mode adjustment information that user adjusts control input based on the captions;
The Subtitle Demonstration mode adjustment information inputted according to user, calculates and obtains new captions palette;
Window is created according to the Domain Properties of acquisition, while showing according to the new captions palette on the window of establishment Show the new captions of generation.
2. the method as described in claim 1, it is characterised in that described to be decoded from the data transmission stream including caption information After the step of palette per a line captions, described called when detecting the instruction of user's triggering change Subtitle Demonstration pattern And show captions adjustment control before, in addition to:
The palette obtained according to decoding, obtains color mode, color-values and the transparence value per a line captions.
3. method as claimed in claim 2, it is characterised in that the step that new captions are generated according to the new captions palette It is rapid to be specially:With reference to the color index and the new color mode of acquisition per a line captions, color-values and transparence value generation institute State new captions.
4. a kind of subtitling display equipment, it is characterised in that including:
Formation-decoding module, the palette for decoding every a line captions from the data transmission stream including caption information, with And the color index and Domain Properties of every a line captions are decoded from the data transmission stream including caption information;
Control display module, for when detecting the instruction of user's triggering change Subtitle Demonstration pattern, calling and showing captions Adjust control;Meanwhile, the captions palette obtained is shown, the Subtitle Demonstration pattern of current transmission is adjusted for user It is whole;
Palette adjusting module, the Subtitle Demonstration mode adjustment letter of control input is adjusted for receiving user based on the captions Breath;The Subtitle Demonstration mode adjustment information inputted according to user, calculates and obtains new captions palette;
Captions generation module, for generating new captions according to the new captions palette;
Subtitle Demonstration module, the new captions for showing generation on the window of the Domain Properties establishment according to acquisition.
5. device as claimed in claim 4, it is characterised in that described information decoder module is additionally operable to:
The palette obtained according to decoding, obtains color mode, color-values and the transparence value per a line captions.
6. device as claimed in claim 5, it is characterised in that the captions generation module is specifically for reference to per a line captions Color index and the new color mode of acquisition, color-values and transparence value generate the new captions.
CN201310334889.2A 2013-08-02 2013-08-02 Caption presentation method and device Active CN103414936B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310334889.2A CN103414936B (en) 2013-08-02 2013-08-02 Caption presentation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310334889.2A CN103414936B (en) 2013-08-02 2013-08-02 Caption presentation method and device

Publications (2)

Publication Number Publication Date
CN103414936A CN103414936A (en) 2013-11-27
CN103414936B true CN103414936B (en) 2017-07-25

Family

ID=49607917

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310334889.2A Active CN103414936B (en) 2013-08-02 2013-08-02 Caption presentation method and device

Country Status (1)

Country Link
CN (1) CN103414936B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106878794A (en) * 2015-12-10 2017-06-20 北京奇虎科技有限公司 Terminal screen color mode adjusts processing method and processing device
CN113014834B (en) * 2019-12-19 2024-02-27 合肥杰发科技有限公司 Picture subtitle display method and device and related device
CN111327961A (en) * 2020-03-30 2020-06-23 上海句石智能科技有限公司 Video subtitle switching method and system
CN112055245B (en) * 2020-09-11 2023-03-24 海信视像科技股份有限公司 Color subtitle realization method and display device
CN112235521B (en) * 2020-09-29 2023-03-10 东软集团股份有限公司 Method, device and equipment for realizing subtitle conversion

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101086834A (en) * 2006-06-06 2007-12-12 华为技术有限公司 A method for controlling display effect of caption and control device
CN101237543A (en) * 2008-03-03 2008-08-06 晨星半导体股份有限公司 Setting method for caption window attribute and related TV system
CN103067678A (en) * 2011-10-20 2013-04-24 四川长虹电器股份有限公司 Television subtitle display method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002019309A1 (en) * 2000-09-01 2002-03-07 Mixed Signals Technologies, Inc. System and method for displaying closed captions in an interactive tv environment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101086834A (en) * 2006-06-06 2007-12-12 华为技术有限公司 A method for controlling display effect of caption and control device
CN101237543A (en) * 2008-03-03 2008-08-06 晨星半导体股份有限公司 Setting method for caption window attribute and related TV system
CN103067678A (en) * 2011-10-20 2013-04-24 四川长虹电器股份有限公司 Television subtitle display method and device

Also Published As

Publication number Publication date
CN103414936A (en) 2013-11-27

Similar Documents

Publication Publication Date Title
CN103414936B (en) Caption presentation method and device
KR101763593B1 (en) Method for synchronizing contents and user device enabling of the method
CN101662614B (en) Advertisement inserting method and advertisement inserting control device of digital program
CN101478683B (en) Synchronizing audio and video frames
KR20080090784A (en) A controlling method and a receiving apparatus for electronic program information
JP2008079325A (en) Subtitle transmission system
US10728562B2 (en) Video transmitting device and video playing device
KR20080092501A (en) A controlling method and a receiving apparatus for mobile service data
US9271046B2 (en) Switching method of different display windows of a TV
US11617014B2 (en) Content-aware progress bar
CN111405339B (en) Split screen display method, electronic equipment and storage medium
WO2019192416A1 (en) Video processing method and device therefor, and storage medium and electronic product
CN106792192A (en) DTV multiwindow player method and device
JP2012231383A (en) Information display control apparatus employing iptv services, display information providing server, information display control method, information distribution method, information display control program, and information distribution program
CN110971847B (en) Screen display content superposition method and device, electronic equipment and storage medium
CN101867735A (en) Remote control video combination system and realization method thereof
CN105142003B (en) Television program playing method and device
CN108322438A (en) Outer net transmits method, interior network termination and the outer network termination of information to Intranet
CN105578265B (en) A kind of timestamp compensation or modified method based on H264, H265 video analysis
CN100481898C (en) Broadcast-data display control device and method, and broadcast-data receiving device
US7720103B2 (en) Digital television receiver and method for processing a digital television signal
CN111835988B (en) Subtitle generation method, server, terminal equipment and system
CN108156414B (en) WebRTC data encoding method, equipment and computer readable storage medium
US20130229575A1 (en) Digital TV Data Processing Method and System Thereof
US20100225827A1 (en) Apparatus and method for displaying image

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant