CN101616270A - A kind of method for generating captions that uses filter - Google Patents

A kind of method for generating captions that uses filter Download PDF

Info

Publication number
CN101616270A
CN101616270A CN200810115769A CN200810115769A CN101616270A CN 101616270 A CN101616270 A CN 101616270A CN 200810115769 A CN200810115769 A CN 200810115769A CN 200810115769 A CN200810115769 A CN 200810115769A CN 101616270 A CN101616270 A CN 101616270A
Authority
CN
China
Prior art keywords
literal
filter
type matrix
rendering result
blended data
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
CN200810115769A
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 CN200810115769A priority Critical patent/CN101616270A/en
Publication of CN101616270A publication Critical patent/CN101616270A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

The invention discloses a kind of method for generating captions that uses filter, may further comprise the steps: the character die calls filter is also exported the type matrix rendering result; The direct mixed processing output of described type matrix rendering result and literal blended data; Described blended data is called filter execution literal and is played up operation.By adopting method for generating captions provided by the invention, can make filter by using the abundant rendering effect of type matrix to literal, realization is played up the literal shape, comprises size, stretching, the distortion operation of literal at least; Realization comprises at least according to the font of literal and regulates color the operation of text color, the gradual change of text color, increase progressively, successively decrease, outstanding operation.

Description

A kind of method for generating captions that uses filter
Technical field
The present invention relates to the video playback field, relate in particular to a kind of method for generating captions that uses filter.
Background technology
Filter mainly is the various special-effects that are used for realizing image, and it has important effect in Photoshop.The Photoshop that has is placed on filter in the menu by classification, only need carry out this order during use and get final product from this menu.The operation of filter is very simple, but need same passage usually when being to use, figure layer etc. is united use, the just artistic effect that can obtain.If want optimal the time to use filter, except usual fine arts grounding in basic skills, also need the user to being familiar with and controlling ability of filter, even need have very rich imagination power to optimal position.
In the prior art, filter is played up as shown in Figure 1 literal, and filter is calling word from internal memory, literal is played up, and the text effects of output after playing up is to display screen.
In realizing process of the present invention, the inventor finds to exist at least in the prior art following problem:
Filter is limited for the literal rendering effect of calling from internal memory, and playing up of literal shape is confined to shirtsleeve operation, and to the operation of some more complicated, for example stretching of literal, distortion then is difficult to realize; For the color of literal, playing up of even color can only be provided, can not regulate color according to the font of literal, such as atomizing effect along with literal.
Summary of the invention
The invention provides a kind of method for generating captions that uses filter, to realize enriching the rendering effect of filter to literal.
The invention provides a kind of method for generating captions that uses filter, may further comprise the steps:
The character die calls filter is also exported the type matrix rendering result;
The direct mixed processing output of described type matrix rendering result and literal blended data;
Described blended data is called filter execution literal and is played up operation.
Described character die calls filter and exporting also comprises before the type matrix rendering result:
Obtain the type matrix of described literal.
The described type matrix that obtains described literal also comprises before:
Described literal is stored in the internal memory.
Described character die calls filter is also exported the type matrix rendering result and is specifically comprised:
The described filter of described character die calls;
Described filter carries out type matrix and plays up operation;
Described filter output type matrix rendering result.
The direct mixed processing output of described type matrix rendering result and literal blended data comprises:
Described blended data has data format and the transmission means that is different from described literal and described type matrix rendering result.
Described caption rendering effect specifically comprises:
Literal shape rendering effect or text color rendering effect.
Compared with prior art, the present invention has the following advantages at least:
By adopting method for generating captions provided by the invention, can make filter by using the abundant rendering effect of type matrix to literal, realization is played up the literal shape, comprises size, stretching, the distortion operation of literal at least; Realization comprises at least according to the font of literal and regulates color the operation of text color, the gradual change of text color, increase progressively, successively decrease, outstanding operation.
Description of drawings
The structure chart that Fig. 1 plays up literal for filter in the prior art;
Fig. 2 is the basic flow sheet of method for generating captions provided by the invention;
Fig. 3 is the schematic flow sheet of rendering effect with the literal distortion for method provided by the invention;
Fig. 4 is the schematic flow sheet of rendering effect for method provided by the invention increases progressively with text color;
Fig. 5 is the basic block diagram of device provided by the invention;
Fig. 6 is the detailed structure view of device provided by the invention.
Embodiment
The invention provides a kind of method for generating captions that uses filter, as shown in Figure 2, may further comprise the steps:
Step s210, the character die calls filter is also exported the type matrix rendering result;
Step s220, the direct mixed processing output of described type matrix rendering result and literal blended data;
Step s230, described blended data is called filter execution literal and is played up operation.
Below in conjunction with specific embodiment the present invention is described in further detail.
The invention provides a kind of method for generating captions that uses filter, as shown in Figure 3, the literal rendering effect is with the distortion literary composition example of literal shape.
Step s310 obtains literal distortion type matrix;
Obtain before the literal distortion type matrix, the user needs at first literal to be stored in the internal memory.
The user can be to import and store in the internal memory by the mode of keyboard input to the storage mode of literal, also can be the stickup of duplicating to data with existing in the internal memory.
Step s320, literal distortion character die calls filter;
Literal distortion type matrix sends call request to filter;
Filter responds this request, and receive above-mentioned literal distortion type matrix and play up processing, and output type matrix rendering result.
Step s330, type matrix rendering result and literal carry out mixed processing;
Above-mentioned type matrix rendering result and literal directly carry out mixed processing, form to have the blended data that is different from above-mentioned literal and type matrix rendering result, and this blended data has new transmission means and data format.
Step s340, above-mentioned blended data is called filter;
Above-mentioned blended data sends call request to filter;
Filter responds this request, blended data is carried out literal play up operation, forms the literal with distorted shape.
Filter to above-mentioned blended data play up EO after, the literal shape after the distortion is sent to display screen, generate the caption rendering effect that the user needs.
The invention provides a kind of method for generating captions that uses filter, as shown in Figure 4, the literal rendering effect increases progressively the literary composition example with text color.
Step s410 obtains text color and increases progressively type matrix;
Obtain text color and increase progressively before the type matrix, the user needs at first literal to be stored in the internal memory.
The user can be to import and store in the internal memory by the mode of keyboard input to the storage mode of literal, also can be the stickup of duplicating to data with existing in the internal memory.
Step s420, text color increase progressively the character die calls filter;
Text color increases progressively type matrix and sends call request to filter;
Filter responds this request, and receive above-mentioned text color and increase progressively type matrix and play up processing, and output type matrix rendering result.
Step s430, type matrix rendering result and literal carry out mixed processing;
Above-mentioned type matrix rendering result is directly mixed with literal and is handled, and forms to have the blended data that is different from above-mentioned literal and type matrix rendering result, and this blended data has new transmission means and data format.
Step s440, above-mentioned blended data is called filter;
Above-mentioned blended data sends call request to filter;
Filter responds this request, blended data is carried out literal play up operation, forms the literal that color increases progressively.Filter to above-mentioned blended data play up EO after, the literal that color is increased progressively sends to display screen, generates the caption rendering effect that the user needs.
By adopting method for generating captions provided by the invention, can make filter by using the abundant rendering effect of type matrix to literal, realization is played up the literal shape, comprises size, stretching, the distortion operation of literal at least; Realization comprises at least according to the font of literal and regulates color the operation of text color, the gradual change of text color, increase progressively, successively decrease, outstanding operation.
The present invention also provides a kind of caption generation device that uses filter, as shown in Figure 5, comprising:
Type matrix rendering unit 510 is used for the character die calls filter and exports the type matrix rendering result;
Data mixing unit 520 is used for the direct mixed processing output of above-mentioned type matrix rendering result and literal blended data;
Data rendering unit 530 is used for above-mentioned blended data and calls filter and carry out literal and play up operation.
The present invention also provides a kind of caption generation device that uses filter, as shown in Figure 6, specifically comprises:
Text memory cell 610 is used for storing above-mentioned literal into internal memory;
Type matrix acquiring unit 620 is used to obtain the type matrix of above-mentioned literal;
Type matrix rendering unit 630 is used for the character die calls filter that type matrix acquiring unit 620 gets access to and exports the type matrix rendering result;
Data mixing unit 640 is used for the direct mixed processing output of above-mentioned type matrix rendering result and literal blended data;
Data rendering unit 650 is used for above-mentioned blended data and calls filter and carry out literal and play up operation.
Above-mentioned type matrix rendering unit 630 specifically comprises:
Filter first calls subelement 631, is used for the above-mentioned filter of above-mentioned character die calls;
Play up the first operation subelement 632, be used for above-mentioned filter and carry out type matrix and play up operation;
Play up the first output subelement 633, be used for above-mentioned filter output type matrix rendering result.
Above-mentioned data rendering unit 650 comprises:
Filter second calls subelement 651, is used for the above-mentioned filter of above-mentioned blended data;
Play up the second operation subelement 652, be used for above-mentioned filter and carry out blended data and play up operation;
Play up the second output subelement 653, be used for above-mentioned filter output blended data rendering result.
By adopting caption generation device provided by the invention, can make filter by using the abundant rendering effect of type matrix to literal, realization is played up the literal shape, comprises size, stretching, the distortion operation of literal at least; Realization comprises at least according to the font of literal and regulates color the operation of text color, the gradual change of text color, increase progressively, successively decrease, outstanding operation.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by 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 embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, 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.
In a word, the above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1, a kind of method for generating captions that uses filter is characterized in that, may further comprise the steps:
The character die calls filter is also exported the type matrix rendering result;
The direct mixed processing output of described type matrix rendering result and literal blended data;
Described blended data is called filter execution literal and is played up operation.
2, described in claim 1, use the method for generating captions of filter, it is characterized in that, described character die calls filter and export the type matrix rendering result before also comprise:
Obtain the type matrix of described literal.
3, use the method for generating captions of filter described in claim 1 or 2, it is characterized in that, the described type matrix that obtains described literal also comprises before:
Described literal is stored in the internal memory.
4, use the method for generating captions of filter described in claim 1, it is characterized in that, described character die calls filter is also exported the type matrix rendering result and is specifically comprised:
The described filter of described character die calls;
Described filter carries out type matrix and plays up operation;
Described filter output type matrix rendering result.
5, use the method for generating captions of filter described in claim 1, it is characterized in that, the direct mixed processing output of described type matrix rendering result and literal blended data comprises:
Described blended data has data format and the transmission means that is different from described literal and described type matrix rendering result.
6, described in claim 1, use the method for generating captions of filter, it is characterized in that described caption rendering effect specifically comprises:
Literal shape rendering effect or text color rendering effect.
CN200810115769A 2008-06-27 2008-06-27 A kind of method for generating captions that uses filter Pending CN101616270A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810115769A CN101616270A (en) 2008-06-27 2008-06-27 A kind of method for generating captions that uses filter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810115769A CN101616270A (en) 2008-06-27 2008-06-27 A kind of method for generating captions that uses filter

Publications (1)

Publication Number Publication Date
CN101616270A true CN101616270A (en) 2009-12-30

Family

ID=41495631

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810115769A Pending CN101616270A (en) 2008-06-27 2008-06-27 A kind of method for generating captions that uses filter

Country Status (1)

Country Link
CN (1) CN101616270A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103595898A (en) * 2013-11-12 2014-02-19 厦门美图网科技有限公司 Intelligent filter processing method based on image information
CN105701107A (en) * 2014-11-27 2016-06-22 高德信息技术有限公司 Character rendering method of electronic map and character rendering device of electronic map
CN107608671A (en) * 2017-08-22 2018-01-19 北京京东尚科信息技术有限公司 A kind of method and apparatus for realizing text color gradual change
CN107943964A (en) * 2017-11-27 2018-04-20 腾讯音乐娱乐科技(深圳)有限公司 Lyric display method, device and computer-readable recording medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004047430A1 (en) * 2002-11-15 2004-06-03 Thomson Licensing S.A. Method and apparatus for composition of subtitles
CN1859547A (en) * 2006-02-13 2006-11-08 华为技术有限公司 Method and device for realizing controll caption display mode
CN1864220A (en) * 2003-10-04 2006-11-15 三星电子株式会社 Information storage medium storing text-based subtitle, and apparatus and method for processing text-based subtitle
CN101188681A (en) * 2007-11-19 2008-05-28 新奥特(北京)视频技术有限公司 A video and audio and image separation playing system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004047430A1 (en) * 2002-11-15 2004-06-03 Thomson Licensing S.A. Method and apparatus for composition of subtitles
CN1864220A (en) * 2003-10-04 2006-11-15 三星电子株式会社 Information storage medium storing text-based subtitle, and apparatus and method for processing text-based subtitle
CN1859547A (en) * 2006-02-13 2006-11-08 华为技术有限公司 Method and device for realizing controll caption display mode
CN101188681A (en) * 2007-11-19 2008-05-28 新奥特(北京)视频技术有限公司 A video and audio and image separation playing system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103595898A (en) * 2013-11-12 2014-02-19 厦门美图网科技有限公司 Intelligent filter processing method based on image information
CN105701107A (en) * 2014-11-27 2016-06-22 高德信息技术有限公司 Character rendering method of electronic map and character rendering device of electronic map
CN107608671A (en) * 2017-08-22 2018-01-19 北京京东尚科信息技术有限公司 A kind of method and apparatus for realizing text color gradual change
CN107943964A (en) * 2017-11-27 2018-04-20 腾讯音乐娱乐科技(深圳)有限公司 Lyric display method, device and computer-readable recording medium

Similar Documents

Publication Publication Date Title
US11301113B2 (en) Information processing apparatus display control method and program
US20140181674A1 (en) Multimedia presentation editor for a small-display communication terminal or computing device
JP4690330B2 (en) Information recording medium on which text-based subtitle information is recorded, and reproducing apparatus
US20090089710A1 (en) Processing an animation file to provide an animated icon
CN101079301A (en) Device and method for text to audio mapping, and animation of the text
CN103246837B (en) Method and the subscriber equipment of identifying code are provided
CN102073652A (en) Method and device for generating e-album and e-album player
CN101616270A (en) A kind of method for generating captions that uses filter
CN112004137A (en) Intelligent video creation method and device
CN101616265A (en) A kind of caption generation device that uses filter
CN102736910B (en) A kind of general command interface based on plug-in unit defines method
CN104994429B (en) A kind of method and device playing video
CN110012338A (en) A kind of method, apparatus, computer equipment and storage medium showing barrage data
CN114003150A (en) Sound effect display method and terminal equipment
CN103067774A (en) Method and system capable of enabling set top box to display add-on subtitles
KR100860510B1 (en) Method for creating slide show having visual effect in mobile device
CN106257414A (en) A kind of hand-set digit animation authoring system
WO2022156169A1 (en) Method and device for exporting animated video
CN112312196A (en) Video subtitle making method
CN101616266B (en) Conversion method by using filter
US11017814B2 (en) Live and post workflow system and method
CN101616267B (en) Conversion device by using filter
CN100452879C (en) Conversion method between files in different types
JP6964918B1 (en) Content creation support system, content creation support method and program
CN100521753C (en) Screen display device with color circulation function and its display method

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: 20091230