CN105847636A - Video recording method and mobile terminal - Google Patents
Video recording method and mobile terminal Download PDFInfo
- Publication number
- CN105847636A CN105847636A CN201610407482.1A CN201610407482A CN105847636A CN 105847636 A CN105847636 A CN 105847636A CN 201610407482 A CN201610407482 A CN 201610407482A CN 105847636 A CN105847636 A CN 105847636A
- Authority
- CN
- China
- Prior art keywords
- main body
- shooting
- data
- video
- vedio data
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/617—Upgrading or updating of programs or applications for camera control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/66—Remote control of cameras or camera parts, e.g. by remote control devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/667—Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
- H04N5/265—Mixing
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Studio Devices (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
The invention provides a video recording method and a mobile terminal. The video recording method is applied to a mobile terminal provided with a first camera and a second camera. The method includes the following steps that: a recording subject is determined; a video recording instruction of the user of the mobile terminal is received; video recording is carried out, the recording subject is tracked in a recording process, first video image data and second video image data are generated; and image composition is performed on the first video image data and the second video image, so that a target video can be generated. With the video recording scheme provided by the invention adopted, a video which contains frames in which the recording subject is non-synchronous with surrounding objects can be recorded.
Description
Technical field
The present invention relates to communication technical field, particularly relate to a kind of video capture method and mobile terminal.
Background technology
At present, the RECORD mode on mobile terminal is more single, the video recording that current mobile terminal can be provided by
Pattern includes: normal RECORD mode, rapid picture recording pattern and RECORD mode at a slow speed.
The operation principle of normal RECORD mode is: video recording frame per second (regards as recorded as video playback frame per second
Frequently frame per second is 30fps, and play frame rate is also 30fps), video pictures so can be made to record picture with reality
Time synchronized.The operation principle of rapid picture recording pattern is: low frame per second is recorded a video, but high frame per second broadcasting video (as
Recorded video frame per second is 5fp, but video playback frame per second is the picture that 30fps, 1s video can play reality 6s
Face), play longer real picture in the identical time, produce acceleration effect.The work of picture recording module at a slow speed
As principle it is: high frame per second is recorded a video but low frame per second is play video and (if recorded video frame per second is 120fps, but regarded
Frequently play frame rate is 30fps, and the real picture of such 1s needs to play 4s), thus produce effect at a slow speed.
Visible, the video pictures that current mobile terminal is recorded shoots main body same with the surrounding objects complete time
Step lacks delight effect, existing mobile terminal cannot provide such as cinema scene in same video in fast
The simultaneous RECORD mode of slow motion, records and shoots main body and surrounding objects time irreversibility in picture
Video.
Summary of the invention
The embodiment of the present invention provides a kind of video capture method and mobile terminal, to solve the bat of existing video
The method of taking the photograph cannot record the problem shooting main body and the video of surrounding objects time irreversibility in picture.
First aspect, embodiments provides a kind of video capture method, described video capture method
Being applied to the mobile terminal with the first photographic head and second camera, described method comprises determining that shooting
Main body;Receive the instruction of the shooting video of mobile phone users;Carry out video capture, in shooting process
Described shooting main body is tracked, and generates the first vedio data and the second vedio data;
Described first vedio data and the second vedio data are carried out image synthesis, generates target and regard
Frequently.
Second aspect, the embodiment of the present invention additionally provides a kind of mobile terminal, including the first photographic head and the
Two photographic head, described mobile terminal also comprises determining that module, is used for determining shooting main body;Command reception
Module, for receiving the instruction of the shooting video of mobile phone users;View data generation module, is used for
Carry out video capture, in shooting process, described shooting main body is tracked, and generate the first video figure
As data and the second vedio data;Synthesis module, for generating described view data generation module
The first vedio data and the second vedio data carry out image synthesis, generate target video.
So, the video capture method of embodiment of the present invention offer and mobile terminal, carrying out video capture
Before determine shooting main body, when carrying out video capture, shooting main body is tracked, and generates the first video figure
As data and the second vedio data, then by the first vedio data and the second vedio data
Carry out image synthesis, synthesize main body and the target video of surrounding objects time irreversibility in picture.It is visible,
The video capture scheme provided in the embodiment of the present invention, it is possible to record and shoot main body and surrounding objects in picture
The video of time irreversibility.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the skill of the present invention
Art means, and can being practiced according to the content of description, and in order to allow, the present invention's is above and other
Objects, features and advantages can become apparent, below especially exemplified by the detailed description of the invention of the present invention.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below by the embodiment of the present invention
In description, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only
It is only some embodiments of the present invention, for those of ordinary skill in the art, is not paying creativeness
On the premise of laborious, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of a kind of video capture method of the embodiment of the present invention one;
Fig. 2 is the flow chart of a kind of video capture method of the embodiment of the present invention two;
Fig. 3 is the flow chart of a kind of video capture method of the embodiment of the present invention three;
Fig. 4 is the structured flowchart of a kind of mobile terminal of the embodiment of the present invention four;
Fig. 5 is the structured flowchart of the view data generation module of a kind of mobile terminal of embodiment four;
Fig. 6 is the structured flowchart of the second data generating unit of a kind of mobile terminal of embodiment four;
Fig. 7 is the structured flowchart of the synthesis module of a kind of mobile terminal of embodiment four;
Fig. 8 is the structured flowchart of a kind of mobile terminal cover half block really of embodiment four;
Fig. 9 is the structured flowchart of a kind of mobile terminal of the embodiment of the present invention five;
Figure 10 is the structured flowchart of a kind of mobile terminal of the embodiment of the present invention six.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out
Clearly and completely describe, it is clear that described embodiment be 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 are not making wound
The every other embodiment obtained under the property made work premise, broadly falls into the scope of protection of the invention.
Embodiment one
With reference to Fig. 1, it is shown that the flow chart of a kind of video capture method of the embodiment of the present invention one.
The video capture method of the embodiment of the present invention comprises the following steps:
Step 101: determine shooting main body.
The video capture method of the embodiment of the present invention is applicable to have the first photographic head and second camera
Mobile terminal, when carrying out video capture, can only control wherein any one photographic head and shoot,
Certainly also can control two photographic head to shoot simultaneously, this is the most specifically limited by the embodiment of the present invention
System.If control two photographic head when carrying out video capture simultaneously, then need to be to two shootings before shooting video
Head is corrected.
The video capture method of present invention offer, mainly distinguishes shooting main body and i.e. shoots secondary with surrounding scenes
Body, allows main body carry out entertaining broadcasting with different time speed with time body in video pictures, accordingly, it would be desirable to
Determine that shooting main body is distinguish between by shooting main body with shooting time body.
Determine shooting main body time can by user mark in preview interface shoot main body, mobile terminal based on
The mark of user determines shooting main body;It is of course also possible to by mobile terminal based on default shooting master
Corresponding relation between body and reference object, automatically identifies and determines shooting main body.
Step 102: receive the instruction of the shooting video of mobile phone users.
After determining shooting main body, user clicks on to start to record a video and can send the instruction of shooting video, mobile
Terminal receives the shooting video instructions that user sends, and starts to control photographic head and carries out video capture.
Step 103: carry out video capture, is tracked shooting main body in shooting process, and generates
First vedio data and the second vedio data.
When carrying out video capture, carry out shooting main body tracking, record to each frame video image of shooting
The positional information of shooting main body, generates the first vedio data and second by the multiple image of shooting and regards
Frequently view data.
Wherein, if control two photographic head during implementing during video capture and regard simultaneously
Frequency shooting, the first vedio data of generation, the second vedio data are then respectively two photographic head
The vedio data that shooting obtains;If during video capture, only control a photographic head and regard
Frequency shooting, the first vedio data of generation is the vedio data that photographic head shooting obtains, second
Vedio data is then by copying the first vedio data generation.
Step 104: the first vedio data and the second vedio data are carried out image synthesis, raw
Become target video.
When first vedio data and the second vedio data are carried out image synthesis, mainly use
First vedio data shoots the view data of main body and changes shooting main body in the second video image
View data, it is therefore an objective to generate to record and shoot main body in picture i.e. shoot the secondary body time from surrounding objects different
The video of step, such as: shooting main body picture normal play, shooting time body picture is quickly play or at a slow speed
The video play.
The video capture method that the embodiment of the present invention provides, determines shooting main body before carrying out video capture,
When carrying out video capture, shooting main body is tracked, and generates the first vedio data and the second video
View data, then carries out image synthesis by the first vedio data and the second vedio data, closes
Become main body and the target video of surrounding objects time irreversibility in frame out.Visible, in the embodiment of the present invention
The video capture method provided, it is possible to record and shoot regarding of main body and surrounding objects time irreversibility in picture
Frequently.
Embodiment two
With reference to Fig. 2, it is shown that the flow chart of a kind of video capture method of the embodiment of the present invention two.
The video capture method that the embodiment of the present invention provides is applied to have the first photographic head and the second shooting
The mobile terminal of head, and mobile terminal controls the first photographic head and second during video capture simultaneously
Photographic head carries out video capture respectively.Before carrying out video capture, due to be simultaneously control two photographic head
Carry out video capture, it is therefore desirable to carry out dual camera rectification, make the video pictures that two photographic head are recorded
Identical.
Dual camera bearing calibration has multiple, as on equipment, the structure of two photographic head is fixing, can lead to
After crossing same scene shooting picture, the position deviation of contrast both Same Scene picture, then by this deviation
Crop respectively, can reach the duplicate purpose of picture of both shootings.
Dual camera correct after, mobile terminal can perform video capture flow process, specifically include with
Lower step:
Step 201: obtain the operation of mobile phone users mark shooting main body.
The video capture method that the embodiment of the present invention provides, mainly distinguishes the video main body in video pictures
With the scenery around video time body i.e. video main body, allow shooting main body and shooting time body with different time speed
Carry out entertaining broadcasting, accordingly, it would be desirable to user marks out shooting main body at first.The mode of mark main body has many
Kind, as provide control allow user manually screen draw one piece of region as main body carry out object tracking, from
Dynamic recognition of face, automatic body identification etc..
Step 202: operation based on mark shooting main body, determines shooting main body.
After mobile phone users marks out shooting main body, the bat of mobile terminal identification mobile phone users mark
Take the photograph main body, i.e. can determine that the shooting main body of this video capture.
Such as: currently the personage standing in brook bank being carried out video capture, the personage of shooting i.e. shoots main body,
The background brook of personage back, then for shooting time body.
Step 201 and step 202 are a kind of side being participated in determining shooting main body by mobile phone users
Formula, during implementing, mobile terminal can also automatically determine shooting main body, and without mobile whole
End subscriber participates in, and the mode that mobile terminal automatically determines shooting main body is as follows: adopted shooting preview interface
Collect to preview image carry out Object identifying;Corresponding based between default shooting main body and reference object
Relation, the object that will identify that is defined as shooting main body.
Step 203: receive the instruction of the shooting video of mobile phone users.
After determining shooting main body, user clicks on to start to record a video and can send the instruction of shooting video, mobile
Terminal receives the shooting video instructions that user sends, and starts to control the first photographic head and second camera enters
Row video capture.
Step 204: control the first photographic head and second camera carries out video capture with different frame per second respectively.
Such as: the first photographic head carries out video record with frame per second X fps, second camera is with frame per second Y fps
Carry out video record.It is to say, the first photographic head records X frame video image, the second shooting each second
Head records Y frame video image each second.
Step 205: in the first photographic head and second camera shooting process, generate the first video respectively
View data and the second vedio data.
Described first vedio data and the second vedio data are formed by multiple image.
In the first photographic head shooting process, shooting main body is tracked, and real time record shooting main body
Coordinate information, i.e. can determine that shooting main body in video image is corresponding by the coordinate information of shooting main body
View data.
Step 206: for the every two field picture in the first vedio data, every two field picture is defined as former
Beginning image.
The embodiment of the present invention needs to use the view data of the shooting main body in the first video image, respectively
Replace its view data to the shooting main body in deserved second video image, therefore, by this step
Every two field picture in one vedio data is defined as original image.
Step 207: based on original image, determines that original image is corresponding in the second vedio data
Target image.
Such as: original image is the 5th two field picture in the first vedio data, this original image is corresponding
Target image be then the 5th two field picture in the second vedio data.
Step 208: coordinate information based on the shooting main body recorded, will shoot main body in target image
View data replace with the view data shooting main body in original image.
Respectively the view data of each frame original image with the shooting main body in target image is replaced one by one
Change, i.e. can obtain forming each frame intermediate image of target video.
In this law embodiment, the shooting main body recorded according to main body track algorithm seat in whole image
Mark information, will shoot the view data of main body relevant position in nth frame image in the first vedio data
Being substituted in the nth frame image in the second shooting image shooting main body and obtain relevant position, these data are replaced and are calculated
Owned by France in fairly simple algorithm, it is easier to realize.N frame data in the second shooting image after replacement
Sending to Video coding as intermediate image, the video of synthesis just contains the main body picture that the first photographic head is recorded
The secondary body picture that face and second camera comprise.
Step 209: when all images in the second vedio data complete to replace, generate in multiframe
Between image.
If it should be noted that the shooting frame per second of the first photographic head is more than the shooting frame per second of second camera,
Then within the identical time frame number that comprises of the first vedio data of the first photographic head shooting then more than the
The frame number that second vedio data of two photographic head shootings comprises, therefore, is generating multiframe intermediate image
Time, it is ensured that the view data of the shooting main body in each two field picture in the second vedio data is replaced complete
?.
If the shooting frame per second of the first photographic head is less than the shooting frame per second of second camera, then within the identical time
The frame number that first vedio data of the first photographic head shooting comprises is then less than second camera shooting
The frame number that second vedio data comprises, therefore, when generating multiframe intermediate image, it is ensured that first regards
Frequently the view data of the shooting main body in each two field picture in view data is replaced complete.
Step 210: multiframe intermediate image carries out Video coding, generates target video.
Intermediate image after combination shoots the time irreversibility of main body and shooting time body, therefore, by multiframe
The target video generated after intermediate image Video coding i.e. can be shown that and shoots main body and shooting time in picture
The nonsynchronous delight effect of body.
The video capture method that the embodiment of the present invention provides, determines shooting main body before carrying out video capture,
When carrying out video capture, shooting main body is tracked, and generates the first vedio data and the second video
View data, then carries out image synthesis by the first vedio data and the second vedio data, closes
Shooting main body and surrounding objects in frame out is become i.e. to shoot the target video of time body time irreversibility.It is visible,
The video capture method provided in the embodiment of the present invention, it is possible to record and shoot main body and surrounding objects in picture
The video of time irreversibility.
The target video that generated of video capture method that the embodiment of the present invention provides is when playing, if with the
The frame per second X fps of one photographic head carries out video playback, and in M second reproduction time, the first photographic head is recorded
The first vedio data part can play M second X × M frame altogether, and video main body picture speed
Rate is normal, and the second vedio data part that second camera is recorded also can play X × M frame, also
Just it is comparable to play the second vedio data that second camera is recorded in X × M/Y s.
If X > Y, then shooting main body in target video normal, shooting time body is quickly play, and is also the formation of shooting
The normal speed per hour of main body, shooting time body quick entertaining RECORD mode;If X < Y, then target video shoots
Main body is normal, shooting time body slow play, then define the shooting normal speed per hour of main body normal, shooting time body
Entertaining RECORD mode at a slow speed.
The video capture method that the embodiment of the present invention provides, main by obtaining mobile phone users mark shooting
The operation of body, operation based on mark shooting main body, determine shooting main body, control the first photographic head and the
Two photographic head carry out video capture with different frame per second respectively, shoot at the first photographic head and second camera
Cheng Zhong, generates the first vedio data and the second vedio data, respectively for the first video image
Every two field picture in data, is defined as original image by every two field picture, based on original image, determines original
The target image that image is corresponding in the second vedio data, seat based on the shooting main body recorded
Mark information, replaces with the figure shooting main body in original image by the view data shooting main body in target image
As data, when all images in the second vedio data complete to replace, generate multiframe intermediate image,
Multiframe intermediate image is carried out Video coding, generates target video.Visible, the embodiment of the present invention provides
Video capture method, it is possible to record the video shooting main body and surrounding objects time irreversibility in picture.
Embodiment three
With reference to Fig. 3, it is shown that the flow chart of a kind of video capture method of the embodiment of the present invention three.
The video capture method that the embodiment of the present invention provides can apply to comprise one or more photographic head
Mobile terminal, the embodiment of the present invention controls a photographic head with mobile terminal during video capture
As a example by carrying out video capture, the video capture method of the present invention is illustrated.
The video capture method that the embodiment of the present invention provides specifically includes below scheme:
Step 301: determine shooting main body.
The video capture method that the embodiment of the present invention provides, mainly distinguishes the video main body in video pictures
With the scenery around video time body i.e. video main body, allow shooting main body and shooting time body with different time speed
Carry out entertaining broadcasting, accordingly, it would be desirable to determine shooting main body before video capture.
A kind of preferably determine shooting main body mode as follows: obtain mobile phone users mark shooting main body
Operation;Operation based on mark shooting main body, determines shooting main body.
The mode of mark main body has multiple, makees as provided control to allow user manually draw one piece of region at screen
Object tracking, Automatic face recognition, automatic body identification etc. are carried out for main body.
This kind determines that the mode of shooting main body needs to be participated in by mobile phone users, is implementing process
In, mobile terminal can also automatically determine shooting main body, and participates in without mobile phone users, mobile whole
The mode that end automatically determines shooting main body is as follows: the preview image being collected shooting preview interface is carried out
Object identifying;Based on the corresponding relation between default shooting main body and reference object, will identify that is right
As being defined as shooting main body.
Step 302: receive the instruction of the shooting video of mobile phone users.
After determining shooting main body, user's click can send shooting for the button that instruction starts to record a video and regard
The instruction of frequency, mobile terminal receives the shooting video instructions that user sends, start to control the first photographic head or
Second camera carries out video capture.
In the embodiment of the present invention, mobile terminal controls a photographic head and carries out video capture, the shooting controlled
Head can be selected by mobile terminal self, it is also possible to is selected by mobile phone users.
Step 303: control the first photographic head or second camera and carry out video capture with preset frame rate.
Preset frame rate can be the shooting frame per second of mobile terminal acquiescence, it is also possible to be mobile phone users according to
Actual photographed needs the shooting frame per second pre-set, for the occurrence of preset frame rate in the embodiment of the present invention
It is not especially limited.
Controlled photographic head carries out the video capture of certain time according to preset frame rate, obtains comprising multiframe
The vedio data of image.
Step 304: in the first photographic head or second camera shooting process, generate the first video image
Data, and in real time the first vedio data is copied, generate the second vedio data.
Wherein, in the first photographic head or second camera shooting process, shooting is obtained by mobile terminal
Each two field picture must shoot main body be tracked, and the coordinate information of real time record shooting main body.
First vedio data and the second vedio data are formed by multiple image.First video figure
Carrying out the photographic head of video capture and directly shoot as data are and obtain, the second vedio data is then
First video image is obtained according to default copy rule copy, along with target video to be generated
Effect different, the rule copying the first video image is the most different, specifically:
When pre-shooting video pictures shoots main body compared to the shooting time quick video of body, mobile terminal
In real time the first vedio data is copied, generate the concrete copy mode of the second vedio data
As follows:
In the first photographic head or second camera shooting process, often generate frame video image data, enter
The copy of row vedio data;When all two field pictures in the first vedio data complete copy,
Generate the second vedio data.
The second vedio data and the first vedio data by this kind of copy mode copy comprise
Equal number two field picture.
When pre-shooting video pictures shooting main body compared to shooting time body video at a slow speed, mobile terminal
In real time the first vedio data is copied, generate the concrete copy mode of the second vedio data
As follows:
In the first photographic head or second camera shooting process, from the head generating the first vedio data
Two field picture starts, every the frame video image that predetermined frame number interval copy is generated;When the first video figure
As, when all two field pictures at predetermined frame number interval complete copy in data, generating the second vedio data.
The second vedio data by this kind of copy mode copy comprises to obtain number of image frames, less than the
The number of image frames that one vedio data is comprised.
Step 305: for the every two field picture in the first vedio data, every two field picture is defined as former
Beginning image.
The embodiment of the present invention needs to use the view data of the shooting main body in the first video image, respectively
Replace its view data to the shooting main body in deserved second video image, therefore, by this step
Every two field picture in one vedio data is defined as original image.
It should be noted that be not that in the first vedio data, every frame original image all shoots main body
The replacement of view data, needs to extract according to the effect of target video to be captured during implementing
Corresponding original image, extracts the view data shooting main body in original image further.
Step 306: based on original image, determines that original image is corresponding in the second vedio data
Target image.
When determining the target image corresponding in the second vedio data of original image, along with being wanted
The effect of the target video generated is different, determines that the target image that original image is corresponding is established rules the most really
With, specifically determine that mode is as follows:
When pre-shooting video pictures shoots main body compared to the shooting time quick video of body, mobile terminal
Determine that the concrete mode of the target image that original image is corresponding is as follows:
By the copy of vedio data in step 304, have been obtained for and the first vedio data
Identical second vedio data.Therefore, in order to obtain in video pictures shoot main body compare
In shooting time body video at a slow speed, from the beginning of the first two field picture of the first vedio data, every setting frame
Number extracts a two field picture;From the beginning of the second vedio data head two field picture, frame by frame with the first video image
The each two field picture of extracting data carries out correspondence.
Also just say and be, it is assumed that from the first vedio data, extract a two field picture every 3 frames, then from the
The image extracted in one video image is respectively the 1st frame, the 4th frame, the 7th frame ..., and the second video
Target image corresponding with the image extracted in image is respectively the 1st frame, the 2nd frame, the 3rd frame ....
When pre-shooting video pictures shooting main body compared to shooting time body video at a slow speed, mobile terminal
Determine that the concrete mode of the target image that original image is corresponding is as follows:
Each in each two field picture being respectively adopted in the first vedio data and the second vedio data
Two field picture carries out correspondence.
Also just says and is, it is assumed that from the first video image the image of extraction be respectively the 1st frame, the 2nd frame,
3rd frame ..., target image corresponding with the image extracted in the second video image be respectively the 1st frame,
2nd frame, the 3rd frame ....
Step 307: coordinate information based on the shooting main body recorded, will shoot main body in target image
View data replace with the view data shooting main body in original image.
Respectively the view data of each frame original image with the shooting main body in target image is replaced one by one
Change, i.e. can obtain forming each frame intermediate image of target video.
Step 308: when all images in the second vedio data complete to replace, generate in multiframe
Between image.
When pre-shooting video pictures shoots main body compared to the shooting time quick video of body, it is assumed that carry out
First photographic head of video capture or the shooting frame per second of second camera are X fps, regard generating second
Frequently during view data, each two field picture in the first vedio data of shooting is copied, former determining
During beginning image, from the first vedio data, capture a two field picture every N two field picture, frame by frame from second
Vedio data captures target image and carries out shooting the replacement of body data, in being generated by replacement
Between image shoots the frame per second of main body then for X/ (N+1) fps, the frame per second of shooting time body is then X fps, because of
This, can generate and shoot main body in video pictures compared to the shooting time quick video of body.
When pre-shooting video pictures shooting main body compared to when shooting time body video at a slow speed, it is assumed that carry out
First photographic head of video capture or the shooting frame per second of second camera are X fps, regard generating second
Frequently during view data, in N two field picture is to the first vedio data, image copies;Former determining
During beginning image, from the first vedio data, capture original image frame by frame, and frame by frame from the second video figure
The replacement of body data, the intermediate image generated by replacement is carried out shooting as data capture target image
The frame per second of middle shooting main body is then X fps, and the frame per second of shooting time body is then X/ (N+1) fps, therefore, and can
Generate and video pictures shoots main body compared to shooting time body video at a slow speed.
Step 309: multiframe intermediate image carries out Video coding, generates target video.
Intermediate image after combination shoots main body and shooting time body frame per second different event time irreversibility, because of
This, i.e. can be shown that shooting main body in picture by the target video generated after multiframe intermediate image Video coding
With the shooting time nonsynchronous delight effect of body.
The video capture method of the embodiment of the present invention, determines shooting main body before carrying out video capture, carries out
Call a photographic head during video capture and carry out video capture and to shooting master in every two field picture of shooting
Body is tracked, and generates the first vedio data, copies the first vedio data simultaneously
To the second vedio data, then by the first vedio data and the second vedio data according to one
Fixed preset rules carries out image synthesis, synthesizes main body and the mesh of surrounding objects time irreversibility in picture
Mark video.Mobile terminal that is visible, that provide in the embodiment of the present invention, also can by controlling single photographic head
Enough record the video shooting main body and shooting time body time irreversibility in picture.
Embodiment four
With reference to Fig. 4, it is shown that the structured flowchart of a kind of mobile terminal of the embodiment of the present invention four.
The mobile terminal 40 of the embodiment of the present invention has the first photographic head and second camera, described movement
Terminal 40 comprises determining that module 401, is used for determining shooting main body;Command reception module 402, is used for
Receive the instruction of the shooting video of mobile phone users;View data generation module 403, is used for regarding
Frequency shooting, is tracked described shooting main body in shooting process, and generates the first vedio data
With the second vedio data;Synthesis module 404, for generate described view data generation module
First vedio data and the second vedio data carry out image synthesis, generate target video.
Preferably, the structured flowchart of described view data generation module 403 is as it is shown in figure 5, view data
Generation module 403 includes such as lower unit:
First control unit 4031, is used for controlling described first photographic head and second camera respectively with difference
Frame per second carries out video capture;First data generating unit 4032, in described first control unit 4031
Control, in the first photographic head and second camera shooting process, to generate described first vedio data respectively
With the second vedio data, wherein, in described first photographic head shooting process, described first data
Described shooting main body is tracked by signal generating unit, and shoots the coordinate information of main body described in real time record,
Described first vedio data and the second vedio data are formed by multiple image;Second controls list
Unit 4033, is used for controlling described first photographic head or second camera carries out video capture with preset frame rate;
Second data generating unit 4034, for described second control unit 4033 control the first photographic head or
In second camera shooting process, generate described first vedio data, and regard described first in real time
Frequently view data copies, and generates described second vedio data, and wherein, described second data are raw
Become unit in described first photographic head or second camera shooting process, described shooting main body is carried out with
Track, and described in real time record, shoot the coordinate information of main body, described first vedio data and second regards
Frequently view data is formed by multiple image.
Preferably, as shown in Figure 6, second counts the structured flowchart of described second data generating unit 4034
Following subelement is included according to signal generating unit 4034:
First generates subelement 40341, for controlling the first photographic head or the in described second control unit
In two photographic head shooting process, generate described first vedio data;Second generates subelement 40342,
For in described first photographic head or second camera shooting process, often generate a frame video image number
According to, carry out the copy of described vedio data;When all frame figures in described first vedio data
During as completing copy, generate described second vedio data;3rd generates subelement 40343, is used for
In described first photographic head or second camera shooting process, from generating described first vedio data
First two field picture start, every the predetermined frame number interval frame video image that generated of copy;When described
When all two field pictures at the interval of predetermined frame number described in one vedio data complete copy, generate described the
Two vedio datas.
Preferably, the structured flowchart of described synthesis module 404 is as it is shown in fig. 7, synthesis module 404 includes
Such as lower unit:
Original image determines unit 4041, for for the every frame figure in described first vedio data
Picture, is defined as original image by described every two field picture;Target image determines unit 4042, for based on institute
State the original image that original image determines that unit 4041 determines, determine that described original image is described second
Target image corresponding in vedio data;Replacement unit 4043, for based on described in recording
The coordinate information of shooting main body, replaces with described former by the view data shooting main body in described target image
Beginning image shoots the view data of main body;Intermediate image signal generating unit 4044, is used for when described second regards
Frequently, when all images in view data complete to replace, multiframe intermediate image is generated;Coding unit 4045,
For described multiframe intermediate image is carried out Video coding, generate described target video.
Preferably, described determine the structured flowchart of module 401 as shown in Figure 8, determine that module 401 includes
Such as lower unit:
Acquiring unit 4011, for obtaining the operation of mobile phone users mark shooting main body;First main body
Determine unit 4012, the operation of the mark shooting main body for obtaining based on described acquiring unit 4011,
Determine shooting main body;Recognition unit 4013, enters for the preview image being collected shooting preview interface
Row Object identifying;Second main body determines unit 4014, for based on default shooting main body and reference object
Between corresponding relation, the object that will identify that is defined as described shooting main body.
The mobile terminal of the embodiment of the present invention is used for realizing in previous embodiment one to embodiment three corresponding
Video capture method, does not repeats them here.
The mobile terminal of the embodiment of the present invention, determines shooting main body before carrying out video capture, carries out video
During shooting, shooting main body is tracked, and generates the first vedio data and the second video image number
According to, then the first vedio data and the second vedio data are carried out image synthesis, synthesize picture
Main body and the target video of surrounding objects time irreversibility in face.Visible, the embodiment of the present invention provides
Mobile terminal, it is possible to record the video shooting main body and shooting time body time irreversibility in picture.
Embodiment five
With reference to Fig. 9, it is shown that the structured flowchart of the mobile terminal of the embodiment of the present invention five.
The mobile terminal 700 of the embodiment of the present invention includes: at least one processor 701, memorizer 702,
At least one network interface 704 and user interface 703.Each assembly in mobile terminal 700 is by total
Wire system 705 is coupled.It is understood that bus system 705 is for realizing the company between these assemblies
Connect letter.Bus system 705 in addition to including data/address bus, also include power bus, control bus and
Status signal bus in addition.But for the sake of understanding explanation, in fig .9 various buses are all designated as total linear system
System 705, mobile terminal 700 also includes that picture shooting assembly 706, picture shooting assembly 706 include the first photographic head
And second camera.
Wherein, user interface 703 can include display, keyboard or pointing device (such as, mouse,
Trace ball (trackball), touch-sensitive plate, touch screen etc..
The memorizer 702 being appreciated that in the embodiment of the present invention can be volatile memory or non-volatile
Property memorizer, maybe can include volatibility and nonvolatile memory.Wherein, nonvolatile memory
Can be read only memory (Read-OnlyMemory, ROM), programmable read only memory
(ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM (ErasablePROM,
EPROM), Electrically Erasable Read Only Memory (ElectricallyEPROM, EEPROM) or sudden strain of a muscle
Deposit.Volatile memory can be random access memory (RandomAccessMemory, RAM),
It is used as External Cache.By exemplary but be not restricted explanation, the RAM of many forms can
With, such as static RAM (StaticRAM, SRAM), dynamic random access memory
(DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory (SynchronousDRAM,
SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate SDRAM,
DDRSDRAM), enhancement mode Synchronous Dynamic Random Access Memory (Enhanced SDRAM,
ESDRAM), synchronized links dynamic random access memory (SynchlinkDRAM, SLDRAM) and
Directly rambus random access memory (DirectRambusRAM, DRRAM).The present invention implements
The memorizer 702 of the system and method that example describes is intended to include but not limited to these and other applicable class any
The memorizer of type.
In some embodiments, memorizer 702 stores following element, executable module or number
According to structure, or their subset, or their superset: operating system 7021 and application program
7022。
Wherein, operating system 7021, comprise various system program, such as ccf layer, core library layer, drive
Dynamic layers etc., are used for realizing various basic business and processing hardware based task.Application program 7022,
Comprise various application program, such as media player (MediaPlayer), browser (Browser) etc., use
In realizing various applied business.The program realizing embodiment of the present invention method may be embodied in application program
In 7022.
It is in embodiments of the present invention, by calling program or the instruction of memorizer 702 storage, concrete,
Can be program or the instruction of storage in application program 7022, processor 701 be used for determining shooting main body;
Receive the instruction of the shooting video of mobile phone users;Carry out video capture, to described in shooting process
Shooting main body is tracked, and generates the first vedio data and the second vedio data;By described
First vedio data and the second vedio data carry out image synthesis, generate target video.
The method that the invention described above embodiment discloses can apply in processor 701, or by processor
701 realize.Processor 701 is probably a kind of IC chip, has the disposal ability of signal.?
During realization, each step of said method can be by the integration logic electricity of the hardware in processor 701
The instruction of road or software form completes.Above-mentioned processor 701 can be general processor, numeral letter
Number processor (DigitalSignalProcessor, DSP), special IC
(ApplicationSpecificIntegratedCircuit, ASIC), ready-made programmable gate array
(FieldProgrammableGateArray, FPGA) or other PLDs, discrete gate or
Person's transistor logic, discrete hardware components.Can realize or perform the public affairs in the embodiment of the present invention
Each method, step and the logic diagram opened.General processor can be microprocessor or this processor also
It can be the processor etc. of any routine.Step in conjunction with the method disclosed in the embodiment of the present invention can be straight
Connect and be presented as that hardware decoding processor has performed, or by the hardware in decoding processor and software module
Combination execution completes.Software module may be located at random access memory, and flash memory, read only memory are able to programme
The storage medium that this areas such as read only memory or electrically erasable programmable memorizer, depositor are ripe
In.This storage medium is positioned at memorizer 702, and processor 701 reads the information in memorizer 702, knot
Close its hardware and complete the step of said method.
It is understood that the present invention describe these embodiments can use hardware, software, firmware, in
Between part, microcode or a combination thereof realize.Realizing for hardware, processing unit can be implemented in one or many
Individual special IC (ApplicationSpecificIntegratedCircuits, ASIC), Digital Signal Processing
Device (DigitalSignalProcessing, DSP), digital signal processing appts (DSPDevice, DSPD),
Programmable logic device (ProgrammableLogicDevice, PLD), field programmable gate array
(Field-ProgrammableGateArray, FPGA), general processor, controller, microcontroller,
Microprocessor, for performing in other electronic unit or a combination thereof of herein described function.
Software is realized, can by perform function described in the embodiment of the present invention module (such as process,
Function etc.) realize the technology described in the embodiment of the present invention.Software code is storable in memorizer also
Performed by processor.Memorizer can within a processor or realize outside processor.
Alternatively, described shooting main body is tracked in shooting process by processor 701, and generates
When one vedio data and the second vedio data, specifically for: control the first photographic head and second
Photographic head carries out video capture with different frame per second respectively;Shoot at described first photographic head and second camera
During, generate described first vedio data and the second vedio data respectively, wherein, in institute
State in the first photographic head shooting process, described shooting main body is tracked, and shoot described in real time record
The coordinate information of main body, described first vedio data and the second vedio data are by multiple image
Composition.
Alternatively, described shooting main body is tracked in shooting process by processor 701, and generates
When one vedio data and the second vedio data, specifically for: control the first photographic head or second
Photographic head carries out video capture with preset frame rate;At described first photographic head or second camera shooting process
In, generate described first vedio data, and in real time described first vedio data copied,
Generate described second vedio data, wherein, shot at described first photographic head or second camera
Cheng Zhong, is tracked described shooting main body, and shoots the coordinate information of main body described in real time record, institute
State the first vedio data and the second vedio data to be formed by multiple image.
Alternatively, described first vedio data is copied by processor 701 in real time, generates described
During the second vedio data, specifically for: at described first photographic head or second camera shooting process
In, often generate frame video image data, carry out the copy of described vedio data;When described first
When all two field pictures in vedio data complete copy, generate described second vedio data.
Alternatively, described first vedio data is copied by processor 701 in real time, generates described
During the second vedio data, specifically for: at described first photographic head or second camera shooting process
In, from the beginning of the first two field picture generating described first vedio data, every predetermined frame number interval copy
The frame video image generated;Institute when the interval of predetermined frame number described in described first vedio data
When having two field picture to complete copy, generate described second vedio data.
Alternatively, described first vedio data and the second vedio data are carried out by processor 701
Image synthesizes, when generating target video, specifically for: every in described first vedio data
Two field picture, is defined as original image by described every two field picture;Based on described original image, determine described former
The target image that beginning image is corresponding in described second vedio data;Based on the described bat recorded
Take the photograph the coordinate information of main body, the view data shooting main body in described target image is replaced with described original
Image shoots the view data of main body;When all images in described second vedio data complete to replace
When changing, generate multiframe intermediate image;Described multiframe intermediate image is carried out Video coding, generates described mesh
Mark video.
Alternatively, when processor 701 determines shooting main body, specifically for: obtain mobile phone users mark
The operation of note shooting main body;Operation based on described mark shooting main body, determines shooting main body.
Alternatively, when processor 701 determines shooting main body, specifically for: shooting preview interface is adopted
Collect to preview image carry out Object identifying;Corresponding based between default shooting main body and reference object
Relation, the object that will identify that is defined as described shooting main body.
Mobile terminal 700 is capable of each process that in previous embodiment, mobile terminal realizes, for avoiding
Repeat, repeat no more here.
The mobile terminal of the embodiment of the present invention, determines shooting main body before carrying out video capture, carries out video
During shooting, shooting main body is tracked, and generates the first vedio data and the second video image number
According to, then the first vedio data and the second vedio data are carried out image synthesis, synthesize picture
Main body and the target video of surrounding objects time irreversibility in face.Visible, the embodiment of the present invention provides
Mobile terminal, it is possible to record the video shooting main body and shooting time body time irreversibility in picture.
Embodiment six
With reference to Figure 10, it is shown that the structured flowchart of the mobile terminal of the embodiment of the present invention six.
Mobile terminal in the embodiment of the present invention can be mobile phone, panel computer, personal digital assistant
(PersonalDigital Assistant, PDA) or vehicle-mounted computer etc..
Mobile terminal in Figure 10 include radio frequency (RadioFrequency, RF) circuit 810, memorizer 820,
Input block 830, display unit 840, processor 860, voicefrequency circuit 870, WiFi (WirelessFidelity)
Module 880, power supply 890 and picture shooting assembly 800, picture shooting assembly 800 includes the first photographic head and
Two photographic head.
Wherein, the photographic head in picture shooting assembly 800 regards for the call instruction receiving processor 860
Frequency shooting.Input block 830 can be used for receive user input numeral or character information, and produce with
The user setup of mobile terminal and function control relevant signal input.Specifically, the embodiment of the present invention
In, this input block 830 can include contact panel 8301.Contact panel 8301, also referred to as touches
Screen, can collect user thereon or neighbouring touch operation (such as user uses finger, stylus etc. any
The object being suitable for or adnexa operation on contact panel 8301), and drive according to formula set in advance
Corresponding attachment means.Optionally, contact panel 8301 can include touch detecting apparatus and touch control
Two parts of device.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives from touch detecting apparatus and touches
Touch information, and be converted into contact coordinate, then give this processor 860, and processor 860 can be received
The order sent also is performed.Furthermore, it is possible to use resistance-type, condenser type, infrared ray and surface
The polytypes such as sound wave realize contact panel 8301.Except contact panel 8301, input block 830 is also
Can include other input equipments 8302, other input equipments 8302 can include but not limited to secondary or physical bond
In dish, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
One or more.
Wherein, display unit 840 can be used for the information that display is inputted or the information being supplied to user by user
And the various menu interfaces of mobile terminal.Display unit 840 can include display floater 8401, optionally,
The shape such as LCD or Organic Light Emitting Diode (OrganicLight-EmittingDiode, OLED) can be used
Formula configures display floater 8401.
It should be noted that contact panel 8301 can cover display floater 8401, formed and touch display screen, when
This touch display screen detects thereon or after neighbouring touch operation, sends processor 860 to determine
The type of touch event, is touching offer on display screen with preprocessor 860 according to the type of touch event
Corresponding visual output.
Touch display screen and include Application Program Interface viewing area and conventional control viewing area.This application program circle
The arrangement mode of viewing area, face and this conventional control viewing area does not limit, can be arranged above and below, left and right
Arrangement etc. can distinguish the arrangement mode of two viewing areas.This Application Program Interface viewing area may be used for showing
Show the interface of application program.Each interface can comprise at least one application program icon and/or
The interface elements such as widget desktop control.This Application Program Interface viewing area can also be any interior for not comprising
The empty interface held.This conventional control viewing area is for showing the control that utilization rate is higher, and such as, setting is pressed
The application icons etc. such as button, interface numbering, scroll bar, phone directory icon.
Wherein processor 860 is the control centre of mobile terminal, utilizes various interface and connection whole
The various piece of mobile phone, by run or perform the software program that is stored in first memory 8201 and/
Or module, and call the data being stored in second memory 8202, perform the various of mobile terminal
Function and process data, thus mobile terminal is carried out integral monitoring.Optionally, processor 860 can wrap
Include one or more processing unit.
In embodiments of the present invention, by call the software program stored in this first memory 8201 and/
Or the data in module and/or this second memory 8202, processor 860 is used for determining shooting main body;
Receive the instruction of the shooting video of mobile phone users;Carry out video capture, to described in shooting process
Shooting main body is tracked, and generates the first vedio data and the second vedio data;By described
First vedio data and the second vedio data carry out image synthesis, generate target video.
Alternatively, described shooting main body is tracked in shooting process by processor 860, and generates
When one vedio data and the second vedio data, specifically for: control picture shooting assembly 800 wraps
The first photographic head included and second camera carry out video capture with different frame per second respectively;Take the photograph described first
As, in head and second camera shooting process, generating described first vedio data and the second video respectively
View data, wherein, in described first photographic head shooting process, is tracked described shooting main body,
And described in real time record, shoot the coordinate information of main body, described first vedio data and the second video figure
As data are formed by multiple image.
Alternatively, described shooting main body is tracked in shooting process by processor 860, and generates
When one vedio data and the second vedio data, specifically for: control picture shooting assembly 800 wraps
The first photographic head or the second camera that include carry out video capture with preset frame rate;At described first photographic head
Or in second camera shooting process, generate described first vedio data, and in real time to described first
Vedio data copies, and generates described second vedio data, wherein, takes the photograph described first
As, in head or second camera shooting process, described shooting main body being tracked, and described in real time record
The coordinate information of shooting main body, described first vedio data and the second vedio data are by multiframe
Image forms.
Alternatively, described first vedio data is copied by processor 860 in real time, generates described
During the second vedio data, specifically for: at described first photographic head or second camera shooting process
In, often generate frame video image data, carry out the copy of described vedio data;When described first
When all two field pictures in vedio data complete copy, generate described second vedio data.
Alternatively, described first vedio data is copied by processor 860 in real time, generates described
During the second vedio data, specifically for: at described first photographic head or second camera shooting process
In, from the beginning of the first two field picture generating described first vedio data, every predetermined frame number interval copy
The frame video image generated;Institute when the interval of predetermined frame number described in described first vedio data
When having two field picture to complete copy, generate described second vedio data.
Alternatively, described first vedio data and the second vedio data are carried out by processor 860
Image synthesizes, when generating target video, specifically for: every in described first vedio data
Two field picture, is defined as original image by described every two field picture;Based on described original image, determine described former
The target image that beginning image is corresponding in described second vedio data;Based on the described bat recorded
Take the photograph the coordinate information of main body, the view data shooting main body in described target image is replaced with described original
Image shoots the view data of main body;When all images in described second vedio data complete to replace
When changing, generate multiframe intermediate image;Described multiframe intermediate image is carried out Video coding, generates described mesh
Mark video.
Alternatively, when processor 860 determines shooting main body, specifically for: obtain mobile phone users mark
The operation of note shooting main body;Operation based on described mark shooting main body, determines shooting main body.
Alternatively, when processor 860 determines shooting main body, specifically for: shooting preview interface is adopted
Collect to preview image carry out Object identifying;Corresponding based between default shooting main body and reference object
Relation, the object that will identify that is defined as described shooting main body.
The mobile terminal of the embodiment of the present invention, determines shooting main body before carrying out video capture, carries out video
During shooting, shooting main body is tracked, and generates the first vedio data and the second video image number
According to, then the first vedio data and the second vedio data are carried out image synthesis, synthesize picture
Main body and the target video of surrounding objects time irreversibility in face.Visible, the embodiment of the present invention provides
Mobile terminal, it is possible to record the video shooting main body and shooting time body time irreversibility in picture.
For device embodiment, due to itself and embodiment of the method basic simlarity, so the comparison described
Simply, relevant part sees the part of embodiment of the method and illustrates.
Provided herein video capture scheme not with any certain computer, virtual system or miscellaneous equipment
Intrinsic relevant.Various general-purpose systems can also be used together with based on teaching in this.According to retouching above
State, construct the structure required by the system with the present invention program and be apparent from.Additionally, the present invention
Also any certain programmed language it is not for.It is understood that, it is possible to use various programming languages realize retouching at this
The present disclosure stated, and the description above done language-specific is to disclose the present invention
Good embodiment.
In description mentioned herein, illustrate a large amount of detail.It is to be appreciated, however, that this
Inventive embodiment can be put into practice in the case of not having these details.In some instances, not
It is shown specifically known method, structure and technology, in order to do not obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help understand in each inventive aspect one
Or multiple, above in the description of the exemplary embodiment of the present invention, each feature of the present invention is sometimes
It is grouped together in single embodiment, figure or descriptions thereof.But, should be by the disclosure
Method be construed to reflect an intention that i.e. the present invention for required protection require ratio in each claim
The middle more feature of feature be expressly recited.More precisely, as the following claims reflect,
Inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows be embodied as
Claims of mode are thus expressly incorporated in this detailed description of the invention, the most each claim itself
All as the independent embodiment of the present invention.
It will appreciated by the skilled person that and the module in the equipment in embodiment can be carried out certainly
Change adaptively and they are arranged in one or more equipment different from this embodiment.Permissible
Module in embodiment or unit or assembly are combined into a module or unit or assembly, and in addition may be used
To put them into multiple submodule or subelement or sub-component.Except such feature and/or process or
Outside at least some in unit excludes each other, can use any combination that (this specification is included companion
With claim, summary and accompanying drawing) disclosed in all features and so disclosed any method or
All processes of person's equipment or unit are combined.Unless expressly stated otherwise, this specification (includes companion
With claim, summary and accompanying drawing) disclosed in each feature can by provide identical, equivalent or phase
Replace like the alternative features of purpose.
Although additionally, it will be appreciated by those of skill in the art that embodiments more described herein include it
Some feature included in its embodiment rather than further feature, but the group of the feature of different embodiment
Close and mean to be within the scope of the present invention and formed different embodiments.Such as, in claim
In book, one of arbitrarily can mode using in any combination of embodiment required for protection.
The all parts embodiment of the present invention can realize with hardware, or to process at one or more
The software module run on device realizes, or realizes with combinations thereof.Those skilled in the art should
Understand, microprocessor or digital signal processor (DSP) can be used in practice to realize basis
The some or all functions of the some or all parts in the video capture scheme of the embodiment of the present invention.
The present invention is also implemented as part or all the equipment for performing method as described herein
Or device program (such as, computer program and computer program).Such realize the present invention
Program can store on a computer-readable medium, or can have the shape of one or more signal
Formula.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or
Person provides with any other form.
The present invention will be described rather than limits the invention to it should be noted above-described embodiment,
And those skilled in the art can design replacement without departing from the scope of the appended claims
Embodiment.In the claims, any reference marks that should not will be located between bracket is configured to right
The restriction required.Word " comprises " and does not excludes the presence of the element or step not arranged in the claims.Position
Word "a" or "an" before element does not excludes the presence of multiple such element.The present invention can
With by means of including the hardware of some different elements and realizing by means of properly programmed computer.
If in the unit claim listing equipment for drying, several in these devices can be by same
Individual hardware branch specifically embodies.Word first, second and third use do not indicate that any order.
Can be title by these word explanations.
Those of ordinary skill in the art are it is to be appreciated that combine the disclosed embodiments in the embodiment of the present invention
The unit of each example described and algorithm steps, it is possible to electronic hardware or computer software and electronics
Being implemented in combination in of hardware.These functions perform with hardware or software mode actually, depend on technology
The application-specific of scheme and design constraint.Each specifically should being used for can be made by professional and technical personnel
Differently realize described function, but this realization is it is not considered that exceed the model of the present invention
Enclose.
Those skilled in the art is it can be understood that arrive, and for convenience and simplicity of description, above-mentioned retouches
The specific works process of system, device and the unit stated, is referred to the correspondence in preceding method embodiment
Process, does not repeats them here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, permissible
Realize by another way.Such as, device embodiment described above is only schematically, example
Such as, the division of described unit, be only a kind of logic function and divide, actual can have when realizing other
Dividing mode, the most multiple unit or assembly can in conjunction with or be desirably integrated into another system, or one
A little features can be ignored, or does not performs.Another point, shown or discussed coupling each other or straight
Connect coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication link
Connect, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, makees
The parts shown for unit can be or may not be physical location, i.e. may be located at a place,
Or can also be distributed on multiple NE.Can select according to the actual needs part therein or
The whole unit of person realizes the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit
In, it is also possible to it is that unit is individually physically present, it is also possible to two or more unit are integrated in one
In individual unit.
If described function realizes using the form of SFU software functional unit and as independent production marketing or make
Used time, can be stored in a computer read/write memory medium.Based on such understanding, the present invention
The part that the most in other words prior art contributed of technical scheme or the portion of this technical scheme
Dividing and can embody with the form of software product, this computer software product is stored in a storage medium
In, including some instructions with so that computer equipment (can be personal computer, server,
Or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And it is front
The storage medium stated includes: USB flash disk, portable hard drive, ROM, RAM, magnetic disc or CD etc. are various
The medium of program code can be stored.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited to
In this, any those familiar with the art, can be easily in the technical scope that the invention discloses
Expect change or replace, all should contain within protection scope of the present invention.Therefore, the protection of the present invention
Scope should be as the criterion with scope of the claims.
Claims (16)
1. a video capture method, is applied to the mobile end with the first photographic head and second camera
End, it is characterised in that described method includes:
Determine shooting main body;
Receive the instruction of the shooting video of mobile phone users;
Carry out video capture, in shooting process, described shooting main body is tracked, and generate first and regard
Frequently view data and the second vedio data;
Described first vedio data and the second vedio data are carried out image synthesis, generates target
Video.
Method the most according to claim 1, it is characterised in that described in carry out video capture,
Described shooting main body is tracked by shooting process, and generates the first vedio data and the second video
The step of view data, including:
Control described first photographic head and second camera carries out video capture with different frame per second respectively;
In described first photographic head and second camera shooting process, generate described first video figure respectively
As data and the second vedio data, wherein, in described first photographic head shooting process, to described
Shooting main body is tracked, and shoots the coordinate information of main body described in real time record, described first video figure
As data and the second vedio data are formed by multiple image.
Method the most according to claim 1, it is characterised in that described in carry out video capture,
Described shooting main body is tracked by shooting process, and generates the first vedio data and the second video
The step of view data, including:
Control described first photographic head or second camera carries out video capture with preset frame rate;
In described first photographic head or second camera shooting process, generate described first video image number
According to, and in real time described first vedio data is copied, generate described second vedio data,
Wherein, in described first photographic head or second camera shooting process, described shooting main body is carried out with
Track, and described in real time record, shoot the coordinate information of main body, described first vedio data and second regards
Frequently view data is formed by multiple image.
Method the most according to claim 3, it is characterised in that described regard described first in real time
Frequently view data copies, and generates the step of described second vedio data, including:
In described first photographic head or second camera shooting process, often generate a frame video image number
According to, carry out the copy of described vedio data;
When all two field pictures in described first vedio data complete copy, generate described second and regard
Frequently view data.
Method the most according to claim 3, it is characterised in that described regard described first in real time
Frequently view data copies, and generates the step of described second vedio data, including:
In described first photographic head or second camera shooting process, from generating described first video image
The first two field picture of data starts, every the frame video image that predetermined frame number interval copy is generated;
When all two field pictures at the interval of predetermined frame number described in described first vedio data complete copy
Time, generate described second vedio data.
6. according to the method according to any one of claim 2 to 5, it is characterised in that described by institute
State the first vedio data and the second vedio data carries out image synthesis, generate the step of target video
Suddenly, including:
For the every two field picture in described first vedio data, described every two field picture is defined as original
Image;
Based on described original image, determine that described original image institute in described second vedio data is right
The target image answered;
Coordinate information based on the described shooting main body recorded, will shoot main body in described target image
View data replaces with the view data shooting main body in described original image;
When all images in described second vedio data complete to replace, generate multiframe middle graph
Picture;
Described multiframe intermediate image is carried out Video coding, generates described target video.
Method the most according to claim 1, it is characterised in that the described step determining shooting main body
Suddenly, including:
Obtain the operation of mobile phone users mark shooting main body;
Operation based on described mark shooting main body, determines shooting main body.
Method the most according to claim 1, it is characterised in that the described step determining shooting main body
Suddenly, including:
The preview image being collected shooting preview interface carries out Object identifying;
Based on the corresponding relation between default shooting main body and reference object, the object that will identify that determines
For described shooting main body.
9. a mobile terminal, including the first photographic head and second camera, it is characterised in that described
Mobile terminal also includes:
Determine module, be used for determining shooting main body;
Command reception module, for receiving the instruction of the shooting video of mobile phone users;
View data generation module, is used for carrying out video capture, to described shooting main body in shooting process
It is tracked, and generates the first vedio data and the second vedio data;
Synthesis module, for the first vedio data generated by described view data generation module and the
Two vedio datas carry out image synthesis, generate target video.
Mobile terminal the most according to claim 9, it is characterised in that described view data generates
Module includes:
First control unit, is used for controlling described first photographic head and second camera respectively with different frame per second
Carry out video capture;
First data generating unit, takes the photograph for controlling the first photographic head and second in described first control unit
As, in head shooting process, generating described first vedio data and the second vedio data respectively, its
In, in described first photographic head shooting process, described first data generating unit is to described shooting main body
Be tracked, and described in real time record, shoot the coordinate information of main body, described first vedio data and
Second vedio data is formed by multiple image.
11. mobile terminals according to claim 9, it is characterised in that described view data generates
Module includes:
Second control unit, is used for controlling described first photographic head or second camera is carried out with preset frame rate
Video capture;
Second data generating unit, takes the photograph for controlling the first photographic head or second in described second control unit
As, in head shooting process, generating described first vedio data, and in real time to described first video image
Data copy, and generate described second vedio data, wherein, described second data generating unit
In described first photographic head or second camera shooting process, described shooting main body is tracked, and
The coordinate information of main body, described first vedio data and the second video image is shot described in real time record
Data are formed by multiple image.
12. mobile terminals according to claim 11, it is characterised in that described second data are raw
Unit is become to include:
First generates subelement, for controlling the first photographic head or the second shooting in described second control unit
In head shooting process, generate described first vedio data;
Second generates subelement, is used in described first photographic head or second camera shooting process, often
Generate frame video image data, carry out the copy of described vedio data;When described first video figure
When completing copy as all two field pictures in data, generate described second vedio data.
13. mobile terminals according to claim 11, it is characterised in that described second data are raw
Unit is become to include:
First generates subelement, for controlling the first photographic head or the second shooting in described second control unit
In head shooting process, generate described first vedio data;
3rd generates subelement, is used in described first photographic head or second camera shooting process, from
The first two field picture generating described first vedio data starts, and every predetermined frame number interval, copy is generated
A frame video image;All frame figures when the interval of predetermined frame number described in described first vedio data
During as completing copy, generate described second vedio data.
14. according to the mobile terminal according to any one of claim 10 to 13, it is characterised in that institute
State synthesis module to include:
Original image determines unit, is used for for the every two field picture in described first vedio data, will
Described every two field picture is defined as original image;
Target image determines unit, for determining, based on described original image, the original image that unit determines,
Determine the target image that described original image is corresponding in described second vedio data;
Replacement unit, for coordinate information based on the described shooting main body recorded, by described target figure
The view data shooting main body in Xiang replaces with the view data shooting main body in described original image;
Intermediate image signal generating unit, for completing to replace when all images in described second vedio data
When changing, generate multiframe intermediate image;
Coding unit, for described multiframe intermediate image is carried out Video coding, generates described target video.
15. mobile terminals according to claim 9, it is characterised in that described determine that module includes:
Acquiring unit, for obtaining the operation of mobile phone users mark shooting main body;
First main body determines unit, the behaviour of the mark shooting main body for obtaining based on described acquiring unit
Make, determine shooting main body.
16. mobile terminals according to claim 9, it is characterised in that described determine that module includes:
Recognition unit, carries out Object identifying for the preview image being collected shooting preview interface;
Second main body determines unit, for based on the corresponding pass between default shooting main body and reference object
System, the object that will identify that is defined as described shooting main body.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610407482.1A CN105847636B (en) | 2016-06-08 | 2016-06-08 | A kind of video capture method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610407482.1A CN105847636B (en) | 2016-06-08 | 2016-06-08 | A kind of video capture method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105847636A true CN105847636A (en) | 2016-08-10 |
CN105847636B CN105847636B (en) | 2018-10-16 |
Family
ID=56575964
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610407482.1A Active CN105847636B (en) | 2016-06-08 | 2016-06-08 | A kind of video capture method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105847636B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106791448A (en) * | 2017-02-27 | 2017-05-31 | 努比亚技术有限公司 | A kind of mobile terminal and image pickup method |
CN107493438A (en) * | 2017-09-26 | 2017-12-19 | 华勤通讯技术有限公司 | Continuous shooting method and device, the electronic equipment of dual camera |
CN107592488A (en) * | 2017-09-30 | 2018-01-16 | 联想(北京)有限公司 | A kind of video data handling procedure and electronic equipment |
CN107786827A (en) * | 2017-11-07 | 2018-03-09 | 维沃移动通信有限公司 | Video capture method, video broadcasting method, device and mobile terminal |
CN110786005A (en) * | 2018-06-29 | 2020-02-11 | 深圳市大疆创新科技有限公司 | Control method and control device for time-lapse photography, imaging system and storage medium |
CN111405199A (en) * | 2020-03-27 | 2020-07-10 | 维沃移动通信(杭州)有限公司 | Image shooting method and electronic equipment |
WO2021093583A1 (en) * | 2019-11-11 | 2021-05-20 | RealMe重庆移动通信有限公司 | Video stream processing method and apparatus, terminal device, and computer readable storage medium |
CN113810627A (en) * | 2021-08-12 | 2021-12-17 | 惠州Tcl云创科技有限公司 | Video processing method and device and mobile terminal |
WO2022041202A1 (en) * | 2020-08-29 | 2022-03-03 | 上海量明科技发展有限公司 | Object-based video combining method, client end, and system |
CN114466232A (en) * | 2022-01-29 | 2022-05-10 | 维沃移动通信有限公司 | Video processing method, video processing device, electronic equipment and medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101909166A (en) * | 2009-06-05 | 2010-12-08 | 中兴通讯股份有限公司 | Receiving end/sending end image synthesis method in visual communication and image synthesizer |
CN102148965A (en) * | 2011-05-09 | 2011-08-10 | 上海芯启电子科技有限公司 | Video monitoring system for multi-target tracking close-up shooting |
CN104394313A (en) * | 2014-10-27 | 2015-03-04 | 成都理想境界科技有限公司 | Special effect video generating method and device |
US20150244944A1 (en) * | 2014-02-27 | 2015-08-27 | Sony Corporation | Device and method for panoramic image processing |
CN105323526A (en) * | 2014-05-30 | 2016-02-10 | 卡西欧计算机株式会社 | Moving image data playback apparatus, and imaging apparatus, and moving image data playback method |
CN105391935A (en) * | 2014-09-02 | 2016-03-09 | 宏达国际电子股份有限公司 | CONTROLLING METHOD FOR IMAGE CAPTURING DEVICE and ELECTRONIC DEVICE |
CN105391949A (en) * | 2015-10-29 | 2016-03-09 | 深圳市金立通信设备有限公司 | Photographing method and terminal |
CN105578051A (en) * | 2015-12-30 | 2016-05-11 | 小米科技有限责任公司 | Image capturing method and image capturing apparatus |
-
2016
- 2016-06-08 CN CN201610407482.1A patent/CN105847636B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101909166A (en) * | 2009-06-05 | 2010-12-08 | 中兴通讯股份有限公司 | Receiving end/sending end image synthesis method in visual communication and image synthesizer |
CN102148965A (en) * | 2011-05-09 | 2011-08-10 | 上海芯启电子科技有限公司 | Video monitoring system for multi-target tracking close-up shooting |
US20150244944A1 (en) * | 2014-02-27 | 2015-08-27 | Sony Corporation | Device and method for panoramic image processing |
CN105323526A (en) * | 2014-05-30 | 2016-02-10 | 卡西欧计算机株式会社 | Moving image data playback apparatus, and imaging apparatus, and moving image data playback method |
CN105391935A (en) * | 2014-09-02 | 2016-03-09 | 宏达国际电子股份有限公司 | CONTROLLING METHOD FOR IMAGE CAPTURING DEVICE and ELECTRONIC DEVICE |
CN104394313A (en) * | 2014-10-27 | 2015-03-04 | 成都理想境界科技有限公司 | Special effect video generating method and device |
CN105391949A (en) * | 2015-10-29 | 2016-03-09 | 深圳市金立通信设备有限公司 | Photographing method and terminal |
CN105578051A (en) * | 2015-12-30 | 2016-05-11 | 小米科技有限责任公司 | Image capturing method and image capturing apparatus |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106791448A (en) * | 2017-02-27 | 2017-05-31 | 努比亚技术有限公司 | A kind of mobile terminal and image pickup method |
CN107493438A (en) * | 2017-09-26 | 2017-12-19 | 华勤通讯技术有限公司 | Continuous shooting method and device, the electronic equipment of dual camera |
CN107493438B (en) * | 2017-09-26 | 2020-05-15 | 华勤通讯技术有限公司 | Continuous shooting method and device for double cameras and electronic equipment |
CN107592488A (en) * | 2017-09-30 | 2018-01-16 | 联想(北京)有限公司 | A kind of video data handling procedure and electronic equipment |
CN107786827A (en) * | 2017-11-07 | 2018-03-09 | 维沃移动通信有限公司 | Video capture method, video broadcasting method, device and mobile terminal |
CN107786827B (en) * | 2017-11-07 | 2020-03-10 | 维沃移动通信有限公司 | Video shooting method, video playing method and device and mobile terminal |
CN110786005A (en) * | 2018-06-29 | 2020-02-11 | 深圳市大疆创新科技有限公司 | Control method and control device for time-lapse photography, imaging system and storage medium |
US11711623B2 (en) | 2019-11-11 | 2023-07-25 | Realme Chongqing Mobile Telecommunications Corp., Ltd. | Video stream processing method, device, terminal device, and computer-readable storage medium |
WO2021093583A1 (en) * | 2019-11-11 | 2021-05-20 | RealMe重庆移动通信有限公司 | Video stream processing method and apparatus, terminal device, and computer readable storage medium |
KR102686603B1 (en) * | 2020-03-27 | 2024-07-19 | 비보 모바일 커뮤니케이션 컴퍼니 리미티드 | Image taking methods and electronic equipment |
JP7495517B2 (en) | 2020-03-27 | 2024-06-04 | 維沃移動通信有限公司 | Image capturing method and electronic device |
CN111405199B (en) * | 2020-03-27 | 2022-11-01 | 维沃移动通信(杭州)有限公司 | Image shooting method and electronic equipment |
KR20220158101A (en) * | 2020-03-27 | 2022-11-29 | 비보 모바일 커뮤니케이션 컴퍼니 리미티드 | Image taking methods and electronic equipment |
JP2023518895A (en) * | 2020-03-27 | 2023-05-08 | 維沃移動通信有限公司 | Imaging methods and electronics |
CN111405199A (en) * | 2020-03-27 | 2020-07-10 | 维沃移动通信(杭州)有限公司 | Image shooting method and electronic equipment |
EP4131931A4 (en) * | 2020-03-27 | 2023-08-16 | Vivo Mobile Communication Co., Ltd. | Image capturing method and electronic device |
WO2022041202A1 (en) * | 2020-08-29 | 2022-03-03 | 上海量明科技发展有限公司 | Object-based video combining method, client end, and system |
CN113810627B (en) * | 2021-08-12 | 2023-12-19 | 惠州Tcl云创科技有限公司 | Video processing method, device, mobile terminal and readable storage medium |
CN113810627A (en) * | 2021-08-12 | 2021-12-17 | 惠州Tcl云创科技有限公司 | Video processing method and device and mobile terminal |
CN114466232A (en) * | 2022-01-29 | 2022-05-10 | 维沃移动通信有限公司 | Video processing method, video processing device, electronic equipment and medium |
CN114466232B (en) * | 2022-01-29 | 2024-07-26 | 维沃移动通信有限公司 | Video processing method, device, electronic equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN105847636B (en) | 2018-10-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105847636A (en) | Video recording method and mobile terminal | |
CN106027907A (en) | Method for automatically adjusting camera, and mobile terminal | |
CN105827754B (en) | A kind of generation method and mobile terminal of high dynamic range images | |
CN106506962A (en) | A kind of image processing method and mobile terminal | |
CN106358069A (en) | Video data processing method and mobile terminal | |
CN106027900A (en) | Photographing method and mobile terminal | |
CN105827825A (en) | Audio data processing method and mobile terminal | |
CN106780685B (en) | A kind of generation method and terminal of dynamic picture | |
CN106657810A (en) | Filter processing method and device for video image | |
CN105827964A (en) | Image processing method and mobile terminal | |
CN105827946A (en) | Panoramic image generating method, panoramic image playing method and mobile terminal | |
CN101968790A (en) | Display processing device, display processing method, and display processing program | |
CN106161943A (en) | A kind of kinescope method and mobile terminal | |
CN105979157B (en) | A kind of screening-mode switching method and mobile terminal | |
CN105827970A (en) | Image processing method and mobile terminal | |
CN106791437A (en) | A kind of panoramic picture image pickup method and mobile terminal | |
CN107592568B (en) | A kind of video broadcasting method and terminal device | |
CN106454086A (en) | Image processing method and mobile terminal | |
CN106101544A (en) | A kind of image processing method and mobile terminal | |
CN105979155A (en) | Photographing method and mobile terminal | |
CN106341608A (en) | Emotion based shooting method and mobile terminal | |
CN106454085A (en) | Image processing method and mobile terminal | |
CN107105342A (en) | A kind of video playing control method and mobile terminal | |
CN107396151A (en) | A kind of video playing control method and electronic equipment | |
CN107172486B (en) | A kind of video encoding/decoding method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |