CN102082927B - Method and device for manufacturing scroll subtitle document - Google Patents

Method and device for manufacturing scroll subtitle document Download PDF

Info

Publication number
CN102082927B
CN102082927B CN200910241652.3A CN200910241652A CN102082927B CN 102082927 B CN102082927 B CN 102082927B CN 200910241652 A CN200910241652 A CN 200910241652A CN 102082927 B CN102082927 B CN 102082927B
Authority
CN
China
Prior art keywords
word
text
meta template
template
pel
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
Application number
CN200910241652.3A
Other languages
Chinese (zh)
Other versions
CN102082927A (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.)
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 CN200910241652.3A priority Critical patent/CN102082927B/en
Publication of CN102082927A publication Critical patent/CN102082927A/en
Application granted granted Critical
Publication of CN102082927B publication Critical patent/CN102082927B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Circuits (AREA)

Abstract

The invention provides a method and device for manufacturing a scroll subtitle document. The method for manufacturing the scroll subtitle document comprises: firstly, creating a primitive template; then typing in text content for generating the subtitle document; and then nesting the typed-in text content into the created primitive template to generate a primitive set, wherein the primitive set constitutes the scroll subtitle document, thereby finishing manufacturing the scroll subtitle document simply and rapidly, reducing the work quantity of workers greatly, saving manpower resources, and simultaneously saving material resources and pecuniary resources greatly.

Description

A kind of method for making of scroll subtitle document and device
Technical field
The present invention relates to captions manufacture technology field, particularly relate to a kind of method for making and device of scroll subtitle document.
Background technology
Along with the development of video and multimedia technology, make captions more and more to be popularized in television program making field, fabrication techniques index is also more and more higher, purposes is more and more extensive, not only comprise the caption editing of station synchronization, the captions of film and television play make, and also all can relate in the activity such as video monitoring, civilian advertisement, wedding celebration video recording.
Generally speaking, original video increases the information such as word, picture and can be referred to as captions.Corresponding increase process is referred to as captions and makes, the graph text information object widely applied in station synchronization picture, and what represent graph-text content in a rolling manner is referred to as roll screen, in the majority when roll screen captions are generally applied to run-out.Such as people usually see after the programs such as film, TV or news broadcasting terminate: the information of " film-making Zhang San ", " director Li Si " and " light king five " etc., its form is all " post+name ", and people call the combination that " post+name " in subtitle file is formed a pel in subtitle file, each pel font used, font size are identical with attribute specifications such as word looks, and array format is equidistant vertical setting of types.
At present, in the making of scroll subtitle document, a kind of implementation comprises the following steps: make each pel according to playing sequence, successively each pel is carried out to the setting of the attributes such as font, font size and word look, obviously, person works's amount is very large, and too expends material resources and financial resources.
In a word, the technical matters needing those skilled in the art urgently to solve is exactly: the method for making that how innovatively can propose a kind of scroll subtitle document, to reduce the loaded down with trivial details workload of staff, saves the consumption of materials, reduces cost of manufacture.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of method for making and device of scroll subtitle document, very simply can complete the making of scroll subtitle document, effectively reduce person works's amount by making scroll subtitle document template, save material resources and financial resources.
In order to solve the problem, the invention discloses a kind of method for making of scroll subtitle document, described method comprises:
Create figure meta template; The rule of described figure meta template to the attribute of pel and figure meta template sets;
Typing will generate the content of text of subtitle file;
Apply mechanically created figure meta template with the content of text of institute's typing, generate figure tuple, described figure tuple forms scroll subtitle document.
Wherein, the described content of text with institute's typing is applied mechanically created figure meta template and is comprised the steps:
Copy created figure meta template;
Apply mechanically copied figure meta template successively with the content of text of institute's typing, generate figure tuple, described figure tuple forms scroll subtitle document.
Preferably, described figure meta template is the template of one group of word; Wherein, often organize word and represent a pel, and, often organize word and comprise multiple text block.
Preferably, the attribute of described pel comprises:
The number of word, the position of word, color, word style and word size in the position relationship of the number of pel Chinese version block, the size of text block frame and each text block, text block.
Preferably, described figure meta template Chinese version block number sets according to the carrying out that multiple pel Chinese version block number is maximum.
The present invention also provides a kind of producing device of scroll subtitle document, it is characterized in that, described device comprises:
Creation module, for creating figure meta template; The rule of described figure meta template to the attribute of pel and figure meta template sets;
Typing module, will generate the content of text of subtitle file for typing;
Apply mechanically module, for applying mechanically created figure meta template with the content of text of institute's typing, generate figure tuple, described figure tuple forms scroll subtitle document.
Wherein, apply mechanically module described in and comprise following submodule:
Replicon module, for copying created figure meta template;
Apply mechanically submodule, for applying mechanically copied figure meta template successively with the content of text of institute's typing, generate figure tuple, described figure tuple forms scroll subtitle document.
Preferably, the attribute of described pel comprises:
The number of word, the position of word, color, word style and word size in the position relationship of the number of pel Chinese version block, the size of text block frame and each text block, text block.
Compared with prior art, the present invention has the following advantages:
First, the present invention is by creating figure meta template, and preset certain rule, the required content of text generating captions of typing, and apply mechanically created figure meta template with the content of text of institute's typing, thus the simple and quick making completing scroll subtitle document, each making successively in captions of staff is no longer needed to organize word, also staff is no longer needed to set one by one word in each group, significantly reduce the workload of staff, while saving human resources, also greatly save material resources and financial resource.
Secondly, the present invention copies created figure meta template when applying mechanically figure meta template, the figure meta template created is not destroyed, can save and reuse, no longer need like this to re-create figure meta template in the making of similar scroll subtitle document, reduce further the workload of staff, save the consumption of material resources and financial resources.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the method for making of a kind of scroll subtitle document of the present invention;
Fig. 2 is the structural drawing of the producing device of a kind of scroll subtitle document of the present invention.
Embodiment
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
The present invention can be widely used in the editing of the scroll subtitle document of several scenes, such as: TV play, film, news hookup, Focus, cross-talk, essay, comprise the making of the subtitle file of above any TV programme or video file etc.
If can find a kind of method of simpler production captions, so the workload of subtitle file producer will be reduced significantly, can save a large amount of human and material resources and financial resources.
Therefore, inventor herein is one of core idea proposing the embodiment of the present invention creatively, namely by creating the figure meta template of scroll subtitle document, typing will generate the content of text of subtitle file, the figure meta template of establishment is applied mechanically with the content of text of typing, generate figure tuple, described figure tuple forms scroll subtitle document.
With reference to Fig. 1, show the process flow diagram of the method for making of a kind of scroll subtitle document of the present invention, described method comprises:
S101, creates figure meta template; The rule of described figure meta template to the attribute of pel and figure meta template sets;
Pel is also graphic element, as the minimum grapheme that can edit, is that graphics software is for operating and organize the most basic material of picture.Pel be one group the most simply, the most general geometric figure or character.In the present invention, pel specifically refers to one group of word, the template of described figure meta template namely one group of word; Wherein, often organize word and represent a pel, and, often organize in word and all comprise multiple text block.
Suppose to be made as example with simple news hookup end credits file, the making of scroll subtitle document is specifically introduced, in news hookup run-out roll screen captions, the attribute specification such as each pel font used, font size and word look identical, and array format is equidistant vertical setting of types, generally see as follows:
instructor in broadcasting
Open snow Liu Liangjing
editor
Zhang Weijiao swallow
High ripple Zhang Yan
The husky Yang Jin month in morning
Yang Songtao Cai Qian is thick
Zhao's Liu Nan snowy peak
Yin Xiang space Zhang Yudi
Chen Jianxiang
make
Li Ning beam is female
Tian Zhigang Li Jia is firm
What graceful Zhang Ping
In the present embodiment, above-mentioned three groups " post+name " is respectively a pel in roll screen captions, and each post or name take again a text block in pel respectively.Described establishment figure meta template, refer to create as:
instructor in broadcasting
Open the figure meta template of snow Liu Liang beautiful such a group " post+name ", in described figure meta template, the attribute of pel is set, specifically comprise: the number of text block, the size of text block frame, the number of word, the position, color, font, font size etc. of word in the position relationship of each text block, text block, also set certain form for word in text box simultaneously, set underscore form to instructor in broadcasting in first text box herein, also can be set as extended formatting or background and so on.Wherein, in described text block, the setting of word number sets according to the carrying out that number of words is many, and the corresponding space that number of words is few is filled, and also sets the position that space is filled simultaneously; The number of text block sets according to the carrying out that each pel Chinese version block number is maximum, according to introduction above, has 15 text block, also have other 12 and do not show except 3 that have filled in the figure meta template that this place creates.Simultaneously, in described figure meta template, the rule of figure meta template is set, described rule can according to actual conditions sets itself, as set some identifiers, when running into set identifier, carry out special processing, as: run into newline and represent that the word content of this this paper block leaves it at that, next line content is the content of next text block; Run into null and represent that this group word leaves it at that, the text block do not used deleted in this figure meta template, the next line word of null is next group word, corresponding next pel.
Correspond in the figure meta template created in the end credits file of above-mentioned news hookup, this post of instructor in broadcasting takies a text block, name Zhang Xue, Liu Liangjing respectively takies a text block, set instructor in broadcasting respectively, Zhang Xue, position relationship between the size of text block frame shared by Liu Liangjing and each text block, based on post in the end credits of news hookup not more than 2 words, so the number setting word in text block is 2, not more than 3 words in the number of words of name, therefore the number setting word in text block shared by name is 3, set instructor in broadcasting respectively simultaneously, the position of Zhang Xue and Liu Liangjing in text box, font, the parameter of font size and color etc., what three pel Chinese version block numbers representated by above-mentioned three groups of words were maximum is 15, and therefore setting text block number in figure meta template is 15.
S102, typing will generate the content of text of subtitle file;
The typing mode of described content of text can be open existing file, as: open certain file, certain existing notepad or word document etc.; It can also be direct input.The form of described content of text needs to meet the rule set in figure meta template, according to actual conditions sets itself when described rule is drawing template establishment, multiple setting means can be had, as: the word content setting each group terminates the word content that rear null is next group, the content often organizing each text block in word takies a line, that is: newline represents the end of current text block content, the beginning of next text block content, in last group word, the end of last text block content represents with fullstop, and other parts of content of text must not use fullstop.
Making equally by above-mentioned news hookup end credits file is introduced, and described content of text is specially:
Instructor in broadcasting
Zhang Xue
Liu Liangjing
Editor
Zhang Wei
Tender swallow
Gao Bo
Zhang Yan
Sha Chen
Yang Jinyue
Yang Songtao
Cai Qianhou
Liu Nan
Zhao Xuefeng
Yin Xiangyu
Zhang Yudi
Chen Jianxiang
Make
Li Ning
Liang Kun
Tian Zhigang
Li Jiayi
He Ting
Zhang Ping.
S103, applies mechanically created figure meta template with the content of text of institute's typing.
By applying mechanically created figure meta template with the content of text of institute's typing, generate figure tuple, described figure tuple forms scroll subtitle document, described in apply mechanically the rule of demand fulfillment figure meta template.
Wherein, the described content of text with institute's typing applies mechanically created figure meta template, specifically can comprise following sub-step:
S1, copies created figure meta template;
First created figure meta template is once copied, then according to content of text, according to rule set during drawing template establishment, figure meta template is copied, suppose that the identifier adopted in the present embodiment comprises: newline, null and fullstop, wherein, newline represents the end of a text block word; Null represents the end of one group of word; Fullstop represents the end of last text block word in last group word.That is, often run into a null and just represent ensuing content of text for next group word, one group of corresponding pel of word, a figure meta template is copied for often organizing word, so, often run into a null once to copy figure meta template, until run into identifier fullstop (".") till, when running into "." no longer carry out copying of figure meta template.
Correspond in above-mentioned news hookup end credits, have two nulls, and have in one group of word after second null "." occur, therefore together with copying first figure meta template at first, replicate altogether three figure meta templates.
S2, applies mechanically copied figure meta template successively with described content of text, generates figure tuple, and described figure tuple forms scroll subtitle document.
Apply mechanically copied figure meta template successively with the content of text of institute's typing, described in apply mechanically the rule that need meet and set in figure meta template, by applying mechanically the figure meta template copied, generate figure tuple, described figure tuple forms scroll subtitle document.Correspond in the making of above-mentioned news hookup end credits file and refer in use content of text
Instructor in broadcasting
Zhang Xue
Liu Liangjing
First copied figure meta template applied mechanically in word, respectively once enter a new line after instructor in broadcasting, Zhang Xue and Liu Liangjing, then instructor in broadcasting, Zhang Xue and Liu Liangjing respectively take a text block in first figure meta template, to apply mechanically in process only Alternate text part, not processing of the forms or background and so on such as other parts underscore as previously mentioned, after " Liu Liangjing ", occur that null illustrates that this group file leaves it at that, according to pattern rule, text block non-in figure meta template is deleted.Identical with the mode that the first figure meta template applied mechanically in this group word, second copied figure meta template applied mechanically in next group word; The 3rd copied figure meta template applied mechanically in last group word, and the figure tuple formed forms subtitle file together, completes the making of the news hookup run-out scroll subtitle document introduced in citing.
In the present embodiment, example is made as with news hookup run-out scroll subtitle document, figure meta template is created to passing through, and preset certain rule, the required content of text generating captions of typing, and apply mechanically created figure meta template with the content of text of institute's typing, thus the simple and quick making completing scroll subtitle document, the present invention can be widely used in each pel font used, font size is identical with attribute specifications such as word looks, array format is that any TV programme or video file etc. of equidistant vertical setting of types are in the making of interior subtitle file, staff is no longer needed to set one by one the every part in captions, significantly reduce the workload of staff, also material resources and financial resource is greatly saved while saving human resources.
Further, the figure meta template created can save to be reused, and no longer needs to re-create figure meta template, reduce further the workload of staff in the making of similar scroll subtitle document, saves material resources and financial resources consumption.
See Fig. 2, show the structural drawing of the producing device of a kind of scroll subtitle document of the present invention, described device specifically comprises:
Creation module 201, for creating figure meta template; The rule of described figure meta template to the attribute of pel and figure meta template sets;
Typing module 202, will generate the content of text of subtitle file for typing;
Apply mechanically module 203, for applying mechanically created figure meta template with the content of text of institute's typing, generate figure tuple, described figure tuple forms scroll subtitle document.
In the present embodiment, create figure meta template by creation module 201; And the content of text of subtitle file will be generated by typing module 202 typing; Finally apply mechanically by the content of text applying mechanically 202 typings of module 203 typing module the figure meta template that creation module 201 creates, generate figure tuple, described figure tuple forms scroll subtitle document, the making of scroll subtitle document is completed dexterously by pel templating, significantly reduce the workload of staff, save the consumption of material resources and financial resources.
Preferably, apply mechanically module 203 described in and comprise following submodule:
Replicon module 2031, for copying created figure meta template;
Apply mechanically submodule 2032, for applying mechanically copied figure meta template successively with the content of text of institute's typing, generate figure tuple, described figure tuple forms scroll subtitle document.
By replicon module 2031, created figure meta template is copied, the content of text applying mechanically the typing of submodule 2032 institute applies mechanically copied figure meta template successively, created figure meta template is not changed, the figure meta template created can also be used for the making of other similar scroll subtitle documents, no longer need to re-create figure meta template like this in making next time, reduce further the workload of staff, save the consumption of material resources and financial resources.
Wherein, the attribute of described pel comprises: the number of word, the position of word, color, word style and word size in the position relationship of the number of pel Chinese version block, the size of text block frame and each text block, text block.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.For device embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Above the method for making of a kind of scroll subtitle document provided by the present invention and device are described in detail, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (2)

1. a method for making for scroll subtitle document, is characterized in that, described method comprises:
Create figure meta template; The rule of described figure meta template to the attribute of pel and figure meta template sets; Described figure meta template is the template of one group of word; Wherein, often organize word and represent a pel, and, often organize word and comprise multiple text block;
Typing will generate the content of text of subtitle file;
Apply mechanically created figure meta template with the content of text of institute's typing, generate figure tuple, described figure tuple forms scroll subtitle document;
The described content of text with institute's typing is applied mechanically created figure meta template and is comprised the steps:
Copy created figure meta template;
Apply mechanically copied figure meta template successively with the content of text of institute's typing, generate figure tuple, described figure tuple forms scroll subtitle document;
The attribute of described pel comprises:
The number of word, the position of word, color, word style and word size in the position relationship of the number of pel Chinese version block, the size of text block frame and each text block, text block;
Described figure meta template Chinese version block number sets according to the carrying out that multiple pel Chinese version block number is maximum.
2. a producing device for scroll subtitle document, is characterized in that, described device comprises:
Creation module, for creating figure meta template; The rule of described figure meta template to the attribute of pel and figure meta template sets; Described figure meta template is the template of one group of word; Wherein, often organize word and represent a pel, and, often organize word and comprise multiple text block;
Typing module, will generate the content of text of subtitle file for typing;
Apply mechanically module, for applying mechanically created figure meta template with the content of text of institute's typing, generate figure tuple, described figure tuple forms scroll subtitle document;
Described module of applying mechanically comprises following submodule:
Replicon module, for copying created figure meta template;
Apply mechanically submodule, for applying mechanically copied figure meta template successively with the content of text of institute's typing, generate figure tuple, described figure tuple forms scroll subtitle document; The attribute of described pel comprises:
The number of word, the position of word, color, word style and word size in the position relationship of the number of pel Chinese version block, the size of text block frame and each text block, text block.
CN200910241652.3A 2009-11-30 2009-11-30 Method and device for manufacturing scroll subtitle document Expired - Fee Related CN102082927B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910241652.3A CN102082927B (en) 2009-11-30 2009-11-30 Method and device for manufacturing scroll subtitle document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910241652.3A CN102082927B (en) 2009-11-30 2009-11-30 Method and device for manufacturing scroll subtitle document

Publications (2)

Publication Number Publication Date
CN102082927A CN102082927A (en) 2011-06-01
CN102082927B true CN102082927B (en) 2015-04-29

Family

ID=44088662

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910241652.3A Expired - Fee Related CN102082927B (en) 2009-11-30 2009-11-30 Method and device for manufacturing scroll subtitle document

Country Status (1)

Country Link
CN (1) CN102082927B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133596B (en) * 2014-08-13 2017-11-17 福建星网视易信息系统有限公司 The display methods and device of electrical screen information

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101296325A (en) * 2007-04-27 2008-10-29 新奥特硅谷视频技术有限责任公司 Subtitle generator, subtitle broadcasting system and method
CN101472093A (en) * 2007-12-27 2009-07-01 新奥特(北京)视频技术有限公司 Method and system for implementing configurable replacement of television graphics context subtitling
CN101483723A (en) * 2008-01-11 2009-07-15 新奥特(北京)视频技术有限公司 Method for performance guarantee of television subtitle playing apparatus based on diversity application

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101296325A (en) * 2007-04-27 2008-10-29 新奥特硅谷视频技术有限责任公司 Subtitle generator, subtitle broadcasting system and method
CN101472093A (en) * 2007-12-27 2009-07-01 新奥特(北京)视频技术有限公司 Method and system for implementing configurable replacement of television graphics context subtitling
CN101483723A (en) * 2008-01-11 2009-07-15 新奥特(北京)视频技术有限公司 Method for performance guarantee of television subtitle playing apparatus based on diversity application

Also Published As

Publication number Publication date
CN102082927A (en) 2011-06-01

Similar Documents

Publication Publication Date Title
CN103905744A (en) Rendering synthetic method and system
CN101188697A (en) A method for importing caption in manuscript in non editing status
CN102141985A (en) Online manuscript editor
CN102387481A (en) Multimedia message editing method and device
CN105589842A (en) Typesetting method and device for digital publications
CN104182531A (en) Video name processing method and system
CN101448087A (en) Improvement method of programming process
CN101188698B (en) A device for importing caption in manuscript in non editing status
CN102082927B (en) Method and device for manufacturing scroll subtitle document
CN101909162A (en) Method for formulating programme schedule
CN103810199A (en) Method and device for directory production
CN101674422B (en) Method for updating caption broadcasting list driven by on-line program
CN102103586B (en) Multi-language bidirectionally mixed-arranged caption edition system
CN102082926B (en) Making method and device of scene subtitles
CN104284099B (en) A kind of method and system shown based on multichannel input large-size screen monitors
CN110418162B (en) Method for simultaneously making short videos with different breadth ratios
CN101594481A (en) A kind of method of making and revising captions
CN110910485B (en) Immersion type cave image manufacturing method
CN104424170A (en) Electronic content data packet postprocessing system and method
CN102104741B (en) Method and device for arranging multi-language captions
CN106257414A (en) A kind of hand-set digit animation authoring system
CN102104742B (en) Multi-language caption mixing arrangement method and device
CN102104743B (en) Method and device for editing multi-language hybrid arranged captions
Deng Application of Post-editing Skills in Film and Television Creation under the Background of New Media
Xu Research on the visualization of music stage performance based on the context of computer digital media

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150429

Termination date: 20161130