CN103414936A - Subtitle display method and device - Google Patents

Subtitle display method and device Download PDF

Info

Publication number
CN103414936A
CN103414936A CN2013103348892A CN201310334889A CN103414936A CN 103414936 A CN103414936 A CN 103414936A CN 2013103348892 A CN2013103348892 A CN 2013103348892A CN 201310334889 A CN201310334889 A CN 201310334889A CN 103414936 A CN103414936 A CN 103414936A
Authority
CN
China
Prior art keywords
captions
palette
new
user
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.)
Granted
Application number
CN2013103348892A
Other languages
Chinese (zh)
Other versions
CN103414936B (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

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Studio Circuits (AREA)
  • Television Systems (AREA)

Abstract

The invention discloses a subtitle display method and device. Color palettes of each line of subtitle is decoded from a data transmission stream comprising subtitle information; when a user is detected to trigger a command of changing subtitle display modes, a subtitle adjusting control is called and displayed, the subtitle color palettes are obtained, and therefore the user can adjust the currently transmitted subtitle display modes; the subtitle display mode adjusting information which is input by the user based on the subtitle adjusting control is received; according to the subtitle display mode adjusting information input by the user, a new subtitle color palette is calculated and obtained, and new subtitles are generated according to the new subtitle color palette. The subtitle display method and device have the advantages that subtitle display modes can be set according to user requirements, and man-machine interactivity is improved; further, the subtitle display modes can be changed on a receiving end, like a digital television, then subtitles are displayed according to the changed display mode, functions of the digital television are enriched, and the digital television is made to be more intelligent.

Description

Caption presentation method and device
Technical field
The present invention relates to the caption information treatment technology, also relate to digital TV field, relate in particular to caption presentation method and device in a kind of digital video broadcasting.
Background technology
At present, the information that the color of the captions that existing video equipment (as digital TV) is showed to the user, transparency etc. show according to certain display mode, usually by developer or attendant, arranged on sending ending equipment (as information station), and the caption information that will set is sent to receiving terminal (as digital TV); Be that transmitting terminal comprises the captions of the display modes such as Show Color, transparency to the receiving terminal transmission, receiving terminal is just according to the display mode of the captions that set of transmitting terminal transmission, captions are showed to the user, and the user can not arrange display modes such as the color of the captions that shown, transparencies at receiving terminal (on digital TV) according to self hobby or specific (special) requirements.
Summary of the invention
Given this, be necessary to provide a kind of caption presentation method and device, be intended to solution the problem of Subtitle Demonstration pattern must not be set according to user's request.
The embodiment of the invention discloses a kind of caption presentation method, comprise the following steps:
From the data transmission stream that comprises caption information, decoding the palette of every delegation captions;
When the user being detected and trigger the instruction of change Subtitle Demonstration pattern, call and show that captions adjust control; Simultaneously, show the described captions palette obtained, for the user, the Subtitle Demonstration pattern of current transmission is adjusted;
Receive the user and based on described captions, adjust the Subtitle Demonstration mode adjustment information of control input;
According to the described Subtitle Demonstration mode adjustment information of user's input, calculate and obtain new captions palette;
According to described new captions palette, generate new captions.
Preferably, described when the user being detected and trigger the instruction of change Subtitle Demonstration pattern, call and show that captions adjust control; Simultaneously, show the described captions palette obtained, for the user, the Subtitle Demonstration pattern of current transmission adjusted, also comprise before:
From the data transmission stream that comprises caption information, decoding color index and the Domain Properties of every delegation captions.
Preferably, described according to the new captions of described new captions palette generation, also comprise afterwards:
According to the described Domain Properties obtained, create window, on the described window created, show the new captions that generate.
Preferably, described after the step of the palette that decodes every delegation captions the data transmission stream that comprises caption information, described before detecting when the user triggers the instruction of change Subtitle Demonstration pattern and calling and show that control adjusted in captions, also comprise:
According to the palette that decoding obtains, obtain color mode, color-values and the transparence value of every delegation captions.
Preferably, the described step that generates new captions according to described new captions palette is specially: generate described new captions with reference to the color index of every delegation captions and the new color mode obtained, color-values and transparence value.
The embodiment of the present invention also discloses a kind of subtitling display equipment, comprising:
The information decoding module, decode the palette of every delegation captions for the data transmission stream from comprising caption information;
The control display module, for when the user being detected and trigger the instruction of change Subtitle Demonstration pattern, call and show that captions adjust control; Simultaneously, show the described captions palette obtained, for the user, the Subtitle Demonstration pattern of current transmission is adjusted;
The palette adjusting module, adjust the Subtitle Demonstration mode adjustment information of control input be used to receiving the user based on described captions; According to the described Subtitle Demonstration mode adjustment information of user's input, calculate and obtain new captions palette;
The captions generation module, for generating new captions according to described new captions palette.
Described information decoding module also for:
From the data transmission stream that comprises caption information, decoding color index and the Domain Properties of every delegation captions.
Preferably, described subtitling display equipment also comprises:
The Subtitle Demonstration module, show the new captions that generate on the window for the described Domain Properties establishment according to obtaining.
Preferably, described information decoding module also for:
According to the palette that decoding obtains, obtain color mode, color-values and the transparence value of every delegation captions.
Preferably, the described step that generates new captions according to described new captions palette is specially: generate described new captions with reference to the color index of every delegation captions and the new color mode obtained, color-values and transparence value.
The embodiment of the present invention is by decoding the palette of every delegation captions the data transmission stream from comprising caption information; When the user being detected and triggering the instruction of change Subtitle Demonstration pattern, call and show that captions adjust control; Simultaneously, show the described captions palette obtained, for the user, the Subtitle Demonstration pattern of current transmission is adjusted; Receive the user and based on described captions, adjust the Subtitle Demonstration mode adjustment information of control input; Described Subtitle Demonstration mode adjustment information according to user's input, calculate and obtain new captions palette, according to described new captions palette, generate the method for new captions, have and can the beneficial effect of Subtitle Demonstration pattern be set according to user's request, improved man-machine interaction; Further, can enrich the function of Digital Television at the display mode of the upper change of receiving terminal (as digital TV) captions and according to the demonstration of the display mode after change captions, make Digital Television more intelligent.
The accompanying drawing explanation
Fig. 1 is caption presentation method one embodiment schematic flow sheet of the present invention;
Fig. 2 is the another embodiment schematic flow sheet of caption presentation method of the present invention;
Fig. 3 is subtitling display equipment one embodiment high-level schematic functional block diagram of the present invention;
Fig. 4 is the another embodiment high-level schematic functional block diagram of subtitling display equipment of the present invention.
The realization of embodiment of the present invention purpose, functional characteristics and advantage, in connection with embodiment, are described further with reference to accompanying drawing.
Embodiment
Below in conjunction with Figure of description and specific embodiment, further illustrate technical scheme of the present invention.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
In following examples of caption presentation method of the present invention and device, the receiving terminal of take is described the implementation procedure of the embodiment of the present invention as Digital Television as example; Receiving terminal in the embodiment of the present invention also can be other concrete carrying terminals, and the embodiment of the present invention is not done restriction to the concrete carrying terminal of receiving terminal, and every the utilization of the present inventionly realizes that equivalent transformation that thought makes is all in protection scope of the present invention.
With reference to Fig. 1, Fig. 1 is caption presentation method one embodiment schematic flow sheet of the present invention; As shown in Figure 1, caption presentation method of the present invention comprises the following steps:
Step S01, from the data transmission stream that comprises caption information, decoding the palette of every delegation captions;
The palette decoder of captions, from data transmission stream, decoding the corresponding palette of every delegation captions, according to decoding palette out, obtains color mode, color-values and the transparence value of every delegation captions.In a preferred embodiment, Digital Television is utilized PES(Packetized Elementary Streams, the elementary stream of packing) filter obtains the corresponding PES packet of user-selected captions, then by pre decoding, decode the needed timestamp of captions, the timestamp here can be understood as the time point of Subtitle Demonstration; Simultaneously, the time that the system of obtaining is current, by the contrast of the timestamp that captions are required with the current time in system of obtaining, decode.If the current displaying time that does not also reach captions, continue judgement after the default duration of wait; If arrived Subtitle Demonstration constantly, entered formal caption decoding.Now, decoder, according to the data type in the PES packet, starts corresponding page decoder or territory decoder, or the palette decoder, or the target data decoder is decoded.
Step S02, call and show that captions adjust control, showing simultaneously the described captions palette obtained;
Digital Television in real time or the Action Events triggered according to the preset time period monitor user '; When the user being detected and trigger the instruction of change Subtitle Demonstration pattern, Digital Television is called and is shown that captions adjust control; Simultaneously, show the described captions palette obtained, for the user, the Subtitle Demonstration pattern of current transmission is adjusted.
Such as, by the captions that Digital Television is called, adjust control, to the user, show each parameter adjustment frame in captions adjustment control; Such as, the user can see transparency, color-values and the color mode that the captions of current demonstration possess in main menu.When the user selects menu bar corresponding to transparency, color-values and color mode, the input frame that digital television display system can vision-control transparency, color-values and color mode, the user only need revise corresponding numerical value and color mode and get final product.
Step S03, reception user adjust the Subtitle Demonstration mode adjustment information of control input based on described captions;
Step S04, calculate and obtain new captions palette.
When the user adjusts control based on captions, after inputting corresponding transparency, color-values and color mode, the Subtitle Demonstration mode adjustment information of above-mentioned transparency, color-values and the color mode of Digital TV Receiving user input, the palette that the Subtitle Demonstration parameter computings such as transparency, color-values and color mode of inputting according to the user make new advances, obtain the required new captions palette of user, according to new captions palette, generate new captions for follow-up.
In a preferred embodiment, the palette that the Subtitle Demonstration parameter computings such as transparency, color-values and color mode that Digital Television is inputted according to the user make new advances comprises:
Digital Television is first obtained the palette that the captions of current demonstration itself have, and judges whether this palette needs to carry out the self-defined adjusting of captions; As needs, regulate, first obtain the set transparency of user, and judge the display mode of the transparency that the user is set, the display mode of described transparency can be determined by product; In the present embodiment, the display mode of described transparency be take replacement pattern and mixed mode and is described as example.Described replacement pattern refers to utilize the transparency that the user arranges to go the transparency that replaces subtitle decoder to decode out; Because the general form of palette is RGBA, so as long as rewritten the A byte, and palette is generally all in 256 kinds, so at most as long as rewrite 256 times; If the display mode of described transparency is mixed mode, the transparency of utilizing transparency that the user arranges and subtitle decoder to decode out superposes, the two product multiplied each other of transparence value that the transparence value namely arranged and subtitle decoder decode, as the value of new transparency; Simultaneously, rewrite the A byte in RGBA.
After the transparency setting completes, carry out the setting of color.Digital Television is first obtained user's color mode and color-values, and the color mode of actual product is defined when dispatching from the factory by concrete product; In the present embodiment, described color mode be take the replacement pattern and is described as example.If described color mode is the replacement pattern, the color-values that adopts the defined color-values of user to replace subtitle decoder to decode out; If described color mode is not the replacement pattern, but other pattern adopts the corresponding color-values computational methods of each color mode.After setting up the transparency and color-values of new palette, follow-uply can calculate according to the picture color index of new palette and captions actual captions picture.
Step S05, generate new captions according to described new captions palette.
In Digital Television, target decoder decodes the color index of captions, and according to color mode, color-values and the transparence value of the color index decoded with the new captions that obtain, Digital Television generates new captions.
The present embodiment is by decoding the palette of every delegation captions the data transmission stream from comprising caption information; When the user being detected and triggering the instruction of change Subtitle Demonstration pattern, call and show that captions adjust control; Simultaneously, show the described captions palette obtained, for the user, the Subtitle Demonstration pattern of current transmission is adjusted; Receive the user and based on described captions, adjust the Subtitle Demonstration mode adjustment information of control input; Described Subtitle Demonstration mode adjustment information according to user's input, calculate and obtain new captions palette, and according to described new captions palette, generate the method for new captions, and have and can the beneficial effect of Subtitle Demonstration pattern be set according to user's request, improved man-machine interaction.
Specific descriptions based on the described embodiment of Fig. 1, please refer to Fig. 2; Fig. 2 is the another embodiment schematic flow sheet of caption presentation method of the present invention; The difference of the present embodiment and the described embodiment of Fig. 1 is, before step S02, increase by one " step S11, from the data transmission stream that comprises caption information, decoding color index and the Domain Properties of every delegation captions ", and after step S05, increase " step S06, create window according to the Domain Properties obtained, on the described window created, show the new captions that generate "; The present embodiment only is specifically described step S11, step S06, and relevant other related steps of caption presentation method of the present invention please refer to the specific descriptions of related embodiment, do not repeat them here.
As shown in Figure 2, caption presentation method of the present invention at step S02, call and show that captions adjust control, also comprise before showing the described captions palette obtained simultaneously:
Step S11, from the data transmission stream that comprises caption information, decoding color index and the Domain Properties of every delegation captions.
The target data decoder of captions is from decoding color index corresponding to every delegation captions data transmission stream, the territory decoder is from decoding corresponding Domain Properties above-mentioned data transmission stream.
According to the caption information in data transmission stream, whether the display window of the current transmission captions of Digital Television identification needs to remove; Due to Digital Television, carry out in the process of caption decoding, whether page decoder and territory decoder should be removed according to the display window content that captions standard or other adjustment standards can arrange current demonstration captions; In the present embodiment, the main function of described page decoder is for controlling the integrity attribute of these captions, type and the information integrity of the information comprised in judgement PES packet, all properties and the display mode of these captions that determine whether to reset; The territory decoder reaches whether need again to create window etc. for the attribute of the window of these captions of control.When described display window need to be removed, the territory decoder was removed described display window, and searches the corresponding effective Domain Index of current captions; According to the effective Domain Index that investigation is arrived, obtain palette corresponding to current transmission captions.
Generally, when new caption data is arranged, and in this new caption data, have description captions integrity attribute but not have description that the captions that need demonstration are now arranged, these time domain decoder transmission captions are in order to remove last captions so; Perhaps, the clearsanattribute in the title sended in the caption data transport stream is true, needs last captions are removed; Perhaps, need newly-built captions (while being 3 row such as the last captions captions that are 2 row, this demonstration, needing so the captions of newly-built delegation), need the display window of current demonstration captions is removed; After removing the Subtitle Demonstration window, find effective Domain Index, obtain again the corresponding palette data of this effective Domain Index, namely obtain the corresponding Subtitle Demonstration characteristic informations of Subtitle Demonstration pattern such as color mode, color-values and transparence value of the captions of current transmission.
In the present embodiment, step S05, generate new captions according to described new captions palette, also comprise afterwards:
Step S06, create window according to the Domain Properties that obtains, on the described window created, show the new captions that generate.
In Digital Television, target decoder decodes the color index of captions, and according to the color index decoded and the new captions palette obtained, Digital Television is searched computing and obtained new captions; According to the attribute in the corresponding territory of new captions, in the relevant position of Digital Television, create the Subtitle Demonstration window, and the display position of the corresponding territory of new captions on the display window created is set.On the display position of display window, Digital Television shows the corresponding territory of new captions.
In a preferred embodiment, the palette decoder obtains the color data list of these captions, uses the maximum call number of color-values in list can be less; The target data decoder decodes the index corresponding with the color of palette; Finally the BMP picture that obtains captions of picture color index and the palette by captions, pushes the display system of this captions picture by system shows, the purpose just reached according to new display mode demonstration captions like this.
In the present embodiment, if the display system of Digital Television has the computing function of index color and palette, just now work surface can be from system acquisition; If the display system of Digital Television does not have the computing function of index color and palette, subtitle decoder can, according to index color, calculate and obtain the actual color to display of display system; Finally according to the corresponding captions picture of these captions of location push of the corresponding surface in this territory, show to the display screen of display system.
In the present embodiment, the surface of described directfb refers to the internal memory that directfb is used for having image function, this piece internal memory has the attribute that some belong to it, such as coloured typies (16 looks or 32 looks etc.), this piece internal memory also has the function (such as the drawing function that calls this surface, zoom function etc.) that is specific to this piece internal memory.
The present embodiment shows the new captions of Information generation by the color index according to obtaining and new subtitling mode, and create window according to the Domain Properties obtained, on the described window created, show the method for the new captions that generate, having can be at the upper beneficial effect of changing the display mode of captions and showing captions according to the display mode after change of receiving terminal (as digital TV), enriched the function of Digital Television, made Digital Television more intelligent.
Please refer to Fig. 3, Fig. 3 is subtitling display equipment one embodiment high-level schematic functional block diagram of the present invention; As shown in Figure 3, subtitling display equipment of the present invention comprises: information decoding module 01, control display module 02, palette adjusting module 03 and captions generation module 04.
Information decoding module 01, decode the palette of every delegation captions for the data transmission stream from comprising caption information;
Information decoding module 01, from data transmission stream, decoding and the corresponding palette of every delegation captions, according to decoding palette out, is obtained color mode, color-values and the transparence value of every delegation captions.In a preferred embodiment, information decoding module 01 utilizes the PES filter to obtain the corresponding PES packet of user-selected captions, then by pre decoding, decode the needed timestamp of captions, the timestamp here can be understood as the time point of Subtitle Demonstration; Simultaneously, information decoding module 01 is obtained the current time of system, by the contrast of the timestamp that captions are required with the current time in system of obtaining, decodes.If the current displaying time that does not also reach captions, information decoding module 01 continues judgement after waiting for default duration; If arrived Subtitle Demonstration constantly, information decoding module 01 enters formal caption decoding.Now, information decoding module 01 comprises page decoder, territory decoder, palette decoder and target data decoder, and according to the data type in the PES packet, start corresponding page decoder or territory decoder, perhaps palette decoder, or target data decoder is decoded.
Control display module 02, for when the user being detected and trigger the instruction of change Subtitle Demonstration pattern, call and show that captions adjust control; Simultaneously, show the described captions palette obtained, for the user, the Subtitle Demonstration pattern of current transmission is adjusted;
Control display module 02 in real time or the Action Events triggered according to the preset time period monitor user '; When the user being detected and trigger the instruction of change Subtitle Demonstration pattern, control display module 02 calls and shows that captions adjust control; Simultaneously, show the described captions palette obtained, for the user, the Subtitle Demonstration pattern of current transmission is adjusted.
Such as, by the captions that control display module 02 calls, adjust control, to the user, show each parameter adjustment frame in captions adjustment control; Such as, the user can see transparency, color-values and the color mode that the captions of current demonstration possess in main menu.When the user selects menu bar corresponding to transparency, color-values and color mode, the input frame that control display module 02 can vision-control transparency, color-values and color mode, the user only need revise corresponding numerical value and color mode and get final product.
Palette adjusting module 03, adjust the Subtitle Demonstration mode adjustment information of control input be used to receiving the user based on described captions; According to the described Subtitle Demonstration mode adjustment information of user's input, calculate and obtain new captions palette.
When the user adjusts control based on the captions that control display module 02 shows, after inputting corresponding transparency, color-values and color mode, palette adjusting module 03 receives the Subtitle Demonstration mode adjustment information of above-mentioned transparency, color-values and the color mode of user's input, the palette that the Subtitle Demonstration parameter computings such as transparency, color-values and color mode of inputting according to the user make new advances, obtain the required new captions palette of user, according to new captions palette, show new captions for follow-up.
In a preferred embodiment, the palette that the Subtitle Demonstration parameter computings such as transparency, color-values and color mode that palette adjusting module 03 is inputted according to the user make new advances comprises:
First obtain the palette that the captions of current demonstration itself have, judge whether this palette needs to carry out the self-defined adjusting of captions; As needs, regulate, first obtain the set transparency of user, and judge the display mode of the transparency that the user is set, the display mode of described transparency can be determined by product; In the present embodiment, the display mode of described transparency be take replacement pattern and mixed mode and is described as example.Described replacement pattern refers to utilize the transparency that the user arranges to go the transparency that replaces subtitle decoder to decode out; Because the general form of palette is RGBA, so as long as rewritten the A byte, and palette is generally all in 256 kinds, so at most as long as rewrite 256 times; If the display mode of described transparency is mixed mode, the transparency of utilizing transparency that the user arranges and subtitle decoder to decode out superposes, the two product multiplied each other of transparence value that the transparence value namely arranged and subtitle decoder decode, as the value of new transparency; Simultaneously, rewrite the A byte in RGBA.
After the transparency setting completes, carry out the setting of color.First obtain user's color mode and color-values, the color mode of actual product is defined when dispatching from the factory by concrete product; In the present embodiment, described color mode be take the replacement pattern and is described as example.If described color mode is the replacement pattern, the color-values that adopts the defined color-values of user to replace subtitle decoder to decode out; If described color mode is not the replacement pattern, but other pattern adopts the corresponding color-values computational methods of each color mode.After setting up the transparency and color-values of new palette, follow-uply can calculate according to the picture color index of new palette and captions actual captions picture.
Captions generation module 04, for generating new captions according to described new captions palette.
In Digital Television, target decoder decodes the color index of captions, and captions generation module 04, according to color mode, color-values and the transparence value of the color index decoded with the new captions that obtain, generates new captions.
The present embodiment is by decoding the palette of every delegation captions the data transmission stream from comprising caption information; When the user being detected and triggering the instruction of change Subtitle Demonstration pattern, call and show that captions adjust control; Simultaneously, show the described captions palette obtained, for the user, the Subtitle Demonstration pattern of current transmission is adjusted; Receive the user and based on described captions, adjust the Subtitle Demonstration mode adjustment information of control input; Described Subtitle Demonstration mode adjustment information according to user's input, calculate and obtain new captions palette, and generate new captions according to described new captions palette, and have and can the beneficial effect of Subtitle Demonstration pattern be set according to user's request, improved man-machine interaction.
Please refer to Fig. 4, Fig. 4 is the another embodiment high-level schematic functional block diagram of subtitling display equipment of the present invention.The difference of the present embodiment and the described embodiment of Fig. 3 is to have increased Subtitle Demonstration module 05; The present embodiment only is specifically described Subtitle Demonstration module 05, about other related modules of subtitling display equipment of the present invention, please refer to the specific descriptions of related embodiment, does not repeat them here.
In the present embodiment, information decoding module 01 also for:
From the data transmission stream that comprises caption information, decoding color index and the Domain Properties of every delegation captions.
Information decoding module 01 invocation target data decoder is from data transmission stream, decoding color index corresponding to every delegation captions, and calls the territory decoder from above-mentioned data transmission stream, decoding corresponding Domain Properties.
According to the caption information in data transmission stream, whether the display window of the current transmission captions of information decoding module 01 identification needs to remove; Due to Digital Television, carry out in the process of caption decoding, whether page decoder and territory decoder should be removed according to the display window content that captions standard or other adjustment standards can arrange current demonstration captions; In the present embodiment, the main function of described page decoder is for controlling the integrity attribute of these captions, type and the information integrity of the information comprised in judgement PES packet, all properties and the display mode of these captions that determine whether to reset; The territory decoder reaches whether need again to create window etc. for the attribute of the window of these captions of control.When described display window need to be removed, information decoding module 01 was removed described display window, and searches the corresponding effective Domain Index of current captions; According to the effective Domain Index that investigation is arrived, information decoding module 01 is obtained palette corresponding to current transmission captions.
Generally, when new caption data is arranged, and in this new caption data, have description captions integrity attribute but not have description that the captions that need demonstration are now arranged, so now sending captions is in order to remove last captions; Perhaps, the clearsanattribute in the title sended in the caption data transport stream is true, needs last captions are removed; Perhaps, need newly-built captions (while being 3 row such as the last captions captions that are 2 row, this demonstration, needing so the captions of newly-built delegation), need the display window of current demonstration captions is removed; After removing the Subtitle Demonstration window, information decoding module 01 finds effective Domain Index, obtain again the corresponding palette data of this effective Domain Index, namely obtain the corresponding Subtitle Demonstration characteristic informations of Subtitle Demonstration pattern such as color mode, color-values and transparence value of the captions of current transmission.
Subtitle Demonstration module 05, for showing the new captions that generate on the window of the establishment of the Domain Properties according to obtaining.
Subtitle Demonstration module 05 decodes the color index of captions and the new captions palette obtained according to information decoding module 01, searches computing and obtains new captions; According to the attribute in the corresponding territory of new captions, in the relevant position of Digital Television, create the Subtitle Demonstration window, and the display position of the corresponding territory of new captions on the display window created is set.On the display position of display window, Subtitle Demonstration module 05 shows the corresponding territory of new captions.
In a preferred embodiment, in described color index, the maximum call number of color-values in list of use can be less; Information decoding module 01 decodes the index corresponding with the color of palette; The BMP picture that picture color index and the palette of Subtitle Demonstration module 05 by captions obtains captions, pushes the display system of this captions picture by system shows, the purpose just reached according to new display mode demonstration captions like this.
In the present embodiment, if the display system of Digital Television has the computing function of index color and palette, just now work surface can be from system acquisition; If the display system of Digital Television does not have the computing function of index color and palette, subtitle decoder can, according to index color, calculate and obtain the actual color to display of display system; Last Subtitle Demonstration module 05 shows to the display screen of display system according to the corresponding captions picture of these captions of location push of the corresponding surface in this territory.
In the present embodiment, the surface of described directfb refers to the internal memory that directfb is used for having image function, this piece internal memory has the attribute that some belong to it, such as coloured typies (16 looks or 32 looks etc.), this piece internal memory also has the function (such as the drawing function that calls this surface, zoom function etc.) that is specific to this piece internal memory.
The present embodiment shows the new captions of Information generation by the color index according to obtaining and new subtitling mode, and create window according to the Domain Properties obtained, on the described window created, show the new captions that generate, having can be at the upper beneficial effect of changing the display mode of captions and showing captions according to the display mode after change of receiving terminal (as digital TV), enriched the function of Digital Television, made Digital Television more intelligent.
It should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby make the process, method, article or the device that comprise 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 the intrinsic key element of this process, method, article or device.In the situation that not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the device that comprises this key element and also have other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
The foregoing is only the preferred embodiments of the present invention; not thereby limit its scope of the claims; every equivalent structure or equivalent flow process conversion that utilizes specification of the present invention and accompanying drawing content to do; directly or indirectly be used in other relevant technical fields, all in like manner be included in scope of patent protection of the present invention.

Claims (10)

1. a caption presentation method, is characterized in that, comprises the following steps:
From the data transmission stream that comprises caption information, decoding the palette of every delegation captions;
When the user being detected and trigger the instruction of change Subtitle Demonstration pattern, call and show that captions adjust control; Simultaneously, show the described captions palette obtained, adjust for the user;
Receive the user and based on described captions, adjust the Subtitle Demonstration mode adjustment information of control input;
According to the described Subtitle Demonstration mode adjustment information of user's input, calculate and obtain new captions palette;
According to described new captions palette, generate new captions.
2. the method for claim 1, is characterized in that, described when the user being detected and trigger the instruction of change Subtitle Demonstration pattern, calls and show that captions adjust control; Simultaneously, show the described captions palette obtained, for the user, the Subtitle Demonstration pattern of current transmission adjusted, also comprise before:
From the data transmission stream that comprises caption information, decoding color index and the Domain Properties of every delegation captions.
3. method as claimed in claim 2, is characterized in that, described according to the new captions of described new captions palette generation, also comprises afterwards:
According to the described Domain Properties obtained, create window, on the described window created, show the new captions that generate.
4. method as claimed in claim 2, it is characterized in that, described after the step of the palette that decodes every delegation captions the data transmission stream that comprises caption information, described before detecting when the user triggers the instruction of change Subtitle Demonstration pattern and calling and show that control adjusted in captions, also comprise:
According to the palette that decoding obtains, obtain color mode, color-values and the transparence value of every delegation captions.
5. method as claimed in claim 4, it is characterized in that, the described step that generates new captions according to described new captions palette is specially: generate described new captions with reference to the color index of every delegation captions and the new color mode obtained, color-values and transparence value.
6. a subtitling display equipment, is characterized in that, comprising:
The information decoding module, decode the palette of every delegation captions for the data transmission stream from comprising caption information;
The control display module, for when the user being detected and trigger the instruction of change Subtitle Demonstration pattern, call and show that captions adjust control; Simultaneously, show the described captions palette obtained, for the user, the Subtitle Demonstration pattern of current transmission is adjusted;
The palette adjusting module, adjust the Subtitle Demonstration mode adjustment information of control input be used to receiving the user based on described captions; According to the described Subtitle Demonstration mode adjustment information of user's input, calculate and obtain new captions palette;
The captions generation module, for generating new captions according to described new captions palette.
7. device as claimed in claim 6, is characterized in that, described information decoding module also for:
From the data transmission stream that comprises caption information, decoding color index and the Domain Properties of every delegation captions.
8. device as claimed in claim 7, is characterized in that, also comprises:
The Subtitle Demonstration module, show the new captions that generate on the window for the described Domain Properties establishment according to obtaining.
9. device as claimed in claim 7, is characterized in that, described information decoding module also for:
According to the palette that decoding obtains, obtain color mode, color-values and the transparence value of every delegation captions.
10. device as claimed in claim 9, is characterized in that, described captions generation module specifically generates described new captions for the color index with reference to every delegation captions and the new color mode obtained, color-values and transparence value.
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 true CN103414936A (en) 2013-11-27
CN103414936B 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)

Cited By (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
CN111327961A (en) * 2020-03-30 2020-06-23 上海句石智能科技有限公司 Video subtitle switching method and system
CN112055245A (en) * 2020-09-11 2020-12-08 海信视像科技股份有限公司 Color subtitle realization method and display device
CN112235521A (en) * 2020-09-29 2021-01-15 东软集团股份有限公司 Method, device and equipment for realizing subtitle conversion
CN113014834A (en) * 2019-12-19 2021-06-22 合肥杰发科技有限公司 Picture subtitle display method and device and related device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020075403A1 (en) * 2000-09-01 2002-06-20 Barone Samuel T. System and method for displaying closed captions in an interactive TV environment
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020075403A1 (en) * 2000-09-01 2002-06-20 Barone Samuel T. System and method for displaying closed captions in an interactive TV environment
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

Cited By (6)

* 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
CN113014834A (en) * 2019-12-19 2021-06-22 合肥杰发科技有限公司 Picture subtitle display method and device and related 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
CN112055245A (en) * 2020-09-11 2020-12-08 海信视像科技股份有限公司 Color subtitle realization method and display device
CN112235521A (en) * 2020-09-29 2021-01-15 东软集团股份有限公司 Method, device and equipment for realizing subtitle conversion

Also Published As

Publication number Publication date
CN103414936B (en) 2017-07-25

Similar Documents

Publication Publication Date Title
KR102046938B1 (en) Reception device, reception method, supply device, supply method, program, and broadcast system
KR102023783B1 (en) Reception device, reception method, supply device, supply method, program, and broadcast system
US10417742B2 (en) System and apparatus for editing preview images
CN103414936A (en) Subtitle display method and device
CN101662614B (en) Advertisement inserting method and advertisement inserting control device of digital program
CN103402126B (en) A kind of display packing of advertising message and device
CN102972039A (en) An apparatus of processing an image and a method of processing thereof
JP2008079325A (en) Subtitle transmission system
KR20030030175A (en) Digital broadcasting receiver by using descriptor
CN103338407A (en) Television set and television set channel browsing method
CN106227492A (en) Combination and mobile intelligent terminal interconnected method and device
CN109168066A (en) A kind of screen wall synchronous playing system and method
CN103929667A (en) Multi-screen interaction method, server and multi-screen interaction system
CN101616314A (en) A kind of image information display packing, device and display device
CN105100870A (en) Screenshot method and terminal equipment
CN101867735A (en) Remote control video combination system and realization method thereof
KR20070010906A (en) Apparatus and method for processing image in digital broadcast system
CN102497586A (en) Information display method and device
CN104010204A (en) Image information processing method and apparatus
CN101707678B (en) Osd controller
US20130229575A1 (en) Digital TV Data Processing Method and System Thereof
CN101163210B (en) Video signal receiving apparatus, display device, display system, and information updating method of display system
CN102025936A (en) Video aspect ratio conversion method and device
CN108055573B (en) Data processing method and smart television
CN101742276B (en) China mobile multimedia broadcasting player and playing method

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