CN106373170A - Video making method and video making device - Google Patents

Video making method and video making device Download PDF

Info

Publication number
CN106373170A
CN106373170A CN201610791812.1A CN201610791812A CN106373170A CN 106373170 A CN106373170 A CN 106373170A CN 201610791812 A CN201610791812 A CN 201610791812A CN 106373170 A CN106373170 A CN 106373170A
Authority
CN
China
Prior art keywords
paster
video
target
masterplate
dynamic
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
CN201610791812.1A
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.)
BEIJING YUNTU WEIDONG TECHNOLOGY CO LTD
Original Assignee
BEIJING YUNTU WEIDONG 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 BEIJING YUNTU WEIDONG TECHNOLOGY CO LTD filed Critical BEIJING YUNTU WEIDONG TECHNOLOGY CO LTD
Priority to CN201610791812.1A priority Critical patent/CN106373170A/en
Publication of CN106373170A publication Critical patent/CN106373170A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • G06T13/203D [Three Dimensional] animation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention provides a video making method. According to the method, when a user needs to add a dynamic paster on a first video, a target dynamic paster template selected by the user is acquired by a mobile terminal, and a target picture taken as a dynamic paster material is selected by the user from a local album; the display position and playing duration of the dynamic paster set by the user on the first video are acquired; later, the target paster and the first video are synthesized into a target video according to set parameters of the target paster and motion parameters of the target dynamic paster template, adding the dynamic paster on the existing video is realized, and dynamic effect demands of the user for the paster are satisfied; the picture material of the dynamic paster can be selected from pictures shot by the user herself/himself, and customization demands of the user for the paster are satisfied.

Description

A kind of video creating method and device
Technical field
The invention belongs to field of computer technology, more particularly, to a kind of video creating method and device.
Background technology
At present, paster is a kind of specially good effect being prevalent in video processing class software, adds on existing video surface Some little pasters, both can show the individual character of author, also make video more lively simultaneously.
But, paster of the prior art is typically all static paster, i.e. keep in certain position at video playback interface Motionless it is impossible to meet user animation effect require;And, paster must be using the pre-designed icon of system it is impossible to expire The individual demand of sufficient user.
Content of the invention
In view of this, it is an object of the invention to provide a kind of video creating method and device, to realize adding in video Dynamic pinup picture, meets the requirement to paster dynamic effect for the user, and, user can select the picture oneself shooting as patch Paper factor material uses, and meets the individual demand of user.
In a first aspect, the present invention provides a kind of video creating method, it is applied in mobile terminal, comprising:
Obtain the target dynamic paster masterplate that user selects;
Obtain the Target Photo that user selects from the photograph album of described mobile terminal;
Described Target Photo is encapsulated as by target paster according to described target dynamic paster masterplate;
Described target paster is loaded into the video editing interface of the first video, and obtains the setting ginseng of described target paster Number, described first video such as is at the existing video of dynamic paster to be added, and described setup parameter includes described target paster in institute State the display location on the first video and playing duration;
According to the kinematic parameter in described setup parameter and target dynamic paster masterplate, by described target paster and described One Video Composition target video, described kinematic parameter includes position vector and the deformation vector of the every every minute and second of described target paster.
Alternatively, described described Target Photo is encapsulated as by target paster according to described target dynamic paster masterplate, comprising:
Cutting is carried out to described Target Photo, obtains the picture after cutting;
Obtain the shade masterplate in described target dynamic paster masterplate and dazzle cruel effect masterplate;
It is the picture interpolation shade after described cutting according to described shade masterplate, and, dazzle cruel effect masterplate according to described Add for the picture after described cutting and dazzle cruel effect, be packaged into target paster.
Alternatively, if described setup parameter includes display location on described first video for the described target paster, obtain Take the setup parameter of described target paster, comprising:
When the facial image on the picture detecting described first video, determine that the position of described facial image is described mesh Display location on described first video for the label paster.
Alternatively, according to the kinematic parameter in described setup parameter and target dynamic paster masterplate, by described target paster With described first Video Composition target video, comprising:
According to described target dynamic paster masterplate, obtain position in each frame of described first video for the described target paster Put vector deformation vector;
According to described target paster in the first video the corresponding position vector of each frame and deformation vector, and described mesh Label paster, generates a frame animation;
A described frame animation is merged into the new video of a frame with corresponding frame in described first video, and return execution according to The corresponding position vector of each frame of described first video and deformation vector, and described target paster, generate a frame animation Step, until all having synthesized described first video, obtains described target video.
Alternatively, if also including paster audio in described target dynamic paster masterplate, described according to described setup parameter And the kinematic parameter in target dynamic paster masterplate, by described target paster and existing first Video Composition target video, also Including:
Obtain the paster audio in described target dynamic paster masterplate;
Insert after the track of described first video and the superposition of described paster audio in described target video.
Alternatively, the described target dynamic paster masterplate obtaining user's selection, comprising:
When video production user is detected operates, obtain dynamic paster masterplate list from server, and show institute State dynamic paster masterplate list;
Obtain the title of the target dynamic paster masterplate that described user selects from described dynamic paster masterplate list;
When determining that described mobile terminal does not locally have described target dynamic paster masterplate, download described from server Target dynamic paster masterplate, and it is local to be stored in described mobile terminal.
Alternatively, the quantity of described target paster is multiple.
Second aspect, the present invention provides a kind of video creating device, is applied in mobile terminal, comprising:
First acquisition module, for obtaining the target dynamic paster masterplate of user's selection;
Second acquisition module, for obtaining the Target Photo that user selects from the photograph album of described mobile terminal;
Package module, for being encapsulated as target paster according to described target dynamic paster masterplate by described Target Photo;
3rd acquisition module, for described target paster is loaded into the video editing interface of the first video, and obtains institute State the setup parameter of target paster, the existing video of the dynamic paster to be added such as described first video is, described setup parameter bag Include display location on described first video for the described target paster and playing duration;
Synthesis module, for according to the kinematic parameter in described setup parameter and target dynamic paster masterplate, by described mesh Label paster and described first Video Composition target video, described kinematic parameter includes the position vector of the every every minute and second of described target paster And deformation vector.
Alternatively, described package module, comprising:
Cutting submodule, for carrying out cutting to described Target Photo, obtains the picture after cutting;
First acquisition submodule, for obtaining the shade masterplate in described target dynamic paster masterplate and dazzling cruel effect mould Version;
Encapsulation submodule, for being that picture after described cutting adds shade according to described shade masterplate, and, according to institute State that to dazzle cruel effect masterplate be that picture after described cutting adds and dazzles cruel effect, be packaged into target paster.
Alternatively, if described setup parameter includes display location on described first video for the described target paster, institute State the 3rd acquisition module specifically for:
When the facial image on the picture detecting described first video, determine that the position of described facial image is described mesh Display location on described first video for the label paster.
Alternatively, described synthesis module includes:
Kinematic parameter acquisition submodule, for according to described target dynamic paster masterplate, obtaining described target paster in institute State the position vector in each frame of the first video and deformation vector;
Generate submodule, for the corresponding position vector of each frame and the deformation in the first video according to described target paster Vector, and described target paster, generate a frame animation;
Merge submodule, for a described frame animation is merged into new the regarding of a frame with corresponding frame in described first video And return and make shown to generate submodule execution according to the corresponding position vector of each frame of described first video and deformation arrow frequently, Amount, and described target paster, generate a frame animation, until all having synthesized described first video, obtain described target video.
Alternatively, if also including paster audio, described synthesis module in described target dynamic paster masterplate, also include:
Second acquisition submodule, for obtaining the paster audio in described target dynamic paster masterplate;
Audio synthesizes submodule, for inserting described mesh by after the track of described first video and the superposition of described paster audio In mark video.
Alternatively, described first acquisition module, comprising:
3rd acquisition submodule, during for operating when video production user is detected, obtains dynamic patch from server Paper matrix version list, and show described dynamic paster masterplate list;
4th acquisition submodule, for obtaining the target dynamic that described user selects from described dynamic paster masterplate list The title of paster masterplate;
Download submodule, for when determine described mobile terminal locally there is not described target dynamic paster masterplate when, from Download described target dynamic paster masterplate in server, and it is local to be stored in described mobile terminal.
Alternatively, the quantity of described target paster is multiple.
The video creating method that the present invention provides, when user needs to add dynamic paster, mobile terminal on the first video Obtain the target dynamic paster masterplate that user selects, user can choose the target as dynamic paster material from local photograph album Picture.Obtain display location on the first video for the dynamic paster and the playing duration that user sets.Afterwards, according to target paster Setup parameter and target dynamic paster masterplate in kinematic parameter, target paster and the first Video Composition are target video, Realize adding dynamic paster on existing video, meet the dynamic effect demand to paster for the user;And, the figure of dynamic paster Piece material can select from the picture that user oneself shoots, and meets user's demand personalized to paster.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description are the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis These accompanying drawings obtain other accompanying drawings.
Fig. 1 is a kind of flow chart of video creating method of the embodiment of the present invention;
Fig. 2 is the flow chart of embodiment of the present invention another kind video creating method;
Fig. 3 is a kind of embodiment of the present invention video creating device block diagram;
Fig. 4 is a kind of block diagram of package module of the embodiment of the present invention;
Fig. 5 is a kind of block diagram of synthesis module of the embodiment of the present invention;
Fig. 6 is a kind of block diagram of the first acquisition module of the embodiment of the present invention.
Specific embodiment
Purpose, technical scheme and advantage for making the embodiment of the present invention are clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described it is clear that described embodiment is The a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment being obtained under the premise of not making creative work, broadly falls into the scope of protection of the invention.
Refer to Fig. 1, show a kind of schematic flow sheet of video creating method of the embodiment of the present invention, the method is applied to In mobile terminal (for example, smart mobile phone, panel computer etc.);As shown in figure 1, the method may comprise steps of:
S110, obtains the target dynamic paster masterplate that user selects.
Using the method, need to create dynamic paster masterplate in advance and store in the server, when user is first using certain During individual dynamic paster masterplate, need to download this masterplate from server, and apply mechanically the parameter having set in this masterplate.Mobile Terminal can preserve the dynamic paster masterplate downloaded, and reuse later and can directly locally obtain from mobile terminal during this masterplate Take.
When adding dynamic paster on user on mobile terminals existing video, mobile terminal can be shown dynamic to user Paster masterplate list, user can select the dynamic paster masterplate needing from this list.
S120, the self-defined picture obtaining user's selection is as Target Photo.
In the present embodiment, user can select self-defined picture as the picture materials of dynamic paster, for example, it is possible to from shifting Picture is selected as picture materials in the photograph album of dynamic terminal local.
Described Target Photo is encapsulated as target paster according to target dynamic paster masterplate by s130.
Using the parameter in target dynamic paster masterplate, the Target Photo that user is selected is encapsulated as target paster, for example, According to the shade in masterplate with dazzle cruel effect and encapsulate target paster.
Wherein, shade is used to a kind of means making some picture region not show;Dazzling cruel effect is to be added in target The figure layer of on picture one layer increase image display effect, for example, one layer of multicolored bubble figure layer is increased on Target Photo so that Picture seems in multicolored bubble.
S140, target paster is loaded into the video editing interface of the first video, and obtains the setup parameter of target paster.
Wherein, the first video such as is at the existing video of dynamic paster to be added.
After encapsulation obtains target paster, this target paster is loaded on the video editing interface of existing first video, And obtaining target paster setup parameter, setup parameter includes display location on the first video for the target paster, and when playing Long.
For display location, in some embodiments of the invention, when the picture of the first video includes facial image, Then with automatic detection facial image, and the display location of the position of facial image as target paster can be set.Another in the present invention The display location of target paster, in some embodiments, can be specified by user on video pictures.
Playing duration can be set by the user.
S150, according to the kinematic parameter in described setup parameter and target dynamic paster masterplate, by target paster and first Video Composition target video;Described kinematic parameter includes position vector and the deformation vector of the every every minute and second of described target paster.
Kinematic parameter in the setup parameter being set using user and target dynamic paster masterplate, wherein, kinematic parameter bag Include the position vector of every every minute and second of target paster and the deformation vector of every every minute and second.
The position vector of every every minute and second is position in each frame of the first video for the target paster;The deformation vector of every every minute and second I.e. shape size in each frame of the first video for the target paster.
Then, target paster is obtained according to kinematic parameter and generate a frame animation, by this frame animation and the first video Corresponding frame is synthesized, and obtains new video, i.e. the new video after adding dynamic paster in the first video.
The video creating method that the present embodiment provides, when user needs to add dynamic paster on the first video, mobile Terminal obtains the target dynamic paster masterplate that user selects, and user can choose as dynamic paster material from local photograph album Target Photo.Obtain display location on the first video for the dynamic paster and the playing duration that user sets.Afterwards, according to user Kinematic parameter in the setup parameter setting and target dynamic paster masterplate, target paster and the first Video Composition are regarded for target Frequently, that is, realize adding dynamic paster on existing video, meet the dynamic effect demand to paster for the user;And, dynamic paster Picture materials can select from the picture that user oneself shoots, meet user's demand personalized to paster.
Refer to Fig. 2, the flow chart showing embodiment of the present invention another kind video creating method, the present embodiment is applied to In video production system, this video production system includes mobile terminal server;
As shown in Fig. 2 the method may comprise steps of:
S210, mobile terminal detects the operation of the dynamic paster of interpolation of user.
The method can be realized by the app (application, application program) being applied on mobile terminal, for example, base Video production app in intelligent mobile terminal.In this embodiment, the action of mobile terminal all can be realized by video production app.
S220, mobile terminal sends masterplate list request to server.
S230, server returns dynamic paster masterplate list to mobile terminal.
S240, mobile terminal shows dynamic paster masterplate list to user, and user is detected from dynamic paster template column The title of the target dynamic paster masterplate selecting in table.
S250, mobile terminal judges the local target dynamic paster masterplate that whether is stored with;If it is present execution s270; Otherwise, 260 are executed.
S260, mobile terminal downloads target dynamic paster masterplate from server, and it is local to store mobile terminal.
S270, the self-defined picture that mobile terminal receive user selects is as Target Photo.
S280, mobile terminal carries out cutting to Target Photo, the picture after being cut out.
S290, mobile terminal according to the shade in target dynamic paster masterplate and dazzles cruel effect, is that the picture after cutting adds Plus shade and dazzle cruel effect, it is packaged into target paster.
S2100, target paster is loaded into the video editing interface of the first video by mobile terminal, and obtains target paster Setup parameter.
Wherein, the first video is to wait for adding the video of dynamic paster, and setup parameter includes target paster on video Display location and playing duration.
S2110, mobile terminal, by the setup parameter of target paster, kinematic parameter and target paster material, passes to movement The cocos engine of terminal inner.
S2120, cocos engine obtains displacement vector in each frame of the first video for the target paster and deformation vector.
S2130, cocos engine is sweared in the corresponding position vector of each frame of the first video and variable according to target paster Amount, and target paster, generate a frame animation.
According to target paster in the first video the position vector of each frame and variable vector, and the element of target paster Material, generates a frame dynamic paster animation.
This frame animation is merged into the new video of a frame with the corresponding frame in the first video by s2140, cocos engine.
Repeat s2120 and s2130, until the first video has all merged, obtain final target video.
S2150, cocos engine obtains the paster audio in target dynamic paster masterplate.
S2160, cocos engine is by the track of the first video and paster audio insertion target video.
That is, the audio of paster audio and the first video merges, and obtains new audio, and new audio is inserted target video In.
S2170, target video is returned to user by mobile terminal.
The video creating method that the present embodiment provides, when user needs to add dynamic paster on the first video, mobile whole End obtains the target dynamic paster masterplate that user selects, and user can choose the mesh as dynamic paster material from local photograph album Mark on a map piece.Obtain display location on the first video for the dynamic paster and the playing duration that user sets.Picture when the first video When there is facial image on face, the position of the facial image detecting is defined as dynamic paster on the first video by mobile terminal Display location;Afterwards, the kinematic parameter in the setup parameter according to target paster and target dynamic paster masterplate, target is pasted Paper and the first Video Composition are target video, that is, realize adding dynamic paster on existing video, meet user and paster is moved State effect demand;And, if dynamic paster also includes paster audio, original audio of paster audio and the first video is merged The audio of Cheng Xin, and be inserted in target video.And, the picture materials of dynamic paster can be from the picture of user oneself shooting Middle selection, meets user's demand personalized to paster.
Corresponding to above-mentioned video creating method embodiment, present invention also offers video creating device embodiment.
Refer to Fig. 3, be a kind of embodiment of the present invention video creating device block diagram, this device is applied in mobile terminal, As shown in figure 3, this device includes: the first acquisition module 110, the second acquisition module 120, package module 130, the 3rd acquisition module 140 and synthesis module 150.
First acquisition module 110, for obtaining the target dynamic paster masterplate of user's selection.
Dynamic paster masterplate needs to be created and stored in advance in server, when user is first using certain dynamic paster mould During version, need to download this masterplate from server, and apply mechanically the parameter having set in this masterplate.Mobile terminal can preserve Dynamic paster masterplate through downloading, reuses later and can directly locally obtain from mobile terminal during this masterplate.
When adding dynamic paster on user on mobile terminals existing video, mobile terminal can be shown dynamic to user Paster masterplate list, user can select the dynamic paster masterplate needing from this list.
Second acquisition module 120, for obtaining the Target Photo that user selects from the photograph album of described mobile terminal.
In the present embodiment, user can select self-defined picture as the picture materials of dynamic paster, for example, it is possible to from shifting Picture is selected as picture materials in the photograph album of dynamic terminal local.
Package module 130, for being encapsulated as target paster according to described target dynamic paster masterplate by described Target Photo.
Using the parameter in target dynamic paster masterplate, the Target Photo that user is selected is encapsulated as target paster, for example, According to the shade in masterplate with dazzle cruel effect and encapsulate target paster.
3rd acquisition module 140, for described target paster is loaded into the video editing interface of the first video, and obtains The setup parameter of described target paster.
First video such as is at the existing video of dynamic paster to be added;Setup parameter includes described target paster described Display location on one video and playing duration.
After encapsulation obtains target paster, this target paster is loaded on the video editing interface of existing first video, And obtaining target paster setup parameter, setup parameter includes display location on the first video for the target paster, and when playing Long.
For display location, in some embodiments of the invention, when the picture of the first video includes facial image, Then with automatic detection facial image, and the display location of the position of facial image as target paster can be set.Another in the present invention The display location of target paster, in some embodiments, can be specified by user on video pictures.
Playing duration can be set by the user.
Synthesis module 150, for according to the kinematic parameter in setup parameter and target dynamic paster masterplate, by target paster With described first Video Composition target video.
Described kinematic parameter includes position vector and the deformation vector of the every every minute and second of described target paster.
Kinematic parameter in the setup parameter being set using user and target dynamic paster masterplate, wherein, kinematic parameter bag Include the position vector of every every minute and second of target paster and the deformation vector of every every minute and second.
The position vector of every every minute and second is position in each frame of the first video for the target paster;The deformation vector of every every minute and second I.e. shape size in each frame of the first video for the target paster.
Then, target paster is obtained according to kinematic parameter and generate a frame animation, by this frame animation and the first video Corresponding frame is synthesized, and obtains new video, i.e. the new video after adding dynamic paster in the first video.
The video creating device that the present embodiment provides, when user needs to add dynamic paster on the first video, mobile Terminal obtains the target dynamic paster masterplate that user selects, and user can choose as dynamic paster material from local photograph album Target Photo.Obtain display location on the first video for the dynamic paster and the playing duration that user sets.Afterwards, according to user Kinematic parameter in the setup parameter setting and target dynamic paster masterplate, target paster and the first Video Composition are regarded for target Frequently, that is, realize adding dynamic paster on existing video, meet the dynamic effect demand to paster for the user;And, dynamic paster Picture materials can select from the picture that user oneself shoots, meet user's demand personalized to paster.
Refer to Fig. 4, show a kind of block diagram of package module of the embodiment of the present invention, as shown in figure 4, this package module can To include: cutting submodule 131, the first acquisition submodule 132 and encapsulation submodule 133;
Cutting submodule 131, for carrying out cutting to described Target Photo, obtains the picture after cutting.
First acquisition submodule 132, for obtaining the shade masterplate in described target dynamic paster masterplate and dazzling cruel effect Masterplate.
Encapsulation submodule 133, for being that picture after described cutting adds shade according to described shade masterplate, and, root To dazzle cruel effect masterplate be that picture after described cutting adds and dazzles cruel effect according to described, is packaged into target paster.
The package module that the present embodiment provides, uses with dazzling cruel effect masterplate handle according to the shade masterplate in target dynamic masterplate The self-defined picture that family selects is packaged into paster.
Refer to Fig. 5, show a kind of block diagram of synthesis module of the embodiment of the present invention, as shown in figure 5, this synthesis module 150 include kinematic parameter acquisition submodule 151, generate submodule 152, merge submodule 153.
Kinematic parameter acquisition submodule 151, exists for according to described target dynamic paster masterplate, obtaining described target paster Position vector in each frame of described first video and deformation vector.
Generate submodule 152, for according to described target paster in the first video the corresponding position vector of each frame and Deformation vector, and described target paster, generate a frame animation.
Merge submodule 153, new for a described frame animation and corresponding frame in described first video are merged into a frame Video,
Then, returning makes generation submodule execute the corresponding position vector of each frame and deformation according to described first video Vector, and described target paster, the step generating a frame animation, until all having synthesized described first video, obtain described Target video.
Alternatively, if also including paster audio in described target dynamic paster masterplate, described synthesis module 150 also includes Second acquisition submodule 154 and audio synthesis submodule 155;
Second acquisition submodule 154, for obtaining the paster audio in described target dynamic paster masterplate.
Audio synthesizes submodule 155, for inserting institute by after the track of described first video and the superposition of described paster audio State in target video.
The synthesis module that the present embodiment provides, target paster is generated a frame animation according to kinematic parameter, this frame is moved Draw and be merged into new video, then, if paster also includes paster audio, by paster audio with the corresponding frame in the first video It is inserted in the new video after synthesis after being overlapped with original audio of the first video, realize there is the dynamic of audio effect Paster is added in original video.
Refer to Fig. 6, show a kind of block diagram of the first acquisition module of the embodiment of the present invention, this first acquisition module 110 Including: the 3rd acquisition submodule 111, the 4th acquisition submodule 112 and download submodule 113.
3rd acquisition submodule 111, during for operating when video production user is detected, obtains dynamic from server Paster masterplate list, and show described dynamic paster masterplate list.
4th acquisition submodule 112, for obtaining the target that described user selects from described dynamic paster masterplate list The title of dynamic paster masterplate.
Download submodule 113, for when determine described mobile terminal locally there is not described target dynamic paster masterplate when, Download described target dynamic paster masterplate from server, and it is local to be stored in described mobile terminal.
It should be noted that each embodiment in this specification is all described by the way of going forward one by one, each embodiment weight Point explanation is all difference with other embodiment, between each embodiment identical similar partly mutually referring to. For device class embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, related part ginseng See that the part of embodiment of the method illustrates.
Last in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by One entity or operation are made a distinction with another entity or operation, and not necessarily require or imply these entities or operation Between there is any this actual relation or order.And, term " inclusion ", "comprising" or its any other variant meaning Covering comprising of nonexcludability, so that including a series of process of key elements, method, article or equipment not only include that A little key elements, but also include other key elements being not expressly set out, or also include for this process, method, article or The intrinsic key element of equipment.In the absence of more restrictions, the key element being limited by sentence "including a ...", does not arrange Remove and also there is other identical element in the process including described key element, method, article or equipment.
Described above to the disclosed embodiments, makes those skilled in the art be capable of or uses the present invention.To this Multiple modifications of a little embodiments will be apparent from for a person skilled in the art, and generic principles defined herein can Without departing from the spirit or scope of the present invention, to realize in other embodiments.Therefore, the present invention will not be limited It is formed on the embodiments shown herein, and be to fit to consistent with principles disclosed herein and features of novelty the widest Scope.
The above is only the preferred embodiment of the present invention it is noted that ordinary skill people for the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (14)

1. a kind of video creating method, is applied in mobile terminal it is characterised in that including:
Obtain the target dynamic paster masterplate that user selects;
Obtain the Target Photo that user selects from the photograph album of described mobile terminal;
Described Target Photo is encapsulated as by target paster according to described target dynamic paster masterplate;
Described target paster is loaded into the video editing interface of the first video, and obtains the setup parameter of described target paster, Described first video such as is at the existing video of dynamic paster to be added, and described setup parameter includes described target paster described Display location on one video and playing duration;
According to the kinematic parameter in described setup parameter and target dynamic paster masterplate, described target paster and described first are regarded Frequency synthesis target video, described kinematic parameter includes position vector and the deformation vector of the every every minute and second of described target paster.
2. method according to claim 1 it is characterised in that described according to described target dynamic paster masterplate by described mesh Piece of marking on a map is encapsulated as target paster, comprising:
Cutting is carried out to described Target Photo, obtains the picture after cutting;
Obtain the shade masterplate in described target dynamic paster masterplate and dazzle cruel effect masterplate;
It is the picture interpolation shade after described cutting according to described shade masterplate, and, dazzle cruel effect masterplate for institute according to described State the interpolation of the picture after cutting and dazzle cruel effect, be packaged into target paster.
If 3. method according to claim 1 is it is characterised in that described setup parameter includes described target paster described Display location on first video, then obtain the setup parameter of described target paster, comprising:
When the facial image on the picture detecting described first video, determine that the position of described facial image is described target patch Display location on described first video for the paper.
4. method according to claim 1 is it is characterised in that according in described setup parameter and target dynamic paster masterplate Kinematic parameter, by described target paster and described first Video Composition target video, comprising:
According to described target dynamic paster masterplate, obtain position arrow in each frame of described first video for the described target paster Amount and deformation vector;
According to described target paster in the first video the corresponding position vector of each frame and deformation vector, and described target patch Paper, generates a frame animation;
A described frame animation is merged into the new video of a frame with corresponding frame in described first video, and returns execution according to described The corresponding position vector of each frame of the first video and deformation vector, and described target paster, the step generating a frame animation, Until all having synthesized described first video, obtain described target video.
If 5. method according to claim 4 is it is characterised in that also include paster sound in described target dynamic paster masterplate Effect, then described according to the kinematic parameter in described setup parameter and target dynamic paster masterplate, by described target paster and existing The first Video Composition target video, also include:
Obtain the paster audio in described target dynamic paster masterplate;
Insert after the track of described first video and the superposition of described paster audio in described target video.
6. method according to claim 1 it is characterised in that described acquisition user select target dynamic paster masterplate, Including:
When video production user is detected operates, obtain dynamic paster masterplate list from server, and show described dynamic State paster masterplate list;
Obtain the title of the target dynamic paster masterplate that described user selects from described dynamic paster masterplate list;
When determining that described mobile terminal does not locally have described target dynamic paster masterplate, download described target from server Dynamic paster masterplate, and it is local to be stored in described mobile terminal.
7. method according to claim 1 is it is characterised in that the quantity of described target paster is multiple.
8. a kind of video creating device, is applied in mobile terminal it is characterised in that including:
First acquisition module, for obtaining the target dynamic paster masterplate of user's selection;
Second acquisition module, for obtaining the Target Photo that user selects from the photograph album of described mobile terminal;
Package module, for being encapsulated as target paster according to described target dynamic paster masterplate by described Target Photo;
3rd acquisition module, for described target paster is loaded into the video editing interface of the first video, and obtains described mesh The setup parameter of label paster, described first video such as is at the existing video of dynamic paster to be added, and described setup parameter includes institute State display location on described first video for the target paster and playing duration;
Synthesis module, for according to the kinematic parameter in described setup parameter and target dynamic paster masterplate, described target being pasted Paper and described first Video Composition target video, described kinematic parameter includes position vector and the change of the every every minute and second of described target paster Shape vector.
9. device according to claim 8 is it is characterised in that described package module, comprising:
Cutting submodule, for carrying out cutting to described Target Photo, obtains the picture after cutting;
First acquisition submodule, for obtaining the shade masterplate in described target dynamic paster masterplate and dazzling cruel effect masterplate;
Encapsulation submodule, for being that picture after described cutting adds shade according to described shade masterplate, and, dazzled according to described Cruel effect masterplate is that cruel effect is dazzled in the picture interpolation after described cutting, is packaged into target paster.
If 10. device according to claim 8 is it is characterised in that described setup parameter includes described target paster in institute State the display location on the first video, then described 3rd acquisition module specifically for:
When the facial image on the picture detecting described first video, determine that the position of described facial image is described target patch Display location on described first video for the paper.
11. devices according to claim 8 are it is characterised in that described synthesis module includes:
Kinematic parameter acquisition submodule, for according to described target dynamic paster masterplate, obtaining described target paster described the Position vector in each frame of one video and deformation vector;
Generate submodule, for according to described target paster in the first video the corresponding position vector of each frame and deformation arrow Amount, and described target paster, generate a frame animation;
Merge submodule, for a described frame animation is merged into the new video of a frame with corresponding frame in described first video, and Return the corresponding position vector of each frame and the deformation vector making shown generation submodule execute according to described first video, and Described target paster, generates a frame animation, until all having synthesized described first video, obtains described target video.
If 12. devices according to claim 11 are it is characterised in that also include paster in described target dynamic paster masterplate Audio, then described synthesis module, also include:
Second acquisition submodule, for obtaining the paster audio in described target dynamic paster masterplate;
Audio synthesizes submodule, for regarding inserting described target after the track of described first video and the superposition of described paster audio In frequency.
13. devices according to claim 8 are it is characterised in that described first acquisition module, comprising:
3rd acquisition submodule, during for operating when video production user is detected, obtains dynamic paster mould from server Version list, and show described dynamic paster masterplate list;
4th acquisition submodule, for obtaining the target dynamic paster that described user selects from described dynamic paster masterplate list The title of masterplate;
Download submodule, for when determining that described mobile terminal does not locally have described target dynamic paster masterplate, from service Download described target dynamic paster masterplate in device, and it is local to be stored in described mobile terminal.
14. devices according to claim 8 are it is characterised in that the quantity of described target paster is multiple.
CN201610791812.1A 2016-08-31 2016-08-31 Video making method and video making device Pending CN106373170A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610791812.1A CN106373170A (en) 2016-08-31 2016-08-31 Video making method and video making device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610791812.1A CN106373170A (en) 2016-08-31 2016-08-31 Video making method and video making device

Publications (1)

Publication Number Publication Date
CN106373170A true CN106373170A (en) 2017-02-01

Family

ID=57899858

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610791812.1A Pending CN106373170A (en) 2016-08-31 2016-08-31 Video making method and video making device

Country Status (1)

Country Link
CN (1) CN106373170A (en)

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107241646A (en) * 2017-07-12 2017-10-10 北京奇虎科技有限公司 The edit methods and device of multimedia video
CN107592565A (en) * 2017-09-29 2018-01-16 深圳市前海手绘科技文化有限公司 A kind of method that Freehandhand-drawing video elementary is quickly combined in video
CN108259496A (en) * 2018-01-19 2018-07-06 北京市商汤科技开发有限公司 The generation of special efficacy program file packet and special efficacy generation method and device, electronic equipment
CN108377334A (en) * 2018-04-03 2018-08-07 优视科技有限公司 Short-sighted frequency image pickup method, device and electric terminal
CN109002857A (en) * 2018-07-23 2018-12-14 厦门大学 A kind of transformation of video style and automatic generation method and system based on deep learning
CN109168028A (en) * 2018-11-06 2019-01-08 北京达佳互联信息技术有限公司 Video generation method, device, server and storage medium
CN109495790A (en) * 2018-11-30 2019-03-19 北京字节跳动网络技术有限公司 Paster adding method, device, electronic equipment and readable medium based on editing machine
CN109495791A (en) * 2018-11-30 2019-03-19 北京字节跳动网络技术有限公司 A kind of adding method, device, electronic equipment and the readable medium of video paster
CN109495684A (en) * 2018-11-30 2019-03-19 北京字节跳动网络技术有限公司 A kind of image pickup method of video, device, electronic equipment and readable medium
CN109525884A (en) * 2018-11-08 2019-03-26 北京微播视界科技有限公司 Video paster adding method, device, equipment and storage medium based on split screen
CN109660873A (en) * 2018-11-02 2019-04-19 北京达佳互联信息技术有限公司 Exchange method, interactive device and computer readable storage medium based on video
CN109660855A (en) * 2018-12-19 2019-04-19 北京达佳互联信息技术有限公司 Paster display methods, device, terminal and storage medium
WO2019137166A1 (en) * 2018-01-10 2019-07-18 Oppo广东移动通信有限公司 Video producing method, apparatus, storage medium, and electronic device
WO2019238001A1 (en) * 2018-06-15 2019-12-19 Oppo广东移动通信有限公司 Photograph capturing control method and related device
CN110782510A (en) * 2019-10-25 2020-02-11 北京达佳互联信息技术有限公司 Sticker generation method and device
CN110868639A (en) * 2019-11-28 2020-03-06 北京达佳互联信息技术有限公司 Video synthesis method and device
CN111225232A (en) * 2018-11-23 2020-06-02 北京字节跳动网络技术有限公司 Video-based sticker animation engine, realization method, server and medium
CN111951357A (en) * 2020-08-11 2020-11-17 深圳市前海手绘科技文化有限公司 Application method of sound material in hand-drawn animation
CN111968197A (en) * 2019-05-20 2020-11-20 北京字节跳动网络技术有限公司 Dynamic image generation method, device, electronic equipment and computer readable storage medium
CN112019919A (en) * 2019-05-31 2020-12-01 北京字节跳动网络技术有限公司 Video sticker adding method and device and electronic equipment
CN112017261A (en) * 2019-05-30 2020-12-01 北京字节跳动网络技术有限公司 Sticker generation method and device, electronic equipment and computer readable storage medium
CN112073447A (en) * 2019-06-11 2020-12-11 北京字节跳动网络技术有限公司 Model file issuing method, platform, system, terminal and readable storage medium
CN112464691A (en) * 2019-09-06 2021-03-09 北京字节跳动网络技术有限公司 Image processing method and device
CN112637520A (en) * 2020-12-23 2021-04-09 新华智云科技有限公司 Dynamic video editing method and system
CN112906553A (en) * 2021-02-09 2021-06-04 北京字跳网络技术有限公司 Image processing method, apparatus, device and medium
WO2021129385A1 (en) * 2019-12-26 2021-07-01 北京字节跳动网络技术有限公司 Image processing method and apparatus
CN113658298A (en) * 2018-05-02 2021-11-16 北京市商汤科技开发有限公司 Method and device for generating special-effect program file package and special effect
US11368746B2 (en) 2018-02-08 2022-06-21 Beijing Sensetime Technology Development Co., Ltd. Method and device for generating special effect program file package, method and device for generating special effect, and electronic device
WO2022160699A1 (en) * 2021-01-29 2022-08-04 北京达佳互联信息技术有限公司 Video processing method and video processing apparatus
WO2024067319A1 (en) * 2022-09-27 2024-04-04 Lemon Inc. Method and system for creating stickers from user-generated content

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101227548A (en) * 2007-01-17 2008-07-23 华硕电脑股份有限公司 Image synthesis processing method, computer system and memory media using the method
US20080291218A1 (en) * 2006-01-21 2008-11-27 Tencent Technology (Shenzhen) Company Limited System And Method For Generating Interactive Video Images
CN104394331A (en) * 2014-12-05 2015-03-04 厦门美图之家科技有限公司 Video processing method for adding matching sound effect in video picture
CN104469179A (en) * 2014-12-22 2015-03-25 杭州短趣网络传媒技术有限公司 Method for combining dynamic pictures into mobile phone video
CN104780339A (en) * 2015-04-16 2015-07-15 美国掌赢信息科技有限公司 Method and electronic equipment for loading expression effect animation in instant video
CN105608715A (en) * 2015-12-17 2016-05-25 广州华多网络科技有限公司 Online group shot method and system
CN105700769A (en) * 2015-12-31 2016-06-22 宇龙计算机通信科技(深圳)有限公司 Dynamic material adding method, dynamic material adding device and electronic equipment
CN105791692A (en) * 2016-03-14 2016-07-20 腾讯科技(深圳)有限公司 Information processing method and terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080291218A1 (en) * 2006-01-21 2008-11-27 Tencent Technology (Shenzhen) Company Limited System And Method For Generating Interactive Video Images
CN101227548A (en) * 2007-01-17 2008-07-23 华硕电脑股份有限公司 Image synthesis processing method, computer system and memory media using the method
CN104394331A (en) * 2014-12-05 2015-03-04 厦门美图之家科技有限公司 Video processing method for adding matching sound effect in video picture
CN104469179A (en) * 2014-12-22 2015-03-25 杭州短趣网络传媒技术有限公司 Method for combining dynamic pictures into mobile phone video
CN104780339A (en) * 2015-04-16 2015-07-15 美国掌赢信息科技有限公司 Method and electronic equipment for loading expression effect animation in instant video
CN105608715A (en) * 2015-12-17 2016-05-25 广州华多网络科技有限公司 Online group shot method and system
CN105700769A (en) * 2015-12-31 2016-06-22 宇龙计算机通信科技(深圳)有限公司 Dynamic material adding method, dynamic material adding device and electronic equipment
CN105791692A (en) * 2016-03-14 2016-07-20 腾讯科技(深圳)有限公司 Information processing method and terminal

Cited By (45)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107241646A (en) * 2017-07-12 2017-10-10 北京奇虎科技有限公司 The edit methods and device of multimedia video
CN107241646B (en) * 2017-07-12 2020-08-14 北京奇虎科技有限公司 Multimedia video editing method and device
CN107592565A (en) * 2017-09-29 2018-01-16 深圳市前海手绘科技文化有限公司 A kind of method that Freehandhand-drawing video elementary is quickly combined in video
WO2019137166A1 (en) * 2018-01-10 2019-07-18 Oppo广东移动通信有限公司 Video producing method, apparatus, storage medium, and electronic device
US11297225B2 (en) 2018-01-10 2022-04-05 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Video producing method, apparatus, storage medium, and electronic device
US11521389B2 (en) 2018-01-19 2022-12-06 Beijing Sensetime Technology Development Co., Ltd. Method for generating special effect program file package, method for generating special effect, electronic device, and storage medium
CN108259496B (en) * 2018-01-19 2021-06-04 北京市商汤科技开发有限公司 Method and device for generating special-effect program file package and special effect, and electronic equipment
CN108259496A (en) * 2018-01-19 2018-07-06 北京市商汤科技开发有限公司 The generation of special efficacy program file packet and special efficacy generation method and device, electronic equipment
US11368746B2 (en) 2018-02-08 2022-06-21 Beijing Sensetime Technology Development Co., Ltd. Method and device for generating special effect program file package, method and device for generating special effect, and electronic device
CN108377334A (en) * 2018-04-03 2018-08-07 优视科技有限公司 Short-sighted frequency image pickup method, device and electric terminal
WO2019192351A1 (en) * 2018-04-03 2019-10-10 阿里巴巴集团控股有限公司 Short video capture method, device and electronic terminal
CN113658298A (en) * 2018-05-02 2021-11-16 北京市商汤科技开发有限公司 Method and device for generating special-effect program file package and special effect
WO2019238001A1 (en) * 2018-06-15 2019-12-19 Oppo广东移动通信有限公司 Photograph capturing control method and related device
CN109002857A (en) * 2018-07-23 2018-12-14 厦门大学 A kind of transformation of video style and automatic generation method and system based on deep learning
CN109002857B (en) * 2018-07-23 2020-12-29 厦门大学 Video style transformation and automatic generation method and system based on deep learning
CN109660873B (en) * 2018-11-02 2022-07-22 北京达佳互联信息技术有限公司 Video-based interaction method, interaction device and computer-readable storage medium
CN109660873A (en) * 2018-11-02 2019-04-19 北京达佳互联信息技术有限公司 Exchange method, interactive device and computer readable storage medium based on video
CN109168028B (en) * 2018-11-06 2022-11-22 北京达佳互联信息技术有限公司 Video generation method, device, server and storage medium
CN109168028A (en) * 2018-11-06 2019-01-08 北京达佳互联信息技术有限公司 Video generation method, device, server and storage medium
CN109525884A (en) * 2018-11-08 2019-03-26 北京微播视界科技有限公司 Video paster adding method, device, equipment and storage medium based on split screen
CN111225232A (en) * 2018-11-23 2020-06-02 北京字节跳动网络技术有限公司 Video-based sticker animation engine, realization method, server and medium
CN109495684A (en) * 2018-11-30 2019-03-19 北京字节跳动网络技术有限公司 A kind of image pickup method of video, device, electronic equipment and readable medium
CN109495791A (en) * 2018-11-30 2019-03-19 北京字节跳动网络技术有限公司 A kind of adding method, device, electronic equipment and the readable medium of video paster
CN109495790A (en) * 2018-11-30 2019-03-19 北京字节跳动网络技术有限公司 Paster adding method, device, electronic equipment and readable medium based on editing machine
CN109660855A (en) * 2018-12-19 2019-04-19 北京达佳互联信息技术有限公司 Paster display methods, device, terminal and storage medium
CN109660855B (en) * 2018-12-19 2021-11-02 北京达佳互联信息技术有限公司 Sticker display method, device, terminal and storage medium
CN111968197A (en) * 2019-05-20 2020-11-20 北京字节跳动网络技术有限公司 Dynamic image generation method, device, electronic equipment and computer readable storage medium
CN112017261A (en) * 2019-05-30 2020-12-01 北京字节跳动网络技术有限公司 Sticker generation method and device, electronic equipment and computer readable storage medium
CN112019919A (en) * 2019-05-31 2020-12-01 北京字节跳动网络技术有限公司 Video sticker adding method and device and electronic equipment
CN112019919B (en) * 2019-05-31 2022-03-15 北京字节跳动网络技术有限公司 Video sticker adding method and device and electronic equipment
CN112073447A (en) * 2019-06-11 2020-12-11 北京字节跳动网络技术有限公司 Model file issuing method, platform, system, terminal and readable storage medium
CN112464691A (en) * 2019-09-06 2021-03-09 北京字节跳动网络技术有限公司 Image processing method and device
CN110782510A (en) * 2019-10-25 2020-02-11 北京达佳互联信息技术有限公司 Sticker generation method and device
CN110868639A (en) * 2019-11-28 2020-03-06 北京达佳互联信息技术有限公司 Video synthesis method and device
US11509973B2 (en) 2019-11-28 2022-11-22 Beijing Dajia Internet Information Technology Co., Ltd. Method and apparatus for synthesizing video
GB2606904A (en) * 2019-12-26 2022-11-23 Beijing Bytedance Network Tech Co Ltd Image processing method and apparatus
WO2021129385A1 (en) * 2019-12-26 2021-07-01 北京字节跳动网络技术有限公司 Image processing method and apparatus
US11812180B2 (en) 2019-12-26 2023-11-07 Beijing Bytedance Network Technology Co., Ltd. Image processing method and apparatus
GB2606904B (en) * 2019-12-26 2024-03-13 Beijing Bytedance Network Tech Co Ltd Image processing method and apparatus
CN111951357A (en) * 2020-08-11 2020-11-17 深圳市前海手绘科技文化有限公司 Application method of sound material in hand-drawn animation
CN112637520A (en) * 2020-12-23 2021-04-09 新华智云科技有限公司 Dynamic video editing method and system
CN112637520B (en) * 2020-12-23 2022-06-21 新华智云科技有限公司 Dynamic video editing method and system
WO2022160699A1 (en) * 2021-01-29 2022-08-04 北京达佳互联信息技术有限公司 Video processing method and video processing apparatus
CN112906553A (en) * 2021-02-09 2021-06-04 北京字跳网络技术有限公司 Image processing method, apparatus, device and medium
WO2024067319A1 (en) * 2022-09-27 2024-04-04 Lemon Inc. Method and system for creating stickers from user-generated content

Similar Documents

Publication Publication Date Title
CN106373170A (en) Video making method and video making device
CN112291484A (en) Video synthesis method and device, electronic equipment and storage medium
CN105049959B (en) Method for broadcasting multimedia file and device
CN104104872B (en) The synthetic method of movement locus of object image and device
CN108647313A (en) A kind of real-time method and system for generating performance video
CN111935505B (en) Video cover generation method, device, equipment and storage medium
CN105550980B (en) A kind of Picture Generation Method and relevant apparatus
EP2834782A2 (en) User event content, associated apparatus and methods
CN106203286A (en) The content acquisition method of a kind of augmented reality, device and mobile terminal
WO2018050021A1 (en) Virtual reality scene adjustment method and apparatus, and storage medium
CN106844302B (en) Electronic book page display method and device and terminal equipment
CN102810214A (en) Method, device and system for customizing clothes online
CN104503675A (en) Method for setting startup and shutdown animation and/ or music under Android system
CN105279203A (en) Method, device and system for generating puzzle
CN107577514A (en) A kind of irregular figure layer cuts joining method and system
CN104732568A (en) Method and device for online addition of lyric subtitles to pictures
CN105373545A (en) Picture display method and device
US20240094983A1 (en) Augmenting image content with sound
CN111930979A (en) Image processing method, device, equipment and storage medium
KR101050662B1 (en) Wireless communication terminal and method thereof having editing image composition and composition
CN105045587A (en) Picture display method and apparatus
CN110288690B (en) Method and device for generating mountain in sand table map, storage medium and processor
CN104615738B (en) A kind of mobile terminal method for picture sharing based on remote synchronization
CN110198420B (en) Video generation method and device based on nonlinear video editing
KR20160002473A (en) Virtual implement apparatus for customizing of a purchaser in WEB and method of the same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 100192, C, room 4, building B-6, building No. 403, Zhongguancun Dongsheng science and Technology Park, Dongsheng Road, Haidian District, 66, Beijing,

Applicant after: Beijing beta Polytron Technologies Inc

Address before: 100000, C, building 4, building B6, Dongsheng Science Park, No. 66 Xiao Dong Road, Beijing, Haidian District

Applicant before: Beijing Yuntu Weidong Technology Co.,Ltd.

RJ01 Rejection of invention patent application after publication

Application publication date: 20170201

RJ01 Rejection of invention patent application after publication