CN110365927A - Video recording method, device, storage medium and computer equipment - Google Patents
Video recording method, device, storage medium and computer equipment Download PDFInfo
- Publication number
- CN110365927A CN110365927A CN201810312747.9A CN201810312747A CN110365927A CN 110365927 A CN110365927 A CN 110365927A CN 201810312747 A CN201810312747 A CN 201810312747A CN 110365927 A CN110365927 A CN 110365927A
- Authority
- CN
- China
- Prior art keywords
- video frame
- acquisition
- video
- frame
- superposition
- 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
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/91—Television signal processing therefor
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
The present invention relates to a kind of video recording method, device, storage medium and computer equipments, this method comprises: successively acquiring video frame;Obtain the video frame of the corresponding acquisition when frame superposition condition meets;The video frame that will acquire is superimposed with the video frame acquired after the acquisition time of the video frame of acquisition;The video frame replacement video frame acquired after the acquisition time of the video frame of acquisition obtained with superposition;The video recorded is generated according to video frame identified after replacement.Scheme provided by the present application improves video formation efficiency.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of video recording method, device, storage medium and meter
Calculate machine equipment.
Background technique
With the development of computer technology, more and more computer equipments all have a camera function, such as smart phone,
Tablet computer and smart camera etc..User also more and more commonly selects to transmit information by image or video in this way.
Currently, user is usually to pass through image processing application, special efficacy is added simultaneously to the photo of existing image or shooting
Video is generated after being combined, and is being transmitted, it is complicated for operation in this way, and user's level professional technology with higher is needed,
To affect the efficiency for generating video.
Summary of the invention
Based on this, it is necessary to aiming at the problem that generating the low efficiency of video at present, provide a kind of video recording method, dress
It sets, storage medium and computer equipment.
A kind of video recording method, comprising:
Successively acquire video frame;
Obtain the video frame of the corresponding acquisition when frame superposition condition meets;
The video frame that will acquire is superimposed with the video frame acquired after the acquisition time of the video frame of acquisition;
The video frame replacement video frame acquired after the acquisition time of the video frame of acquisition obtained with superposition;
The video recorded is generated according to video frame identified after replacement.
A kind of video recording device, comprising:
Acquisition module, for successively acquiring video frame;
Module is obtained, for obtaining the video frame of the corresponding acquisition when frame superposition condition meets;
Laminating module, the video frame for will acquire are folded with the video frame acquired after the acquisition time of the video frame of acquisition
Add;
Replacement module, for the replacement of obtained video frame is described to be acquired after the acquisition time of the video frame of acquisition with being superimposed
Video frame;
Generation module, for generating the video recorded according to video frame identified after replacement.
In one embodiment, described device further include:
Determination module, for inquiring preset time node;It is successively acquiring video frame and is detecting that current time node reaches
When to preset time node, then determine to meet frame superposition condition at current time node.
In one embodiment, the determination module, which is also used to reach preset time node in current time node, plays beginning
Timing;Often when the timing duration of current time node reaches preset duration, judgement meets frame superposition at current time node
Condition, and restart timing, until at the end of video record only.
In one embodiment, the laminating module is also used to each video frame that will be acquired, and in corresponding acquisition time
The video frame of preceding acquisition is superimposed, and obtains the respective video frame of each video frame with acquisition;The replacement module is also used to use
It is superimposed the video frame that obtained each video frame replaces respective acquisition respectively.
In one embodiment, the laminating module is also used to when getting video frame, the video frame that will currently obtain
As current video frame;It will be after the acquisition time of the current video frame and in the acquisition of the next frame video frame got
The video frame acquired before time is superimposed to obtain corresponding video frame with the current video frame, and is obtaining next frame video frame
When, the video frame that will currently obtain is reentered as the step of current video frame, is stopped at the end of video record;It is described to replace
The video frame that mold changing block is also used to be obtained with superposition replaces the video frame acquired accordingly.
A kind of computer readable storage medium is stored with computer program on the computer readable storage medium, described
When computer program is executed by processor, so that the processor executes following steps:
Successively acquire video frame;
Obtain the video frame of the corresponding acquisition when frame superposition condition meets;
The video frame that will acquire is superimposed with the video frame acquired after the acquisition time of the video frame of acquisition;
The video frame replacement video frame acquired after the acquisition time of the video frame of acquisition obtained with superposition;
The video recorded is generated according to video frame identified after replacement.
A kind of computer equipment, including memory and processor store computer program, the meter in the memory
When calculation machine program is executed by the processor, so that the processor executes following steps:
Successively acquire video frame;
Obtain the video frame of the corresponding acquisition when frame superposition condition meets;
The video frame that will acquire is superimposed with the video frame acquired after the acquisition time of the video frame of acquisition;
The video frame replacement video frame acquired after the acquisition time of the video frame of acquisition obtained with superposition;
The video recorded is generated according to video frame identified after replacement.
Above-mentioned video recording method, device, storage medium and computer equipment, by during acquiring video frame,
The video frame of the corresponding acquisition when frame superposition condition meets, and then the video frame that will acquire automatically and the view in acquisition are obtained in real time
The video frame superposition acquired after the acquisition time of frequency frame replaces the acquisition in the video frame of acquisition with the video frame obtained with superposition
The video frame acquired after time generates video further according to video frame identified after replacement.It has been achieved in shooting process
It is i.e. automatic and the video frame of acquisition is handled in real time, operation is greatly simplified, video formation efficiency is improved.
Detailed description of the invention
Fig. 1 is the flow diagram of video recording method in one embodiment;
Fig. 2 is the schematic diagram of the video frame obtained in one embodiment;
Fig. 3 is the schematic diagram for the video frame being superimposed in one embodiment;
Fig. 4 is the schematic diagram of the video frame obtained in another embodiment;
Fig. 5 is the schematic diagram for the video frame being superimposed in another embodiment;
Fig. 6 is the schematic diagram for the video frame being superimposed in another embodiment;
Fig. 7 is the schematic diagram for the video frame being superimposed in another embodiment;
Fig. 8 is the function structure chart of resource sharing device in one embodiment;
Fig. 9 is the function structure chart of resource sharing device in another embodiment;
Figure 10 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
Fig. 1 is the flow diagram of video recording method in one embodiment.The present embodiment is mainly applied in this way
Computer equipment illustrates.Referring to Fig.1, which specifically comprises the following steps:
S102 successively acquires video frame.
Wherein, video frame is the component units of video to be encoded.Video frame is encoded in order can obtain video.
Video frame is shown in order can realize video playing.
In one embodiment, computer equipment specifically can according to fixed or dynamic frame per second, successively acquired image frames with
As video frame.Wherein, fixed or dynamic frame per second can be such that the picture frame of acquisition is fixing according to this or dynamic frame per second plays
When form continuous video pictures.
In one embodiment, computer equipment can taken the photograph by the camera of built-in camera or external connection
As under the current visual field of head chronologically successively acquired image frames for use as video frame.Wherein, the visual field of camera can be because of computer
The posture of equipment and the variation of position and change.
In one embodiment, social application can have been run in computer equipment, then computer equipment then can be in social activity
Using acquired image frames under provided screening-mode for use as video frame.Wherein, social application is carried out based on social networks
The application of network social intercourse interaction.Social application includes instant messaging application, SNS (Social Network Service, social activity
Website) application, live streaming application or application etc. of taking pictures.
It illustrates, it is assumed that computer equipment is user terminal, and operation has social application on user terminal, and user can pass through
The video record entrance that social application is provided in application interface, starting is by fixed frame per second continuous acquisition picture frame with recorded video.
Wherein, recorded video can be self-timer be also possible to his clap.
S104 obtains the video frame of the corresponding acquisition when frame superposition condition meets.
Wherein, frame superposition condition is the constraint condition for needing to meet when carrying out video frame overlap-add operation.That is, in frame
This constraint condition of superposition condition just will do it video frame overlap-add operation when being satisfied.Segmentum intercalaris when frame superposition condition specifically can be
The constraint condition of point, is also possible to the constraint condition of user instruction, can also be the constraint of the characteristics of image of the video frame of acquisition
Condition etc..
In one embodiment, video recording method further include: inquiry preset time node;Successively acquire video frame,
And when detecting that current time node reaches preset time node, then determine to meet frame superposition condition at current time node.
Wherein, preset time node is the node during pre-set video record.Preset time node specifically may be used
Be sometime point during video record, a certain video frame that is also possible to during video record, such as start to record
N-th second after video collects nth frame video frame etc..It is appreciated that timing node is not to temporal limit here
System, for the node during referring to one section.
Preset time node can be the timing node determined according to user's operation, is also possible to computer equipment and uniformly sets
The timing node set.Preset time node can be one, be also possible to multiple.When preset time node is multiple, arbitrarily
Time interval between two adjacent two preset time nodes in timing can be identical, be also possible to different
's.
Specifically, computer equipment is when successively acquiring video frame, can asynchronous query preset time node, and detect current
Whether timing node reaches preset time node.Computer equipment detect currently reach preset time node when, then determine
The constraint condition of timing node is met at current time node, that is, meets frame superposition item at current time node
Part.Then, computer equipment can obtain the video frame acquired when currently reaching preset time node, which is used
In subsequent overlap-add operation.
For example, user passes through the video record entrance that social application is provided in application interface, start continuous acquisition figure
After picture frame is with recorded video, user terminal can inquire preset recording time point, and the recording time point is reached in recorded video
When, then it is assumed that meet frame superposition condition at current recording time point, obtains the video frame of current recording time point acquisition.
It in the present embodiment, is in advance the constraint condition of timing node by frame superposition condition setting, by pre-setting
Meet the timing node of condition, automatically current time node can be monitored in shooting process in this way, to meet
Frame is superimposed the video frame that corresponding acquisition is obtained at the timing node of condition, recycles the video frame of acquisition to the video of subsequent acquisition
Frame is overlapped processing, greatly simplifies operation, improves video formation efficiency.
In one embodiment, the video frame of the corresponding acquisition when frame superposition condition meets is obtained, comprising: successively acquiring
When video frame, detection corresponds to user's selection instruction of the video frame of acquisition;When detecting user's selection instruction, then frame is determined
Superposition condition is satisfied;Obtain video frame acquiring and corresponding with user's selection instruction.
Wherein, user's selection instruction is the computer instruction for selecting the video frame for superposition.Specifically, computer
The predefined trigger action of the detectable video frame corresponding to acquisition of equipment, triggers when detecting the trigger action and corresponds to
User's selection instruction of the video frame currently acquired.Trigger action can be the operation to control in interface, such as to control
Touch control operation or cursor clicking operation etc..Trigger action is also possible to the click to predefined physical button, or aobvious
The shaking operation triggered when showing the video frame of acquisition or voice operating etc..
Further, computer equipment then determines user's selection instruction after triggering and detecting user's selection instruction
The constraint condition of user instruction is met, that is, user's selection instruction meets frame superposition condition.Then, computer equipment
Video frame acquiring and corresponding with user's selection instruction is obtained, which is used in subsequent overlap-add operation.
It in the present embodiment, is in advance the constraint condition of user instruction by frame superposition condition setting, by pre-setting
Meet the user instruction of condition, user instruction can be automatically detected in shooting process in this way, is user's choosing with user instruction
When selecting instruction, obtain acquisition and video frame corresponding with user's selection instruction, recycle the video frame of acquisition to subsequent acquisition
Video frame be overlapped processing, greatly simplifie operation, improve video formation efficiency.
In one embodiment, video recording method further include: the characteristics of image for extracting the video frame of acquisition, by extraction
Characteristics of image is compared with pre-set image feature, when the characteristics of image of extraction and pre-set image characteristic matching, then determines and default
The video frame of the image characteristics extraction of Image Feature Matching certainly meets frame superposition condition.
Wherein, pre-set image is characterized in the feature that the pre-set video frame for meeting frame superposition condition should have.It is full
The video frame of sufficient frame superposition condition can have good distinction, avoid filtering out the video frame for excessively meeting frame superposition condition or
Person can not screen the video frame for meeting frame superposition condition.
Judge whether the characteristics of image extracted matches with pre-set image feature, can be the image characteristic point that judgement is extracted
Whether quantity reaches preset image characteristic point amount threshold.At this point, characteristics of image is the quantity of image characteristic point, characteristics of image
Point is the point for having distinct characteristic in video frame and capable of effectively reflecting image substantive characteristics, and this feature point has mark picture frame
In object ability.
Judge whether the characteristics of image extracted matches with pre-set image feature, is also possible to the interest region that judgement is extracted
Whether the accounting that (Region Of Interest, ROI) accounts for video frame reaches default accounting.At this point, characteristics of image is to extract
Interest region accounts for the accounting of video frame.Interest region specifically can be the foreground area of video frame.Moving target is video frame institute
The element moved in the picture of expression, moving target region are the foreground areas of video frame;And it is static in video frame or
It is the background area of video frame close to the element region forbidden.The people of moving target such as position or attitudes vibration moves
The illumination etc. of the dynamic vehicles or movement.
In the present embodiment, frame is superimposed to the constraint condition of the characteristics of image for the video frame that condition setting is acquisition in advance,
By pre-setting the characteristics of image of the condition of satisfaction, the picture frame of acquisition can be automatically extracted in shooting process in this way
Characteristics of image, to determine the image with pre-set image characteristic matching in the characteristics of image of extraction and pre-set image characteristic matching
Feature extraction from video frame meet frame superposition condition, and then obtain with the image characteristics extraction of pre-set image characteristic matching from
Video frame recycles the video frame of acquisition to be overlapped processing to the video frame of subsequent acquisition, greatly simplifies operation, improves
Video formation efficiency.
S106, the video frame that will acquire are superimposed with the video frame acquired after the acquisition time of the video frame of acquisition.
Specifically, it is continual process that computer equipment, which successively acquires video frame, and computer equipment is folded in judgment frame
It does not influence to adopt with interruption when adding condition whether it is satisfied, and obtaining the video frame of corresponding acquisition when frame superposition condition meets
Collect the process of video frame.The video frame that so computer equipment can then will acquire is adopted with after the acquisition time of the video frame of acquisition
The video frame of collection is superimposed.Wherein, the video frame being superimposed with the video frame of acquisition can be the acquisition time in the video frame of acquisition
The all videos frame acquired afterwards is also possible to the partial video frame acquired after the acquisition time of the video frame of acquisition.
Further, the video frame that computer equipment can directly will acquire is adopted with after the acquisition time of the video frame of acquisition
The video frame of collection is superimposed;After the video frame that can also be will acquire carries out image parameter adjustment, the acquisition with the video frame in acquisition
The video frame superposition acquired after time;The partial region for the video frame that can also be will acquire, the acquisition with the video frame in acquisition
The video frame superposition acquired after time.Wherein, image parameter such as images transparent degree, picture contrast or image saturation
Deng.The partial region of video frame can be the foreground area of video frame.
In one embodiment, the video frame that will acquire is superimposed with the video frame acquired after the image of acquisition, comprising: is looked into
Ask preset images transparent degree;The images transparent degree for the video frame that will acquire is adjusted to the images transparent degree inquired;It will adjustment
Video frame afterwards is superimposed with the video frame acquired after the acquisition time of the video frame of acquisition.
Wherein, images transparent degree is the image data for reflecting images transparent degree.In general, each pixel in picture frame
Pixel value by the channel value reflection in four channels, with RGBA quadruple notation.Wherein RGB indicates that Color Channel, A indicate
Transparency channel.The value range of the channel Alpha (A channel) value is [0,1].0 represent it is transparent, 1 represent it is opaque.Preset figure
As transparency is the Alpha channel value pre-set.Such as 10% or 20% etc..
Specifically, computer equipment can inquire preset images transparent degree, the images transparent degree tune for the video frame that will acquire
It is whole to the images transparent degree inquired, then by video frame adjusted and the view that is acquired after the acquisition time of the video frame of acquisition
The superposition of frequency frame.Wherein, video frame adjusted is superimposed tool with the video frame acquired after the acquisition time of the video frame of acquisition
It can be to body the pixel value superposition of respective pixel point position in two frame video frames.
In the present embodiment, it is superimposed to other video frames again after the video framing control images transparent degree that will acquire, avoids
The problem of image fault or content mix that the superposition of multiframe original video frame causes, improve the matter of the video of recording
Amount.
In one embodiment, computer equipment also can determine the interest region in the video frame of acquisition, and intercepts and obtain
Only include the image in interest region, the images transparent degree for the image that interception obtains is adjusted to the images transparent degree inquired, then
Image adjusted is superimposed with the video frame acquired after the acquisition time of the video frame of acquisition.Wherein, interest region is specific
It can be the foreground area of video frame.
In one embodiment, the video frame that computer equipment can also will acquire after the acquisition time of the video frame of acquisition
Images transparent degree adjust to the images transparent degree inquired after carry out overlap-add operation, each video frame being overlapped so into
Images transparent degree of having gone adjustment, further avoids the multiframe original video frame image fault that causes of superposition or content is mixed
The problem of confusing improves the quality of the video of recording.
In one embodiment, preset images transparent degree can be according to user's operation determination, be also possible to calculate
The unified setting of machine equipment.The quantity of preset images transparent degree can be one, or multiple.The video of different number
Frame corresponding preset images transparent degree difference when being superimposed.Computer equipment can pre-establish preset images transparent degree and video
Frame is superimposed the mapping relations of quantity, and such computer equipment can be superimposed quantity according to video frame, and to search, there are mapping relations
Preset images transparent degree.For example, preset images transparent degree is 50%, four video frame superpositions when two frame video frames are superimposed
When, preset images transparent degree is 25%.
For example, Fig. 2 shows the schematic diagrames of the video frame obtained in one embodiment.Fig. 3 shows an implementation
The schematic diagram for the video frame being superimposed in example.As can be seen that the video frame being superimposed in Fig. 3 is by the video frame in Fig. 2
It is superimposed with the video frame acquired after the video frame in Fig. 2, that is, the video frame obtained is appeared in rear acquisition
On video pictures, in this way, the effect of a certain freeze frame of video pictures can be realized.
For another example, Fig. 4 shows the schematic diagram of the video frame obtained in one embodiment.Fig. 5 shows one embodiment
The middle schematic diagram for being superimposed obtained video frame.As can be seen that the video frame being superimposed in Fig. 5 be by Fig. 4 video frame with
What the video frame acquired after the video frame in Fig. 4 was superimposed.
S108, the video frame obtained with superposition replace the video frame acquired after the acquisition time of the video frame of acquisition.
Specifically, after the video frame to acquired original is overlapped operation, the video frame of the acquired original is just no longer used
Make the video frame for the video that generation is recorded, and the video frame that the video frame that superposition obtains replaces the acquired original is used as to generate and is recorded
The video frame of the video of system.It is appreciated that the obtained video frame of superposition is the video frame by obtaining, and adopted after the video frame of acquisition
What the video frame of collection was superimposed, then that frame for obtaining it that is as used to be superimposed of the video frame being superimposed for replacement is adopted
The video frame of collection, that is to say, that be superimposed by the video frame which frame acquires and just replaced this frame video frame.
S110 generates the video recorded according to video frame identified after replacement.
Wherein, identified video frame after replacement, including being acquired before the video frame of acquisition and be not replaced operation
Acquired original video frame, further include after obtaining video frame by the obtained video frame of replacement.
In one embodiment, S110 includes: according to the acquisition time of video frame identified after replacement, by institute after replacement
Determining video frame generates the video recorded by the timing of acquisition time;Wherein, pass through in identified video frame after replacement and replace
The acquisition time for the video frame got in return is the acquisition time for the corresponding video frame being replaced.
Wherein, when not being replaced the acquisition of the video frame of the acquired original of operation after replacement in identified video frame
Between, it is the true acquisition time of the video frame.The acquisition of the video frame obtained in identified video frame by replacement after replacement
Time is the acquisition time for the corresponding video frame being replaced.It is appreciated that the corresponding video frame being replaced here is exactly for replacing
It changes to obtain that frame video frame by replacing obtained video frame.
Specifically, computer equipment can be according to the acquisition time of each video frame identified after replacement, really by institute after replacement
Fixed video frame generates the video recorded by the timing of acquisition time.Wherein, it can be by the timing of acquisition time temporally inverse
Sequence is also possible in chronological order.
Above-mentioned video recording method, by during acquiring video frame, obtaining in real time when frame superposition condition meets
The video frame of corresponding acquisition, and then the video frame that will acquire automatically and the video acquired after the acquisition time of the video frame of acquisition
Frame superposition replaces the video frame acquired after the acquisition time of the video frame of acquisition with the video frame obtained with superposition, further according to
Identified video frame generates video after replacement.It has been achieved in shooting process i.e. automatically and in real time to the video of acquisition
Frame is handled, and operation is greatly simplified, and improves video formation efficiency.
In one embodiment, computer equipment can also be filled when successively acquiring video frame by built-in sound collection
It sets or the voice collection device of external connection acquires ambient sound, in this way when generating video, by the sound of acquisition and acquisition
Video frame encode the video recorded jointly.
In one embodiment, video recording method further include: reach preset time node in current time node and open
Beginning timing;Often when the timing duration of current time node reaches preset duration, it is folded that judgement meets frame at current time node
Add condition, and restart timing, until at the end of video record only.
Wherein, preset duration is the time interval of the pre-set timing node for meeting frame superposition condition, such as M seconds
Deng.Specifically, computer equipment can reach preset time node and play beginning timing detecting current time node, when timing
When length reaches preset duration, determines to meet frame superposition condition at the timing node when timing duration reaches preset duration, lay equal stress on
It is new to start timing, until at the end of video record only.It can be realized in this way and periodically obtain video frame for overlap-add operation.
In one embodiment, the video frame that will acquire and the video frame acquired after the acquisition time of the video frame of acquisition
Superposition, comprising: by each video frame of acquisition, be superimposed, obtain and acquisition with the video frame obtained before corresponding acquisition time
Each respective video frame of video frame.The video frame obtained with superposition is replaced to be acquired after the acquisition time of the video frame of acquisition
Video frame, comprising: replace the video frame of respective acquisition respectively with the obtained each video frame of superposition.
It specifically, is continual process since computer equipment successively acquires video frame, and computer equipment obtains
The video frame taken is the video frame for superposition.So for each frame video frame that acquired original arrives, if collecting
Video frame has not been obtained before the video frame, then is not required to be overlapped the video frame operation;If before collecting the video frame
Video frame is obtained, then is superimposed the video frame with the video frame obtained before the video frame, is obtained corresponding to the video frame
Video frame, and replace the video frame with obtained video frame for use as the video frame for the video currently recorded.In this way, often obtaining
A frame video frame is got, the video frame can be added in the video frame acquired behind, in this way in the video of generation i.e.
The effect that these video frames that can be achieved will acquire are freezed.
It illustrates, it is assumed that one frame video frame of acquisition per second, preset time node are the 3rd second after beginning recorded video, in advance
If when it is 2 seconds a length of.Relationship so between the video frame of acquired original and the video frame for generating video is as shown in following table one.
Table 1:
Video frame order | The video frame of acquired original | Generate the video frame of video |
1 | A | A |
2 | B | B |
3 | C | C |
4 | D | C+D |
5 | E | C+E |
6 | F | C+E+F |
7 | G | C+E+G |
… | … | … |
Reference table 1, it is possible to understand that starting to be all satisfied frame superposition condition at the after recorded video the 3rd, 5 and 7 second.For original
Begin collected video frame A, B and C, due to obtaining video frame before acquiring A, B and C, then is not required to fold the video frame
Add operation, directly using A, B and C of acquired original as the video frame for generating video.As the video frame C that acquired original arrives, this
When meet frame superposition condition, then obtain video frame C be used as superposition video frame.For video frame D and E that acquired original arrives, by
In obtaining video frame C before acquiring D and E, then D and E are superimposed with C respectively, obtain C+D and C+E to replace D and E and use
Make the video frame of generation video.As the video frame E that acquired original arrives, meets frame superposition condition at this time, then continue to obtain video
Frame E is used as the video frame of superposition.For video frame F and G that acquired original arrives, due to obtaining video before acquiring F and G
F and G, then be superimposed with C and E by frame C and E respectively, obtain C+E+F and C+E+G replace F and G be used as generate video video frame,
And so on, until video record terminates.
Wherein, the acquisition time of the video frame C+D obtained in identified video frame by replacement after replacement is adopting for D
Collect the time, the acquisition time of C+E is the acquisition time of E, and the acquisition time of C+E+F is the acquisition time of F, and C+E+G's adopts
The collection time is the acquisition time of G.Identified video frame generates record after can replacing according to the timing of acquisition time in this way
The video of system.
For example, Fig. 6 shows the schematic diagram for the video frame being superimposed in one embodiment.As can be seen that in Fig. 6
Video frame be to be superimposed by multi-frame video frame.With reference to Fig. 6 left figure, it can be seen that at the currently acquisition moment, computer
Equipment has obtained a frame video frame, i.e., the video frame is superimposed upon in the video frame currently acquired.Referring again to Fig. 6 right figure,
When the current acquisition moment, computer equipment has obtained three frame video frames, i.e., the three frames video frame is superimposed upon current acquisition
Video frame on.It can thus be seen that in the present embodiment, the quantity of the video frame obtained between the video frame of acquisition is got over
More, the video frame being superimposed upon in the video frame of the acquisition is also more.In this way, a frame video frame is often got, it can be by the view
Frequency frame is added in the video frame acquired behind, can be realized in the video of generation in this way these video frames that will acquire into
The effect that row freezes.
In the present embodiment, it provides when repeatedly obtaining video frame, these video frames obtained is added to subsequent acquisition
Video frame on approach, the effect that these video frames that can be realized in the video of generation will acquire in this way are freezed,
So that recording obtained video diversification, user is allowed quickly and conveniently to obtain more abundant video content.
In one embodiment, the video frame that will acquire and the video frame acquired after the acquisition time of the video frame of acquisition
Superposition, comprising: when getting video frame, using the video frame currently obtained as current video frame;It will be in current video frame
The video frame acquired after acquisition time and before the acquisition time of the next frame video frame got, it is folded with current video frame
Add to obtain corresponding video frame, and when obtaining next frame video frame, reenters the video frame that will currently obtain as current
The step of video frame, until at the end of video record only.The acquisition in the video frame of acquisition is replaced with the video frame that superposition obtains
The video frame acquired after time, comprising: the video frame obtained with superposition replaces the video frame acquired accordingly.
It specifically, is continual process since computer equipment successively acquires video frame, and computer equipment obtains
The video frame taken is the video frame for superposition.Computer equipment can be when often getting a frame video frame, by what is currently obtained
Then the current video frame is superimposed by video frame as current video frame with collected video frame is continued, and obtained with superposition
Video frame continue collected video frame for use as the video frame for the video currently recorded, until obtaining next frame view to replace
Frequency frame, then the next frame video frame that will acquire continue to execute the aforementioned operation to current video frame to view as current video frame
Frequency stops at the end of recording.In the present embodiment, the quantity of the video frame for being superimposed upon in the video frame of acquisition is only a frame, this
Sample realizes that the video frame of freezing efficiency is different every time, so that video content variation multiplicity.
It illustrates, it is assumed that one frame video frame of acquisition per second, preset time node are the 3rd second after beginning recorded video, in advance
If when it is 2 seconds a length of.Relationship so between the video frame of acquired original and the video frame for generating video is as shown in following table two.
Table 2:
Video frame order | The video frame of acquired original | Generate the video frame of video |
1 | A | A |
2 | B | B |
3 | C | C |
4 | D | C+D |
5 | E | C+E |
6 | F | E+F |
7 | G | E+G |
… | … | … |
Reference table 2, it is possible to understand that starting to be all satisfied frame superposition condition at the after recorded video the 3rd, 5 and 7 second.For original
Begin collected video frame A, B and C, due to obtaining video frame before acquiring A, B and C, then is not required to fold the video frame
Add operation, directly using A, B and C of acquired original as the video frame for generating video.As the video frame C that acquired original arrives, this
When meet frame superposition condition, then obtain video frame C as current video frame.For continuing collected video frame D and E, by D and
E is superimposed with current video frame C respectively, obtains C+D and C+E to replace the video frame that D and E is used as generation video.Work as acquired original
When the video frame E arrived, meets frame superposition condition at this time, then obtain video frame E as current video frame.It is collected for continuing
F and G, then be superimposed with current video frame by video frame F and G respectively, obtains E+F and E+G to replace F and G and be used as generation video
Video frame, and so on, until video record terminates.
Wherein, the acquisition time of the video frame C+D obtained in identified video frame by replacement after replacement is adopting for D
Collect the time, the acquisition time of C+E is the acquisition time of E, and the acquisition time of E+F is the acquisition time of F, when the acquisition of E+G
Between be G acquisition time.Video frame identified after replacement can be generated into recording according to the timing of acquisition time in this way
Video.
For example, Fig. 7 shows the schematic diagram for the video frame being superimposed in one embodiment.As can be seen that in Fig. 7
Being superimposed obtained video frame is that the video frame by obtaining is superimposed with the video frame acquired after the acquisition time of the video frame of acquisition
It obtains.Moreover, the video frame for being superimposed upon in the video frame of acquisition is only a frame, the view of freezing efficiency is realized every time in this way
Frequency frame is different, so that video content variation multiplicity.
In the present embodiment, it provides when repeatedly obtaining video frame, these video frames obtained is added to subsequent acquisition
Video frame on approach, the effect that these video frames that can be realized in the video of generation will acquire in this way are freezed,
So that recording obtained video diversification, user is allowed quickly and conveniently to obtain more abundant video content.
In above-described embodiment, the video frame for superposition is periodically obtained by preset duration, the calculating for being in this way
The treatment process of machine equipment is more convenient, further improves video formation efficiency.
In one embodiment, video recording method further include: when video frame has not been obtained, render the video frame of acquisition
Form preview screen;In the video frame obtained in the presence of superposition, the video frame that rendering superposition obtains forms preview screen.
Specifically, when the quantity of the video frame of acquisition is more than one, refer to when video frame has not been obtained and having not been obtained
When the video frame that first frame obtains, that is to say, that preceding collected video frame is without carrying out frame overlap-add operation, then then can direct wash with watercolours
The video frame of dye acquisition forms preview screen, and the video frame for generating video is shown with visual means.It is obtained getting first frame
Video frame when, i.e., can be overlapped operation to the video frame of subsequent acquisition, then just in the presence of the obtained video frame of superposition, this
When, then the video frame that will not render acquisition again forms preview screen, but renders the video frame that superposition obtains and form preview screen,
Because the video frame that rendering superposition obtains is only the video frame for generating video, and preview screen is for raw for user's preview
At the video frame of video.
In the present embodiment, in shooting process, processing is overlapped to the video frame of shooting on one side, on one side according to superposition
Treated, and video frame generates preview screen in real time, for user's viewing.User can understand recording into video in real time in this way
Content, to correct or to be recorded again in time when the error occurs.
It should be understood that although each step in the flow chart of the various embodiments described above is successively shown according to the instruction of arrow
Show, but these steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly state otherwise herein, this
There is no stringent sequences to limit for the execution of a little steps, these steps can execute in other order.Moreover, above-mentioned each implementation
At least part step in example may include that perhaps these sub-steps of multiple stages or stage be not necessarily for multiple sub-steps
It is to execute completion in synchronization, but can execute at different times, the execution sequence in these sub-steps or stage
It is not necessarily and successively carries out, but can be at least part wheel of the sub-step or stage of other steps or other steps
Stream alternately executes.
As shown in figure 8, in one embodiment, providing a kind of video recording device 800.Referring to Fig. 8, the video record
Device 800 includes: acquisition module 801, obtains module 802, laminating module 803, replacement module 804 and generation module 805.
Acquisition module 801, for successively acquiring video frame.
Module 802 is obtained, for obtaining the video frame of the corresponding acquisition when frame superposition condition meets.
Laminating module 803, video frame for will acquire and the video acquired after the acquisition time of the video frame of acquisition
Frame superposition.
Replacement module 804, the video frame for being obtained with superposition is replaced to be acquired after the acquisition time of the video frame of acquisition
Video frame.
Generation module 805, for generating the video recorded according to video frame identified after replacement.
Above-mentioned video recording device 800 is met by being obtained during acquiring video frame in real time in frame superposition condition
When corresponding acquisition video frame, and then the video frame that will acquire automatically and the view that is acquired after the acquisition time of the video frame of acquisition
The superposition of frequency frame replaces the video frame acquired after the acquisition time of the video frame of acquisition, then root with the video frame obtained with superposition
Video is generated according to video frame identified after replacement.It has been achieved in shooting process i.e. automatically and in real time to the view of acquisition
Frequency frame is handled, and operation is greatly simplified, and improves video formation efficiency.
In one embodiment, video recording device 800 further include: determination module 806, for inquiring preset time section
Point;When successively acquiring video frame and detecting that current time node reaches preset time node, then determine in current time section
Meet frame superposition condition at point.
In one embodiment, determination module 806, which is also used to reach preset time node in current time node, plays beginning
Timing;Often when the timing duration of current time node reaches preset duration, judgement meets frame superposition at current time node
Condition, and restart timing, until at the end of video record only.
In one embodiment, laminating module 803 is also used to each video frame that will be acquired, and before corresponding acquisition time
The video frame of acquisition is superimposed, and obtains the respective video frame of each video frame with acquisition.Replacement module 804 is also used to superposition
Obtained each video frame replaces the video frame of respective acquisition respectively.
In one embodiment, laminating module 803 is also used to when getting video frame, and the video frame currently obtained is made
For current video frame;It will be adopted after the acquisition time of current video frame and before the acquisition time of the next frame video frame got
The video frame of collection is superimposed to obtain corresponding video frame with current video frame, and when obtaining next frame video frame, reenter by
The step of video frame currently obtained is as current video frame, until at the end of video record only.Replacement module 804 is also used to use
It is superimposed obtained video frame and replaces the video frame acquired accordingly.
In one embodiment, determination module 806 is used for when successively acquiring video frame, and detection corresponds to the video of acquisition
User's selection instruction of frame;When detecting user's selection instruction, then determine that frame superposition condition is satisfied.Obtain module 802 also
For obtaining video frame acquiring and corresponding with user's selection instruction.
In one embodiment, laminating module 803 is also used to inquire preset images transparent degree;The video frame that will acquire
Images transparent degree is adjusted to the images transparent degree inquired;By the acquisition time of video frame adjusted and the video frame in acquisition
The video frame superposition acquired afterwards.
As shown in figure 9, in one embodiment, video recording device 800 further include: determination module 806 and rendering module
807。
Rendering module 807, the video frame for when video frame has not been obtained, rendering acquisition form preview screen;It is depositing
In the video frame that superposition obtains, the video frame that rendering superposition obtains forms preview screen.
Figure 10 shows the internal structure chart of computer equipment in one embodiment.As shown in Figure 10, the computer equipment
Including processor, memory, network interface, camera and the display screen connected by system bus.Wherein, memory includes non-
Volatile storage medium and built-in storage.The non-volatile memory medium of the computer equipment is stored with operating system, can also deposit
Computer program is contained, when which is executed by processor, processor may make to realize video recording method.The memory
Computer program can also be stored in reservoir, when which is executed by processor, processor may make to execute video record
Method processed.The display screen of computer equipment can be liquid crystal display or electric ink display screen etc., and camera can be interior
The camera of the camera or external connection set.Computer equipment specifically can be with terminal console or mobile terminal, mobile terminal
Such as mobile phone, tablet computer or camera etc..It will be understood by those skilled in the art that structure shown in Figure 10, only with
The block diagram of the relevant part-structure of application scheme, does not constitute the computer equipment being applied thereon to application scheme
Limit, specific computer equipment may include than more or fewer components as shown in the figure, perhaps combine certain components or
With different component layouts.
In one embodiment, video recording device provided by the present application can be implemented as a kind of shape of computer program
Formula, computer program can be run in computer equipment as shown in Figure 10, and the non-volatile memory medium of computer equipment can
Storage forms each program module of the video recording device, for example, acquisition module shown in Fig. 8 801, obtaining module 802, being folded
Add module 803, replacement module 804 and generation module 805 etc..The computer program of each program module composition holds processor
Step in the video recording method of the row each embodiment of the application described in this specification.
For example, computer equipment shown in Fig. 10 can pass through the acquisition mould in video recording device 800 as shown in Figure 8
Block 801 successively acquires video frame.The video frame of the corresponding acquisition when frame superposition condition meets is obtained by obtaining module 802.It is logical
The video frame that laminating module 803 will acquire is crossed to be superimposed with the video frame acquired after the acquisition time of the video frame of acquisition.Pass through
The video frame that replacement module 804 is obtained with superposition replaces the video frame acquired after the acquisition time of the video frame of acquisition.Pass through
Generation module 805 generates the video recorded according to video frame identified after replacement.
In one embodiment, a kind of computer readable storage medium is provided, is deposited on the computer readable storage medium
Computer program is contained, when which is executed by processor, so that processor executes following steps: successively acquiring video
Frame;Obtain the video frame of the corresponding acquisition when frame superposition condition meets;The video frame that will acquire is adopted with the video frame in acquisition
The video frame superposition acquired after the collection time;The video frame obtained with superposition is replaced to be acquired after the acquisition time of the video frame of acquisition
Video frame;The video recorded is generated according to video frame identified after replacement.
In one embodiment, when which is executed by processor, also makes processor execute following steps: looking into
Ask preset time node;When successively acquiring video frame and detecting that current time node reaches preset time node, then determine
Meet frame superposition condition at current time node.
In one embodiment, when which is executed by processor, processor is also made to execute following steps:
Current time node reaches preset time node and plays beginning timing;Often reach preset duration in the timing duration of current time node
When, judgement meets frame superposition condition at current time node, and restarts timing, until at the end of video record only.
In one embodiment, the video frame that will acquire and the video frame acquired after the acquisition time of the video frame of acquisition
Superposition, comprising: by each video frame of acquisition, be superimposed, obtain and acquisition with the video frame obtained before corresponding acquisition time
Each respective video frame of video frame.The video frame obtained with superposition is replaced to be acquired after the acquisition time of the video frame of acquisition
Video frame, comprising: replace the video frame of respective acquisition respectively with the obtained each video frame of superposition.
In one embodiment, the video frame that will acquire and the video frame acquired after the acquisition time of the video frame of acquisition
Superposition, comprising: when getting video frame, using the video frame currently obtained as current video frame;It will be in current video frame
The video frame acquired after acquisition time and before the acquisition time of the next frame video frame got, is superimposed with current video frame
To corresponding video frame, and when obtaining next frame video frame, the video frame that will currently obtain is reentered as current video
The step of frame, until at the end of video record only.The acquisition time in the video frame of acquisition is replaced with the video frame that superposition obtains
The video frame acquired afterwards, comprising: the video frame obtained with superposition replaces the video frame acquired accordingly.
In one embodiment, the video frame of the corresponding acquisition when frame superposition condition meets is obtained, comprising: successively acquiring
When video frame, detection corresponds to user's selection instruction of the video frame of acquisition;When detecting user's selection instruction, then frame is determined
Superposition condition is satisfied;Obtain video frame acquiring and corresponding with user's selection instruction.
In one embodiment, the video frame that will acquire is superimposed with the video frame acquired after the image of acquisition, comprising: is looked into
Ask preset images transparent degree;The images transparent degree for the video frame that will acquire is adjusted to the images transparent degree inquired;It will adjustment
Video frame afterwards is superimposed with the video frame acquired after the acquisition time of the video frame of acquisition.
In one embodiment, when which is executed by processor, processor is also made to execute following steps:
When video frame has not been obtained, the video frame for rendering acquisition forms preview screen;In the video frame obtained in the presence of superposition, rendering is folded
The video frame added forms preview screen.
Above-mentioned storage medium, it is corresponding when frame superposition condition meets by being obtained during acquiring video frame in real time
The video frame of acquisition, and then the video frame that will acquire automatically is folded with the video frame acquired after the acquisition time of the video frame of acquisition
Add, the video frame acquired after the acquisition time of the video frame of acquisition is replaced with the video frame obtained with superposition, further according to replacement
Identified video frame generates video afterwards.Be achieved it is i.e. automatic in shooting process and in real time to the video frame of acquisition into
Row processing, greatly simplifies operation, improves video formation efficiency.
In one embodiment, a kind of computer equipment, including memory and processor are provided, is stored in memory
Computer program, when computer program is executed by processor, so that processor executes following steps: successively acquiring video frame;It obtains
Take the video frame of the corresponding acquisition when frame superposition condition meets;The acquisition time of the video frame that will acquire and the video frame in acquisition
The video frame superposition acquired afterwards;The video frame obtained with superposition replaces the video acquired after the acquisition time of the video frame of acquisition
Frame;The video recorded is generated according to video frame identified after replacement.
In one embodiment, when which is executed by processor, also makes processor execute following steps: looking into
Ask preset time node;When successively acquiring video frame and detecting that current time node reaches preset time node, then determine
Meet frame superposition condition at current time node.
In one embodiment, when which is executed by processor, processor is also made to execute following steps:
Current time node reaches preset time node and plays beginning timing;Often reach preset duration in the timing duration of current time node
When, judgement meets frame superposition condition at current time node, and restarts timing, until at the end of video record only.
In one embodiment, the video frame that will acquire and the video frame acquired after the acquisition time of the video frame of acquisition
Superposition, comprising: by each video frame of acquisition, be superimposed, obtain and acquisition with the video frame obtained before corresponding acquisition time
Each respective video frame of video frame.The video frame obtained with superposition is replaced to be acquired after the acquisition time of the video frame of acquisition
Video frame, comprising: replace the video frame of respective acquisition respectively with the obtained each video frame of superposition.
In one embodiment, the video frame that will acquire and the video frame acquired after the acquisition time of the video frame of acquisition
Superposition, comprising: when getting video frame, using the video frame currently obtained as current video frame;It will be in current video frame
The video frame acquired after acquisition time and before the acquisition time of the next frame video frame got, is superimposed with current video frame
To corresponding video frame, and when obtaining next frame video frame, the video frame that will currently obtain is reentered as current video
The step of frame, until at the end of video record only.The acquisition time in the video frame of acquisition is replaced with the video frame that superposition obtains
The video frame acquired afterwards, comprising: the video frame obtained with superposition replaces the video frame acquired accordingly.
In one embodiment, the video frame of the corresponding acquisition when frame superposition condition meets is obtained, comprising: successively acquiring
When video frame, detection corresponds to user's selection instruction of the video frame of acquisition;When detecting user's selection instruction, then frame is determined
Superposition condition is satisfied;Obtain video frame acquiring and corresponding with user's selection instruction.
In one embodiment, the video frame that will acquire is superimposed with the video frame acquired after the image of acquisition, comprising: is looked into
Ask preset images transparent degree;The images transparent degree for the video frame that will acquire is adjusted to the images transparent degree inquired;It will adjustment
Video frame afterwards is superimposed with the video frame acquired after the acquisition time of the video frame of acquisition.
In one embodiment, when which is executed by processor, processor is also made to execute following steps:
When video frame has not been obtained, the video frame for rendering acquisition forms preview screen;In the video frame obtained in the presence of superposition, rendering is folded
The video frame added forms preview screen.
Above-mentioned computer equipment obtains in real time when frame superposition condition meets pair by during acquiring video frame
The video frame that should be acquired, and then the video frame that will acquire automatically and the video frame acquired after the acquisition time of the video frame of acquisition
Superposition, to replace the video frame acquired after the acquisition time of the video frame of acquisition with the obtained video frame of superposition, further according to replacing
Video frame determined by after changing generates video.It has been achieved in shooting process i.e. automatically and in real time to the video frame of acquisition
It is handled, greatly simplifies operation, improve video formation efficiency.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a non-volatile computer and can be read
In storage medium, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, provided herein
Each embodiment used in any reference to memory, storage, database or other media, may each comprise non-volatile
And/or volatile memory.Nonvolatile memory may include that read-only memory (ROM), programming ROM (PROM), electricity can be compiled
Journey ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include random access memory
(RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, such as static state RAM
(SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhanced SDRAM
(ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) directly RAM (RDRAM), straight
Connect memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield all should be considered as described in this specification.
Only several embodiments of the present invention are expressed for above embodiments, and the description thereof is more specific and detailed, but can not
Therefore limitations on the scope of the patent of the present invention are interpreted as.It should be pointed out that for those of ordinary skill in the art,
Without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection model of the invention
It encloses.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.
Claims (12)
1. a kind of video recording method, comprising:
Successively acquire video frame;
Obtain the video frame of the corresponding acquisition when frame superposition condition meets;
The video frame that will acquire is superimposed with the video frame acquired after the acquisition time of the video frame of acquisition;
The video frame replacement video frame acquired after the acquisition time of the video frame of acquisition obtained with superposition;
The video recorded is generated according to video frame identified after replacement.
2. the method according to claim 1, wherein the method also includes:
Inquire preset time node;
When successively acquiring video frame and detecting that current time node reaches preset time node, then
Judgement meets frame superposition condition at current time node.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
Reach preset time node in current time node and plays beginning timing;
Often when the timing duration of current time node reaches preset duration, judgement meets frame superposition item at current time node
Part, and restart timing, until at the end of video record only.
4. according to the method described in claim 3, it is characterized in that, the video frame that will acquire and the video frame in acquisition
The video frame superposition acquired after acquisition time, comprising:
By each video frame of acquisition, it is superimposed with the video frame obtained before corresponding acquisition time, obtains each video with acquisition
The respective video frame of frame;
The video frame replacement video frame acquired after the acquisition time of the video frame of acquisition obtained with superposition, packet
It includes:
Replace the video frame of respective acquisition respectively with each video frame that superposition obtains.
5. according to the method described in claim 3, it is characterized in that, the video frame that will acquire and the video frame in acquisition
The video frame superposition acquired after acquisition time, comprising:
When getting video frame, using the video frame currently obtained as current video frame;
By what is acquired after the acquisition time of the current video frame and before the acquisition time of the next frame video frame got
Video frame is superimposed to obtain corresponding video frame with the current video frame, and when obtaining next frame video frame, reenter by
The step of video frame currently obtained is as current video frame, until at the end of video record only;
The video frame replacement video frame acquired after the acquisition time of the video frame of acquisition obtained with superposition, packet
It includes:
The video frame obtained with superposition replaces the video frame acquired accordingly.
6. the method according to claim 1, wherein described obtain the corresponding acquisition when frame superposition condition meets
Video frame, comprising:
When successively acquiring video frame, detection corresponds to user's selection instruction of the video frame of acquisition;
When detecting user's selection instruction, then determine that frame superposition condition is satisfied;
Obtain video frame acquiring and corresponding with user's selection instruction.
7. the method according to claim 1, wherein the video frame that will acquire and the video frame in acquisition
The video frame superposition acquired after acquisition time, comprising:
Inquire preset images transparent degree;
The images transparent degree for the video frame that will acquire is adjusted to the images transparent degree inquired;
Video frame adjusted is superimposed with the video frame acquired after the acquisition time of the video frame of acquisition.
8. method according to any one of claims 1-7, which is characterized in that described according to video identified after replacement
Frame generates the video recorded, comprising:
According to the acquisition time of video frame identified after replacement, video frame identified after replacement is pressed to the timing of acquisition time
Generate the video recorded;
Wherein, the acquisition time of video frame obtained in identified video frame by replacement after replacement, be replaced it is corresponding
The acquisition time of video frame.
9. method according to any one of claims 1-7, which is characterized in that the method also includes:
When video frame has not been obtained, the video frame for rendering acquisition forms preview screen;
In the video frame obtained in the presence of superposition, the video frame that rendering superposition obtains forms preview screen.
10. a kind of video recording device, comprising:
Acquisition module, for successively acquiring video frame;
Module is obtained, for obtaining the video frame of the corresponding acquisition when frame superposition condition meets;
Laminating module, the video frame for will acquire are superimposed with the video frame acquired after the acquisition time of the video frame of acquisition;
Replacement module, the video frame replacement view acquired after the acquisition time of the video frame of acquisition for being obtained with superposition
Frequency frame;
Generation module, for generating the video recorded according to video frame identified after replacement.
11. a kind of computer readable storage medium, computer program, the meter are stored on the computer readable storage medium
When calculation machine program is executed by processor, so that the processor executes the step of method as claimed in any one of claims 1-9 wherein
Suddenly.
12. a kind of computer equipment, including memory and processor, computer program, the meter are stored in the memory
When calculation machine program is executed by the processor, so that the processor executes method as claimed in any one of claims 1-9 wherein
The step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810312747.9A CN110365927B (en) | 2018-04-09 | 2018-04-09 | Video recording method, video recording device, storage medium and computer equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810312747.9A CN110365927B (en) | 2018-04-09 | 2018-04-09 | Video recording method, video recording device, storage medium and computer equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110365927A true CN110365927A (en) | 2019-10-22 |
CN110365927B CN110365927B (en) | 2022-03-01 |
Family
ID=68212609
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810312747.9A Active CN110365927B (en) | 2018-04-09 | 2018-04-09 | Video recording method, video recording device, storage medium and computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110365927B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111726525A (en) * | 2020-06-19 | 2020-09-29 | 维沃移动通信有限公司 | Video recording method, video recording device, electronic equipment and storage medium |
WO2021027547A1 (en) * | 2019-08-09 | 2021-02-18 | 北京字节跳动网络技术有限公司 | Image special effect processing method, apparatus, and electronic device, and computer-readable storage medium |
US12041379B2 (en) | 2019-08-09 | 2024-07-16 | Beijing Bytedance Network Technology Co., Ltd. | Image special effect processing method, apparatus, and electronic device, and computer-readable storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003101878A (en) * | 2001-09-21 | 2003-04-04 | Sony Corp | Image special effect device and image special effect method |
CN101025828A (en) * | 2006-02-24 | 2007-08-29 | 腾讯科技(深圳)有限公司 | Method for shading model afterimage effect |
CN102348056A (en) * | 2010-07-23 | 2012-02-08 | 卡西欧计算机株式会社 | Image synthesizing device and image synthesizing method |
US20150084991A1 (en) * | 2013-09-25 | 2015-03-26 | Lucasfilm Entertainment Company, Ltd. | Post-render motion blur |
CN104766361A (en) * | 2015-04-29 | 2015-07-08 | 腾讯科技(深圳)有限公司 | Ghosting effect realization method and device |
CN106303293A (en) * | 2016-08-15 | 2017-01-04 | 广东欧珀移动通信有限公司 | Method for processing video frequency, device and mobile terminal |
CN107077720A (en) * | 2016-12-27 | 2017-08-18 | 深圳市大疆创新科技有限公司 | Method, device and the equipment of image procossing |
CN107333056A (en) * | 2017-06-13 | 2017-11-07 | 努比亚技术有限公司 | Image processing method, device and the computer-readable recording medium of moving object |
-
2018
- 2018-04-09 CN CN201810312747.9A patent/CN110365927B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003101878A (en) * | 2001-09-21 | 2003-04-04 | Sony Corp | Image special effect device and image special effect method |
CN101025828A (en) * | 2006-02-24 | 2007-08-29 | 腾讯科技(深圳)有限公司 | Method for shading model afterimage effect |
CN102348056A (en) * | 2010-07-23 | 2012-02-08 | 卡西欧计算机株式会社 | Image synthesizing device and image synthesizing method |
US20150084991A1 (en) * | 2013-09-25 | 2015-03-26 | Lucasfilm Entertainment Company, Ltd. | Post-render motion blur |
CN104766361A (en) * | 2015-04-29 | 2015-07-08 | 腾讯科技(深圳)有限公司 | Ghosting effect realization method and device |
CN106303293A (en) * | 2016-08-15 | 2017-01-04 | 广东欧珀移动通信有限公司 | Method for processing video frequency, device and mobile terminal |
CN107077720A (en) * | 2016-12-27 | 2017-08-18 | 深圳市大疆创新科技有限公司 | Method, device and the equipment of image procossing |
CN107333056A (en) * | 2017-06-13 | 2017-11-07 | 努比亚技术有限公司 | Image processing method, device and the computer-readable recording medium of moving object |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021027547A1 (en) * | 2019-08-09 | 2021-02-18 | 北京字节跳动网络技术有限公司 | Image special effect processing method, apparatus, and electronic device, and computer-readable storage medium |
US12041379B2 (en) | 2019-08-09 | 2024-07-16 | Beijing Bytedance Network Technology Co., Ltd. | Image special effect processing method, apparatus, and electronic device, and computer-readable storage medium |
CN111726525A (en) * | 2020-06-19 | 2020-09-29 | 维沃移动通信有限公司 | Video recording method, video recording device, electronic equipment and storage medium |
WO2021254429A1 (en) * | 2020-06-19 | 2021-12-23 | 维沃移动通信有限公司 | Video recording method and apparatus, electronic device, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110365927B (en) | 2022-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104967803B (en) | A kind of video recording method and device | |
CN105163017B (en) | A kind of self-timer image shows method and device | |
CN105513030B (en) | A kind of information processing method, device and electronic equipment | |
US20160337593A1 (en) | Image presentation method, terminal device and computer storage medium | |
CN106713768B (en) | People's scape image composition method, system and computer equipment | |
WO2017016149A1 (en) | Contact information recommendation method and apparatus | |
US11570376B2 (en) | All-in-focus implementation | |
US11893796B2 (en) | Methods and systems for detection of anomalous motion in a video stream and for creating a video summary | |
CN108062507B (en) | Video processing method and device | |
CN106781168A (en) | Monitoring system | |
CN105933772B (en) | Exchange method, interactive device and interactive system | |
CN109218630A (en) | A kind of method for processing multimedia information and device, terminal, storage medium | |
CN106331462A (en) | Method and device for shooting track pictures, as well as mobile terminal | |
CN110365927A (en) | Video recording method, device, storage medium and computer equipment | |
CN106303333A (en) | Audio frequency and video method for recording and device | |
CN109660854A (en) | Video recommendation method, device, equipment and storage medium | |
CN104850487A (en) | Information display method and device | |
CN110287877A (en) | The processing method and processing device of video object | |
CN109155840A (en) | Moving image segmenting device and monitoring method | |
CN106998424A (en) | Camera device and image capture method | |
CN104539864A (en) | Method and device for recording images | |
CN111107267A (en) | Image processing method, device, equipment and storage medium | |
CN105704387A (en) | Shooting method and device of intelligent terminal and intelligent terminal | |
CN205883437U (en) | Video monitoring device | |
CN109348281B (en) | Video processing method, video processing device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |