CN102572298A - System and method for rendering subtitle in advance - Google Patents

System and method for rendering subtitle in advance Download PDF

Info

Publication number
CN102572298A
CN102572298A CN2010106126289A CN201010612628A CN102572298A CN 102572298 A CN102572298 A CN 102572298A CN 2010106126289 A CN2010106126289 A CN 2010106126289A CN 201010612628 A CN201010612628 A CN 201010612628A CN 102572298 A CN102572298 A CN 102572298A
Authority
CN
China
Prior art keywords
file
captions
vector message
temporary file
caption
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.)
Pending
Application number
CN2010106126289A
Other languages
Chinese (zh)
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.)
China Digital Video Beijing Ltd
Original Assignee
China Digital Video Beijing 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 China Digital Video Beijing Ltd filed Critical China Digital Video Beijing Ltd
Priority to CN2010106126289A priority Critical patent/CN102572298A/en
Publication of CN102572298A publication Critical patent/CN102572298A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a system and method for rendering a subtitle in advance. The method comprises the steps of: firstly, generating a subtitle vector information file by a subtitle plug-in module of a subtitle system; secondly, converting vector information of each subtitle object in the subtitle vector information file into a continuous video image and compressing into a video file and storing in a local hard disk temporary file; and finally, directly scheduling a temporary file for real-time playing without render-synthesizing into a final result for outputting. By adopting the subtitle rendering method provided by the invention, real-time rendering time can be reduced, subtitles are output in real time, and vision experience level of audiences is improved.

Description

The system and method that a kind of captions are played up in advance
Technical field
The present invention relates to broadcasting and TV field video caption volume and broadcast technical field, relate in particular to the system and method that a kind of captions are played up in advance.
Background technology
Along with the development of video cause, the video caption role is increasing, and it is also more and more various that captions broadcast form, can make spectators understand video content more quickly through video caption, and realize interaction through captions platform and spectators, and value-added service is provided.
Technically, require the up-to-date computer graphic image technology of caption producing systems incorporate, produce a large amount of static rendering effects and dynamically broadcast special efficacy, video caption finally is to represent to spectators' through the mode with the video pictures stack.In representing process; An important concept is exactly " real-time "; If do not reach the requirement of real-time, broadcast in the process represent at video caption will occur pausing, shake, isolate, problem such as tie rod, have influence on the visual effect of whole video program.Therefore, the real-time that represents form that video caption is final is to estimate the of paramount importance technical indicator of caption system.
State in realization in the technical process, the inventor finds that there is following technical problem at least in prior art:
(1) the caption rendering time longer, take system memory resource;
(2) real-time rendering property is strong inadequately, can cause that captions are not smooth.
Summary of the invention
In order to solve the shortcoming of above-mentioned common technology, main purpose of the present invention provides the system and method that a kind of captions are played up in advance, to reduce the captions real-time rendering time, reduces captions and broadcasts not smooth.
In order to achieve the above object, the embodiment of the invention provides the method that a kind of captions are played up in advance on the one hand.Be specially:
At first, the captions card module by caption system generates captions Vector Message file;
Thereafter, the Vector Message with each caption object in the said captions Vector Message file is converted into the continuous video image;
Again, be video file, be saved in this locality as temporary file with said continuous video image compression;
At last, directly call temporary file and broadcast in real time, do not need to play up again.
The system that the embodiment of the invention provides a kind of captions to play up in advance on the other hand.Be specially:
The captions card module of caption system is used to generate captions Vector Message file;
Temporary file is preserved module, is used for Vector Message with each caption object of said captions Vector Message file and transforms as temporary file and be saved in this locality;
Non-volume system is used for directly calling said temporary file and broadcasts in real time.Compared with prior art, the technical scheme that the embodiment of the invention adopted has the following advantages:
The embodiment of the invention generates captions Vector Message file through adopting the captions card module by caption system; Then the Vector Message of each caption object in the said subtitle file is converted into video image and compression is saved in the local hard drive temporary file; Directly call temporary file at last and broadcast in real time, do not need to play up again the mode that synthesizes final result output, can reduce the real-time rendering time; Real-time play reduces taking of system memory resource, reduces not smooth; Improve the visual effect of whole video program, strengthen user experience.
Description of drawings
Technical scheme for the clearer explanation embodiment of the invention; The accompanying drawing of required use is done simple the introduction in will describing embodiment below; Conspicuous, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 shifts to an earlier date the rendering intent flow chart for the captions of the embodiment of the invention one;
Fig. 2 shifts to an earlier date the rendering intent flow chart for the captions of the embodiment of the invention two.
Fig. 3 shifts to an earlier date the rendering system sketch map for the captions of the embodiment of the invention three.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below; Technical scheme in the embodiment of the invention is carried out clear, complete description; Obvious described embodiment only is a part of embodiment of the present invention, is not whole embodiment, based on the embodiment among the present invention; Those of ordinary skills are not paying the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The embodiment of the invention provides a kind of captions to shift to an earlier date rendering intent; Be the video cartoon image through adopting in the captions Vector Message file that the captions plug-in unit is generated the Vector Message of each caption object to play up in advance; And said video image information compressed according to Mpeg-2 or Mpeg-4 compression algorithm form video file and be kept in the local temporary files; Last non-volume system directly call after the decompression video image and with the mode of an image of the synthetic back output of other video images, can improve the caption rendering Real-time intensity.
As shown in Figure 1, be the embodiment of the invention one, a kind of captions shift to an earlier date the schematic flow sheet of rendering intent, specifically may further comprise the steps:
Step S101: the captions card module of caption system generates captions Vector Message file.
Step S102: the Vector Message to each caption object in the said captions Vector Message file is converted into the continuous video image.
Step S103: with said continuous video image compression is video file, is saved in this locality as temporary file.
Step S104: directly call temporary file and broadcast in real time, do not need to play up again.
The embodiment of the invention one generates captions Vector Message file through adopting the captions card module by caption system; Then the Vector Message of each caption object in the said subtitle file is converted into video image and compression is saved in the local hard drive temporary file; Directly call temporary file at last and broadcast in real time, do not need to play up the mode that synthesizes final result output again, can reduce the real-time rendering time, real-time play reduces taking of system memory resource, reduces not smooth
As shown in Figure 2, be the embodiment of the invention two, a kind of captions shift to an earlier date the schematic flow sheet of rendering intent, and the embodiment of the invention two is to the more detailed description of refinement of embodiment one, specifically may further comprise the steps:
Step S201: the storing path that the captions temporary file is set.
Step S202: the captions card module of caption system generates captions Vector Message file.
Step S203: the Vector Message (font, color, content etc.) of each caption object in the said captions Vector Message file is converted into the continuous video image information.
Step S204: said continuous video image information is compressed the formation video file according to Mpeg-2 or Mpeg-4 compression algorithm.
Step S205: the video file after will compressing is saved under the temporary file path of setting;
Step S206: non-volume system directly calls said temporary file and decompresses.
Step S207: the video image after will decompressing and other video images synthetic back output.
In present embodiment two; The method that a kind of captions are played up has in advance been described; Vector Message through with each the captions pel in the captions Vector Message file is converted into the continuous video image information; And said continuous video image information compressed according to Mpeg-2 or Mpeg-4 compression algorithm form video file and be saved under the temporary file path of setting, this mode of playing up compression in advance and being stored to the temporary file of local hard drive makes and directly calls the methods that animated image and the synthetic image of other video images in the said temporary file are exported when needing; Can reduce the real-time rendering time; And output in real time, can reduce in the video caption pauses, shake, isolate, not smooth problem such as tie rod, and then the visual effect of raising whole video program.
As shown in Figure 3, be the embodiment of the invention three, a kind of captions shift to an earlier date the sketch map of rendering system, specifically comprise:
The captions card module 13 of caption system 10 is used to generate captions Vector Message file;
Temporary file is preserved module 14, is used for Vector Message with each caption object of said captions Vector Message file and transforms as temporary file and be saved in local hard drive;
Non-volume system 11 is used for directly calling said temporary file and broadcasts in real time.
Said caption system 10 also comprises and transforming and compression module 12, is used for the Vector Message of each caption object of said captions Vector Message file is converted into the continuous video image; And said continuous video image information compressed the formation video file according to Mpeg-2 or Mpeg-4 compression algorithm.
Said temporary file is preserved the video file of module 14 after with said compression and is saved under the temporary file storing path that is provided with in advance.
Said non-volume system 11; Can be the non-volume of Avid system, it also comprises decompression module 15, is used for said temporary file decompress(ion) is condensed to the continuous video image; Be output as an image after video image after the said decompression and other video images are synthetic, need not to play up again direct broadcast.
The embodiment of the invention three generates captions Vector Message file through adopting the captions card module by caption system; Then the Vector Message of each caption object in the said subtitle file is converted into video image and compression is saved in the local hard drive temporary file; Directly call temporary file at last and broadcast in real time, do not need to play up the mode that synthesizes final result output again, can reduce the real-time rendering time, real-time play reduces taking of system memory resource, reduces not smooth.
Through the description of above execution mode, those skilled in the art can be well understood to the present invention and can realize through hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding; Technical scheme of the present invention can be come out with the embodied of software product, this software product can be stored in a non-volatile memory medium (can be CD-ROM, USB flash disk; Portable hard drive etc.) in; Comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above; Be merely a best specific embodiment of the present invention, but characteristic of the present invention is not limited thereto, any people who is familiar with this technology is in field of the present invention; The variation that can expect easily or modification all should be encompassed in the following claim of the present invention.

Claims (10)

1. the method that captions are played up in advance is characterized in that, comprising:
Captions card module by caption system generates captions Vector Message file;
The Vector Message of each caption object in the said captions Vector Message file transformed as temporary file be saved in this locality;
Directly calling temporary file broadcasts in real time.
2. the method for claim 1 is characterized in that, before the captions card module of caption system generates captions Vector Message file, also comprises:
The temporary file storing path is set in advance.
3. method as claimed in claim 2 is characterized in that, the Vector Message of each caption object in the said captions Vector Message file is transformed be saved in this locality as temporary file and also comprise:
The Vector Message of each caption object in the said captions Vector Message file is converted into the continuous video image.
4. method as claimed in claim 3 is characterized in that, the Vector Message of each caption object in the said captions Vector Message file is transformed be saved in this locality as temporary file and also comprise:
Said continuous video image information is compressed the formation video file according to Mpeg-2 or Mpeg-4 compression algorithm.
5. method as claimed in claim 4 is characterized in that, also comprises:
Video file after the said compression is saved under the temporary file storing path that is provided with in advance.
6. the method for claim 1 is characterized in that, the said temporary file that directly calls broadcasts also in real time and comprises:
Said temporary file directly calls in non-volume system and decompress(ion) is condensed to the continuous video image.
7. method as claimed in claim 6 is characterized in that, the said temporary file that directly calls broadcasts also in real time and comprises:
Be output as an image after video image and other video images of non-volume system after with said decompression is synthetic, need not to play up again direct broadcast.
8. the system that captions are played up in advance is characterized in that, comprising:
The captions card module of caption system is used to generate captions Vector Message file;
Temporary file is preserved module, is used for Vector Message with each caption object of said captions Vector Message file and transforms as temporary file and be saved in this locality;
Non-volume system is used for directly calling said temporary file and broadcasts in real time.
9. system as claimed in claim 8 is characterized in that, said caption system also comprises and transforming and compression module, is used for the Vector Message of each caption object of said captions Vector Message file is converted into the continuous video image; And said continuous video image information compressed the formation video file according to Mpeg-2 or Mpeg-4 compression algorithm; Said temporary file is preserved the video file of module after with said compression and is saved under the temporary file storing path that is provided with in advance.
10. system as claimed in claim 8; It is characterized in that; Said non-volume system also comprises decompression module; Be used for said temporary file decompress(ion) is condensed to the continuous video image, be output as an image after the video image after the said decompression and other video images are synthetic, need not to play up again direct broadcast.
CN2010106126289A 2010-12-29 2010-12-29 System and method for rendering subtitle in advance Pending CN102572298A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010106126289A CN102572298A (en) 2010-12-29 2010-12-29 System and method for rendering subtitle in advance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010106126289A CN102572298A (en) 2010-12-29 2010-12-29 System and method for rendering subtitle in advance

Publications (1)

Publication Number Publication Date
CN102572298A true CN102572298A (en) 2012-07-11

Family

ID=46416644

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010106126289A Pending CN102572298A (en) 2010-12-29 2010-12-29 System and method for rendering subtitle in advance

Country Status (1)

Country Link
CN (1) CN102572298A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905744A (en) * 2014-04-10 2014-07-02 中央电视台 Rendering synthetic method and system
CN105068795A (en) * 2015-07-20 2015-11-18 上海幻电信息科技有限公司 Bullet screen effect-based development method and device
CN109525899A (en) * 2018-11-19 2019-03-26 青岛海信传媒网络技术有限公司 The method and device that subtitle and audio video synchronization are presented

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006038008A1 (en) * 2004-10-06 2006-04-13 Imperial College Innovations Ltd Method for merging subtitles
CN1822651A (en) * 2005-11-21 2006-08-23 深圳创维-Rgb电子有限公司 Method for dynamically forming caption image data and caption data flow
CN101086834A (en) * 2006-06-06 2007-12-12 华为技术有限公司 A method for controlling display effect of caption and control device
CN101179669A (en) * 2006-11-08 2008-05-14 中兴通讯股份有限公司 Session television terminal subtitling generating and stacking method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006038008A1 (en) * 2004-10-06 2006-04-13 Imperial College Innovations Ltd Method for merging subtitles
CN1822651A (en) * 2005-11-21 2006-08-23 深圳创维-Rgb电子有限公司 Method for dynamically forming caption image data and caption data flow
CN101086834A (en) * 2006-06-06 2007-12-12 华为技术有限公司 A method for controlling display effect of caption and control device
CN101179669A (en) * 2006-11-08 2008-05-14 中兴通讯股份有限公司 Session television terminal subtitling generating and stacking method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905744A (en) * 2014-04-10 2014-07-02 中央电视台 Rendering synthetic method and system
CN103905744B (en) * 2014-04-10 2017-07-11 中央电视台 One kind renders synthetic method and system
CN105068795A (en) * 2015-07-20 2015-11-18 上海幻电信息科技有限公司 Bullet screen effect-based development method and device
CN109525899A (en) * 2018-11-19 2019-03-26 青岛海信传媒网络技术有限公司 The method and device that subtitle and audio video synchronization are presented

Similar Documents

Publication Publication Date Title
JP5321694B2 (en) System and method for providing closed captioning to 3D images
CN109168014B (en) Live broadcast method, device, equipment and storage medium
US20180192063A1 (en) Method and System for Virtual Reality (VR) Video Transcode By Extracting Residual From Different Resolutions
WO2015196937A1 (en) Video recording method and device
KR101527672B1 (en) System and method for video caption re-overlaying for video adaptation and retargeting
KR101295451B1 (en) Disparity data transport and signaling
CN108063976B (en) Video processing method and device
EP3157243A1 (en) Conversion method and conversion device
US20080291218A1 (en) System And Method For Generating Interactive Video Images
CN111083515B (en) Method, device and system for processing live broadcast content
CN112019907A (en) Live broadcast picture distribution method, computer equipment and readable storage medium
CN109547724B (en) Video stream data processing method, electronic equipment and storage device
US10924779B2 (en) Location agnostic media control room and broadcasting facility
CN102572298A (en) System and method for rendering subtitle in advance
CN110049347B (en) Method, system, terminal and device for configuring images on live interface
Sreedhar et al. Immersive media experience with MPEG OMAF multi-viewpoints and overlays
CN101741587B (en) Multimedia terminal playing PPT and method for playing PPT thereon
CN113099309A (en) Video processing method and device
CN110769241B (en) Video frame processing method and device, user side and storage medium
CN112019906A (en) Live broadcast method, computer equipment and readable storage medium
CN110198457B (en) Video playing method and device, system, storage medium, terminal and server thereof
US10529129B2 (en) Dynamic selection mechanism for interactive video
CN116962743A (en) Video image coding and matting method and device and live broadcast system
JP2008177648A (en) Motion picture data decoding device and program
CN113438549A (en) Processing method and device for adding watermark to video

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20120711

RJ01 Rejection of invention patent application after publication