CN101873452A - 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
- CN101873452A CN101873452A CN 201010214097 CN201010214097A CN101873452A CN 101873452 A CN101873452 A CN 101873452A CN 201010214097 CN201010214097 CN 201010214097 CN 201010214097 A CN201010214097 A CN 201010214097A CN 101873452 A CN101873452 A CN 101873452A
- Authority
- CN
- China
- Prior art keywords
- gif
- subtitle file
- top box
- advertisement
- background
- 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
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 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 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 GI F 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 digital TV set-top box method for displaying roll titles based on the GIF image file according to claim 1 is characterized in that: 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.
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: 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.
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 true CN101873452A (en) | 2010-10-27 |
CN101873452B 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) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102263906A (en) * | 2011-07-26 | 2011-11-30 | 北京数码视讯科技股份有限公司 | Method and device for processing video images |
CN102724434A (en) * | 2011-05-05 | 2012-10-10 | 新奥特(北京)视频技术有限公司 | Realization method for image-text animation on rolling screen |
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 |
CN104133596A (en) * | 2014-08-13 | 2014-11-05 | 福建星网视易信息系统有限公司 | Displaying method and device of electronic screen information |
CN106254928A (en) * | 2016-08-19 | 2016-12-21 | 青岛海信电器股份有限公司 | A kind of picture caption presentation method and device |
CN109960549A (en) * | 2017-12-22 | 2019-07-02 | 北京奇虎科技有限公司 | A method and device for generating a GIF image |
CN112689188A (en) * | 2020-12-21 | 2021-04-20 | 威创集团股份有限公司 | Large-screen rolling caption display method, device, terminal and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005057578A1 (en) * | 2003-12-10 | 2005-06-23 | Won-Chan Cho | Method for manufacturing and displaying real character type movie and recorded medium including said real character type movie and program for displaying thereof |
CN1722778A (en) * | 2004-05-26 | 2006-01-18 | 索尼株式会社 | Image processing system, information processing apparatus and method, image processing apparatus and method, recording medium, and program |
CN1856036A (en) * | 2005-04-28 | 2006-11-01 | 索尼株式会社 | Caption production device 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 creation system and caption creation method |
-
2010
- 2010-06-22 CN CN2010102140978A patent/CN101873452B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005057578A1 (en) * | 2003-12-10 | 2005-06-23 | Won-Chan Cho | Method for manufacturing and displaying real character type movie and recorded medium including said real character type movie and program for displaying thereof |
CN1722778A (en) * | 2004-05-26 | 2006-01-18 | 索尼株式会社 | Image processing system, information processing apparatus and method, image processing apparatus and method, recording medium, and program |
CN1856036A (en) * | 2005-04-28 | 2006-11-01 | 索尼株式会社 | Caption production device 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 creation system and caption creation method |
Cited By (10)
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 |
CN104133596A (en) * | 2014-08-13 | 2014-11-05 | 福建星网视易信息系统有限公司 | Displaying method and device of electronic screen information |
CN106254928A (en) * | 2016-08-19 | 2016-12-21 | 青岛海信电器股份有限公司 | A kind of picture caption presentation method and device |
CN106254928B (en) * | 2016-08-19 | 2019-07-30 | 青岛海信电器股份有限公司 | A kind of picture caption presentation method and device |
CN109960549A (en) * | 2017-12-22 | 2019-07-02 | 北京奇虎科技有限公司 | A method and device for generating a GIF image |
CN109960549B (en) * | 2017-12-22 | 2023-05-26 | 三六零科技集团有限公司 | A method and device for generating GIF images |
CN112689188A (en) * | 2020-12-21 | 2021-04-20 | 威创集团股份有限公司 | Large-screen rolling caption display method, device, terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN101873452B (en) | 2011-11-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101873452B (en) | Digital television roll title display method based on GIF (Graphic Interchange Format) image files | |
KR101289542B1 (en) | Systems and methods for providing closed captioning in three-dimensional imagery | |
CN1127260C (en) | Video/audio in cooperation with video/audio broadcasting and graphic demonstrating system | |
CN101897178B (en) | Video output device and video output method | |
US7689062B2 (en) | System and method for virtual content placement | |
CN102577366B (en) | For distributing the system and method for the auxiliary data be embedded in video data | |
CN1997153B (en) | A method and device for computer multi-video playing | |
CN101742070B (en) | Vision separating box and method for realizing multiple vision-separating mode effects by using same | |
CN101964915A (en) | The method and the program of receiving equipment, communication system, combination captions and stereo-picture | |
CN108777775A (en) | For the method according to custom formats display of video streams | |
US20180255308A1 (en) | Video transmitting device and video playing device | |
CN102387481A (en) | Multimedia message editing method and device | |
CN100477799C (en) | Method for improving television terminal device digital caption data processing efficiency | |
CN103873920A (en) | Program browsing method and system and set top box | |
JP4192476B2 (en) | Video conversion apparatus and video conversion method | |
CN103533256A (en) | Method and device for processing subtitle and subtitle display system | |
CN102088631A (en) | Live and demand broadcast method of digital television (TV) programs as well as related device and system | |
KR102192292B1 (en) | User interface techniques for television channel changes | |
CN100411431C (en) | Caption displaying method and system in video program | |
CN102685413A (en) | Method and system for simultaneously displaying caption and menu | |
CN103152536A (en) | Digital TV (Television) terminal capable of displaying advertisement | |
CN101883237B (en) | Roll titles control method based on digital television STB (Set Top Box) | |
CN106792000A (en) | Digital television advertisement playing method and system | |
CN104837005A (en) | Method and device for switch playing of 3D video and 2D video | |
CN102118584B (en) | Method and device for generating caption moving pictures with curve extension dynamic effect |
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 |