CN102567031A - Video special effect extension method and video special effect extension system - Google Patents
Video special effect extension method and video special effect extension system Download PDFInfo
- Publication number
- CN102567031A CN102567031A CN201210052277XA CN201210052277A CN102567031A CN 102567031 A CN102567031 A CN 102567031A CN 201210052277X A CN201210052277X A CN 201210052277XA CN 201210052277 A CN201210052277 A CN 201210052277A CN 102567031 A CN102567031 A CN 102567031A
- Authority
- CN
- China
- Prior art keywords
- special
- video effect
- data structure
- special video
- special effect
- 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
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention relates to a video special effect extension method and a video special effect extension system. The method includes: presetting a special effect data structure; and generating special effect data according to the special effect data structure and packaging the data into special effect description files for users to download. Video special effect dynamic can be loaded to a user terminal such as a mobile device after the special effect description files are downloaded by the users, and the users have no use of upgrading installation software. The video special effect extension method and the video special effect extension system are simple in operation, system expenses are saved, and user experience is effectively improved.
Description
Technical field
The present invention relates to a kind of special video effect extending method and system.
Background technology
In a processing system for video based on mobile device, special video effect partly is an ingredient crucial in the Video Applications.The all built-in a series of special video effect function of each Video processing software; But because most of mobile platforms (like the iOS platform) can not be supported the loading of dynamic link module; So generate and use a new special efficacy if desired; Generally can only be through new software version of issue, and require the user to upgrade to install just to be activated this new special efficacy, have very big influence like this on the user experience.Therefore, but framework and the method for needing a kind of dynamic load special efficacy at present badly to improve the user experience of Video Applications.
Summary of the invention
The object of the present invention is to provide a kind of special video effect extending method and system, can be with the special video effect dynamic load to user terminal such as mobile device, the user need not the install software of upgrading, and simple to operate and saving system overhead effectively improves user experience.
For addressing the above problem, the present invention provides a kind of special video effect extending method, comprising:
Preset special efficacy data structure; And
Generate the special efficacy data and be encapsulated as the special efficacy description document according to said special efficacy data structure.
Further, in said method, said special efficacy data structure comprises the base attribute and the special video effect application mode attribute of special video effect.
Further, in said method, said special efficacy data structure comprises that also special video effect and figure layer mix attribute.
Further, in said method, said special efficacy data structure also comprises special video effect and music mix attribute.
Further, in said method, said special video effect application mode attribute comprises that with certain pixel be the filter kernel matrix at center and the color computing operator of pixel.
According to another side of the present invention, a kind of special video effect expanding system is provided, comprising:
Data structure block is used for preset special efficacy data structure; And
The description document module is used for generating the special efficacy data and being encapsulated as the special efficacy description document according to said special efficacy data structure.
Further, in said system, said data structure block comprises the first module and the Unit second that is used to be provided with special video effect application mode attribute of the base attribute that is used for special video effect.
Further, in said system, said data structure block also comprises the Unit the 3rd that is used to be provided with special video effect and figure layer mixing attribute.
Further, in said system, said data structure block also comprises the Unit the 4th that is used to be provided with special video effect and music mix attribute.
Further, in said system, it is the filter kernel matrix at center and the color computing operator of pixel that said Unit second is used to be provided with certain pixel.
Compared with prior art; The present invention is through preset special efficacy data structure; According to said special efficacy data structure generation special efficacy data and after being encapsulated as special efficacy description document confession user's download, can be on user terminal such as mobile device with the special video effect dynamic load, the user need not the install software of upgrading; Simple to operate and save system overhead, effectively improve user experience.
Description of drawings
Fig. 1 is the process flow diagram of the special video effect extending method of the embodiment of the invention;
Fig. 2 is the special video effect extending method application scenarios synoptic diagram of the embodiment of the invention;
Fig. 3 is the high-level schematic functional block diagram of the special video effect expanding system of the embodiment of the invention.
Embodiment
For make above-mentioned purpose of the present invention, feature and advantage can be more obviously understandable, below in conjunction with accompanying drawing and embodiment the present invention done further detailed explanation.
As depicted in figs. 1 and 2, the present invention provides a kind of special video effect extending method, comprising:
Step S1, preset special efficacy data structure, step S1 specifically can comprise:
Step S11, the base attribute of preset special video effect, concrete, the base attribute of special video effect comprises the name of this special video effect and the logo of this special video effect, and is optional, the base attribute of special video effect also can comprise the exemplary plot of this special video effect;
Step S12, preset special video effect mixes attribute with the figure layer, and is concrete, and special video effect mixes attribute with the figure layer and comprises whether this special video effect carries out certain picture address that the figure layer mixes and completion figure layer mixes with certain picture, and this step also can be omitted according to actual needs;
Step S13, preset special video effect and music mix attribute, concrete, special video effect and music mix attribute comprise whether this special video effect carries out audio mixing with certain audio frequency and by certain audio file address of audio mixing, this step also can be omitted according to actual needs;
Step S14; Preset special video effect application mode attribute; Concrete; Said special video effect application mode attribute comprises that with certain pixel be the filter kernel matrix at center and the color computing operator of pixel, and said is the weight that the filter kernel matrix at center is used to be provided with each pixel in range of application and the said range of application of special video effect with certain pixel, and said color computing operator is used for changing the native color vector of pixel into new color vector; That is new color vector=native color vector * color computing operator;
Step S2 generates concrete special efficacy data and is encapsulated as the special efficacy description document according to said special efficacy data structure, and is concrete; Associated documents such as the picture of using in the special video effect, music sources can with the download of packing simultaneously of special efficacy description document, or carry out independent download in special efficacy description document middle finger outfile address, as shown in Figure 2; This special efficacy description document can be write as certain commutative form such as xml file; JSON etc. can be loaded on interface and special efficacy bottom after being downloaded to user terminal, and the present invention describes a special video effect through defining a data structure; And can this description be serialized as a special efficacy description document such as word string; The user is downloaded in the user terminal through the special efficacy description document of internet with this special video effect, and this special efficacy description document can dynamically be loaded as a new special video effect in the user uses, and the user need not the install software of upgrading; Simple to operate and save system overhead, effectively improve user experience.
For example, be example with the black and white special efficacy that adds photo frame, each several part special efficacy data structure and special efficacy data definition are following:
(1) base attribute of this special video effect
The ■ black and white
■blackwhite.png
■blackwhite_sample.png
(2) this special video effect mixes attribute with the figure layer
■ is
■photoframe.png
(3) this special video effect and music mix attribute
■ is not
■ does not have
(4) when certain pixel of video is used this special video effect:
■[1]
■[0.299,0.587,0.114;0.299,0.587,0.114;0.299,0.587,0.114]
And for example, be example with the pencil drawing effect, each several part special efficacy data structure and special efficacy data definition are following:
(1) base attribute of this special video effect
The ■ pencil drawing
■pencildrawing.png
■pencildrawing.png
(2) this special video effect mixes attribute with the figure layer
■ is not
■ does not have
(3) this special video effect and music mix attribute
■ is not
■ does not have
(4) when certain pixel of video is used this special video effect:
■[-1,0,1;-2,0,2;-1,0,1]
■[1,0,0;0,1,0;0,0,1]
As shown in Figure 3, the present invention also provides another kind of special video effect expanding system, comprises data structure block 1 and description document module 2.
Data structure block 1 is used for preset special efficacy data structure; Concrete, said data structure block 1 comprises the first module 11 and second unit 12, said first module 11 is used for the base attribute of special video effect; Said second unit 12 is used to be provided with special video effect application mode attribute; Promptly being used to be provided with certain pixel is the filter kernel matrix at center and the color computing operator of pixel, and optional, said data structure block 1 also can comprise the 3rd unit 13; Said the 3rd unit 13 is used to be provided with special video effect and mixes attribute with the figure layer; Optional, said data structure block 1 also can comprise the 4th unit 14, said the 4th unit 14 is used to be provided with special video effect and music mix attribute.
Description document module 2 is used for generating the special efficacy data and being encapsulated as the special efficacy description document according to said special efficacy data structure; Associated documents such as the picture of using in the special video effect, music sources can with the download of packing simultaneously of special efficacy description document; Or carry out independent download in special efficacy description document middle finger outfile address; This special efficacy description document can be write as certain commutative form such as xml file, and JSON etc. can be loaded on interface and special efficacy bottom after being downloaded to user terminal; The present invention describes a special video effect through defining a data structure; And can this description be serialized as a description document such as word string, and the user is downloaded in the user terminal through the special efficacy description document of internet with this special video effect, and this special efficacy description document can dynamically be loaded as a new special video effect in the user uses.
In sum; The present invention is through preset special efficacy data structure; According to said special efficacy data structure generation special efficacy data and after being encapsulated as special efficacy description document confession user's download, can be on user terminal such as mobile device with the special video effect dynamic load, the user need not the install software of upgrading; Simple to operate and save system overhead, effectively improve user experience.
Each embodiment adopts the mode of going forward one by one to describe in this instructions, and what each embodiment stressed all is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.For the disclosed system of embodiment, because corresponding with the embodiment disclosed method, so description is fairly simple, relevant part is partly explained referring to method and is got final product.
The professional can also further recognize; The unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein; Can realize with electronic hardware, computer software or the combination of the two; For the interchangeability of hardware and software clearly is described, the composition and the step of each example described prevailingly according to function in above-mentioned explanation.These functions still are that software mode is carried out with hardware actually, depend on the application-specific and the design constraint of technical scheme.The professional and technical personnel can use distinct methods to realize described function to each certain applications, but this realization should not thought and exceeds scope of the present invention.
Obviously, those skilled in the art can carry out various changes and modification to invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these revise and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these change and modification.
Claims (10)
1. a special video effect extending method is characterized in that, comprising:
Preset special efficacy data structure; And
Generate the special efficacy data and be encapsulated as the special efficacy description document according to said special efficacy data structure.
2. special video effect extending method as claimed in claim 1 is characterized in that, said special efficacy data structure comprises the base attribute and the special video effect application mode attribute of special video effect.
3. special video effect extending method as claimed in claim 2 is characterized in that, said special efficacy data structure comprises that also special video effect and figure layer mix attribute.
4. special video effect extending method as claimed in claim 2 is characterized in that, said special efficacy data structure also comprises special video effect and music mix attribute.
5. special video effect extending method as claimed in claim 2 is characterized in that, said special video effect application mode attribute comprises that with certain pixel be the filter kernel matrix at center and the color computing operator of pixel.
6. a special video effect expanding system is characterized in that, comprising:
Data structure block is used for preset special efficacy data structure; And
The description document module is used for generating the special efficacy data and being encapsulated as the special efficacy description document according to said special efficacy data structure.
7. like the said special video effect expanding system of claim 6, it is characterized in that said data structure block comprises the first module and the Unit second that is used to be provided with special video effect application mode attribute of the base attribute that is used for special video effect.
8. like the said special video effect expanding system of claim 7, it is characterized in that said data structure block also comprises the Unit the 3rd that is used to be provided with special video effect and figure layer mixing attribute.
9. like the said special video effect expanding system of claim 7, it is characterized in that said data structure block also comprises the Unit the 4th that is used to be provided with special video effect and music mix attribute.
10. like the said special video effect expanding system of claim 7, it is characterized in that it is the filter kernel matrix at center and the color computing operator of pixel that said Unit second is used to be provided with certain pixel.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210052277XA CN102567031A (en) | 2012-03-01 | 2012-03-01 | Video special effect extension method and video special effect extension system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210052277XA CN102567031A (en) | 2012-03-01 | 2012-03-01 | Video special effect extension method and video special effect extension system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102567031A true CN102567031A (en) | 2012-07-11 |
Family
ID=46412541
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210052277XA Pending CN102567031A (en) | 2012-03-01 | 2012-03-01 | Video special effect extension method and video special effect extension system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102567031A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015074059A1 (en) * | 2013-11-18 | 2015-05-21 | Google Inc. | Configurable media processing with meta effects |
WO2016124095A1 (en) * | 2015-02-04 | 2016-08-11 | 腾讯科技(深圳)有限公司 | Video generation method, apparatus and terminal |
CN108280883A (en) * | 2018-02-07 | 2018-07-13 | 北京市商汤科技开发有限公司 | It deforms the generation of special efficacy program file packet and deforms special efficacy generation method and device |
CN108399654A (en) * | 2018-02-06 | 2018-08-14 | 北京市商汤科技开发有限公司 | It retouches in the generation of special efficacy program file packet and special efficacy generation method and device when retouching |
CN108986227A (en) * | 2018-06-28 | 2018-12-11 | 北京市商汤科技开发有限公司 | The generation of particle effect program file packet and particle effect generation method and device |
CN111556363A (en) * | 2020-05-21 | 2020-08-18 | 腾讯科技(深圳)有限公司 | Video special effect processing method, device and equipment and computer readable storage medium |
CN111957039A (en) * | 2020-09-04 | 2020-11-20 | Oppo(重庆)智能科技有限公司 | Game special effect realization method and device and computer readable storage medium |
US11368746B2 (en) | 2018-02-08 | 2022-06-21 | Beijing Sensetime Technology Development Co., Ltd. | Method and device for generating special effect program file package, method and device for generating special effect, and electronic device |
US11521389B2 (en) | 2018-01-19 | 2022-12-06 | Beijing Sensetime Technology Development Co., Ltd. | Method for generating special effect program file package, method for generating special effect, electronic device, and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1564202A (en) * | 2004-03-16 | 2005-01-12 | 无敌科技(西安)有限公司 | Generating and playing method of image procedue cartoon special efficiency |
CN102314433A (en) * | 2010-06-30 | 2012-01-11 | 上海视加信息科技有限公司 | Video control method |
CN102331994A (en) * | 2011-06-24 | 2012-01-25 | 中兴通讯股份有限公司 | Realization method of embedded system page special effect and embedded system |
-
2012
- 2012-03-01 CN CN201210052277XA patent/CN102567031A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1564202A (en) * | 2004-03-16 | 2005-01-12 | 无敌科技(西安)有限公司 | Generating and playing method of image procedue cartoon special efficiency |
CN102314433A (en) * | 2010-06-30 | 2012-01-11 | 上海视加信息科技有限公司 | Video control method |
CN102331994A (en) * | 2011-06-24 | 2012-01-25 | 中兴通讯股份有限公司 | Realization method of embedded system page special effect and embedded system |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015074059A1 (en) * | 2013-11-18 | 2015-05-21 | Google Inc. | Configurable media processing with meta effects |
US10200634B2 (en) | 2015-02-04 | 2019-02-05 | Tencent Technology (Shenzhen) Company Limited | Video generation method, apparatus and terminal |
WO2016124095A1 (en) * | 2015-02-04 | 2016-08-11 | 腾讯科技(深圳)有限公司 | Video generation method, apparatus and terminal |
US11521389B2 (en) | 2018-01-19 | 2022-12-06 | Beijing Sensetime Technology Development Co., Ltd. | Method for generating special effect program file package, method for generating special effect, electronic device, and storage medium |
WO2019154338A1 (en) * | 2018-02-06 | 2019-08-15 | 北京市商汤科技开发有限公司 | Background edge program file package generation method and apparatus, and background edge generation method and apparatus |
CN108399654A (en) * | 2018-02-06 | 2018-08-14 | 北京市商汤科技开发有限公司 | It retouches in the generation of special efficacy program file packet and special efficacy generation method and device when retouching |
US11640683B2 (en) | 2018-02-06 | 2023-05-02 | Beijing Sensetime Technology Development Co., Ltd. | Stroke special effect program file package generating method and apparatus, and stroke special effect generating method and apparatus |
US11270408B2 (en) | 2018-02-07 | 2022-03-08 | Beijing Sensetime Technology Development Co., Ltd. | Method and apparatus for generating special deformation effect program file package, and method and apparatus for generating special deformation effects |
CN108280883A (en) * | 2018-02-07 | 2018-07-13 | 北京市商汤科技开发有限公司 | It deforms the generation of special efficacy program file packet and deforms special efficacy generation method and device |
US11368746B2 (en) | 2018-02-08 | 2022-06-21 | Beijing Sensetime Technology Development Co., Ltd. | Method and device for generating special effect program file package, method and device for generating special effect, and electronic device |
CN108986227A (en) * | 2018-06-28 | 2018-12-11 | 北京市商汤科技开发有限公司 | The generation of particle effect program file packet and particle effect generation method and device |
CN111556363A (en) * | 2020-05-21 | 2020-08-18 | 腾讯科技(深圳)有限公司 | Video special effect processing method, device and equipment and computer readable storage medium |
CN111556363B (en) * | 2020-05-21 | 2021-09-28 | 腾讯科技(深圳)有限公司 | Video special effect processing method, device and equipment and computer readable storage medium |
CN111957039A (en) * | 2020-09-04 | 2020-11-20 | Oppo(重庆)智能科技有限公司 | Game special effect realization method and device and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102567031A (en) | Video special effect extension method and video special effect extension system | |
CN110990731B (en) | Rendering method, device and equipment of static webpage and computer storage medium | |
TWI552588B (en) | Apparatuses and methods for web application converter systems | |
WO2017088509A1 (en) | Page customization method and device | |
CN101706724B (en) | Icon generation method and icon processing device | |
US20120137211A1 (en) | Method and Apparatus for Specifying Mapping Parameters for User Interface Element Presentation in an Application | |
US9934007B2 (en) | Method for operating tool in working environment and machine using such method | |
CN111580879A (en) | Applet running method and device, electronic equipment and computer storage medium | |
CN102662616A (en) | Screen graphics self-adaption method and system used for mobile terminal | |
CN101930366A (en) | Browser-based mobile phone middleware | |
Voutilainen et al. | On the design of a responsive user interface for a multi-device web service | |
CN105718313A (en) | Application operation method and device | |
CN108399074A (en) | A kind of update method of application program, terminal and computer readable storage medium | |
US11677807B2 (en) | System and method to standardize and improve implementation efficiency of user interface content | |
CN104820589A (en) | Method and device for dynamically adapting webpage | |
US20170286385A1 (en) | Ink in an Electronic Document | |
CN110766772A (en) | Flatter-based cross-platform poster manufacturing method, device and equipment | |
CN107506483A (en) | Page loading method, device, electronic equipment and storage medium | |
CN105701165A (en) | Browser mode switching method and switching device | |
CN113127361A (en) | Application program development method and device, electronic equipment and storage medium | |
US20060161415A1 (en) | Driver handler object framework | |
Cimino et al. | An efficient model-based methodology for developing device-independent mobile applications | |
CN106933439B (en) | image processing method and system based on social platform | |
CN102681848B (en) | Develop in microtec mode and the method for accessed web page, device, terminal and system | |
CN102298521A (en) | Mobile internet application system based on cross-platform browsing technology |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20120711 |