CN101873452B - Digital television roll title display method based on GIF (Graphic Interchange Format) image files - Google Patents
Digital television roll title display method based on GIF (Graphic Interchange Format) image files Download PDFInfo
- Publication number
- CN101873452B CN101873452B CN2010102140978A CN201010214097A CN101873452B CN 101873452 B CN101873452 B CN 101873452B CN 2010102140978 A CN2010102140978 A CN 2010102140978A CN 201010214097 A CN201010214097 A CN 201010214097A CN 101873452 B CN101873452 B CN 101873452B
- Authority
- CN
- China
- Prior art keywords
- gif
- subtitle file
- top box
- advertisement
- gif picture
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention relates to a GIF (Graphic Interchange Format) image file roll title display method based on a digital television set top box. Title files with GIF are played through a set top box, therefore, the characteristics of rapid terminal decoding and high efficiency are achieved; and the title files can be designed into various display effects including various character styles, fonts, sizes, colors and artistic effects, background colors and artistic effects, font boxes, box colors, background transparency, background artistic effects, title strip head and tail corners, background picture addition, and work space and line space adjustment.
Description
Technical field
The present invention relates to the digital television techniques field, relate in particular to a kind of digital TV set-top box method for displaying roll titles based on the GIF image file.
Background technology
Along with popularizing day by day and development of digital TV set-top box, the user is more and more higher to the requirement of display scrolling captions during using set-top box to play TV programme; At present, not only storage volume is little to adopt text formatting display scrolling captions, and the captions display effect of supporting is limited; And the GIF image file data can be supported the multicolour image through overcompression, and decoding terminals is fast, and nearly all software is all supported it, and the public sphere has a large amount of software all using the GIF image file.
Summary of the invention
Purpose of the present invention provides a kind of digital TV set-top box method for displaying roll titles based on the GIF image file, utilization the present invention can realize the roll titles of various display effects, comprises various fonts, font, font size, font color and artistic effect, background color and artistic effect, font edge, edge color, background transparent degree, background artistic effect, caption strips head and the tail round corners effect, adds background picture, adjusts word space, line space.
For realizing that the present invention adopts following technical scheme:
GIF image file method for displaying roll titles based on digital TV set-top box, carry out according to the following steps: (1), the editor who adopts the caption editing tools to finish caption content, and the captions of text formatting are converted to the subtitle file of GIF picture format; Again the subtitle file of GIF picture format is uploaded to local data base or is saved in the corresponding container; Advertisement editing unit is from local data base or obtain the subtitle file of GIF picture format in the corresponding container, and the concrete placement position and the relevant information of the subtitle file of GIF picture format set for the information coding, and the information of setting is weaved into data flow be sent to advertisement and broadcast the unit, advertisement is broadcast the unit and is sent to multiplexer through gateway and electronic program guides (EPG) making transmitting element, the subtitle file of GIF picture format and the digital television program of digital tv network form a program streams of information that has caption information by multiplexer, and program streams of information is successively through scrambler, modulator, frequency mixer is connected to set-top box;
(2), the advertisement module in the set-top box decodes the subtitle file of the GIF picture format received, with decoded image data buffer memory to internal memory;
(3), the advertisement module in the set-top box moves the coordinate of the subtitle file of GIF picture, and advertisement position shown that just the zone of captions and the subtitle file position of GIF picture format mate, set-top box has judged whether the overlapping region, if the overlapping region is arranged, then turn to step (4), if do not have overlapping region, the then coordinate of the subtitle file of initialization GIF picture, the subtitle file of GIF picture that moves to left, and continue to have judged whether the overlapping region;
(4), the advertisement module in the set-top box is according to the coordinate and the wide high parameter of trying to achieve the overlapping region of calculating of coordinate and the wide height and the subtitle file of advertisement position, and calling api function that use to transplant interface, the coordinate of describing according to front end is presented at the captions of GIF picture on the screen.
The editor that described employing caption editing tools are finished caption content: font, font, font size, font color and artistic effect, background color and the artistic effect, font edge, edge color, background transparent degree, background artistic effect, caption strips head and the tail round corners effect, interpolation background picture, word space and/or the line space that comprise various caption content.
Described advertisement editing unit will comprise following content: advertisement position, captions rolling mode be from right to left or from bottom to up, begin the demonstration time, finish the demonstration time, broadcast round, breakpoint continuously shows, the continuous motor pattern that shows of background breakpoint is set the information coding for.
Effect of the present invention has: the subtitle file of GIF picture format broadcasts by set-top box, it is fast to have decoding terminals, the characteristics that efficient is high, and subtitle file can be designed to multiple display effect, comprise various fonts, font, font size, font color and artistic effect, background color and artistic effect, font edge, edge color, background transparent degree, background artistic effect, caption strips head and the tail round corners effect, add background picture, adjust word space, line space.
Description of drawings
Fig. 1 is of the present invention by ad system subtitle file playing flow path figure.
Fig. 2 is the subtitle file flow for displaying figure based on set-top box of the present invention.
Fig. 3 a, Fig. 3 b are captions of the present invention moving advertising position and GIF picture region matching relationship schematic diagrames from right to left.
Embodiment
The invention will be further described in conjunction with the accompanying drawings.
Literal editing instrument, advertisement editing unit, advertisement are broadcast unit, gateway and electronic program guides (EPG) to make transmitting element, digital tv network, multiplexer, scrambler, modulator, frequency mixer, set-top box all are to adopt existing mature technique and equipment among the present invention.
As shown in Figure 1, by ad system subtitle file playing flow path:
(1), by the content of text that copy editor's tools editor need broadcast, comprise various fonts, font, font size, font color and artistic effect, background color and artistic effect, font edge, edge color, background transparent degree, background artistic effect, caption strips head and the tail round corners effect, add background picture, word space, line space; The subtitle file of textual form is converted into the subtitle file of GIF picture format, the subtitle file of GIF picture format is uploaded to local data base or to corresponding container; From then on the subtitle file of the G IF picture format in the following step (2) for obtaining in database or the corresponding container;
(2), utilization advertisement editing unit is set the information coding for to the concrete placement position and the relevant information of the subtitle file of GIF picture format; Concrete placement position and relevant information: comprise advertisement position, captions rolling mode (from bottom to up from right to left), begin the demonstration time, finish the demonstration time, broadcast round, motor pattern (breakpoint is continuous to be shown, the background breakpoint is continuous shows); And the information of setting is weaved into data flow be sent to the described advertisement of step (3) and broadcast the unit;
(3), advertisement is broadcast the unit data flow is delivered to multiplexer through gateway and electronic program guides (EPG) making transmitting element, the subtitle file of GIF picture format and the digital television program of digital tv network form a program streams of information that has caption information by multiplexer, and program streams of information is connected to set-top box through scrambler, modulator, frequency mixer successively.
As shown in Figure 2, a kind of subtitle file flow for displaying based on set-top box:
Be shown as example from right to left with captions on the horizontal direction,
(1), the advertisement module in the set-top box decodes the subtitle file of the GIF picture format received, obtains subtitle file information, and with decoded image data buffer memory to internal memory;
(2), the coordinate of the subtitle file of the continuous mobile GIF picture format of set-top box, and advertisement position shown that just the zone of captions and the subtitle file region of GIF picture format mate, set-top box has judged whether the overlapping region, if the overlapping region is arranged, then turn to step (3), if there is not the overlapping region, the coordinate of the subtitle file of initialization GIF picture format then, advertisement position and picture region are mated in continuation, and this overlapping region promptly is the current parts that can show in advertisement position of captions;
(3), the advertisement module in the set-top box is according to the coordinate of advertisement position and the coordinate and the wide height of wide height and subtitle file, determine that but captions display part in advertisement position is the concrete parameter of overlapping region: but comprise the wide height and the concrete offset coordinates of captions display part, use these parameters to call simultaneously and use the api function of transplanting interface, set-top box is with the shown part of correct demonstration subtitle file.
Fig. 3 a, Fig. 3 b are captions of the present invention moving advertising position and picture region matching relationship schematic diagrames from right to left, highly big Regional Representative's advertisement position among two width of cloth figure, highly less Regional Representative's captions picture.There is one to represent captions can show part in the advertisement position.On behalf of captions, the x among Fig. 3 a can show the part offset coordinates of advertisement position relatively; On behalf of captions, the x among Fig. 3 b can show the part offset coordinates of captions integral body relatively.Among Fig. 3 a, along with captions constantly move to left, x reduces, and the width that captions can show part constantly becomes big; Among Fig. 3 b, along with captions constantly move to left, x increases, and the width that captions can show part constantly reduces.System constantly sends timed message, obtain captions and can show partial parameters, and preservation can show the part A point coordinates, when captions move, obtain the captions parameter at every turn and constantly change, the A point coordinates of preservation also constantly changes, captions can show part also to be changed thereupon, and what present is exactly the captions moving images.
Claims (3)
1. based on the GIF image file method for displaying roll titles of digital TV set-top box, carry out according to the following steps: (1), the editor who adopts the caption editing tools to finish caption content, and the captions of text formatting are converted to the subtitle file of GIF picture format; Again the subtitle file of GIF picture format is uploaded to local data base or is saved in the corresponding container; Advertisement editing unit is from local data base or obtain the subtitle file of GIF picture format in the corresponding container, and to the concrete placement position of the subtitle file of GIF picture format and the information coding that relevant information is set, and the information of setting is weaved into data flow be sent to advertisement and broadcast the unit, advertisement is broadcast the unit and is sent to multiplexer through gateway and electronic program guides (EPG) making transmitting element, the subtitle file of GIF picture format and the digital television program of digital tv network form a program streams of information that has caption information by multiplexer, and program streams of information is successively through scrambler, modulator, frequency mixer is connected to set-top box;
(2), the advertisement module in the set-top box decodes the subtitle file of the GIF picture format received, with decoded image data buffer memory to internal memory;
(3), the advertisement module in the set-top box moves the coordinate of the subtitle file of GIF picture format, and advertisement position shown that just the zone of captions and the subtitle file position of GIF picture format mate, set-top box has judged whether the overlapping region, if the overlapping region is arranged, then turn to step (4), if do not have overlapping region, the then coordinate of the subtitle file of initialization GIF picture, the subtitle file of GIF picture that moves to left, and continue to have judged whether the overlapping region;
(4), the advertisement module in the set-top box is according to the coordinate of advertisement position and the coordinate and the wide height of wide height and subtitle file, try to achieve the parameter of overlapping region, and calling api function that use to transplant interface, the coordinate of describing according to front end is presented at the captions of GIF picture on the screen.
2. the GIF image file method for displaying roll titles based on digital TV set-top box according to claim 1 is characterized in that: the editor that described employing caption editing tools are finished caption content comprises: the font of various caption content, font, font size, font color and artistic effect, background color and artistic effect, font edge, edge color, background transparent degree, background artistic effect, caption strips head and the tail round corners effect, interpolation background picture, word space and/or line space.
3. the GIF image file method for displaying roll titles based on digital TV set-top box according to claim 1 is characterized in that: advertisement editing unit is to the concrete placement position of the subtitle file of GIF picture format and the information coding that relevant information is set; Concrete placement position and relevant information comprise: advertisement position, captions rolling mode be from right to left or from bottom to up, begin the demonstration time, finish the demonstration time, broadcast round, breakpoint continuously shows, the continuous motor pattern that shows of background breakpoint; And the information of setting weaved into data flow.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010102140978A CN101873452B (en) | 2010-06-22 | 2010-06-22 | Digital television roll title display method based on GIF (Graphic Interchange Format) image files |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010102140978A CN101873452B (en) | 2010-06-22 | 2010-06-22 | Digital television roll title display method based on GIF (Graphic Interchange Format) image files |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101873452A CN101873452A (en) | 2010-10-27 |
CN101873452B true CN101873452B (en) | 2011-11-16 |
Family
ID=42998081
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010102140978A Expired - Fee Related CN101873452B (en) | 2010-06-22 | 2010-06-22 | Digital television roll title display method based on GIF (Graphic Interchange Format) image files |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101873452B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102724434A (en) * | 2011-05-05 | 2012-10-10 | 新奥特(北京)视频技术有限公司 | Realization method for image-text animation on rolling screen |
CN102263906A (en) * | 2011-07-26 | 2011-11-30 | 北京数码视讯科技股份有限公司 | Method and device for processing video images |
CN103220474A (en) * | 2013-03-22 | 2013-07-24 | 深圳市九洲电器有限公司 | Subtitle displaying method and system |
CN104065997A (en) * | 2014-07-07 | 2014-09-24 | 四川金网通电子科技有限公司 | Method and system for displaying rolling captions of set top box |
CN104133596B (en) * | 2014-08-13 | 2017-11-17 | 福建星网视易信息系统有限公司 | The display methods and device of electrical screen information |
CN106254928B (en) * | 2016-08-19 | 2019-07-30 | 青岛海信电器股份有限公司 | A kind of picture caption presentation method and device |
CN109960549B (en) * | 2017-12-22 | 2023-05-26 | 三六零科技集团有限公司 | GIF picture generation method and device |
CN112689188B (en) * | 2020-12-21 | 2022-06-21 | 威创集团股份有限公司 | Large-screen rolling caption display method, device, terminal and storage medium |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100481588B1 (en) * | 2003-12-10 | 2005-04-08 | 주식회사 스타씨엠 | A method for manufacuturing and displaying a real type 2d video information program including a video, a audio, a caption and a message information |
JP4218590B2 (en) * | 2004-05-26 | 2009-02-04 | ソニー株式会社 | Image processing system, information processing apparatus and method, image processing apparatus and method, recording medium, and program |
JP4356645B2 (en) * | 2005-04-28 | 2009-11-04 | ソニー株式会社 | Subtitle generation apparatus and method |
CN101076077A (en) * | 2007-06-18 | 2007-11-21 | 中兴通讯股份有限公司 | Method, system and network for realizing scroll caption on IPTV set top box |
CN101159756A (en) * | 2007-11-05 | 2008-04-09 | 华为技术有限公司 | Outdoor advertisement service implementing method, device and system |
CN101540847A (en) * | 2008-03-21 | 2009-09-23 | 株式会社康巴思 | Caption producing system and caption producing method |
-
2010
- 2010-06-22 CN CN2010102140978A patent/CN101873452B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN101873452A (en) | 2010-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101873452B (en) | Digital television roll title display method based on GIF (Graphic Interchange Format) image files | |
CN102292977B (en) | Systems and methods for providing closed captioning in three-dimensional imagery | |
CN103716654B (en) | The method of the renewable time table for the data transmitted for generation with digital broadcast signal | |
CN1127260C (en) | Video/audio in cooperation with video/audio broadcasting and graphic demonstrating system | |
US7689062B2 (en) | System and method for virtual content placement | |
CN1997153B (en) | A method and device for computer multi-video playing | |
CN101964915A (en) | The method and the program of receiving equipment, communication system, combination captions and stereo-picture | |
CN101742070B (en) | Vision separating box and method for realizing multiple vision-separating mode effects by using same | |
CN108777775A (en) | For the method according to custom formats display of video streams | |
CN105263031A (en) | System and method for distributing auxiliary data embedded in video data | |
CN102387481A (en) | Multimedia message editing method and device | |
US20180255308A1 (en) | Video transmitting device and video playing device | |
CN103873920A (en) | Program browsing method and system and set top box | |
CN102088631B (en) | Live and demand broadcast method of digital television (TV) programs as well as related device and system | |
JP4192476B2 (en) | Video conversion apparatus and video conversion method | |
CN103533256A (en) | Method and device for processing subtitle and subtitle display system | |
CN1937779A (en) | Method for improving television terminal device digital caption data processing efficiency | |
KR102192292B1 (en) | User interface techniques for television channel changes | |
CN101448108A (en) | Image processing apparatus and related method | |
CN102685413A (en) | Method and system for simultaneously displaying caption and menu | |
CN100411431C (en) | Caption displaying method and system in video program | |
CN103152536A (en) | Digital TV (Television) terminal capable of displaying advertisement | |
CN106792000A (en) | A kind of advertisement in digital television player method and system | |
CN106937119B (en) | A kind of multi-picture signal playback method | |
CN101883237B (en) | Roll titles control method based on digital television STB (Set Top Box) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20111116 Termination date: 20140622 |
|
EXPY | Termination of patent right or utility model |