CN108307127A - Method for processing video frequency and computer storage media, terminal - Google Patents
Method for processing video frequency and computer storage media, terminal Download PDFInfo
- Publication number
- CN108307127A CN108307127A CN201810032473.8A CN201810032473A CN108307127A CN 108307127 A CN108307127 A CN 108307127A CN 201810032473 A CN201810032473 A CN 201810032473A CN 108307127 A CN108307127 A CN 108307127A
- Authority
- CN
- China
- Prior art keywords
- image
- sound
- video
- special efficacy
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
Abstract
The present invention relates to software application fields, and in particular to a kind of method for processing video frequency and computer storage media, terminal, the method includes:Obtain pending video;Pending image is identified from the video;The characteristics of according to described image, obtains the special efficacy with sound;According to the special effect processing described image, the video for including special efficacy is generated.The present invention from video by identifying pending image, then background in video detach with main body picture according to special efficacy of the acquisition with sound the characteristics of image, according to the special effect processing described image, generate the video for including sound special efficacy, so that the effect for the specific video of tool produced it is more various, it is lively, dazzle it is cruel, without the use of the Video editing software of profession, the video of more visual effect is simply and rapidly produced.
Description
Technical field
The present invention relates to software application process fields, and in particular to a kind of method for processing video frequency and computer storage media,
Terminal.
Background technology
With the fast development of Internet technology, more and more people utilize social networking application Internet-based and platform
Share the works of oneself with other social activity users, especially UGC (User Generated Content, user's original content) is general
The development deepened constantly with stream media technology read, people are happy to then upload to application by mobile terminal recorded video works
And share with other people on platform, the video of different user publication is illustrated using upper concentration, other users can be clear by application
Look at, watch video work, in order to make more interesting video, application can provide to the user simple video filter make it is different
Special video effect, such as " black and white filter ", " old film filter ", and the filter that application provides at present is often only to the place of vedio color
Reason, the main body in few background frames with video, video, which acts, to be combined, and is difficult on mobile terminals simple, quick
Produce the video of more visual effect in ground.
Invention content
To overcome the above technical problem, the especially prior art that can not simply and rapidly produce more visual effect
The problem of video, spy propose following technical scheme:
In a first aspect, the present invention provides a kind of method for processing video frequency, including:
Obtain pending video;
Pending image is identified from the video;
The characteristics of according to described image, obtains the special efficacy with sound;
According to the special effect processing described image, the video for including special efficacy is generated.
Specifically, described obtain pending video;Pending image is identified from the video, including:
Obtain the video of pending solid background;As reference with the solid background, it is identified from the video
The image occurred on solid background, using the image as pending image;Or
Obtain the video of pending static background;As reference with the static background, it is identified from the video
The image occurred on static background, using the image as pending image.
Optionally, it is described according to described image the characteristics of, obtain with sound special efficacy, including:
The characteristics of identifying image obtains the matched spy with sound of the feature from this terminal applies special efficacy library
Effect;Or
The characteristics of identifying image obtains having for the corresponding current hot topic of application of the feature from application server
The special efficacy of sound.
Further, the special efficacy includes graphical effect and sound;It is described according to described image the characteristics of, obtain have sound
The special efficacy of sound, including:
Corresponding graphical effect is matched according to the characteristics of image;
Sound is selected according to the instruction of user;
Special efficacy is formed by the graphical effect and the sound.
Further, the special efficacy includes two or more graphical effects and two or more sound;It is described according to the special efficacy
Described image is handled, the video for including special efficacy is generated, including:
From described two above graphical effects of the special efficacy, figure that the characteristics of image for selecting and identifying matches
Shape effect;.
From described two above sound of the special efficacy, sound that the characteristics of image for selecting and identifying matches;
Described image is handled according to selected graphical effect, when handling described image according to graphical effect selected by addition
The sound selected generates the video for including the graphical effect and sound.
Further, the special efficacy includes the sound of graphical effect and two or more tones;It is described according to the special efficacy at
Described image is managed, the video for including special efficacy is generated, including:
The frame variation for obtaining described image, from the sound of described two above tones of the special efficacy, according to the frame
The sound for the tone that variation selection matches;
Described image is handled according to selected graphical effect, when handling described image according to graphical effect selected by addition
The sound selected generates the video for including the graphical effect and sound.
Further, the special efficacy includes the correspondence with image play position;It is described according to the special effect processing institute
Image is stated, including:
According to the correspondence, the corresponding special efficacy of current play position of image is obtained, is worked as using the special effect processing
The image of preceding play position.
Preferably, the special efficacy include graphical effect and sound, the graphical effect include to described image transform size,
It changes direction and moves the graphical effect of described image according to scheduled path, the sound graphical effect matches
Sound;It is described according to the special effect processing described image, including:
Described image is moved according to the size of graphical effect transformation described image, direction and according to scheduled path,
And corresponding sound is matched at corresponding graphical effect.
Second aspect, the present invention also provides a kind of computer readable storage medium, the computer readable storage medium
On be stored with computer program, which realizes above-mentioned method for processing video frequency when being executed by processor.
The third aspect, the present invention also provides a kind of terminal, the terminal include one or more processors, memory,
One or more application program, wherein one or more of application programs be stored in the memory and be configured as by
One or more of processors execute, and one or more of programs are configured to carry out above-mentioned method for processing video frequency.
Compared with prior art, the present invention having the advantages that:
The present invention is divided the background in video with main body picture by identifying pending image from video
From then according to the special efficacy with sound is obtained the characteristics of image, according to the special effect processing described image, it includes special efficacy to generate
Video so that the effect of the specific video of tool produced is more various, it is lively, dazzle cruel, and regarding without the use of profession
Frequency software for editing simply and rapidly produces the video of more visual effect.
In addition, also including two or more figures in the acquired special efficacy of the characteristics of present invention is by identifying pending image
Effect and two or more sound, same special efficacy includes a variety of different manifestations effects, and is selected according to the characteristics of image different
The special efficacy of graphical effect and sound is handled, to generate the video of different effects so that the tool of synthesis is specific to be regarded
Frequency is more in line with reality, naturally, meeting the use demand of different user simultaneously.
Furthermore the graphics process such as the present invention can also carry out size conversion to the image that identifies, direction rotates, moves,
The image that special time period occurs carries out corresponding graphics process, while matching corresponding sound, reduces to video All Time
Resource spent by Duan Jinhang special effect processings improves the combined coefficient of video;It is different according to the variation matching of the frame of image simultaneously
Sound improves the interest of video with graphical effect to enhance the theme of video.
The additional aspect of the present invention and advantage will be set forth in part in the description, these will become from the following description
Obviously, or practice through the invention is recognized.
Description of the drawings
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, wherein:
Fig. 1 is one embodiment flow diagram of method for processing video frequency of the present invention;
Fig. 2 is another embodiment flow diagram of method for processing video frequency of the present invention;
Fig. 3 is an example structure schematic diagram of terminal of the present invention.
Specific implementation mode
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, and is only used for explaining the present invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singulative " one " used herein, " one
It is a ", " described " and "the" may also comprise plural form.It is to be further understood that is used in the specification of the present invention arranges
Diction " comprising " refer to there are the feature, integer, step, operation, but it is not excluded that presence or addition it is one or more other
Feature, integer, step, operation.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art
Language and scientific terminology), there is meaning identical with the general understanding of the those of ordinary skill in fields of the present invention.Should also
Understand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior art
The consistent meaning of meaning, and unless by specific definitions as here, the meaning of idealization or too formal otherwise will not be used
To explain.
It will be appreciated by those skilled in the art that so-called " application " of the invention, " application program ", " application software " and class
It is the same concept well known to those skilled in the art like the concept of statement, refers to being instructed by series of computation machine and related data
The computer software for being suitable for electronics operation of the organic construction of resource.Unless specified, this name itself is not by programming language
Type, rank, the operating system of operation of also not rely by it or platform are limited.In the nature of things, this genus also not by appoint
The terminal of what form is limited.
In one embodiment, the present invention provides a kind of method for processing video frequency, as shown in Figure 1, this method includes:
S100:Obtain pending video.
S200:Pending image is identified from the video.
The application scenarios of the present embodiment are Video Applications, using the quick function of making special video effect is provided, when user's profit
When carrying out recorded video with application, using instructing user to record background frame first, then instruct to use after background frame determination
Main body picture is recorded at family, after the completion of video record user's selection special effect processing is made to video, which is pending video.
The application of the present embodiment then obtains the pending video, then identifies pending figure from the pending video
Picture namely the main body picture.
Specifically, in the present embodiment, it is described to obtain pending video;Pending image is identified from the video
A kind of realization method be:Obtain the video of pending solid background;As reference with the solid background, from the video
In identify the image occurred on solid background, using the image as pending image.
In recorded video, user records solid background first, and main body picture is then recorded under solid background, application
As reference with the solid background, it from the video that recorded main body picture under solid background, subtracts and records when beginning
The ingredient of solid background to identify the main body picture in video, namely identifies the pending image in pending video.
It is described to obtain pending video;Another realization method of pending image is identified from the video
For:Obtain the video of pending static background;As reference with the static background, it is identified in static state from the video
The image occurred in background, using the image as pending image.
In recorded video, user records static background first, and main body picture is then recorded under static background, static
Background does not change, and using from the video that recorded main body picture under static background, subtracts the static background recorded when beginning
Identical component, to identify the main body picture in video, namely identify the pending image in pending video.This
Main body picture described in embodiment changes with the time of video record, and the pending image of the present embodiment includes at least two
The continuous picture of frame.
S300:The characteristics of according to described image, obtains the special efficacy with sound.
After identifying pending image, pending image is the main body picture in video, the present embodiment according to
The characteristics of main body picture, obtains the accordingly special efficacy with sound, the characteristics of using pending image is identified first, i.e. main body
What picture is, what is doing, further, identify image the characteristics of further include the color for identifying main body picture, then with
Special efficacy can be combined as choosing one of factor acquisitions of special efficacy more naturally the characteristics of described image it is corresponding with sound
Special efficacy, the special efficacy not only include sound effect, also include processing described image graphical effect.For example, the figure identified
As the characteristics of be " personage's dancing ", obtain with sound special efficacy be " stage " with " drum sound ";The characteristics of image identified is
" animal is run ", it is " grassland " with " animal run sound " to obtain the special efficacy with sound.Further, for subsequent image and spy
The more preferable combination of effect, size, distance, face of the present embodiment also according to the size control action graphical effect on the image of image
Color, for example, scaled stage according to personage size, the distance on grassland is controlled according to the size of animal.
S400:According to the special effect processing described image, the video for including special efficacy is generated.
After obtaining with the special efficacy of sound, the image of each frame is handled according to the graphical effect that special efficacy includes, in turn
The video frame of the image comprising special pattern effect is obtained, the sound effect for then including by the video frame and the special efficacy closes
At the video of special efficacy of the generation with sound.
The present embodiment is divided the background in video with main body picture by identifying pending image from video
From then according to the special efficacy with sound is obtained the characteristics of image, according to the special effect processing described image, it includes special efficacy to generate
Video, allow the effect for the specific video of tool produced it is more various, it is lively, dazzle it is cruel, and without the use of the video of profession
Software for editing simply and rapidly produces the video of more visual effect.
Further, in the embodiment of the present invention, it is described according to described image the characteristics of, obtain the special efficacy with sound
One kind being achieved in that the characteristics of identifying image, and from this terminal applies special efficacy library, it is matched with sound to obtain the feature
The special efficacy of sound;After identifying the main body picture in video, what selection matched from the special efficacy library of this terminal applies has sound
The special efficacy material of the special efficacy material of sound, the special efficacy library of this terminal applies is by obtaining from application server or pacifying in application in advance
It is built in application when dress, the special efficacy with sound can rapidly be obtained by local special efficacy library, to quickly give birth to
At the video for including the special efficacy.
It is described according to described image the characteristics of, the another kind for obtaining the special efficacy with sound is achieved in that and identifies image
The characteristics of, from application server, obtain the current popular special efficacy with sound of the corresponding application of the feature;When identifying
After main body picture in video, the current popular special efficacy with sound of application is obtained from application server, when a certain special efficacy
It is welcome or when closing on a certain red-letter day, in order to meet the needs of most users are wanted to record identical theme video, using from clothes
The current popular special efficacy with sound of application is obtained in business device to handle image, such as is reached the standard grade in application server
" celebrating New Year " relevant special efficacy, most users are wanted to pay a New Year call by recorded video when closing on New Year, when application identifies institute
When the characteristics of stating image is " personage makes a slight bow ", it is " celebrating New Year " poster and " New Year he to be matched to using currently popular special efficacy
Word " sound, to tell about the video of paying a New Year call of New Year Message before New Year poster for user's Fast back-projection algorithm.
In the embodiment of the present invention, the special efficacy include graphical effect and sound, it is described according to described image the characteristics of, obtain
The special efficacy with sound is taken, including:
Corresponding graphical effect is matched according to the characteristics of image;Sound is selected according to the instruction of user;It is imitated by the figure
Fruit and the sound form special efficacy.
When special efficacy includes graphical effect and sound to image, after the characteristics of identifying image, it is automatically by application
The corresponding graphical effect of images match, while application provides muli-sounds to the user and carries out self-defined selection, when user selectes certain
After one sound, using the corresponding sound of selection instruction selection in response to user, then spy is formed with sound by the graphics process
Effect after being handled described image according to the graphical effect, synthesizes the video frame with graphical effect, then by the sound
It is synthesized with the video frame, generates the video that there is graphical effect with the special efficacy of sound.
Further, as shown in Fig. 2, the present invention a kind of embodiment, the special efficacy include two or more graphical effects and
Two or more sound, at this point, described generate the video for including special efficacy according to the special effect processing described image, including:
S401:From described two above graphical effects of the special efficacy, select with identify image the characteristics of phase
The graphical effect matched;.
S402:From described two above sound of the special efficacy, what the characteristics of image for selecting and identifying matched
Sound;
S403:Described image is handled according to selected graphical effect, is added when handling described image according to graphical effect
Add selected sound, generates the video containing the graphical effect and sound.
After the image in identifying video, the characteristics of image of different video, is different, if image is personage, identification
The characteristics of image includes age, the gender etc. for identifying personage, and in the present embodiment, same special efficacy contains two or more figure effects
Fruit and two or more sound when identify different images the characteristics of, select the figure effect that the special efficacy is different for same special efficacy
Then fruit and sound handle described image according to selected graphical effect, add when handling described image according to graphical effect
Add selected sound, and then generates the video for including the graphical effect and sound.For example, special efficacy is " wearing New Year clothes " figure
Shape effect is with " saying New Year Message " sound, when the characteristics of image identified is " adult ", the spy of selection and image
The graphical effect that point matches is " the New Year clothes of adult ", and the sound to match is " adult's sound says New Year Message ",
And when the characteristics of image identified is " children ", selects and graphical effect that the characteristics of image matches is " children
New Year clothes ", the sound effect to match be " children's sound says New Year Message ".In the present embodiment, identical theme
Special efficacy, with sound, when identifying different feature of image, selects different figures comprising a variety of (two or more) graphical effects
Effect is with sound so that the specific video of tool of synthesis is more in line with reality, naturally, meeting the use need of different user simultaneously
It asks.
Further, it is different main body'choices when the feature of image identified includes more than two different subjects
Different graphical effects are with sound.For example, special efficacy be " wearing New Year clothes " graphical effect with " saying New Year Message " sound, work as identification
When the characteristics of image gone out is " adult is with a children ", be the matched graphical effect of adult be " adult's is new
Year clothes ", matched sound are " adult's sound says New Year Message ", be the matched graphical effect of children for the " New Year of children
Clothes ", matched sound effect are " children's sound says New Year Message ", and then in the specific video of the tool of generation, simultaneously
There are adults to say New Year Message with children's sound, to reach better vision, auditory effect.
Further, a kind of embodiment of the invention, the special efficacy include the sound of graphical effect and two or more tones;
It is described that the video for including special efficacy is generated according to the special effect processing described image, including:
The frame variation for obtaining described image, from the sound of described two above tones of the special efficacy, according to the frame
The sound for the tone that variation selection matches;
Described image is handled according to selected graphical effect, when handling described image according to graphical effect selected by addition
The sound selected generates the video for including the graphical effect and sound.
After the image in identifying video, the frame variation of described image is calculated, the present embodiment takes frame period according to default
The frame of specific image is chosen, institute is then calculated according to SSIM (Structural Similarity Index, structural similarity)
The frame of the consecutive frame of selection changes, and when SSIM values are bigger, indicates that the picture of two frame pictures is closer, when SSIM values are smaller,
Indicate that the picture difference of two frame pictures is bigger.In the present embodiment, when the SSIM values of two field pictures be less than preset value when, determine this two
The variation of frame image is big, selects the sound of tone to match at this time, such as includes the sound of high and low tone in special efficacy, when going out
When now the SSIM values of selected two field pictures are less than preset value, sound is selected as to the sound of high-pitched tone from the switching of the sound of ground tone
Then sound adds selected sound when handling described image according to graphical effect, it includes the graphical effect harmony to generate
The video of sound.For example, identify image the characteristics of be " teetering for arm ", when the rate that teeters of arm is smaller
When, the SSIM values of selected two field pictures are larger, and the sound of the special efficacy of video is the sound of low pitch at this time, upper when arm
Under wave rate it is larger when, the SSIM values of selected two field pictures accordingly reduce, when the SSIM values of selected two field pictures
When less than preset value, the sound of the special efficacy of video is switched to the sound of high-pitched tone this moment.Further, the present embodiment is also according to figure
The performance degree of the frame variation adjustment graphical effect of picture, when the SSIM values of selected two field pictures are larger, graphical effect
Performance degree is smaller, and when the SSIM values of selected two field pictures are lighter, the performance degree of graphical effect is heavier such as adjoint
The graphical effect for " teetering for arm " addition is star, when the rate that teeters of arm is smaller, star negligible amounts,
When the rate that teeters of arm increases, star quantity increases therewith, and video content is preferably showed with this.
Further, in the embodiment of the present invention, the special efficacy also includes the correspondence with image play position;Work as institute
It is described according to the special effect processing described image when stating special efficacy and containing the correspondence with image play position, including:
According to the correspondence, the corresponding special efficacy of current play position of image is obtained, is worked as using the special effect processing
The image of preceding play position.
Due to pending image be not appear in entire video all periods or pending image entire
The Behaviour theme in different time periods of video is different, after application identifies pending image, includes according to special efficacy and image
The correspondence of play position handles described image, and described image play position is the time point of image in video
It sets, when the image in video occurs, the graphical effect of the special efficacy is correspondingly handled described image, works as picture drop-out
When, the graphical effect correspondingly disappears or replaces, likewise, when image occurs, sound and special efficacy that the special efficacy has
Graphical effect match appearance, when picture drop-out, the sound correspondingly disappears or replaces, and is synthesized with this more natural
The specific video of tool.Such as the image identified is " personage ", the special efficacy of acquisition is " Body Snatchers ", and special efficacy is " extraterrestrial
People invade " include " and flying saucer fly here->Flying saucer emits light beam->Flying saucer withdraws light beam->Flying saucer flies away " graphical effect and corresponding
Sound, after image " personage " occurs in video, the special efficacy " Body Snatchers " just starts to realize, in different time sections
With different graphical effects with sound, the more natural specific video of tool is synthesized with this.
Further, a kind of embodiment of the invention, the special efficacy include graphical effect and sound, the graphical effect packet
The graphical effect for including to described image transform size, changing direction and moving described image according to scheduled path, the sound
The sound to match for the graphical effect;It is described according to the special effect processing described image, including:
Described image is moved according to the size of graphical effect transformation described image, direction and according to scheduled path,
And corresponding sound is matched at corresponding graphical effect.
In the present embodiment, acquired special efficacy can also carry out size conversion, direction to the pending image identified
The processing such as rotation, mobile include to described image transform size, the graphical effect changed direction and moved, simultaneously that is, in special efficacy
Also include the sound to match with the graphical effect, when handling described image according to graphical effect, is imitated according to the figure
Fruit changes the size of described image, direction and moves described image according to the mobile route, and adds when handling described image
Add corresponding sound.Such as the image identified is " personage ", the special efficacy of acquisition is " Body Snatchers ", and " outman enters special efficacy
Invade " include " flying saucer is sudden->Flying saucer emits light beam->Flying saucer withdraws light beam->Flying saucer flies away " graphical effect and corresponding sound
Sound, in " flying saucer transmitting light beam->Image " personage " inspiration flying saucer that will identify that in a period of flying saucer withdrawal light beam ", in this phase
In the image " personage " that will identify that taper into, and rotate in the direction of the clock, while along scheduled path to flying
Dish moves, and is finally sucked into flying saucer, meanwhile, corresponding sound is matched during handling image according to graphical effect imitates
Fruit by carrying out size conversion to pending image, the processing such as direction rotates, moves, while matching corresponding sound, to
Produce more lively, active video.
In another embodiment, the present invention provides a kind of computer readable storage medium, computer-readable storage mediums
Computer program is stored in matter, which realizes the method for processing video frequency described in above-described embodiment when being executed by processor.Its
In, the computer readable storage medium include but not limited to any kind of disk (including floppy disk, hard disk, CD, CD-ROM,
And magneto-optic disk), ROM (Read-Only Memory, read-only memory), (Random AcceSS Memory, store RAM immediately
Device), EPROM (EraSable Programmable Read-Only Memory, Erarable Programmable Read only Memory),
(Electrically EraSable Programmable Read-Only Memory, electric erazable programmable is read-only to be deposited EEPROM
Reservoir), flash memory, magnetic card or light card.It is, storage device includes by equipment (for example, computer, mobile phone) with energy
Any medium for the form storage or transmission information enough read can be read-only memory, disk or CD etc..
A kind of computer readable storage medium provided in an embodiment of the present invention is, it can be achieved that obtain pending video;From institute
It states and identifies pending image in video;The characteristics of according to described image, obtains the special efficacy with sound;According to the special efficacy
Described image is handled, the video for including special efficacy is generated.By identifying pending image from video, by the background in video
It is detached with main body picture, then according to special efficacy of the acquisition with sound the characteristics of image, according to the special effect processing
Image generates and include the video of special efficacy, allow the effect for the specific video of tool produced it is more various, it is lively, dazzle extremely, and not
The Video editing software that profession need to be used, simply and rapidly produces the video of more visual effect.In addition, the present invention provides
Computer readable storage medium can also be achieved in the acquired special efficacy of the characteristics of identifying pending image also include two kinds with
Upper graphical effect and two or more sound, same special efficacy includes a variety of different manifestations effects, and is selected according to the characteristics of image
The special efficacy of different graphical effects and sound is handled, to generate the video of different effects so that synthesis has spy
The video of effect is more in line with reality, naturally, meeting the use demand of different user simultaneously.In addition, computer provided by the invention
The graphics process such as readable storage medium storing program for executing can also be achieved and carry out size conversion to the image that identifies, direction rotates, moves, specific
The image that period occurs carries out corresponding graphics process, while matching corresponding sound, reduce to video All Time section into
Resource spent by row special effect processing improves the combined coefficient of video;Different sound is matched according to the variation of the frame of image simultaneously
With graphical effect the interest of video is improved to enhance the theme of video.
The embodiment of above-mentioned method for processing video frequency may be implemented in computer readable storage medium provided in an embodiment of the present invention,
Concrete function realizes the explanation referred in embodiment of the method, and details are not described herein.
In addition, in another embodiment, the present invention also provides a kind of terminals, as shown in figure 3, the terminal may include
One or more than one processor 301 further include memory 302, WiFi (wireless fidelity, Wireless Fidelity)
It is circuit 303, RF (Radio Frequency, radio frequency) circuit 304, voicefrequency circuit 305, sensor 306, output equipment 307, defeated
Enter equipment 304, power supply 309, processor 301 is the control centre of terminal, utilizes various interfaces and the above each section of connection.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in Fig. 3, may include than diagram
More or fewer components either combine certain components or different components arrangement.
WiFi circuitry 303 can provide WLAN or internet access to the user;It may include antenna, WiFi module
Deng.RF circuits 304 can receive and send messages, or signal sends and receivees in communication process;It may include antenna, at least one puts
Big device, tuner, one or more oscillators, coupler, duplexer etc..The audio data that voicefrequency circuit 305 can will receive
It is converted into electric signal, is transferred to loud speaker, also the voice signal that microphone is collected audio data can be converted to, issue processor
301 processing;Loud speaker, microphone, earphone interface etc. can be arranged in it.Sensor 306 can be used for incuding outer signals, and issue place
Device 301 is managed to handle;It may include motion sensor, optical sensor etc..Output equipment 307 can be used for showing various signals;It can
For using LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting
Diode, Organic Light Emitting Diode) etc. forms configure display panel.Input equipment 304 can be used for inputting the letters such as number and character
Breath;It can be physical button, touch panel etc..Power supply 309 can be that terminal each section is powered, and pass through power-supply management system and processing
309 logical connection of device;It may include one or more direct current or AC power, charging system, power supply status indicator
Equal components.Memory 302 can be used for storing software program and module;It can be computer readable storage medium, be specifically
Hard disk, flash memory etc..Processor is the control centre of terminal, by running or executing the software program being stored in memory 302
And/or module, and the data for being stored in memory 302 are called, execute terminal various functions, processing terminal data.
As one embodiment, terminal includes:One or more processors 301, memory 302, one or more application
Program, wherein one or more of application programs are stored in memory 302 and are configured as by one or more of
Processor 301 executes, and one or more of programs are configured to carry out the method for processing video frequency described in above example.
A kind of terminal provided in an embodiment of the present invention is, it can be achieved that obtain pending video;It is identified from the video
Pending image;The characteristics of according to described image, obtains the special efficacy with sound;According to the special effect processing described image,
Generate the video for including special efficacy.By identifying pending image from video, by background and the main body picture in video into
Row separation, then according to the special efficacy with sound is obtained the characteristics of image, according to the special effect processing described image, generation includes
The video of special efficacy, allow the effect for the specific video of tool produced it is more various, it is lively, dazzle it is cruel, and without the use of profession
Video editing software simply and rapidly produces the video of more visual effect.In addition, terminal provided by the invention can also be real
Also comprising two or more graphical effects and two or more sound in the acquired special efficacy of the characteristics of now identifying pending image, together
One special efficacy include a variety of different manifestations effects, and according to the characteristics of image select the special efficacy of different graphical effects and sound into
Row processing, to generate the video of different effects so that the specific video of tool of synthesis is more in line with reality, naturally, same
When meet the use demand of different user.In addition, terminal provided by the invention can also be achieved carries out size to the image identified
Transformation, direction such as rotate, move at the graphics process, and corresponding graphics process is carried out in the image that special time period occurs, while
With corresponding sound, reduces to the resource spent by video All Time section progress special effect processing, improve the combined coefficient of video;
Different sound is matched according to the variation of the frame of image simultaneously and improves the entertaining of video with graphical effect to enhance the theme of video
Property.
The embodiment of the method for processing video frequency of above-mentioned offer, concrete function may be implemented in terminal provided in an embodiment of the present invention
Realize the explanation referred in embodiment of the method, details are not described herein.
The above is only some embodiments of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (10)
1. a kind of method for processing video frequency, which is characterized in that including:
Obtain pending video;
Pending image is identified from the video;
The characteristics of according to described image, obtains the special efficacy with sound;
According to the special effect processing described image, the video for including special efficacy is generated.
2. according to the method described in claim 1, it is characterized in that, described obtain pending video;Know from the video
Do not go out pending image, including:
Obtain the video of pending solid background;As reference with the solid background, it is identified pure from the video
The image occurred in color background, using the image as pending image;Or
Obtain the video of pending static background;As reference with the static background, it is identified quiet from the video
The image occurred in state background, using the image as pending image.
3. according to the method described in claim 1, it is characterized in that, it is described according to described image the characteristics of, obtain have sound
Special efficacy, including:
The characteristics of identifying image obtains the matched special efficacy with sound of the feature from this terminal applies special efficacy library;Or
The characteristics of identifying image, from application server, obtain the current hot topic of the corresponding application of the feature has sound
Special efficacy.
4. according to the method described in claim 1, it is characterized in that, the special efficacy includes graphical effect and sound;The basis
The characteristics of described image, obtains the special efficacy with sound, including:
Corresponding graphical effect is matched according to the characteristics of image;
Sound is selected according to the instruction of user;
Special efficacy is formed by the graphical effect and the sound.
5. according to the method described in claim 1, it is characterized in that, the special efficacy include two or more graphical effects and two kinds with
Upper sound;It is described that the video for including special efficacy is generated according to the special effect processing described image, including:
From described two above graphical effects of the special efficacy, figure effect that the characteristics of image for selecting and identifying matches
Fruit;.
From described two above sound of the special efficacy, sound that the characteristics of image for selecting and identifying matches;
Described image is handled according to selected graphical effect, is added when handling described image according to graphical effect selected
Sound generates the video for including the graphical effect and sound.
6. according to the method described in claim 1, it is characterized in that, the special efficacy includes graphical effect and two or more tones
Sound;It is described that the video for including special efficacy is generated according to the special effect processing described image, including:
The frame variation for obtaining described image changes from the sound of described two above tones of the special efficacy according to the frame
Select the sound of the tone to match;
Described image is handled according to selected graphical effect, is added when handling described image according to graphical effect selected
Sound generates the video for including the graphical effect and sound.
7. according to the method described in claim 1, it is characterized in that, the special efficacy includes closes corresponding with image play position
System;It is described according to the special effect processing described image, including:
According to the correspondence, the corresponding special efficacy of current play position of image is obtained, is currently broadcast using the special effect processing
Put the image of position.
8. the method according to the description of claim 7 is characterized in that the special efficacy includes graphical effect and sound, the figure
Effect include to described image transform size, change direction and according to scheduled path move described image graphical effect, institute
It is the sound that the graphical effect matches to state sound;It is described according to the special effect processing described image, including:
According to the size of graphical effect transformation described image, direction and according to scheduled path movement described image, and
The corresponding sound of matching at corresponding graphical effect.
9. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program realizes claim 1 to 8 any one of them method for processing video frequency when the program is executed by processor.
10. a kind of terminal, which is characterized in that including:
One or more processors;
Memory;
One or more application program, wherein one or more of application programs are stored in the memory and are configured
To be executed by one or more of processors, one or more of application programs are configured to carry out according to claim 1
To 8 any one of them method for processing video frequency.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810032473.8A CN108307127A (en) | 2018-01-12 | 2018-01-12 | Method for processing video frequency and computer storage media, terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810032473.8A CN108307127A (en) | 2018-01-12 | 2018-01-12 | Method for processing video frequency and computer storage media, terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108307127A true CN108307127A (en) | 2018-07-20 |
Family
ID=62868972
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810032473.8A Pending CN108307127A (en) | 2018-01-12 | 2018-01-12 | Method for processing video frequency and computer storage media, terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108307127A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109495695A (en) * | 2018-11-29 | 2019-03-19 | 北京字节跳动网络技术有限公司 | Moving object special video effect adding method, device, terminal device and storage medium |
CN109710255A (en) * | 2018-12-24 | 2019-05-03 | 网易(杭州)网络有限公司 | Effect processing method, special effect processing device, electronic equipment and storage medium |
CN111507143A (en) * | 2019-01-31 | 2020-08-07 | 北京字节跳动网络技术有限公司 | Expression image effect generation method and device and electronic equipment |
CN112395530A (en) * | 2019-08-19 | 2021-02-23 | 北京字节跳动网络技术有限公司 | Data content output method and device, electronic equipment and computer readable medium |
CN112533058A (en) * | 2019-09-17 | 2021-03-19 | 西安中兴新软件有限责任公司 | Video processing method, device, equipment and computer readable storage medium |
CN112804578A (en) * | 2021-01-28 | 2021-05-14 | 广州虎牙科技有限公司 | Atmosphere special effect generation method and device, electronic equipment and storage medium |
WO2022017006A1 (en) * | 2020-07-22 | 2022-01-27 | Oppo广东移动通信有限公司 | Video processing method and apparatus, and terminal device and computer-readable storage medium |
CN115350477A (en) * | 2022-08-15 | 2022-11-18 | 北京字跳网络技术有限公司 | Game sound effect playing method and device, storage medium and electronic equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8612185B2 (en) * | 2009-10-15 | 2013-12-17 | Electronics And Telecommunications Research Institute | Device, system and method for simulating and saving information of metadata regarding film production |
CN103795897A (en) * | 2014-01-21 | 2014-05-14 | 深圳市中兴移动通信有限公司 | Method and device for automatically generating background music |
CN104486558A (en) * | 2014-12-31 | 2015-04-01 | 厦门美图之家科技有限公司 | Video processing method and device for simulating shooting scene |
CN104780339A (en) * | 2015-04-16 | 2015-07-15 | 美国掌赢信息科技有限公司 | Method and electronic equipment for loading expression effect animation in instant video |
CN106204426A (en) * | 2016-06-30 | 2016-12-07 | 广州华多网络科技有限公司 | A kind of method of video image processing and device |
CN106385591A (en) * | 2016-10-17 | 2017-02-08 | 腾讯科技(上海)有限公司 | Video processing method and video processing device |
CN107027053A (en) * | 2017-05-08 | 2017-08-08 | 深圳Tcl数字技术有限公司 | Audio frequency playing method, terminal and computer-readable recording medium |
-
2018
- 2018-01-12 CN CN201810032473.8A patent/CN108307127A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8612185B2 (en) * | 2009-10-15 | 2013-12-17 | Electronics And Telecommunications Research Institute | Device, system and method for simulating and saving information of metadata regarding film production |
CN103795897A (en) * | 2014-01-21 | 2014-05-14 | 深圳市中兴移动通信有限公司 | Method and device for automatically generating background music |
CN104486558A (en) * | 2014-12-31 | 2015-04-01 | 厦门美图之家科技有限公司 | Video processing method and device for simulating shooting scene |
CN104780339A (en) * | 2015-04-16 | 2015-07-15 | 美国掌赢信息科技有限公司 | Method and electronic equipment for loading expression effect animation in instant video |
CN106204426A (en) * | 2016-06-30 | 2016-12-07 | 广州华多网络科技有限公司 | A kind of method of video image processing and device |
CN106385591A (en) * | 2016-10-17 | 2017-02-08 | 腾讯科技(上海)有限公司 | Video processing method and video processing device |
CN107027053A (en) * | 2017-05-08 | 2017-08-08 | 深圳Tcl数字技术有限公司 | Audio frequency playing method, terminal and computer-readable recording medium |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109495695A (en) * | 2018-11-29 | 2019-03-19 | 北京字节跳动网络技术有限公司 | Moving object special video effect adding method, device, terminal device and storage medium |
CN109710255A (en) * | 2018-12-24 | 2019-05-03 | 网易(杭州)网络有限公司 | Effect processing method, special effect processing device, electronic equipment and storage medium |
CN109710255B (en) * | 2018-12-24 | 2022-07-12 | 网易(杭州)网络有限公司 | Special effect processing method, special effect processing device, electronic device and storage medium |
CN111507143A (en) * | 2019-01-31 | 2020-08-07 | 北京字节跳动网络技术有限公司 | Expression image effect generation method and device and electronic equipment |
CN111507143B (en) * | 2019-01-31 | 2023-06-02 | 北京字节跳动网络技术有限公司 | Expression image effect generation method and device and electronic equipment |
CN112395530A (en) * | 2019-08-19 | 2021-02-23 | 北京字节跳动网络技术有限公司 | Data content output method and device, electronic equipment and computer readable medium |
CN112533058A (en) * | 2019-09-17 | 2021-03-19 | 西安中兴新软件有限责任公司 | Video processing method, device, equipment and computer readable storage medium |
WO2022017006A1 (en) * | 2020-07-22 | 2022-01-27 | Oppo广东移动通信有限公司 | Video processing method and apparatus, and terminal device and computer-readable storage medium |
CN112804578A (en) * | 2021-01-28 | 2021-05-14 | 广州虎牙科技有限公司 | Atmosphere special effect generation method and device, electronic equipment and storage medium |
CN115350477A (en) * | 2022-08-15 | 2022-11-18 | 北京字跳网络技术有限公司 | Game sound effect playing method and device, storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108307127A (en) | Method for processing video frequency and computer storage media, terminal | |
CN108234825A (en) | Method for processing video frequency and computer storage media, terminal | |
Hjorth et al. | Gaming in social, locative and mobile media | |
US10091454B2 (en) | Recording events in a virtual world | |
CN110119815A (en) | Model training method, device, storage medium and equipment | |
CN108377334A (en) | Short-sighted frequency image pickup method, device and electric terminal | |
JP2019521449A (en) | Persistent Companion Device Configuration and Deployment Platform | |
CN108245891B (en) | Head-mounted equipment, game interaction platform and table game realization system and method | |
CN108282612A (en) | Method for processing video frequency and computer storage media, terminal | |
Vernallis | The Oxford handbook of sound and image in digital media | |
EP2291816A2 (en) | User avatar available across computing applications and devices | |
Bozdog et al. | Worlds at our fingertips: reading (in) what remains of edith finch | |
CN110732136B (en) | Method, device, terminal and storage medium for previewing in-office behavior in out-office environment | |
CN113596560B (en) | Resource processing method, device, terminal and storage medium | |
JP2020162882A (en) | Server system and play data community system | |
CN107948702A (en) | Synchronous method, device, terminal and the storage medium of Application Status | |
CN107469349A (en) | The control method and device of a kind of game application | |
US11845012B2 (en) | Selection of video widgets based on computer simulation metadata | |
US20210402297A1 (en) | Modifying computer simulation video template based on feedback | |
WO2022006124A1 (en) | Generating video clip of computer simulation from multiple views | |
CN107551546A (en) | The generation method and device of a kind of game video | |
KR102254865B1 (en) | A card set for story generation and the method of the same | |
US20210397334A1 (en) | Data management and performance tracking system for walkable or interactive virtual reality | |
US11554324B2 (en) | Selection of video template based on computer simulation metadata | |
WO2018183812A1 (en) | Persistent companion device configuration and deployment platform |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180720 |