CN102082924A - Method and apparatus for replacing subtitle with subtitle template - Google Patents
Method and apparatus for replacing subtitle with subtitle template Download PDFInfo
- Publication number
- CN102082924A CN102082924A CN2009102416491A CN200910241649A CN102082924A CN 102082924 A CN102082924 A CN 102082924A CN 2009102416491 A CN2009102416491 A CN 2009102416491A CN 200910241649 A CN200910241649 A CN 200910241649A CN 102082924 A CN102082924 A CN 102082924A
- Authority
- CN
- China
- Prior art keywords
- template
- subtitle template
- subtitle
- attribute
- text
- 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
Links
Images
Landscapes
- Studio Circuits (AREA)
- Television Systems (AREA)
Abstract
The invention discloses a method for replacing subtitle with a subtitle template, which comprises the steps of: acquiring a subtitle template and a target text, wherein the subtitle template comprises various text object attributes with fixed characters and/or attribute changed in the starting position; and mapping the target text in the subtitle template gradually to generate association between the characters and corresponding text object attributes. The invention can reduce the workload for manufacturing the subtitle template and lower the complexity of mapping of the text data and the subtitle template.
Description
Technical field
The present invention relates to the technical field of television program designing, particularly relate to a kind of subtitle template of using and replace the method for captions and use the device that subtitle template is replaced captions.
Background technology
In television program designing, each grade program all has the picture and text template of the distinct style of irregular replacing, and in one period, each issue program upgrades graph-text content on identical picture and text template, and in the graph-text content renewal process, the replacement of captions is particularly important.
Captions refer generally to show with written form the non-presentation content such as dialogue of TV, film, stage works the inside, also make a general reference the literal of films and television programs post-production.For example, the spoken title of films and television programs generally appears at the screen below; And the captions of theatrical production then may be shown in stage both sides or top.In addition, the voice content of program can also be shown in the captions mode, can help the more weak spectators of hearing to understand programme content.Along with the development of tv undertakings, the effect of captions in TV is increasing, daily broadcasts increased frequency, and it is various informative that captions broadcast, and captions are made also exquisite more.
Usually, the text object in the subtitle template is provided with text attributes such as identical font, font size, word be wide, renderer properties such as identical character face, limit, shadow, and the dynamic effect attribute of going into, stop, going out.When content update, new text data is replaced old text data in the subtitle template, and the text of captions, play up, the dynamic effect attribute is constant.This is an alternative patterns the most commonly used at present, simple and fast.But adopt this mode, in the program making process of reality, obviously need to make more subtitle template, cause too much committed memory space.
At this problem, prior art has also proposed different texts to be set, to play up and the subtitle template of dynamic effect attribute at text object, when adopting this multiattribute subtitle template to carry out the captions replacement, all text objects still can the unified setting by the attribute of certain character of head/tail in the subtitle template.If replace the multiple attribute of text object, then need be with a multiattribute template when subtitle template is made, split into the template of a plurality of unified attributes, be that its essence remains the captions substitute mode that adopts the same alike result subtitle template, this has increased the workload that subtitle template is made undoubtedly, has also increased the complexity of text data and subtitle template mapping.
Summary of the invention
Technical problem to be solved by this invention provides a kind of method that subtitle template is replaced captions of using, in order to the workload of reduction subtitle template making, and the complexity of minimizing text data and subtitle template mapping.
In order to solve the problems of the technologies described above, the embodiment of the invention discloses a kind of method that subtitle template is replaced captions of using, comprising:
Obtain subtitle template and target text, described subtitle template comprises at number of characters fixes, and/or attribute change concentrates on the multiple text object attribute of original position;
Described target text is word for word mapped in the described subtitle template, to generate the related of each character and corresponding text object attribute.
Preferably, described method also comprises:
If the number of characters of described target text is more than the number of characters that defines in the subtitle template, then the character that has more is carried out association according to the text object attribute of last character in the subtitle template.
Preferably, described subtitle template is digital dock template or timer template.
Preferably, described subtitle template is the subtitle template that bebinning character changes.
Preferably, described text object attribute comprises text attribute, renderer property and dynamic effect attribute.
The embodiment of the invention also discloses a kind of device that subtitle template is replaced captions of using, comprising:
Acquisition module is used to obtain subtitle template and target text, and described subtitle template comprises at number of characters fixes, and/or attribute change concentrates on the multiple text object attribute of original position;
Mapping block is used for described target text is word for word mapped to described subtitle template, to generate the related of each character and corresponding text object attribute.
Preferably, described device also comprises:
Relating module during the number of characters that is used for defining more than subtitle template at the number of characters of described target text, carries out association with the character that has more according to the text object attribute of last character in the subtitle template.
Preferably, described subtitle template is digital dock template or timer template.
Preferably, described subtitle template is the subtitle template that bebinning character changes.
Preferably, described device is arranged in film titler.
Compared with prior art, the present invention has the following advantages:
The present invention proposes a kind of at containing the subtitle template of carrying out attribute definition at the particular text object, the target text of word for word replacing is replaced mechanism, in the present invention, this particular text object relates to number of characters to be fixed, and/or, attribute change concentrates on the text object of original position, in this case, only needing that new text data is word for word replaced text data old in the subtitle template gets final product, need not the subtitle template that a multiattribute subtitle template splits into a plurality of unified attributes is replaced, thereby reduce the workload that subtitle template is made greatly, and, owing to adopt the word for word mode of coupling, effectively reduced the complexity of text data and subtitle template mapping.
Description of drawings
Fig. 1 is a kind of flow chart that subtitle template is replaced the method embodiment of captions of using of the present invention;
Fig. 2 is a kind of structured flowchart that subtitle template is replaced the device embodiment of captions of using of the present invention;
Fig. 3 uses embodiment shown in Figure 2 to carry out the flow chart of steps that captions are replaced.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
At present, the making of captions generally is to finish by corresponding captions manufacturing system on film titler, non-volume machine or PC, the captions manufacturing system is passed through interactive means, each captioned test is distributed corresponding text object properties (text attribute, renderer property, dynamic effect attribute etc.), be during film titler, non-volume machine or PC can deposit within it, at its corresponding attribute of the corresponding preservation of each captioned test meeting, so that when broadcasting, broadcast this captions according to this attribute.
In captions manufacturing process, one grade of program often comprises a plurality of subtitle template, can define a kind of text object attribute in each subtitle template, also can define multiple text object attribute, and for example: the subtitle template for following this group " post+name " is illustrated:
Related character number, font, font size, character limit etc. in the attribute definition of " post ", obviously different with the related definition of " name " attribute.Promptly go up example and show the situation that comprises multiple different text object attributes in the subtitle template.
If number of characters is fixed in the subtitle template, as is clock template, timer template; And/or the variation of attribute concentrates on original position, as only being that the initial character font size is big No. 1, then can utilize this multiattribute subtitle template of simple, the disposable replacement of the present invention.And after need not this multiattribute subtitle template split into the subtitle template of a plurality of unified attributes, carry out the replacement of captions again.
With reference to figure 1, show a kind of flow chart that subtitle template is replaced the method embodiment of captions of using of the present invention, specifically can may further comprise the steps:
In the captions manufacturing system, the user is by choosing current required subtitle template, and import corresponding target text, after triggering replacement operation, can apace original old captions in the subtitle template be replaced with new captions, promptly new captions will with the respective attributes in the subtitle template carry out related, when broadcasting, promptly can be respectively related according to each attribute and captions, broadcast this new captions.
With a kind of digital dock template is example, suppose this template comprise minute attribute and second attribute, wherein, minute attribute is:
Font: times new roman, font: overstriking, font size: 14, word look: redness;
Second, attribute was:
Font: times new roman, font size: 14, word look: black;
A kind of old captions of using this digital dock template are exemplified as: 0 ' 00 ";
The current target text that obtains is: 1 ' 03 "; after the user triggers replacement operation; 1 ' 03 " will word for word map in this digital dock template, in this case, described 1 ' will be automatically and minute Attribute Association, 03 " will be related with second kind attribute automatically, thereby generate new captions be: 1 ' 03 ".
As another kind of preferred embodiment, the present invention can also may further comprise the steps:
If the number of characters of described target text is more than the number of characters that defines in the subtitle template, then the character that has more is carried out association according to the text object attribute of last character in the subtitle template.
For example, for the subtitle template of above-mentioned " post+name ", the name text piece of supposing its definition is 3, and the number of characters in each text block is 3, if the target text that imports is:
Editor
Zhang Wei
Zhao Jiaoyan
Gao Bo
Zhang Yan
Sha Chen
The captions of then replacing behind the captions are shown as:
Promptly, prolong attribute definition with its last character for the character that exceeds the text block number " Gao Bo ", " Zhang Yan ", " Sha Chen ".
In embodiments of the present invention, described text object attribute relates generally to text attribute, renderer property and dynamic effect attribute.Those skilled in the art further are provided with other attribute according to actual conditions, as complicated stunt etc., all are feasible, and the present invention need not this to be limited.
Need to prove, for aforesaid method embodiment, for simple description, so it all is expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not subjected to the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in the specification all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
With reference to figure 2, show a kind of structured flowchart that subtitle template is replaced the device embodiment of captions of using of the present invention, specifically can comprise:
Acquisition module 201 is used to obtain subtitle template and target text, and described subtitle template comprises at number of characters fixes, and/or attribute change concentrates on the multiple text object attribute of original position;
Mapping block 202 is used for described target text is word for word mapped to described subtitle template, to generate the related of each character and corresponding text object attribute.
As another kind of preferred embodiment, the present invention can also comprise with lower module:
Relating module 203 during the number of characters that is used for defining more than subtitle template at the number of characters of described target text, carries out association with the character that has more according to the text object attribute of last character in the subtitle template.
With reference to figure 3, show and use the flow chart of steps that preferred embodiment shown in Figure 2 carries out the captions replacement, specifically can comprise:
In specific implementation, described subtitle template can be digital dock template or timer template; Perhaps, the described subtitle template subtitle template that can change for bebinning character.
As a kind of advantageous applications, described device can be arranged in film titler.Be well known that film titler is a kind of special equipment of television program designing, along with rapid development of computer technology, film titler is more and more popularized in the television set field that makes, and the fabrication techniques index is also more and more higher, and function also constantly strengthens.Generally speaking, film titler adds that by PC the subtitle superposition card of specialty and corresponding captions make software and form, and is used for stacking chart's literal curtain on vision signal.Captions are made software and are controlled captions exactly and be added in which way on the background frame, with the mutual instrument of user; After computer and captions software have been arranged, need one and can allow the background frame input, and after overlapping text, final output has the equipment of captions video.Wanting receiver, video and enter, then video is exported, is to need other optional equipments in addition, the equipment that the subtitle superposition card comes to this.
When application the present invention makes captions in film titler, by with user interactions, selected current required subtitle template, and after importing corresponding target text,, can apace original old captions in the subtitle template be replaced with new captions according to the triggering of replacement operation, be that new captions will carry out related with the respective attributes in the subtitle template, when broadcasting, promptly can be respectively related according to each attribute and captions, broadcast this new captions.
Because present embodiment is substantially corresponding to preceding method embodiment, so not detailed part in the description of present embodiment can just not given unnecessary details at this referring to the related description in the previous embodiment.What each embodiment in this specification stressed all is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.
More than a kind of subtitle template of using provided by the present invention is replaced the method for captions and is used subtitle template and replace the device of captions and be described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (10)
1. use the method that subtitle template is replaced captions for one kind, it is characterized in that, comprising:
Obtain subtitle template and target text, described subtitle template comprises at number of characters fixes, and/or attribute change concentrates on the multiple text object attribute of original position;
Described target text is word for word mapped in the described subtitle template, to generate the related of each character and corresponding text object attribute.
2. the method for claim 1 is characterized in that, also comprises:
If the number of characters of described target text is more than the number of characters that defines in the subtitle template, then the character that has more is carried out association according to the text object attribute of last character in the subtitle template.
3. the method for claim 1 is characterized in that, described subtitle template is digital dock template or timer template.
4. as claim 1 or 3 described methods, it is characterized in that described subtitle template is the subtitle template that bebinning character changes.
5. the method for claim 1 is characterized in that, described text object attribute comprises text attribute, renderer property and dynamic effect attribute.
6. use the device that subtitle template is replaced captions for one kind, it is characterized in that, comprising:
Acquisition module is used to obtain subtitle template and target text, and described subtitle template comprises at number of characters fixes, and/or attribute change concentrates on the multiple text object attribute of original position;
Mapping block is used for described target text is word for word mapped to described subtitle template, to generate the related of each character and corresponding text object attribute.
7. device as claimed in claim 6 is characterized in that, also comprises:
Relating module during the number of characters that is used for defining more than subtitle template at the number of characters of described target text, carries out association with the character that has more according to the text object attribute of last character in the subtitle template.
8. device as claimed in claim 6 is characterized in that, described subtitle template is digital dock template or timer template.
9. as claim 6 or 8 described devices, it is characterized in that described subtitle template is the subtitle template that bebinning character changes.
10. device as claimed in claim 6 is characterized in that described device is arranged in film titler.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009102416491A CN102082924A (en) | 2009-11-30 | 2009-11-30 | Method and apparatus for replacing subtitle with subtitle template |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009102416491A CN102082924A (en) | 2009-11-30 | 2009-11-30 | Method and apparatus for replacing subtitle with subtitle template |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102082924A true CN102082924A (en) | 2011-06-01 |
Family
ID=44088659
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009102416491A Pending CN102082924A (en) | 2009-11-30 | 2009-11-30 | Method and apparatus for replacing subtitle with subtitle template |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102082924A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102752554A (en) * | 2011-10-19 | 2012-10-24 | 新奥特(北京)视频技术有限公司 | Method and system for dynamically loading data of scoring system title template |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101197173A (en) * | 2003-11-10 | 2008-06-11 | 三星电子株式会社 | Information storage medium including subtitles and processing device thereof |
JP4140744B2 (en) * | 1999-05-07 | 2008-08-27 | 独立行政法人情報通信研究機構 | How to automatically split caption text |
-
2009
- 2009-11-30 CN CN2009102416491A patent/CN102082924A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4140744B2 (en) * | 1999-05-07 | 2008-08-27 | 独立行政法人情報通信研究機構 | How to automatically split caption text |
CN101197173A (en) * | 2003-11-10 | 2008-06-11 | 三星电子株式会社 | Information storage medium including subtitles and processing device thereof |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102752554A (en) * | 2011-10-19 | 2012-10-24 | 新奥特(北京)视频技术有限公司 | Method and system for dynamically loading data of scoring system title template |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210383121A1 (en) | Method for generating tag of video, electronic device, and storage medium | |
EP2090096A1 (en) | Encoding method and apparatus and decoding method and apparatus | |
CN102082931A (en) | Method and device for self-adaptive adjustment of title areas | |
CN102065234B (en) | Caption producing and broadcasting method and system based on distributive type caption processing system | |
CN102780932A (en) | Multi-window playing method and system | |
CN103384253B (en) | The play system and its construction method of multimedia interaction function are presented in video | |
CN109963092B (en) | Subtitle processing method and device and terminal | |
KR20160059162A (en) | Broadcast receiving apparatus and control method thereof | |
CN112822546A (en) | Content-aware-based double-speed playing method, system, storage medium and device | |
US10257563B2 (en) | Automatic generation of network pages from extracted media content | |
CN114694070A (en) | Automatic video editing method, system, terminal and storage medium | |
CN111859893B (en) | Image-text typesetting method, device, equipment and medium | |
CN102082930A (en) | Method and device for replacing caption text | |
TWI520595B (en) | Method for providing an electronic program guide, multimedia reproduction system, and computer readable storage medium | |
CN102103586B (en) | Multi-language bidirectionally mixed-arranged caption edition system | |
CN102082934B (en) | Caption object updating method and device | |
CN102082928B (en) | Method and device for associating title properties | |
CN102082924A (en) | Method and apparatus for replacing subtitle with subtitle template | |
CN104768083B (en) | A kind of video broadcasting method and device of chapters and sections content displaying | |
CN102082925A (en) | Method and device for filling title template | |
CN102082933B (en) | Subtitle making system | |
CN118093899A (en) | Artificial intelligent personal multimedia storage device and playing system and method thereof | |
CN102104741B (en) | Method and device for arranging multi-language captions | |
CN102082923A (en) | Subtitle replacing method and device adopting subtitle templates | |
CN102082922A (en) | Method and device for updating subtitles in subtitle templates |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20110601 |