CN108234825A - Method for processing video frequency and computer storage media, terminal - Google Patents

Method for processing video frequency and computer storage media, terminal Download PDF

Info

Publication number
CN108234825A
CN108234825A CN201810032474.2A CN201810032474A CN108234825A CN 108234825 A CN108234825 A CN 108234825A CN 201810032474 A CN201810032474 A CN 201810032474A CN 108234825 A CN108234825 A CN 108234825A
Authority
CN
China
Prior art keywords
background
image
video
special
pending
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810032474.2A
Other languages
Chinese (zh)
Inventor
危文
周宇涛
徐倩茵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Baiguoyuan Information Technology Co Ltd
Original Assignee
Guangzhou Baiguoyuan Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Baiguoyuan Information Technology Co Ltd filed Critical Guangzhou Baiguoyuan Information Technology Co Ltd
Priority to CN201810032474.2A priority Critical patent/CN108234825A/en
Publication of CN108234825A publication Critical patent/CN108234825A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/2224Studio circuitry; Studio devices; Studio equipment related to virtual studio applications
    • H04N5/2226Determination of depth image, e.g. for foreground/background separation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio 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;According to the characteristics of described image, preset background is obtained;Described image is superimposed upon the top of the background, generation includes the video of the background.The present invention from video by identifying pending image, background in video is detached with main body picture, then the background in the new former video of background replacement is obtained according to the characteristics of image, video of the generation with new background, allow the video effect 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

Method for processing video frequency and computer storage media, terminal
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 and platform based on internet 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 on platform with other people, the video of different user publication is illustrated using upper concentration, other users can be clear by application It lookes at, watch video work, in order to make more interesting video, it is different that application can provide simple video filter making to the user 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 more than technical problem, the particularly 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;
According to the characteristics of described image, preset background is obtained;
Described image is superimposed upon the top of the background, generation includes the video of the background.
Specifically, described obtain pending video;Pending image is identified from the video, including:
Obtain the video of pending solid background;With the solid background as reference, 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;With the static background as reference, it is identified from the video The image occurred on static background, using the image as pending image.
Optionally, it is described according to the characteristics of described image, preset background is obtained, including:
The characteristics of identifying image from terminal applies context vault, obtains the matched default background of the feature;Or
The characteristics of identifying image from application server, obtains the default of the current hot topic of the corresponding application of the feature Background.
Further, the background is dynamic image background;The top for described image being superimposed upon the background, Generation includes the video of the background, including:
In a manner that frame-layer is folded, each frame of described image is sequentially overlaid on the top of dynamic image background, is generated Include the video of the dynamic image background.
Further, the background includes the special-effect information for acting on described image;It is described that described image is superimposed upon institute The top of background is stated, generation includes the video of the background, including:
Described image is handled according to the special-effect information, treated image superposition in the top of the background, generation The video of background comprising special-effect information.
Further, the special-effect information includes the correspondence of image play position and special efficacy;It is described according to the spy Information processing described image is imitated, 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.
Further, the special-effect information includes described image transform size is changed direction and the processing of mobile route Information;It is described that described image is handled according to the special-effect information, including:
The figure is moved according to the size of the processing information transformation described image, direction and according to the mobile route Picture.
Preferably, before the video of the generation comprising the background, further include:
The corresponding prospect of the background is obtained, prospect is superimposed upon the top of described image.
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 perform, 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 it has the advantages that:
The present invention is divided the background in video and main body picture by identifying pending image from video From, the background in the new former video of background replacement is then obtained according to the characteristics of image, regeneration has the video of new background, Allow the video effect produced it is more various, it is lively, dazzle it is cruel, and without the use of the Video editing software of profession, simply and rapidly Produce the video of more visual effect.
In addition, the characteristics of present invention is by identifying pending image, then also includes processing in the background of acquisition The special-effect information of described image handles described image, to personage when especially image is figure action according to the special-effect information Act the special effect processing of addition so that image has corresponding special efficacy, to enhance the theme of video, improves the interest of video.
Furthermore the processing such as the present invention can also carry out size conversion to the image that identifies, direction rotates, moves, specific The image that period occurs carries out special effect processing, reduces the resource carried out to video All Time section spent by special effect processing, carries The combined coefficient of high 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 It obtains significantly or is recognized by the practice of the present invention.
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 Significantly 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 embodiment
The embodiment of the present invention is described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end Same or similar label represents same or similar element or the element with same or like function.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 " refers 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 are (including technology art Language and scientific terminology), there is the 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 be 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 is not in itself 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 user is instructed to record background frame first, then instruct to use after background frame determines Main body picture is recorded at family, and user selects to make special effect processing to video after the completion of video record, 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;With the solid background as reference, 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 With the solid background as reference, from the video that recorded main body picture under solid background, subtract what is recorded during beginning The ingredient of solid background, so as to identify the main body picture in video namely identify 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;With the static background as reference, it is identified from the video in static state 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 during beginning Identical component, so as to identify the main body picture in video namely identify 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:According to the characteristics of described image, preset background is obtained.
After pending image is identified, pending image is the main body picture in video, the present embodiment according to The characteristics of main body picture, obtains corresponding preset background, the characteristics of using pending image is identified first, i.e. main body picture What is, what is doing, then can be combined as choosing one of factor of background more naturally with image with background and obtain phase Answer preset background, for example, identify image the characteristics of be " personage's dancing ", obtain preset background as " stage ";Identification The characteristics of image gone out is " animal is run ", obtains preset background as " grassland ".For subsequent image and the more preferable knot of background It closes, the present embodiment controls size, the distance of background according to the size of image, such as according to the big of the scaled stage of personage It is small, so as to make basis for follow-up " personage's dancing " and the synthesis of " stage ";Likewise, according to the remote of the scaled grassland of animal Closely, so as to make basis for follow-up " animal is run " and the synthesis on " grassland ".
S400:Described image is superimposed upon the top of the background, generation includes the video of the background.
After preset background is determined, described image is added to above the background and is synthesized, the background As bottom, described image is superimposed upon the upper strata of the background, and synthesis includes the video frame of the background and described image, then Generation includes the video of the background.
The present embodiment is divided the background in video and main body picture by identifying pending image from video From, the background in the new former video of background replacement is then obtained according to the characteristics of image, regeneration has the video of new background, Allow the video effect produced it is more various, it is lively, dazzle it is cruel, and without the use of the Video editing software of profession, simply and rapidly Produce the video of more visual effect.
Further, it is described according to the characteristics of described image in the embodiment of the present invention, obtain one kind of preset background It is achieved in that the characteristics of identifying image, from terminal applies context vault, obtains the matched default background of the feature;Work as knowledge After not going out the main body picture in video, the background material to match is chosen from the context vault of this terminal applies as the preset back of the body Scape can rapidly obtain the background from local context vault, so as to which quickly generation includes the video of the background.
It is described according to the characteristics of described image, the another kind for obtaining preset background is achieved in that the spy for identifying image Point from application server, obtains the current popular default background of the corresponding application of the feature;When identifying the master in video After body picture, the current popular default background of application is obtained from application server, most users can be met and want to record The demand of identical theme video, such as " celebrating New Year " relevant background of having reached the standard grade in application server, close on most during New Year Number user wants to pay a New Year call by recorded video, and when using being " personage makes a slight bow " the characteristics of identifying described image, matching should It is " celebrating New Year " poster with the background of current hot topic, so as to have paying a New Year call for New Year poster background to regard for user's Fast back-projection algorithm Frequently.
Further, a kind of embodiment of the invention, the background are dynamic image background, when the background is dynamic Image background when, the top for described image being superimposed upon the background, generation includes the video of the background, including:
In a manner that frame-layer is folded, each frame of described image is sequentially overlaid on the top of dynamic image background, is generated Include the video of the dynamic image background.
In the present embodiment, the background is dynamic image background, and dynamic image background contains duration and frame number Information, when the top for the background that described image is added to, in a manner that picture is laminated, a frame one of described image Frame is sequentially overlaid on the top of the dynamic image background, when the duration of described image background is less than video length, replicates Multiple images background is with by all image superpositions to the top of dynamic image background.For example, the pending image packet Containing 180 frames, dynamic image background includes 24 frames, 24 frames and 24 frames before dynamic image background before pending image After being sequentially overlapped synthesis, the 25th frame of pending image is superimposed synthesis, pending with the 1st frame of dynamic image background again The 26th frame of image be superimposed synthesis with the 2nd frame of dynamic image background, until pending image all frames and institute The video for including image background is generated after stating dynamic image background synthesis.
Further, a kind of embodiment of the invention, as shown in Fig. 2, the background includes the spy for acting on described image Information is imitated, the special-effect information is combined with pending image action;Described image is acted on when the background also includes During special-effect information, the top for described image being superimposed upon the background, generation includes the video of the background, including:
S401:Described image is handled according to the special-effect information, treated image superposition in the top of the background, The video of background of the generation comprising special-effect information.
In the present embodiment, the background is pending when identifying also comprising the special-effect information for acting on pending image Image after, the special-effect information included also according to the background handles described image so that image has corresponding special efficacy, to increase The theme of strong video improves the interest of video.Such as the image identified includes the action of " personage makes a slight bow ", the background of acquisition For " New Year pays a New Year call " poster, while the special efficacy that the background includes is " personage holds Chinese knot ", at the special-effect information Image after reason is " personage holds Chinese knot and makes a slight bow ", and background is " New Year pays a New Year call " poster, then will be after frame frame processing The image superposition comprising special efficacy to the top of the background, and then generate the video of the background comprising special-effect information, such as raw New Year into " personage hold Chinese knot make a slight bow pay a New Year call " pays a New Year call video.
Further, in above-described embodiment, the special-effect information is also comprising image play position pass corresponding with special efficacy System;When the special-effect information contains the correspondence of image play position and special efficacy, it is described according to the special-effect information at Described image is managed, 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.
Since pending image not appears in all periods of entire video, when application identifies pending figure As after, described image is handled according to special-effect information, and the special-effect information also includes image play position and special efficacy Correspondence, when image occurs, the special efficacy is correspondingly added in described image, when picture drop-out, the special efficacy It correspondingly disappears or replaces, the more natural specific video of tool is synthesized with this.For example, in the video incipient stage, identification The pending image gone out be " personage speaks ", with the propulsion of time, the pending image identified be " personage makes a slight bow ", video The pending image that latter end identifies is " personage's standing ", and the background of " New Year pays a New Year call " poster is superimposed according to the characteristics of image, and When the special-effect information of " personage holds Chinese knot " that the background includes acts only on the position stage that image is " personage makes a slight bow ", Described image is handled according to the special-effect information " personage holds Chinese knot ", is generated with this with background and in particular image position When the video with special-effect information.
Further, a kind of embodiment of the invention, the special-effect information include the transform size of described image, transformation side To and mobile route processing information;It is described that described image is handled according to the special-effect information, including:
The figure is moved according to the size of the processing information transformation described image, direction and according to the mobile route Picture.
In the present embodiment, matched special efficacy can also carry out size conversion, direction to the pending image identified The processing such as rotation, mobile, i.e., the processing letter of the transform size comprising described image, change direction and mobile route in special-effect information Breath, when handling described image according to special-effect information, according to the processing size of information change described image, direction and according to The mobile route moves described image.Such as the image identified is " personage ", the background of acquisition is " spacious field ", The special efficacy matched is " Body Snatchers ", special efficacy " Body Snatchers " comprising " flying saucer flies here->Flying saucer transmitting light beam->Flying saucer is withdrawn Light beam->Flying saucer flies away " process, ">Flying saucer transmitting light beam->The image that will identify that in a period of flying saucer withdrawal light beam " " personage " inspiration flying saucer, during this period the interior image " personage " that will identify that taper into, and be rotated clockwise, simultaneously It moves to flying saucer along scheduled path, is finally sucked into flying saucer.By carrying out size conversion, direction to pending image The processing such as rotation, mobile, so as to produce more lively, active video.
Preferably, a kind of embodiment of the invention before the generation includes the video of the background, further includes:
The corresponding prospect of the background is obtained, prospect is superimposed upon the top of described image.
In the present embodiment, background is independent bottom layer image, and prospect is equally independent top layer images, and background is equal with prospect It will not change due to the variation of pending image, pending image carries out during special effect processing background with prospect also not with covariant Change, it can also be dynamic picture that the background, which with prospect can be static images, before the video comprising the background is generated The corresponding prospect of the background is obtained, then prospect is superimposed upon the top of described image, and image superposition is in the top of background, And then the video of synthesis is avoided the image identified and the antipathetic visual problem of background replaced occur.Such as background is day Palace, pending image are personages, foreground image cloud are added on image again when by image superposition to background, are synthesized Video background and image combination more naturally, with better visual effect.
Further, a kind of embodiment of the invention, it is described to obtain the corresponding prospect of the background, prospect is superimposed upon institute The top of image is stated, including:
The variation of image is judged by the frame picture of image;
If the variation of the present frame picture of image is more than first threshold, corresponding first prospect of the background is obtained, the One prospect is superimposed upon the top of present image;
If the variation of the present frame picture of image is less than or equal to first threshold and is more than second threshold, obtain the background and correspond to The second prospect, the second prospect is superimposed upon the top of present image.
If the variation of the present frame picture of image is less than or equal to second threshold and is more than third threshold value, obtain the background and correspond to Third prospect, third prospect is superimposed upon the top of present image.
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 is included by equipment (for example, computer, mobile phone) with energy Any medium of 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 pending image is identified in video;According to the characteristics of described image, preset background is obtained;Described image is superimposed upon The top of the background, generation include the video of the background.It, will be in video by identifying pending image from video Background detached with main body picture, then obtaining new background according to the characteristics of image replaces background in former video, then Video of the generation with new background, allow the video effect 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.It is in addition, provided by the invention computer-readable Then the characteristics of storage medium can also be achieved by identifying pending image also includes in the background of acquisition described in processing The special-effect information of image handles described image, to figure action when especially image is figure action according to the special-effect information The special effect processing of addition so that image has corresponding special efficacy, to enhance the theme of video, improves the interest of video.In addition, Computer readable storage medium provided by the invention can also be achieved to the image identified carries out size conversion, direction rotates, moves It is dynamic to wait processing, special effect processing is carried out in the image that special time period occurs, reduces and special effect processing is carried out to video All Time section Spent resource improves the combined coefficient of video.
Computer readable storage medium provided in an embodiment of the present invention can realize the embodiment of above-mentioned method for processing video frequency, Concrete function realization refers to the explanation in embodiment of the method, and details are not described herein.
In addition, in another embodiment, the present invention also provides a kind of terminal, as shown in figure 3, the terminal can 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 connection more than each section. It will be understood by those skilled in the art that the restriction of the terminal structure shown in Fig. 3 not structure paired terminal, can be included 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 Electric signal is converted into, is transferred to loud speaker, also the voice signal that microphone is collected audio data can be converted to, issue processor 301 processing;It can set loud speaker, microphone, earphone interface etc..Sensor 306 can be used for sensing outer signals, and issue place Reason device 301 is handled;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 display panel is configured.Input equipment 304 can be used for the letters such as input 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 Wait components.Memory 302 can be used for storage 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 performing the software program being stored in memory 302 And/or module and calling are stored in the data of memory 302, perform 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 performs, 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;According to the characteristics of described image, preset background is obtained;Described image is superimposed upon the upper of the background Side, generation include the video of the background.By identifying pending image from video, by the background and main body in video Picture is detached, and the background in the new former video of background replacement is then obtained according to the characteristics of image, regeneration has new The video of background, allow the video effect produced it is more various, it is lively, dazzle it is cruel, and without the use of the Video editing software of profession, Simply and rapidly produce the video of more visual effect.It waits to locate by identifying in addition, terminal provided by the invention can also be achieved Then the characteristics of image of reason, also includes the special-effect information of processing described image, according to the special efficacy in the background of acquisition Information processing described image, to the special effect processing of figure action addition when especially image is figure action so that image has Corresponding special efficacy to enhance the theme of video, improves the interest of video.In addition, terminal provided by the invention can also be achieved pair The processing such as the image identified carries out size conversion, direction rotates, moves, the image occurred in special time period are carried out at special efficacy Reason reduces the resource carried out to video All Time section spent by special effect processing, improves the combined coefficient of video.
Terminal provided in an embodiment of the present invention can realize the embodiment of the method for processing video frequency of above-mentioned offer, concrete function 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 also should 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;
According to the characteristics of described image, preset background is obtained;
Described image is superimposed upon the top of the background, generation includes the video of the background.
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;With the solid background as reference, it is identified from the video pure The image occurred in color background, using the image as pending image;Or
Obtain the video of pending static background;With the static background as reference, it is identified from the video quiet 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, described according to the characteristics of described image, the preset back of the body is obtained Scape, including:
The characteristics of identifying image from terminal applies context vault, obtains the matched default background of the feature;Or
The characteristics of identifying image from application server, obtains the current popular default background of the corresponding application of the feature.
4. according to the method described in claim 1, it is characterized in that, the background is dynamic image background;Described in the handle Image superposition includes the video of the background in the top of the background, generation, including:
In a manner that frame-layer is folded, each frame of described image is sequentially overlaid on the top of dynamic image background, generation includes The video of the dynamic image background.
5. according to the method described in claim 1, it is characterized in that, the background includes the special efficacy letter for acting on described image Breath;The top for described image being superimposed upon the background, generation include the video of the background, including:
Described image is handled according to the special-effect information, treated image superposition in the top of the background, generation includes The video of the background of special-effect information.
6. according to the method described in claim 5, it is characterized in that, the special-effect information includes image play position and special efficacy Correspondence;It is described that described image is handled according to the special-effect information, 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.
7. according to the method described in claim 5, it is characterized in that, the special-effect information include described image transform size, It changes direction and the processing information of mobile route;It is described that described image is handled according to the special-effect information, including:
Described image is moved according to the size of the processing information transformation described image, direction and according to the mobile route.
8. according to the method described in claim 1, it is characterized in that, before the video of the generation comprising the background, also wrap It includes:
The corresponding prospect of the background is obtained, prospect is superimposed upon the top of described image.
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 performed 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.
CN201810032474.2A 2018-01-12 2018-01-12 Method for processing video frequency and computer storage media, terminal Pending CN108234825A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810032474.2A CN108234825A (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
CN201810032474.2A CN108234825A (en) 2018-01-12 2018-01-12 Method for processing video frequency and computer storage media, terminal

Publications (1)

Publication Number Publication Date
CN108234825A true CN108234825A (en) 2018-06-29

Family

ID=62641157

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810032474.2A Pending CN108234825A (en) 2018-01-12 2018-01-12 Method for processing video frequency and computer storage media, terminal

Country Status (1)

Country Link
CN (1) CN108234825A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109618218A (en) * 2019-01-31 2019-04-12 维沃移动通信有限公司 A kind of method for processing video frequency and mobile terminal
CN109872297A (en) * 2019-03-15 2019-06-11 北京市商汤科技开发有限公司 Image processing method and device, electronic equipment and storage medium
CN110070585A (en) * 2019-01-31 2019-07-30 北京字节跳动网络技术有限公司 Image generating method, device and computer readable storage medium
CN110213485A (en) * 2019-06-04 2019-09-06 维沃移动通信有限公司 A kind of image processing method and terminal
CN110309721A (en) * 2019-05-31 2019-10-08 百度在线网络技术(北京)有限公司 Method for processing video frequency, terminal and storage medium
CN110896498A (en) * 2019-10-03 2020-03-20 刘纪君 Computer airport scene special effect system
CN111246196A (en) * 2020-01-19 2020-06-05 北京字节跳动网络技术有限公司 Video processing method and device, electronic equipment and computer readable storage medium
CN111491123A (en) * 2020-04-17 2020-08-04 维沃移动通信有限公司 Video background processing method and device and electronic equipment
CN111491205A (en) * 2020-04-17 2020-08-04 维沃移动通信有限公司 Video processing method and device and electronic equipment
CN111491179A (en) * 2020-04-16 2020-08-04 腾讯科技(深圳)有限公司 Game video editing method and device
CN111741348A (en) * 2019-05-27 2020-10-02 北京京东尚科信息技术有限公司 Method, system, equipment and storage medium for controlling webpage video playing
CN112689196A (en) * 2021-03-09 2021-04-20 北京世纪好未来教育科技有限公司 Interactive video playing method, player, equipment and storage medium
CN113645476A (en) * 2021-08-06 2021-11-12 广州博冠信息科技有限公司 Picture processing method and device, electronic equipment and storage medium
CN113645483A (en) * 2021-08-20 2021-11-12 珠海九松科技有限公司 Cross-platform automatic video editing method
WO2023226814A1 (en) * 2022-05-23 2023-11-30 北京字跳网络技术有限公司 Video processing method and apparatus, electronic device, and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130222681A1 (en) * 2012-02-28 2013-08-29 Aptina Imaging Corporation Method and apparatus for image background removal and replacement
CN104780339A (en) * 2015-04-16 2015-07-15 美国掌赢信息科技有限公司 Method and electronic equipment for loading expression effect animation in instant video
CN105472271A (en) * 2014-09-10 2016-04-06 易珉 Video interaction method, device and system
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
CN106792078A (en) * 2016-07-12 2017-05-31 乐视控股(北京)有限公司 Method for processing video frequency and device
CN107529096A (en) * 2017-09-11 2017-12-29 广东欧珀移动通信有限公司 Image processing method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130222681A1 (en) * 2012-02-28 2013-08-29 Aptina Imaging Corporation Method and apparatus for image background removal and replacement
CN105472271A (en) * 2014-09-10 2016-04-06 易珉 Video interaction method, device and system
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
CN106792078A (en) * 2016-07-12 2017-05-31 乐视控股(北京)有限公司 Method for processing video frequency and device
CN106385591A (en) * 2016-10-17 2017-02-08 腾讯科技(上海)有限公司 Video processing method and video processing device
CN107529096A (en) * 2017-09-11 2017-12-29 广东欧珀移动通信有限公司 Image processing method and device

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110070585A (en) * 2019-01-31 2019-07-30 北京字节跳动网络技术有限公司 Image generating method, device and computer readable storage medium
CN109618218A (en) * 2019-01-31 2019-04-12 维沃移动通信有限公司 A kind of method for processing video frequency and mobile terminal
CN109618218B (en) * 2019-01-31 2021-05-28 维沃移动通信有限公司 Video processing method and mobile terminal
CN109872297A (en) * 2019-03-15 2019-06-11 北京市商汤科技开发有限公司 Image processing method and device, electronic equipment and storage medium
CN111741348A (en) * 2019-05-27 2020-10-02 北京京东尚科信息技术有限公司 Method, system, equipment and storage medium for controlling webpage video playing
CN111741348B (en) * 2019-05-27 2022-09-06 北京京东尚科信息技术有限公司 Method, system, equipment and storage medium for controlling webpage video playing
CN110309721A (en) * 2019-05-31 2019-10-08 百度在线网络技术(北京)有限公司 Method for processing video frequency, terminal and storage medium
CN110309721B (en) * 2019-05-31 2021-06-29 百度在线网络技术(北京)有限公司 Video processing method, terminal and storage medium
CN110213485A (en) * 2019-06-04 2019-09-06 维沃移动通信有限公司 A kind of image processing method and terminal
CN110896498A (en) * 2019-10-03 2020-03-20 刘纪君 Computer airport scene special effect system
CN111246196A (en) * 2020-01-19 2020-06-05 北京字节跳动网络技术有限公司 Video processing method and device, electronic equipment and computer readable storage medium
CN111491179A (en) * 2020-04-16 2020-08-04 腾讯科技(深圳)有限公司 Game video editing method and device
CN111491205A (en) * 2020-04-17 2020-08-04 维沃移动通信有限公司 Video processing method and device and electronic equipment
CN111491123A (en) * 2020-04-17 2020-08-04 维沃移动通信有限公司 Video background processing method and device and electronic equipment
CN112689196A (en) * 2021-03-09 2021-04-20 北京世纪好未来教育科技有限公司 Interactive video playing method, player, equipment and storage medium
CN112689196B (en) * 2021-03-09 2021-06-11 北京世纪好未来教育科技有限公司 Interactive video playing method, player, equipment and storage medium
CN113645476A (en) * 2021-08-06 2021-11-12 广州博冠信息科技有限公司 Picture processing method and device, electronic equipment and storage medium
CN113645476B (en) * 2021-08-06 2023-10-03 广州博冠信息科技有限公司 Picture processing method and device, electronic equipment and storage medium
CN113645483A (en) * 2021-08-20 2021-11-12 珠海九松科技有限公司 Cross-platform automatic video editing method
WO2023226814A1 (en) * 2022-05-23 2023-11-30 北京字跳网络技术有限公司 Video processing method and apparatus, electronic device, and storage medium

Similar Documents

Publication Publication Date Title
CN108234825A (en) Method for processing video frequency and computer storage media, terminal
CN108307127A (en) Method for processing video frequency and computer storage media, terminal
US20220300251A1 (en) Meme creation method and apparatus
CN108449640A (en) Live video output control method, device and storage medium, terminal
CN108282612A (en) Method for processing video frequency and computer storage media, terminal
CN103918284B (en) voice control device, voice control method and program
CN108377334A (en) Short-sighted frequency image pickup method, device and electric terminal
CN110136705A (en) A kind of method and electronic equipment of human-computer interaction
US20230089566A1 (en) Video generation method and related apparatus
CN110138959A (en) Show the method and electronic equipment of the prompt of human-computer interaction instruction
CN109413342A (en) Audio/video processing method, device, terminal and storage medium
CN110187889A (en) A kind of application starting method, apparatus and storage medium
CN111866404A (en) Video editing method and electronic equipment
CN103997687B (en) For increasing the method and device of interaction feature to video
CN110209446A (en) The configuration method and device of slot position are combined in a kind of interactive system
CN109640125A (en) Video content processing method, device, server and storage medium
CN104133956A (en) Method and device for processing pictures
CN112181573A (en) Media resource display method, device, terminal, server and storage medium
CN105635452A (en) Mobile terminal and contact person identification method thereof
CN103186908A (en) Terminal, server and interactive type processing method based on caricature
JP2022531372A (en) How to preview behavior during a match in an out-of-competition environment, devices, terminals, and computer programs
CN108965977A (en) Methods of exhibiting, device, storage medium, terminal and the system of present is broadcast live
JP2021520163A (en) Shooting method and terminal device
CN105680956B (en) Electronic equipment and control method
CN111158924A (en) Content sharing method and device, electronic equipment and readable storage medium

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

Application publication date: 20180629

RJ01 Rejection of invention patent application after publication