CN109451347A - A kind of special effect making method, apparatus, terminal and computer readable storage medium - Google Patents
A kind of special effect making method, apparatus, terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN109451347A CN109451347A CN201811206716.1A CN201811206716A CN109451347A CN 109451347 A CN109451347 A CN 109451347A CN 201811206716 A CN201811206716 A CN 201811206716A CN 109451347 A CN109451347 A CN 109451347A
- Authority
- CN
- China
- Prior art keywords
- special efficacy
- efficacy material
- special
- label
- weighted value
- 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.)
- Withdrawn
Links
- 230000000694 effects Effects 0.000 title claims abstract description 82
- 238000000034 method Methods 0.000 title claims abstract description 39
- 238000003860 storage Methods 0.000 title claims abstract description 17
- 239000000463 material Substances 0.000 claims abstract description 301
- 230000009471 action Effects 0.000 claims abstract description 8
- 238000004590 computer program Methods 0.000 claims description 15
- 230000008676 import Effects 0.000 claims description 5
- 230000008569 process Effects 0.000 description 8
- 230000006870 function Effects 0.000 description 5
- 230000009286 beneficial effect Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000009826 distribution Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/435—Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47205—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The present invention is suitable for software field, provides a kind of special effect making method, apparatus, terminal and computer readable storage medium, comprising: obtain the special effect descriptive statement in region;Special effect descriptive statement is split into multiple words, using in word verb and noun as special efficacy search term;If special efficacy search term has corresponding special efficacy material label, special efficacy material label is just obtained;Search for the corresponding special efficacy material of special efficacy material label;As soon as if directly displaying special efficacy material on the display page when searching a special efficacy material;If searching for multiple special efficacy materials, the weighted value of special efficacy material is just obtained, descending arrangement is carried out to the weighted value of special efficacy material, the sequentially special display effect material on the display page;By receiving user to the click action of special efficacy material, the special efficacy material chosen is obtained;The special efficacy material chosen is loaded onto region, after loaded, plays video pictures.Present invention saves the time of special effect making, be conducive to promote special effect making efficiency.
Description
Technical field
The invention belongs to software field more particularly to a kind of special effect making method, apparatus, terminal and computer-readable storage
Medium.
Background technique
Special efficacy refers to special effect.The special effect for being generally not in the reality usually produced by computer software
Fruit.With the continuous development of society, requirement of the user to video pictures increasingly improves.Since special efficacy creates an aesthetic feeling and has straight
See property so that special efficacy on video pictures using more and more extensive.
However, current special effect making method, is easy to appear same special effect and repeats the case where making, be unfavorable for improving
Special effect making efficiency.The reason is that user is for specified special effect, generally all during existing special effect making
It is oneself production special efficacy material, and sometimes the special effect probably already exists, and generates the special efficacy material of the special effect also already
It is open, in such cases, it may appear that same special effect repeats the case where making, and therefore, is unfavorable for improving special effect making efficiency.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of special effect making method, apparatus, terminal and computer-readable storages
Medium is easy to appear same special effect and repeats the case where making to solve current special effect making method, is unfavorable for improving special
The problem of imitating producing efficiency.
The first aspect of the embodiment of the present invention provides a kind of special effect making method, comprising:
Video pictures are imported, the region of special efficacy to be produced is chosen in the video pictures;
Obtain the special effect descriptive statement in the region;
The special effect descriptive statement is split into multiple words, using in the word verb and noun as institute
State special efficacy search term;
Judge whether the special efficacy search term has corresponding special efficacy material label;
If the special efficacy search term has corresponding special efficacy material label, the corresponding spy of the special efficacy search term is just obtained
Material label is imitated, if the special efficacy search term does not have corresponding special efficacy material label, just obtains the special efficacy search term
Similarity word, and corresponding special efficacy material label is obtained according to the similarity word;
Using the special efficacy material label, in the special efficacy material database prestored, it is corresponding to search for the special efficacy material label
Special efficacy material, the special efficacy material database be previously stored with the special efficacy material, the special efficacy material label, the special efficacy material and
The corresponding relationship of the special efficacy material label;
As soon as if directly displaying the special efficacy material on the display page when searching a special efficacy material;
If searching for multiple special efficacy materials, the weighted value of the special efficacy material is just obtained, to the special efficacy material
Weighted value carries out descending arrangement, sequentially shows the special efficacy material on the display page;
By receiving user to the click action of the special efficacy material, the special efficacy material chosen is obtained;
The special efficacy material chosen is loaded onto the region by the special efficacy material chosen described in downloading, to be loaded to finish
Afterwards, the video pictures are played.
The second aspect of the embodiment of the present invention provides a kind of special effect making device, comprising:
Region obtains module and chooses the region of special efficacy to be produced in the video pictures for importing video pictures;
Special effect obtains module, for obtaining the special effect descriptive statement in the region;
Special efficacy search term obtains module, for the special effect descriptive statement to be split into multiple words, by institute's predicate
Verb and noun in language is as the special efficacy search term;
Special efficacy material label judgment module, for judging whether the special efficacy search term has corresponding special efficacy material mark
Label;
Special efficacy material label acquisition module, if there is corresponding special efficacy material label for the special efficacy search term, just
The corresponding special efficacy material label of the special efficacy search term is obtained, if the special efficacy search term does not have corresponding special efficacy material mark
Label just obtain the similarity word of the special efficacy search term, and obtain corresponding special efficacy material mark according to the similarity word
Label;
Special efficacy material obtaining module in the special efficacy material database prestored, searches for institute for using the special efficacy material label
The corresponding special efficacy material of special efficacy material label is stated, the special efficacy material database is previously stored with the special efficacy material, special efficacy element
The corresponding relationship of material label, the special efficacy material and the special efficacy material label;
First display module, if as soon as directly displayed on the display page when for searching a special efficacy material
The special efficacy material;
Second display module, if just obtaining the weighted value of the special efficacy material for searching for multiple special efficacy materials,
Descending arrangement is carried out to the weighted value of the special efficacy material, sequentially shows the special efficacy material on the display page;
Special efficacy material chooses module, chooses for obtaining by receiving user to the click action of the special efficacy material
Special efficacy material;
Special efficacy material loading module loads the special efficacy material chosen for downloading the special efficacy material chosen
To the region, after to be loaded, the video pictures are played.
The third aspect of the embodiment of the present invention provides a kind of terminal, including memory, processor and is stored in described
In memory and the computer program that can run on the processor, the processor are realized when executing the computer program
The step of above method.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage
The step of media storage has computer program, and the above method is realized when the computer program is executed by processor.
Existing beneficial effect is the embodiment of the present invention compared with prior art:
On the one hand, it avoids the occurrence of same special effect and repeats the case where making, saved the time of special effect making, be conducive to
Special effect making efficiency is promoted on the other hand to create new special effect making mode, improve the degree of intelligence of special effect making.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the implementation flow chart of special effect making method provided in an embodiment of the present invention;
Fig. 2 is the structural block diagram of special effect making device provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed
Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific
The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " instruction is described special
Sign, entirety, step, operation, the presence of element and/or component, but be not precluded one or more of the other feature, entirety, step,
Operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this description of the invention merely for the sake of description specific embodiment
And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and the appended claims is
Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determination " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Embodiment one
It is the implementation flow chart of special effect making method provided in an embodiment of the present invention with reference to Fig. 1, Fig. 1, this method is applied to
Terminal, special effect making method as shown in Figure 1 may comprise steps of:
S101 imports video pictures, the region of special efficacy to be produced is chosen in the video pictures;
S102 obtains the special effect descriptive statement in the region;
Wherein, by the input mode of voice or text, the special effect descriptive statement in the region is obtained.
Wherein, special effect descriptive statement is exactly the sentence for describing special effect.
The special effect descriptive statement is split into multiple words by S103, by the verb and noun in the word
As the special efficacy search term;
S104, judges whether the special efficacy search term has corresponding special efficacy material label;
Wherein, according to the corresponding relationship of the special efficacy search term and special efficacy material label that prestore, judge the special efficacy search term
Whether there is corresponding special efficacy material label.
S105 just obtains the special efficacy search term pair if the special efficacy search term has corresponding special efficacy material label
The special efficacy material label answered just obtains the special efficacy and searches if the special efficacy search term does not have corresponding special efficacy material label
The similarity word of rope word, and corresponding special efficacy material label is obtained according to the similarity word;
Wherein, if the special efficacy search term does not have corresponding special efficacy material label, the special efficacy search term is just obtained
Similarity word, and corresponding special efficacy material label is obtained according to the similarity word, in this way, beneficial technical effect
It is: expands search range, is conducive to search special efficacy material label.
For purposes of illustration only, the implementation process of S102 to S105 is illustrated, details are as follows:
The special effect descriptive statement got is the special effect of " the imperial sword flight in sea ", the then special efficacy obtained after splitting
Material search term is " sea ", " imperial sword flight ", and whether " sea " described in judgement, " imperial sword flies " are with corresponding special efficacy material
Label just obtains the corresponding spy of the special efficacy search term if " sea ", " imperial sword flight " have corresponding special efficacy material label
Material label is imitated, it is described in obtaining " sea ", " imperial if " sea ", " imperial sword flight " do not have corresponding special efficacy material label
The similarity word of sword flight ", for example, " waterborne ", " Yu Zhou flight ", " Yulong flight ", in this way, being conducive to search special efficacy element
Material label.
S106 in the special efficacy material database prestored, searches for the special efficacy material label pair using the special efficacy material label
The special efficacy material answered, the special efficacy material database are previously stored with the special efficacy material, the special efficacy material label, special efficacy element
The corresponding relationship of material and the special efficacy material label;
Wherein, the authority that the special efficacy material label in special efficacy material database can be audited for special efficacy material publisher or professional person
Label or the supplement label etc. generated by machine learning method.Here special efficacy material database is the online special efficacy of real-time update
Materials database can call directly the online special efficacy materials database of local special efficacy material website or the online special efficacy of other websites
Materials database.
S107, if as soon as directly displaying the special efficacy material on the display page when searching a special efficacy material;
S108, if the multiple special efficacy materials of search, just obtain the weighted value of the special efficacy material, to the special efficacy element
The weighted value of material carries out descending arrangement, sequentially shows the special efficacy material on the display page;
The quantity for searching the corresponding special efficacy material of the special efficacy material label is obtained, if searching the special efficacy
When material, the special efficacy material just is directly displayed on the display page, if the multiple special efficacy materials of search, just described in acquisition
The weighted value of special efficacy material carries out descending arrangement to the weighted value of the special efficacy material, on the display page described in sequentially display
Special efficacy material.
S109 obtains the special efficacy material chosen by receiving user to the click action of the special efficacy material;
Wherein, special display effect material list, the special efficacy material list include multiple special efficacy materials, are used by receiving
Family obtains the special efficacy material chosen to the click action of special efficacy material described in special efficacy material list.
S110, the special efficacy material chosen described in downloading, is loaded onto the region for the special efficacy material chosen, to be loaded
After, play the video pictures.
Wherein, the mode for loading special efficacy material is the prior art, and specific implementation process, this will not be repeated here.
The beneficial effect of the embodiment of the present invention is two aspects, has on the one hand saved the time of special effect making, has been conducive to mention
Special effect making efficiency is risen on the other hand to create new special effect making mode, improve the degree of intelligence of special effect making.
Embodiment two
The embodiment of the present invention describes the implementation process for obtaining special effect, and details are as follows:
The special effect descriptive statement in the region is obtained, specifically:
On the right side in the region, input field is shown;
In the input field, the special effect descriptive statement of user's input is obtained.
In embodiments of the present invention, the special effect descriptive statement of user's input is obtained, subsequent resolution is convenient for.
Embodiment three
The embodiment of the present invention describes the implementation process for sequentially showing the special efficacy material, and details are as follows:
If the multiple special efficacy materials of search, just obtain the weighted value of the special efficacy material, to the special efficacy element
The weighted value of material carries out descending arrangement, sequentially shows the special efficacy material on the display page, specifically:
Obtain the score value and download time of the special efficacy material in current period;
The score value and download time that model, the special efficacy material are generated using preset weighted value, generate the special efficacy
The weighted value of material;
According to the weighted value sequence from high to low of the special efficacy material, the special efficacy element is sequentially shown on the display page
Material;
Wherein, the weighted value generates model, specifically:
Wherein,For in current period i, the weighted value of n-th of special efficacy material;N is the sequence of the special efficacy material
Number, n value range is 1 to N, and N is the total number of the special efficacy material;MarknFor in current period i, n-th of special efficacy
The score value of material;For in current period i, the sum of the score value of multiple special efficacy materials;
DownloadtnFor in current period i, the download time of n-th of special efficacy material;For
In current period i, the sum of the download time of multiple special efficacy materials;β is proportionality coefficient, and 0 < β < 1 is indicatedRatio shared by weighted value;It was in a upper period of current period i
The weighted value of the n special efficacy materials, (1- β) are indicatedRatio shared by weighted value.
In embodiments of the present invention, the weighted value of n-th of special efficacy material has comprehensively considered n-th of special efficacy material
Score value, download time and in a upper period n-th of special efficacy material weighted value, therefore, the weighted value of generation can
It is higher by spending, according to the weighted value sequence from high to low of the special efficacy material, the special efficacy is sequentially shown on the display page
Material can better meet the actual demand of user.
Example IV
The embodiment of the present invention describes the implementation process of newly-increased special efficacy material, and details are as follows:
The special efficacy material chosen described in the downloading, is loaded onto the region for the special efficacy material chosen, to be added
After load, after playing the video pictures, the method also includes:
Obtain newly-increased special efficacy material label;
Import newly-increased special efficacy material;
The special efficacy material database is sent to after newly-increased the special efficacy material label and special efficacy material are associated.
In embodiments of the present invention, user increases special efficacy material newly, is conducive to the update of special efficacy material database.
Embodiment five
The embodiment of the present invention describes the implementation process of current period setting, and details are as follows:
The current period and a upper period when it is 30 minutes a length of.
In embodiments of the present invention, current period and a upper period, be conducive to the weighted value that timely updates.
Embodiment six
It is special effect making provided in an embodiment of the present invention with reference to Fig. 2, Fig. 2 corresponding to method described in foregoing embodiments one
The structural block diagram of device is applied to terminal, and terminal includes but is not limited to mobile phone, computer.For purposes of illustration only, illustrating only
Part related to the present embodiment.For ease of description, only the parts related to this embodiment are shown.
Referring to Fig. 2, which includes:
Region obtains module 21 and chooses the region of special efficacy to be produced in the video pictures for importing video pictures;
Special effect obtains module 22, for obtaining the special effect descriptive statement in the region;
Special efficacy search term obtains module 23, will be described for the special effect descriptive statement to be split into multiple words
Verb and noun in word is as the special efficacy search term;
Special efficacy material label judgment module 24, for judging whether the special efficacy search term has corresponding special efficacy material mark
Label;
Special efficacy material label acquisition module 25, if there is corresponding special efficacy material label for the special efficacy search term,
With regard to obtaining the corresponding special efficacy material label of the special efficacy search term, if the special efficacy search term does not have corresponding special efficacy material
Label just obtains the similarity word of the special efficacy search term, and obtains corresponding special efficacy material according to the similarity word
Label;
Special efficacy material obtaining module 26, for using the special efficacy material label, in the special efficacy material database prestored, search
The corresponding special efficacy material of the special efficacy material label, the special efficacy material database are previously stored with the special efficacy material, the special efficacy
The corresponding relationship of material label, the special efficacy material and the special efficacy material label;
First display module 27, if as soon as when for searching a special efficacy material, it is directly aobvious on the display page
Show the special efficacy material;
Second display module 28, if just obtaining the weight of the special efficacy material for searching for multiple special efficacy materials
Value carries out descending arrangement to the weighted value of the special efficacy material, sequentially shows the special efficacy material on the display page;
Special efficacy material chooses module 29, for by receiving user to the click action of the special efficacy material, acquisition to be chosen
Special efficacy material;
Special efficacy material loading module 30 adds the special efficacy material chosen for downloading the special efficacy material chosen
It is loaded onto the region, after to be loaded, plays the video pictures.
As a kind of implementation of the present embodiment, in the special effect making device, the special effect obtains module, tool
Body is used for:
On the right side in the region, input field is shown;
In the input field, the special effect descriptive statement of user's input is obtained.
Second display module, is specifically used for:
Obtain the score value and download time of the special efficacy material in current period;
The score value and download time that model, the special efficacy material are generated using preset weighted value, generate the special efficacy
The weighted value of material;
According to the weighted value sequence from high to low of the special efficacy material, the special efficacy element is sequentially shown on the display page
Material;
Wherein, the weighted value generates model, specifically:
Wherein,For in current period i, the weighted value of n-th of special efficacy material;N is the special efficacy material
Serial number, n value range are 1 to N, and N is the total number of the special efficacy material;MarknFor in current period i, n-th of spy
Imitate the score value of material;For in current period i, the sum of the score value of multiple special efficacy materials;
DownloadtnFor in current period i, the download time of n-th of special efficacy material;For
In current period i, the sum of the download time of multiple special efficacy materials;β is proportionality coefficient, and 0 < β < 1 is indicatedRatio shared by weighted value;It was in a upper period of current period i
The weighted value of the n special efficacy materials, (1- β) are indicatedRatio shared by weighted value.
As a kind of implementation of the present embodiment, in the special effect making device, described device, further includes:
Newly-increased module, for obtaining newly-increased special efficacy material label;
Import newly-increased special efficacy material;
The special efficacy material database is sent to after newly-increased the special efficacy material label and special efficacy material are associated;
The current period and a upper period when it is 30 minutes a length of.
The beneficial effect of the embodiment of the present invention is two aspects, has on the one hand saved the time of special effect making, has been conducive to mention
Special effect making efficiency is risen on the other hand to create new special effect making mode, improve the degree of intelligence of special effect making.
Embodiment seven
Fig. 3 is the schematic diagram of terminal provided in an embodiment of the present invention.As shown in figure 3, the terminal 3 of the embodiment includes: place
It manages device 30, memory 31 and is stored in the computer program that can be run in the memory 31 and on the processor 30
32, such as special effect making program.The processor 30 realizes above-mentioned each special effect making side when executing the computer program 32
Step in method embodiment.
Illustratively, the computer program 32 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 31, and are executed by the processor 30, to complete the present invention.Described one
A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for
Implementation procedure of the computer program 32 in the terminal 3 is described.
The terminal 3 can be desktop PC, notebook, palm PC and cloud server etc. and calculate equipment.Institute
Stating terminal may include, but be not limited only to, processor 30, memory 31.
It will be understood by those skilled in the art that Fig. 3 is only the example of terminal 3, the not restriction of structure paired terminal 3 can
To include perhaps combining certain components or different components than illustrating more or fewer components, such as the terminal may be used also
To include input-output equipment, network access equipment, bus etc..
Alleged processor 30 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
The memory 31 can be the internal storage unit of the terminal 3, such as the hard disk or memory of terminal 3.It is described
Memory 31 is also possible to the External memory equipment of the terminal 3, such as the plug-in type hard disk being equipped in the terminal 3, intelligence
Storage card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card)
Deng.Further, the memory 31 can also both include the internal storage unit of the terminal 3 or set including external storage
It is standby.
The memory 31 is for other programs and data needed for storing the computer program and the terminal.Institute
Stating memory 31 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing
The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also
To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated
Unit both can take the form of hardware realization, can also realize in the form of software functional units.
In addition, the specific name of each functional unit, module is also only for convenience of distinguishing each other, it is not limited to this Shen
Protection scope please.The specific work process of unit in above system, module, can be with reference to the correspondence in preceding method embodiment
Process, details are not described herein.
A kind of computer readable storage medium, the computer-readable storage medium are provided in another embodiment of the invention
Matter is stored with computer program, and the computer program realizes above-mentioned each special effect making embodiment of the method when being executed by processor
In step.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
In embodiment provided by the present invention, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the module or unit,
Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be with
In conjunction with or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed
Mutual coupling or direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING of device or unit or
Communication connection can be electrical property, mechanical or other forms.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.
Claims (10)
1. a kind of special effect making method characterized by comprising
Video pictures are imported, the region of special efficacy to be produced is chosen in the video pictures;
Obtain the special effect descriptive statement in the region;
The special effect descriptive statement is split into multiple words, using in the word verb and noun as the spy
Imitate search term;
Judge whether the special efficacy search term has corresponding special efficacy material label;
If the special efficacy search term has corresponding special efficacy material label, the corresponding special efficacy element of the special efficacy search term is just obtained
Material label just obtains the similar of the special efficacy search term if the special efficacy search term does not have corresponding special efficacy material label
Search term, and corresponding special efficacy material label is obtained according to the similarity word;
Using the special efficacy material label, in the special efficacy material database prestored, the corresponding special efficacy of the special efficacy material label is searched for
Material, the special efficacy material database are previously stored with the special efficacy material, the special efficacy material label, the special efficacy material and described
The corresponding relationship of special efficacy material label;
As soon as if directly displaying the special efficacy material on the display page when searching a special efficacy material;
If searching for multiple special efficacy materials, the weighted value of the special efficacy material is just obtained, to the weight of the special efficacy material
Value carries out descending arrangement, sequentially shows the special efficacy material on the display page;
By receiving user to the click action of the special efficacy material, the special efficacy material chosen is obtained;
The special efficacy material chosen is loaded onto the region, after to be loaded, broadcast by the special efficacy material chosen described in downloading
Put the video pictures.
2. the method according to claim 1, wherein obtaining the special effect descriptive statement in the region, specifically
Are as follows:
On the right side in the region, input field is shown;
In the input field, the special effect descriptive statement of user's input is obtained.
3. the method according to claim 1, wherein if the multiple special efficacy materials of search, just obtain
The weighted value of the special efficacy material carries out descending arrangement to the weighted value of the special efficacy material, sequentially shows on the display page
The special efficacy material, specifically:
Obtain the score value and download time of the special efficacy material in current period;
The score value and download time that model, the special efficacy material are generated using preset weighted value, generate the special efficacy material
Weighted value;
According to the weighted value sequence from high to low of the special efficacy material, the special efficacy material is sequentially shown on the display page;
Wherein, the weighted value generates model, specifically:
Wherein, Wi nFor in current period i, the weighted value of n-th of special efficacy material;N is the serial number of the special efficacy material, n
Value range is 1 to N, and N is the total number of the special efficacy material;MarknFor in current period i, n-th of special efficacy material
Score value;For in current period i, the sum of the score value of multiple special efficacy materials;Downloadtn
For in current period i, the download time of n-th of special efficacy material;For in current period i
It is interior, the sum of the download time of multiple special efficacy materials;β is proportionality coefficient, and 0 < β < 1 is indicatedRatio shared by weighted value;It was in a upper period of current period i
The weighted value of the n special efficacy materials, (1- β) are indicatedRatio shared by weighted value.
4., will be described the method according to claim 1, wherein the special efficacy material chosen described in the downloading
The special efficacy material chosen is loaded onto the region, and after to be loaded, after playing the video pictures, the method is also wrapped
It includes:
Obtain newly-increased special efficacy material label;
Import newly-increased special efficacy material;
The special efficacy material database is sent to after newly-increased the special efficacy material label and special efficacy material are associated.
5. according to the method described in claim 4, it is characterized in that, the current period and a upper period when it is 30 points a length of
Clock.
6. a kind of special effect making device characterized by comprising
Region obtains module and chooses the region of special efficacy to be produced in the video pictures for importing video pictures;
Special effect obtains module, for obtaining the special effect descriptive statement in the region;
Special efficacy search term obtains module will be in the word for the special effect descriptive statement to be split into multiple words
Verb and noun as the special efficacy search term;
Special efficacy material label judgment module, for judging whether the special efficacy search term has corresponding special efficacy material label;
Special efficacy material label acquisition module just obtains if having corresponding special efficacy material label for the special efficacy search term
The corresponding special efficacy material label of the special efficacy search term, if the special efficacy search term does not have corresponding special efficacy material label,
Corresponding special efficacy material label is obtained with regard to obtaining the similarity word of the special efficacy search term, and according to the similarity word;
Special efficacy material obtaining module, for searching for the spy in the special efficacy material database prestored using the special efficacy material label
The corresponding special efficacy material of material label is imitated, the special efficacy material database is previously stored with the special efficacy material, the special efficacy material mark
The corresponding relationship of label, the special efficacy material and the special efficacy material label;
First display module, if as soon as directly displayed on the display page described when for searching a special efficacy material
Special efficacy material;
Second display module, if the weighted value of the special efficacy material is just obtained, to institute for searching for multiple special efficacy materials
The weighted value for stating special efficacy material carries out descending arrangement, sequentially shows the special efficacy material on the display page;
Special efficacy material chooses module, for obtaining the special efficacy chosen by receiving user to the click action of the special efficacy material
Material;
The special efficacy material chosen is loaded onto institute for downloading the special efficacy material chosen by special efficacy material loading module
Region is stated, after to be loaded, plays the video pictures.
7. device as claimed in claim 6, which is characterized in that
The special effect obtains module, is specifically used for:
On the right side in the region, input field is shown;
In the input field, the special effect descriptive statement of user's input is obtained.
Second display module, is specifically used for:
Obtain the score value and download time of the special efficacy material in current period;
The score value and download time that model, the special efficacy material are generated using preset weighted value, generate the special efficacy material
Weighted value;
According to the weighted value sequence from high to low of the special efficacy material, the special efficacy material is sequentially shown on the display page;
Wherein, the weighted value generates model, specifically:
Wherein, Wi nFor in current period i, the weighted value of n-th of special efficacy material;N is the serial number of the special efficacy material, n
Value range is 1 to N, and N is the total number of the special efficacy material;MarknFor in current period i, n-th of special efficacy material
Score value;For in current period i, the sum of the score value of multiple special efficacy materials;Downloadtn
For in current period i, the download time of n-th of special efficacy material;For in current period i
It is interior, the sum of the download time of multiple special efficacy materials;β is proportionality coefficient, and 0 < β < 1 is indicatedRatio shared by weighted value;It was in a upper period of current period i
The weighted value of the n special efficacy materials, (1- β) are indicatedRatio shared by weighted value.
8. device as claimed in claim 6, which is characterized in that described device, further includes:
Newly-increased module, for obtaining newly-increased special efficacy material label;
Import newly-increased special efficacy material;
The special efficacy material database is sent to after newly-increased the special efficacy material label and special efficacy material are associated;
The current period and a upper period when it is 30 minutes a length of.
9. a kind of terminal, including memory, processor and storage can be run in the memory and on the processor
Computer program, which is characterized in that the processor is realized when executing the computer program as claim 1 to 5 is any
The step of item the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In when the computer program is executed by processor the step of any one of such as claim 1 to 5 of realization the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811206716.1A CN109451347A (en) | 2018-10-17 | 2018-10-17 | A kind of special effect making method, apparatus, terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811206716.1A CN109451347A (en) | 2018-10-17 | 2018-10-17 | A kind of special effect making method, apparatus, terminal and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109451347A true CN109451347A (en) | 2019-03-08 |
Family
ID=65546664
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811206716.1A Withdrawn CN109451347A (en) | 2018-10-17 | 2018-10-17 | A kind of special effect making method, apparatus, terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109451347A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111124579A (en) * | 2019-12-24 | 2020-05-08 | 北京金山安全软件有限公司 | Special effect rendering method and device, electronic equipment and storage medium |
CN112969035A (en) * | 2021-01-29 | 2021-06-15 | 新华智云科技有限公司 | Visual video production method and production system |
-
2018
- 2018-10-17 CN CN201811206716.1A patent/CN109451347A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111124579A (en) * | 2019-12-24 | 2020-05-08 | 北京金山安全软件有限公司 | Special effect rendering method and device, electronic equipment and storage medium |
CN111124579B (en) * | 2019-12-24 | 2023-12-19 | 北京金山安全软件有限公司 | Special effect rendering method and device, electronic equipment and storage medium |
CN112969035A (en) * | 2021-01-29 | 2021-06-15 | 新华智云科技有限公司 | Visual video production method and production system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210193108A1 (en) | Voice synthesis method, device and apparatus, as well as non-volatile storage medium | |
US9286400B2 (en) | Presenting tag clouds based on user information | |
CN109086303A (en) | The Intelligent dialogue method, apparatus understood, terminal are read based on machine | |
JP7395445B2 (en) | Methods, devices and electronic devices for human-computer interactive interaction based on search data | |
CN106570106A (en) | Method and device for converting voice information into expression in input process | |
CN113590776B (en) | Knowledge graph-based text processing method and device, electronic equipment and medium | |
CN104050192B (en) | A kind of methods, devices and systems for running application | |
CN107733984A (en) | A kind of method, terminal and computer-readable recording medium for pushing screen locking information | |
CN109741755A (en) | Voice wakes up word threshold management device and manages the method that voice wakes up word threshold value | |
JP7093397B2 (en) | Question answering robot generation method and equipment | |
CN111680079B (en) | Method and device for converting Json data into dictionary data and electronic equipment | |
CN107280693A (en) | Psychoanalysis System and method based on VR interactive electronic sand tables | |
CN103020295A (en) | Problem label marking method and device | |
CN110795565A (en) | Semantic recognition-based alias mining method, device, medium and electronic equipment | |
CN111522886B (en) | Information recommendation method, terminal and storage medium | |
US20190392077A1 (en) | Facet-based query refinement based on multiple query interpretations | |
CN109451347A (en) | A kind of special effect making method, apparatus, terminal and computer readable storage medium | |
CN107678719A (en) | Page display method and device, electronic equipment and storage medium | |
CN109815392A (en) | Displaying businessman recalls method, apparatus, electronic equipment and readable storage medium storing program for executing | |
CN110427459A (en) | Visualized generation method, system and the platform of speech recognition network | |
CN108874789A (en) | Generation method, device, storage medium and the electronic device of sentence | |
CN111382563A (en) | Text relevance determining method and device | |
CN108255956A (en) | The method and system of dictionary are adaptively obtained based on historical data and machine learning | |
CN110189742A (en) | Determine emotion audio, affect display, the method for text-to-speech and relevant apparatus | |
CN109902273A (en) | The modeling method and device of keyword generation model |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20190308 |