CN107396019B - A kind of slow motion video method for recording and mobile terminal - Google Patents
A kind of slow motion video method for recording and mobile terminal Download PDFInfo
- Publication number
- CN107396019B CN107396019B CN201710684912.9A CN201710684912A CN107396019B CN 107396019 B CN107396019 B CN 107396019B CN 201710684912 A CN201710684912 A CN 201710684912A CN 107396019 B CN107396019 B CN 107396019B
- Authority
- CN
- China
- Prior art keywords
- video
- slow motion
- recording
- frame per
- movement velocity
- 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.)
- Active
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
- H04N5/78—Television signal recording using magnetic recording
- H04N5/782—Television signal recording using magnetic recording on tape
- H04N5/783—Adaptations for reproducing at a rate different from the recording rate
-
- 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
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4334—Recording operations
-
- 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
-
- 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/64—Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
The present invention provides a kind of slow motion video method for recording and mobile terminal, the described method includes: during according to the first frame per second recorded video, the movement velocity of target object in video record interface is detected, and the movement velocity that will test is as the first movement velocity;If first movement velocity is more than or equal to pre-set velocity, slow motion video is recorded according to the second frame per second;Wherein, the target object is the subject in photographed scene;First frame per second is lower than second frame per second.Slow motion video method for recording provided in an embodiment of the present invention, mobile terminal can be when the movement velocity of the object of shooting be more than or equal to pre-set velocity, it automatically switches to higher frame per second and records slow motion video, so as to avoid recording slow motion video, there are operation delay, promote the quality of slow motion video.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of slow motion video method for recording and mobile terminal.
Background technique
With the development of communication technology, have become can not in people's daily life for the mobile terminals such as mobile phone and tablet computer
Or scarce tool.Requirement of the people for mobile terminal is higher and higher, especially the video record function of mobile terminal.In order to full
Sufficient user utilizes the quick acting requirement of mobile terminal records target object, such as: the jump action of people, frog predation movement or
Person's object falls, and slow motion video recording function is gradually applied on mobile terminal, to improve mobile terminal recorded video
Quality and user experience effect.
The realization of the slow motion video recording function of mobile terminal moves usually when being to record the fast motion of target object
Dynamic terminal is with 120fps (frames per second, frame/second) or 240fps, even higher frame rate recorded video, and
When playing the video recorded, but the video of recording is played out with regular frame rate such as 30fps, to allow user to fast
Movement carries out understanding analysis.But mobile terminal is when recording slow motion video at present, needs user that mobile terminal is manually operated
To open slow motion recording mode, since there may be delays for the operation of user, it may cause miss snap-action to be recorded in this way
Partially or completely movement in work keeps the fast motion recorded in the slow motion video recorded imperfect, to reduce recording
The quality of slow motion video.As it can be seen that the slow motion video that current mobile terminal is recorded, ask there are slow motion video is low-quality
Topic.
Summary of the invention
The embodiment of the present invention provides a kind of slow motion video method for recording and mobile terminal, to solve current mobile terminal
The slow motion video of recording, there are the low-quality problems of slow motion video.
In a first aspect, it is applied to mobile terminal the embodiment of the invention provides a kind of slow motion video method for recording, it is described
Method includes:
During according to the first frame per second recorded video, the movement velocity of target object in video record interface is detected,
And the movement velocity that will test is as the first movement velocity;
If first movement velocity is more than or equal to pre-set velocity, slow motion video is recorded according to the second frame per second;
Wherein, the target object is the subject in photographed scene;First frame per second is lower than second frame
Rate.
Second aspect, the embodiment of the present invention also provide a kind of mobile terminal, comprising:
First Speed detection module, for detecting video record interface during according to the first frame per second recorded video
The movement velocity of middle target object, and the movement velocity that will test is as the first movement velocity;
First video record module, if the first movement velocity for the First Speed detection module to detect be greater than or
Person is equal to pre-set velocity, then records slow motion video according to the second frame per second;
Wherein, the target object is the subject in photographed scene;First frame per second is lower than second frame
Rate.
The third aspect, the embodiment of the present invention also provide a kind of mobile terminal, including processor, and memory is stored in described
It is real when the computer program is executed by the processor on memory and the computer program that can run on the processor
The step of existing above-mentioned slow motion video method for recording.
Fourth aspect, the embodiment of the present invention also provide a kind of computer readable storage medium, the computer-readable storage
Computer program is stored on medium, the computer program realizes above-mentioned slow motion video method for recording when being executed by processor
The step of.
In this way, during according to the first frame per second recorded video, being detected in video record interface in the embodiment of the present invention
The movement velocity of target object, and the movement velocity that will test is as the first movement velocity;If first movement velocity is big
In or equal to pre-set velocity, then slow motion video is recorded according to the second frame per second;Wherein, the target object is in photographed scene
Subject;First frame per second is lower than second frame per second.Mobile terminal can be in the movement velocity of the object of shooting
When more than or equal to pre-set velocity, automatically switches to higher frame per second and record slow motion video, it is slow so as to avoid recording
There are operation delay for action video, promote the quality of slow motion video.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention
Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention,
For those of ordinary skill in the art, without any creative labor, it can also obtain according to these attached drawings
Obtain other attached drawings.
Fig. 1 is one of the flow chart of slow motion video method for recording provided in an embodiment of the present invention;
Fig. 2 is the two of the flow chart of slow motion video method for recording provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram that slow motion video process is recorded in application example provided in an embodiment of the present invention;
Fig. 4 is one of the structure chart of mobile terminal provided in an embodiment of the present invention;
Fig. 5 is one of the structure chart of the first video record module in mobile terminal provided in an embodiment of the present invention;
Fig. 6 is two of the structure chart of the first video record module in mobile terminal provided in an embodiment of the present invention;
Fig. 7 is three of the structure chart of the first video record module in mobile terminal provided in an embodiment of the present invention;
Fig. 8 is one of the structure chart of Video Quality Metric unit in mobile terminal provided in an embodiment of the present invention;
Fig. 9 is two of the structure chart of Video Quality Metric unit in mobile terminal provided in an embodiment of the present invention;
Figure 10 is the two of the structure chart of mobile terminal provided in an embodiment of the present invention;
Figure 11 is the three of the structure chart of mobile terminal provided in an embodiment of the present invention;
Figure 12 is the four of the structure chart of mobile terminal provided in an embodiment of the present invention;
Figure 13 is the five of the structure chart of mobile terminal provided in an embodiment of the present invention;
Figure 14 is the six of the structure chart of mobile terminal provided in an embodiment of the present invention;
Figure 15 is the seven of the structure chart of mobile terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
It is a kind of flow chart of slow motion video method for recording provided in an embodiment of the present invention referring to Fig. 1, Fig. 1, is applied to
Mobile terminal, as shown in Figure 1, which comprises
Step 101, during according to the first frame per second recorded video, detect video record interface in target object fortune
Dynamic speed, and the movement velocity that will test is as the first movement velocity.
In the embodiment of the present invention, during with normal recording mode recorded video, mobile terminal can lead to mobile terminal
The image data for analyzing the detection of its image processor is crossed, determines the movement velocity of the target object of its shooting;Or mobile terminal
The movement velocity of its reference object can also be directly detected by the way that movement velocity detection components are arranged.Wherein, above-mentioned normal recording
The video record frame per second of mode is above-mentioned first frame per second, such as: the first frame per second is that 30fps or 25fps etc. defaults frame per second.
Such as: mobile terminal can first obtain the position data of target object in the image data of adjacent two field pictures, then
By the position data of target object in adjacent two field pictures, the relative displacement of target object in adjacent two field pictures is calculated, most
Movement velocity of the ratio of the time difference of the relative displacement and adjacent two field pictures that will acquire afterwards as target object;Or pass through
The comparison algorithm of pixel, in the comparative unit time, number that the position of pixel changes calculates the movement of target object
Speed.
Wherein, the target object is the subject in photographed scene, can be preset areas in video record interface
The corresponding reference object of image in domain;It is also possible to mobile terminal and detects the touching inputted in its shooting preview interface Zhong-1 block domain
When touching operation, the corresponding reference object of image in the area;It can also be that mobile terminal during video record, detects
To its video record interface in the object etc. that is kept in motion, herein and without repeating one by one.
If step 102, first movement velocity are more than or equal to pre-set velocity, slow motion is recorded according to the second frame per second
Make video.
In the embodiment of the present invention, if above-mentioned steps 101 get the first movement velocity of target object, mobile terminal can be with
Judge whether above-mentioned first movement velocity is more than or equal to pre-set velocity, to determine whether mobile terminal is in high-speed motion field
Scape, if mobile terminal is in high motion scenes i.e. the first movement velocity and is more than or equal to pre-set velocity, mobile terminal will
The frame per second of camera recorded video is adjusted to the second frame per second by the first frame per second, and records slow motion video according to the second frame per second.Its
In, first frame per second is lower than second frame per second, such as the second frame per second is 60fps, 120fps, 240fps even 960fps.
Such as: if pre-set velocity is 25,000 ms/h, in mobile terminal according to the first frame per second recorded video mistake of 30fps
Cheng Zhong, mobile terminal can carry out motion detection to its video record interface, if there are one in movement in video record interface
Frog, mobile terminal can be using frog as target object, and detects the movement velocity of frog, when frog take-off and movement
Terminal detects that the take-off speed of frog is 30,000 ms/h, and mobile terminal determines that the movement velocity of frog is greater than pre-set velocity,
Then determine that reference object is in high motion scenes, mobile terminal is adjusted its video record frame per second by the first frame per second of 30fps
Slow motion video is recorded to the second frame per second of 120fps, and according to the second frame per second of 120fps.
In the embodiment of the present invention, the mobile terminal can be any mobile terminal for being provided with camera, and the camera shooting
Head has slow motion recording function, such as: mobile phone, tablet computer (Tablet Personal Computer), laptop computer
(Laptop Computer), personal digital assistant (personal digital assistant, abbreviation PDA), mobile Internet access dress
Set the mobile terminals such as (Mobile Internet Device, MID) or wearable device (Wearable Device).
In the embodiment of the present invention, during according to the first frame per second recorded video, target in video record interface is detected
The movement velocity of object, and the movement velocity that will test is as the first movement velocity;If first movement velocity be greater than or
Person is equal to pre-set velocity, then records slow motion video according to the second frame per second;Wherein, the target object is the quilt in photographed scene
Reference object;First frame per second is lower than second frame per second.Mobile terminal can be greater than in the movement velocity of the object of shooting
Or when being equal to pre-set velocity, automatically switch to higher frame per second and record slow motion video, so as to avoid recording slow motion
There are operation delay for video, promote the quality of slow motion video.
Referring to fig. 2, Fig. 2 is a kind of flow chart of slow motion video method for recording provided in an embodiment of the present invention, such as Fig. 2 institute
Show, which comprises
Step 201, during according to the first frame per second recorded video, detect video record interface in target object fortune
Dynamic speed, and the movement velocity that will test is as the first movement velocity.
In the embodiment of the present invention, during with normal recording mode recorded video, mobile terminal can lead to mobile terminal
The image data for analyzing the detection of its image processor is crossed, determines the movement velocity of the target object of its shooting;Or mobile terminal
The movement velocity of its reference object can also be directly detected by the way that movement velocity detection components are arranged.Wherein, above-mentioned normal recording
The video record frame per second of mode is above-mentioned first frame per second.
In addition, above-mentioned target object can be before mobile terminal starts recorded video, in its shooting preview interface really
At least one fixed subject;It is also possible to mobile terminal during according to the first frame per second recorded video, in its video
At least one subject determined in recording interface.
It optionally, can also include: the touch control operation detected in shooting preview interface before above-mentioned steps 201;If detection
To preset third touch control operation, then the corresponding subject of the third touch control operation is determined as the target object.
In present embodiment, mobile terminal can detecte the touch control operation that user inputs in shooting preview interface, if detection
The touch control operation arrived is preset third touch control operation, and the touch control operation that mobile terminal can will test is corresponding to be taken pair
As improving mobile terminal as target object so as to which the interested subject of user is determined as target object
User experience effect.
Such as: preset third touch control operation is the operation for pressing 2s, if mobile terminal detects user in shooting preview
The pressing duration of touching operation in interface is when being more than 2s, and mobile terminal is by user's finger pressing position in shooting preview interface
Subject is as target object.
It optionally, can also include: that motion detection is carried out to video record interface before above-mentioned steps 201;If detecting
The Moving Objects are then determined as the target object by Moving Objects.
In present embodiment, during according to the first frame per second recorded video, mobile terminal can regard it mobile terminal
All subjects in frequency recording interface carry out motion detection, if detecting, at least one subject is in movement
The Moving Objects of state, the then Moving Objects that will test are determined as target object, so that realizing makes mobile terminal record view
During frequency, the Moving Objects being taken can be captured automatically as target object, further make operation more convenient, time saving.
If step 202, first movement velocity are more than or equal to pre-set velocity, slow motion is recorded according to the second frame per second
Make video.
In the embodiment of the present invention, if above-mentioned steps 201 confirmly detect the first movement velocity of target object, mobile terminal
May determine that whether the first movement velocity is more than or equal to pre-set velocity, and is determining that the first movement velocity is more than or equal to
When pre-set velocity, its video record frame per second can be switched to the second frame per second by the first frame per second by mobile terminal, and according to the second frame
Rate recorded video, that is, slow motion video.
Wherein, first frame per second is lower than second frame per second.Such as: above-mentioned first frame per second is mobile terminal with normal mode
The default frame per second of formula recorded video, such as 25fps or 30fps;Above-mentioned second frame per second can be set to 60fps, 120fps,
240fps even 960fps etc., to can produce slow motion when making the video recorded with the broadcasting of the first frame per second with the second frame per second
Effect.
Step 203, the predeterminable area on the video record interface show a slow motion the preview window.
In the embodiment of the present invention, if the movement velocity of target object is more than or equal to pre-set velocity, mobile terminal can be with
Predeterminable area at its video record interface shows a slow motion the preview window.
Wherein, above-mentioned predeterminable area can be any region in preset video record interface, and the preset areas
Domain is the partial region in video record interface.Such as: it can be the lower left corner in video record interface, and recorded for video
The region of the one third size at interface processed;It is also possible to a side being located in video record interface, and is video record circle
The region etc. of a quarter size in face.
It should be noted that above-mentioned steps 203 can execute after step 202, can also be held simultaneously with step 202
Row, is not defined herein.
Step 204, in described slow motion the preview window, with first frame per second play record slow motion video.
In the embodiment of the present invention, if video record frame per second is switched to the second frame per second by the first frame per second by above-mentioned steps 202, and
Above-mentioned steps 203 show that a slow motion the preview window, mobile terminal can be in the slow motion preview windows in video record interface
In mouthful, the slow motion video of recording is played out according to the first frame per second, to form slow motion, makes user mobile whole
During slow motion video is recorded at end, the slow motion video of recording can be watched in time.
In addition, mobile terminal, during recording slow motion video, mobile terminal can remove in its video record interface
Region except slow motion the preview window shows the image of camera acquisition with the first frame per second, so that user be allow to pass through sight
The region in video record interface in addition to slow motion the preview window is seen, to correct visual angle and the viewing video when recorded video
Recording result.
It optionally, can also include: the touch control operation in the described slow motion the preview window of detection after above-mentioned steps 204;
If detecting preset first touch control operation, stop the recording of the slow motion video;The slow motion view that storage is recorded
Frequently.
In present embodiment, during mobile terminal records slow motion video according to the second frame per second, mobile terminal can be with
The touch control operation of user's input in slow motion the preview window of display is detected, and judges whether the touch control operation detected is default
Touch control operation, if detect touching operation be preset first touch control operation, such as: click slow motion the preview window, or
For person in slow motion the preview window input slide etc., mobile terminal stops the recording of slow motion video, and stores the slow of recording
Action video, so that mobile terminal be allow to save depending on the user's operation to the slow motion video of recording.
In addition, further alternative, the step of touch control operation in above-mentioned described slow motion the preview window of detection after, also
If may include: to detect preset second touch control operation, stop the recording for recording slow motion video;Obtain recording
The recording duration of the slow motion video;Calculate the video frame recorded in the recording duration according to first frame per second
First quantity;The slow motion video of recording is converted into the target video being made of the video frame of first quantity.
In present embodiment, if the touch control operation that mobile terminal confirmly detects is preset second touch control operation, such as:
The touch control operation detected is to double-click slow motion the preview window etc., mobile terminal the slow motion video of recording can be converted by
The target video of the video frame composition of first quantity.Wherein, when above-mentioned first quantity is the recording of above-mentioned slow motion video
Slow motion in length, according to the quantity for the video frame that the first frame per second is recorded, when playing target video with the first frame per second, after conversion
Making video no longer has slow motion, that is, realizes the deletion to slow motion video, avoid the memory source for occupying mobile terminal,
There are the missings of video clip when simultaneously can be to avoid deletion slow motion video.
Wherein, the above-mentioned target for being converted into the slow motion video of recording to be made of the video frame of first quantity
Video can be the video frame that the first quantity is extracted in the slow motion video of recording;To the view of first quantity of extraction
Frequency frame is encoded, and target video is generated;Alternatively, calculating video frame sum and described first in the slow motion video recorded
The difference of quantity obtains the second quantity;The video frame of second quantity is deleted in the slow motion video of recording;It will delete
The slow motion video of the video frame of second quantity is as target video.In this way, by extracting the video in slow motion video
Frame generates target video, or by the way that the video frame deletion of slow motion video China is obtained target video, can make slow motion
Make Video Quality Metric be target video operation is convenient and high conversion efficiency.
In addition, the determination of the video frame of the video frame or deletion of said extracted, it can be according to the first frame per second and the second frame
The proportionate relationship of rate is chosen, so that the video frame extracted or deleted is evenly distributed in slow motion video, avoids converting
Target video in the image of each video frame there are larger differences.Such as: if the first frame per second is 30fps, the second frame per second is
120fps, the i.e. ratio of the first frame per second and the second frame per second are 1:4, then the video frame in target video is video in slow motion video
The a quarter of frame, in all video frames in slow motion video, mobile terminal can extract 1 from 4 adjacent frame videos
Frame video frame, or 3 frame video frames are deleted from 4 adjacent frame video frames.
In the embodiment of the present invention, during above-mentioned steps 202 record slow motion video according to the second frame per second, if mobile whole
End is when detecting that it is no longer on high motion scenes, and the second frame per second can switch to the first frame per second again, and according to the
One frame per second continues recorded video.
It optionally, can also include: to record slow motion video mistake according to second frame per second after above-mentioned steps 202
Cheng Zhong, the movement velocity that detects the movement velocity of the target object, and will test is as the second movement velocity;If described
Two movement velocitys are less than the pre-set velocity, then continue video record according to first frame per second.
In present embodiment, during mobile terminal records slow motion video according to the second frame per second, mobile terminal can be with
The movement velocity of real-time detection target object, when the movement velocity of target object makes less than pre-set velocity, by video record frame per second
First frame per second is switched to by the second frame per second, and continues recorded video according to the first frame per second, thus make to operate it is convenient and timely.
Alternatively, it is optional, it can also include: to record slow motion view according to second frame per second after above-mentioned steps 202
During frequency, detect whether the target object disappears in the video record interface;If detecting, the target object exists
It disappears in the video record interface, then continues video record according to first frame per second.
In present embodiment, mobile terminal can detecte whether target object is in video record interface, if target pair
As disappearing in video record interface, video record frame per second can be switched to the first frame per second by the second frame per second by mobile terminal, and
According to the first frame per second continue recorded video, thus make to operate it is convenient and timely.
As shown in figure 3, the embodiment of the invention provides record slow motion video based on above-mentioned slow motion video method for recording
Application example, in which:
It is recorded in bird take-off process in mobile terminal, using the bird of mobile terminal shooting as target object, in Fig. 3
(3a), (3b) and (3c) is respectively motion state of the bird at t0 moment, t1 moment and t2 moment, and t0 < t1 < t2.
As shown in (3a) in Fig. 3, at the t0 moment, bird does not take off, and mobile terminal detects that the movement velocity of bird is lower than
Pre-set velocity, mobile terminal is with the first frame per second recorded video.
At the t1 moment, bird takes off, and mobile terminal detects that the movement velocity of bird is greater than or equal to pre-set velocity, moves
The video record frame per second of camera is switched to the second frame per second by the first frame per second by dynamic terminal, and in video record circle of mobile terminal
Slow motion the preview window that the dotted line frame as shown in (3b) in Fig. 3 indicates is shown in face, mobile terminal can be in slow motion preview
The slow motion video of recording is played in window, and the region in video record interface in addition to the preview window shows that camera is real
When the image that acquires, user can be by operating slow motion the preview window, to save or delete the slow motion view of recording
Frequently.Wherein, the t1 moment is the first frame image that mobile terminal is recorded under slow motion recording mode, slow motion the preview window and view
The image that region of the frequency recording interface in addition to slow motion the preview window is shown is identical image.
As shown in (3c) in Fig. 3, at the t2 moment, mobile terminal records a period of time with slow motion recording mode, at this time slowly
Movement the preview window is different images from the image that region of the video record interface in addition to slow motion the preview window is shown,
In, the image that region of the video record interface in addition to slow motion the preview window is shown is the figure that mobile terminal acquires at the t2 moment
Picture, and the image shown in slow motion the preview window is the image that mobile terminal acquires between t1 moment and t2 moment.
In the embodiment of the present invention, if first movement velocity is more than or equal to pre-set velocity, according to the second frame per second
Record slow motion video;Predeterminable area on the video record interface shows a slow motion the preview window;In the slow motion
Make in the preview window, the slow motion video recorded is played with first frame per second.In this way, mobile terminal can record slow motion
During video, the slow motion video of recording is played, in order to which user watches slow motion video, and slow motion video is protected
It deposits or deletes, it is convenient and time saving to operate.
Referring to fig. 4, Fig. 4 is the structure chart that the present invention implements a kind of mobile terminal provided, as shown in figure 4, mobile terminal
400 include First Speed detection module 401 and the first video record module connecting with the First Speed detection module 401
402:
First Speed detection module 401, for detecting video record circle during according to the first frame per second recorded video
The movement velocity of target object in face, and the movement velocity that will test is as the first movement velocity;
First video record module 402, if the first movement velocity detected for the First Speed detection module 401
More than or equal to pre-set velocity, then slow motion video is recorded according to the second frame per second;
Wherein, the target object is the subject in photographed scene;First frame per second is lower than second frame
Rate.
Optionally, as shown in figure 5, the first video record module 402 may include:
First video record unit 4021, if the first movement speed detected for the First Speed detection module 401
Degree is more than or equal to pre-set velocity, then records slow motion video according to the second frame per second;
Window display unit 4022 shows a slow motion preview window for the predeterminable area on the video record interface
Mouthful;
Video playback unit 4023, in slow motion the preview window that the window display unit 4022 is shown, with
First frame per second plays the slow motion video that the first video record unit 4021 is recorded.
Optionally, as shown in fig. 6, the first video record module 402 can also include:
Touch control operation detection unit 4024, the slow motion the preview window shown for detecting the window display unit 4022
In touch control operation;
First records stop unit 4025, if detecting preset first touching for the touch control operation detection unit 4024
Control operation, then stop the recording of the slow motion video;
Storage unit 4026, for storing the slow motion video recorded.
Optionally, as shown in fig. 7, the first video record module 402 can also include:
Second records stop unit 4027, if detecting preset second touching for the touch control operation detection unit 4024
Control operation then stops the recording for recording slow motion video;
Duration acquiring unit 4028 is recorded, for obtaining the recording duration for the slow motion video recorded;
First computing unit 4029 is pressed in the recording duration that the recording duration acquiring unit 4028 obtains for calculating
According to the first quantity of the video frame that first frame per second is recorded;
Video Quality Metric unit 40210, for being converted into the slow motion video recorded by first computing unit
The target video of the video frame composition of 4029 the first quantity being calculated.
Optionally, as shown in figure 8, the Video Quality Metric unit 40210 may include:
Subelement 402101 is extracted, for extracting first computing unit 4029 in the slow motion video of recording
The video frame for the first quantity being calculated;
Coded sub-units 402102, the video frame of first quantity for being extracted to the extraction subelement 402101
It is encoded, generates target video.
Optionally, as shown in figure 9, the Video Quality Metric unit 40210 may include:
Second computing unit 402103, for calculating video frame sum and described first in the slow motion video recorded
The difference for the first quantity that computing unit 4029 is calculated, obtains the second quantity;
Subelement 402104 is deleted, for deleting second computing unit in the slow motion video of recording
The video frame of 402103 the second quantity being calculated;
It determines subelement 402105, is regarded for the slow motion video of video frame of second quantity will to be deleted as target
Frequently.
Optionally, as shown in Figure 10, the mobile terminal 400 can also include:
Second speed detection module 403, for being recorded in the first video record module 402 according to second frame per second
During slow motion video, the movement velocity that detects the movement velocity of the target object, and will test is as the second movement
Speed;
Second video record module 404, if the second movement velocity detected for the second speed detection module 403
Less than the pre-set velocity, then continue video record according to first frame per second.
Optionally, as shown in figure 11, the mobile terminal 400 can also include:
Target object detection module 405, for being recorded in the first video record module 402 according to second frame per second
During slow motion video, detect whether the target object disappears in the video record interface;
Third video record module 406, if detecting that the target object exists for the target object detection module 405
It disappears in the video record interface, then continues video record according to first frame per second.
Optionally, as shown in figure 12, the mobile terminal 400 can also include:
Touch control operation detection module 407, for detecting the touch control operation in shooting preview interface;
First determining module 408, if detecting preset third touch-control behaviour for the touch control operation detection module 407
Make, then the corresponding reference object of the third touch control operation is determined as the target object.
Optionally, as shown in figure 13, the mobile terminal 400 can also include:
Motion detection block 409, for carrying out motion detection to video record interface;
Second determining module 410, if detecting Moving Objects for the motion detection block 409, by the movement
Object is determined as the target object.
Mobile terminal 400 can be realized Fig. 1 each process that mobile terminal is realized in embodiment into Fig. 3, to avoid weight
Multiple, which is not described herein again.
The mobile terminal 400 of the embodiment of the present invention detects video record during according to the first frame per second recorded video
The movement velocity of target object in interface, and the movement velocity that will test is as the first movement velocity;If first movement
Speed is more than or equal to pre-set velocity, then records slow motion video according to the second frame per second;Wherein, the target object is shooting
Subject in scene;First frame per second is lower than second frame per second.Mobile terminal can be in the fortune of the object of shooting
When dynamic speed is more than or equal to pre-set velocity, automatically switches to higher frame per second and record slow motion video, so as to avoid
Recording slow motion video, there are operation delay, promote the quality of slow motion video.
The embodiment of the present invention also provides a kind of mobile terminal, including processor, and memory is stored on the memory simultaneously
The computer program that can be run on the processor, the computer program realize above-mentioned slow motion when being executed by the processor
Make each process of video recording method embodiment, and identical technical effect can be reached, it is no longer superfluous here to avoid repeating
It states.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each mistake of above-mentioned slow motion video method for recording embodiment when being executed by processor
Journey, and identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer-readable storage medium
Matter, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access
Memory, abbreviation RAM), magnetic or disk etc..
It is the structure chart that the present invention implements a kind of mobile terminal provided referring to Figure 14, Figure 14, it is as shown in figure 14, mobile whole
End 1400 includes: at least one processor 1401, memory 1402, at least one network interface 1404 and user interface 1403.
Various components in mobile terminal 1400 are coupled by bus system 1405.It is understood that bus system 1405 is for real
Connection communication between these existing components.Bus system 1405 further includes power bus, controls always in addition to including data/address bus
Line and status signal bus in addition.But for the sake of clear explanation, various buses are all designated as bus system 1405 in Figure 14, are moved
Dynamic terminal 1400 further includes the camera 1406 for having slow motion recording function, and camera 1406 is by bus system 1405 and moves
The various components connection of dynamic terminal.
Wherein, user interface 1403 may include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 1402 in the embodiment of the present invention can be volatile memory or non-volatile memories
Device, or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory
(Read-Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), erasable programmable are only
Read memory (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM,
) or flash memory EEPROM.Volatile memory can be random access memory (Random Access Memory, RAM), use
Make External Cache.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random-access
Memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random-access
Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data
Rate SDRAM, DDRSDRAM), it is enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronous
Connect dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory
(Direct Rambus RAM, DRRAM).The memory 1402 of system and method described herein is intended to include but is not limited to this
A little and any other suitable type memory.
In some embodiments, memory 1402 stores following element, executable modules or data structures, or
Their subset of person or their superset: operating system 14021 and application program 14022.
Wherein, operating system 14021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and the hardware based task of processing.Application program 14022 includes various application programs, such as matchmaker
Body player (Media Player), browser (Browser) etc., for realizing various applied business.Realize that the present invention is implemented
The program of example method may be embodied in application program 14022.
In embodiments of the present invention, mobile terminal 1400 further include: be stored on memory 1402 and can be in processor
The computer program run on 1401 specifically can be the computer program in application program 14022, computer program quilt
Processor 1401 realizes following steps when executing: during according to the first frame per second recorded video, detecting video record interface
The movement velocity of middle target object, and the movement velocity that will test is as the first movement velocity;If first movement velocity
More than or equal to pre-set velocity, then slow motion video is recorded according to the second frame per second;Wherein, the target object is photographed scene
In subject;First frame per second is lower than second frame per second.
The method that the embodiments of the present invention disclose can be applied in processor 1401, or real by processor 1401
It is existing.Processor 1401 may be a kind of IC chip, the processing capacity with signal.During realization, the above method
Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor 1401 or software form.Above-mentioned
Processor 1401 can be general processor, digital signal processor (Digital Signal Processor, DSP), dedicated
Integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor
And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only
In the computer readable storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The meter
Calculation machine readable storage medium storing program for executing is located at memory 1402, and processor 1401 reads the information in memory 1402, complete in conjunction with its hardware
The step of at the above method.Specifically, computer program is stored on the computer readable storage medium, computer program is located
Manage each step realized when device 1401 executes such as above-mentioned slow motion video method for recording embodiment.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its
Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,
DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,
In controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, it can be realized herein by executing the module (such as process, function etc.) of function described herein
The technology.Software code is storable in memory and is executed by processor.Memory can in the processor or
It is realized outside processor.
Optionally, following steps be can also be achieved when computer program is executed by processor 1401: if the first movement speed
Degree is more than or equal to pre-set velocity, then records slow motion video according to the second frame per second;It is pre- on the video record interface
If region shows a slow motion the preview window;In described slow motion the preview window, the slow of recording is played with first frame per second
Action video.
Optionally, following steps be can also be achieved when computer program is executed by processor 1401: it is pre- to detect the slow motion
The touch control operation look in window;If detecting preset first touch control operation, stop the recording of the slow motion video;Storage
The slow motion video recorded.
Optionally, following steps be can also be achieved when computer program is executed by processor 1401: if detecting preset the
Two touch control operations then stop the recording for recording slow motion video;Obtain the recording duration for the slow motion video recorded;
Calculate the first quantity of the video frame recorded in the recording duration according to first frame per second;By the slow motion of recording
Make the target video that Video Quality Metric is formed at the video frame by first quantity.
Optionally, following steps be can also be achieved when computer program is executed by processor 1401: in the slow motion of recording
Make the video frame that first quantity is extracted in video;The video frame of first quantity of extraction is encoded, mesh is generated
Mark video.
Optionally, following steps be can also be achieved when computer program is executed by processor 1401: calculating the described slow of recording
The difference of video frame sum and first quantity, obtains the second quantity in action video;In the slow motion video of recording
Delete the video frame of second quantity;The slow motion video of the video frame of second quantity will be deleted as target video.
Optionally, following steps be can also be achieved when computer program is executed by processor 1401: according to second frame
During rate records slow motion video, the movement velocity that detects the movement velocity of the target object, and will test is as the
Two movement velocitys;If second movement velocity is less than the pre-set velocity, continue video according to first frame per second
It records.
Optionally, following steps be can also be achieved when computer program is executed by processor 1401: according to second frame
During rate records slow motion video, detect whether the target object disappears in the video record interface;If detecting
The target object disappears in the video record interface, then continues video record according to first frame per second.
Optionally, following steps be can also be achieved when computer program is executed by processor 1401: detection shooting preview interface
In touch control operation;It is if detecting preset third touch control operation, the corresponding reference object of the third touch control operation is true
It is set to the target object.
Optionally, computer program by processor 1401 execute when can also be achieved following steps: to video record interface into
Row motion detection;If detecting Moving Objects, the Moving Objects are determined as the target object.
Mobile terminal 1400 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, this
In repeat no more.
The mobile terminal 1400 of the embodiment of the present invention, during according to the first frame per second recorded video, detection video record
The movement velocity of target object in interface processed, and the movement velocity that will test is as the first movement velocity;If first fortune
Dynamic speed is more than or equal to pre-set velocity, then records slow motion video according to the second frame per second;Wherein, the target object is to clap
Take the photograph the subject in scene;First frame per second is lower than second frame per second.Mobile terminal can be in the object of shooting
When movement velocity is more than or equal to pre-set velocity, automatically switches to higher frame per second and record slow motion video, so as to keep away
Exempting from recording slow motion video, there are operation delay, promote the quality of slow motion video.
Figure 15 is please referred to, Figure 15 is the structure chart that the present invention implements a kind of mobile terminal provided, can be realized Fig. 1 to figure
In 3 in embodiment slow motion video method for recording details, and reach identical effect.As shown in figure 15, mobile terminal 1500
Including radio frequency (Radio Frequency, RF) circuit 1510, memory 1520, input unit 1530, display unit 1540, place
Reason device 1550, voicefrequency circuit 1560, communication module 1570, power supply 1580 and camera 1590, camera 1590 have slow motion
Recording function.
Wherein, input unit 1530 can be used for receiving the number or character information of user's input, and generate with movement eventually
The related signal input of the user setting and function control at end 1500.Specifically, in the embodiment of the present invention, the input unit
1530 may include touch panel 1531.Touch panel 1531, also referred to as touch screen collect the touching of user on it or nearby
It touches operation (for example user uses the operations of any suitable object or attachment on touch panel 1531 such as finger, stylus), and
Corresponding attachment device is driven according to preset formula.Optionally, touch panel 1531 may include touch detecting apparatus and
Two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation bring letter
Number, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into
Contact coordinate, then give the processor 1550, and order that processor 1550 is sent can be received and executed.Furthermore, it is possible to
Touch panel 1531 is realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
1531, input unit 1530 can also include other input equipments 1532, other input equipments 1532 can include but is not limited to
One of physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are more
Kind.
Wherein, display unit 1540 can be used for showing information input by user or be supplied to the information and movement of user
The various menu interfaces of terminal 1500.Display unit 1540 may include display panel 1541, optionally, using LCD or can have
The forms such as machine light emitting diode (Organic Light-Emitting Diode, OLED) configure display panel 1541.
It should be noted that touch panel 1531 can cover display panel 1541, touch display screen is formed, when the touch display screen
After detecting touch operation on it or nearby, processor 1550 is sent to determine the type of touch event, is followed by subsequent processing
Device 1550 provides corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area
And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area
Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example,
Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.The touch screen of the embodiment of the present invention is soft
Property screen, organic transparent conductive film of carbon nanotube is posted in two faces of flexible screen.
Wherein processor 1550 is the control centre of mobile terminal 1500, utilizes various interfaces and connection whole mobile phone
Various pieces, by running or execute the software program and/or module that are stored in first memory 1521, and call and deposit
The data in second memory 1522 are stored up, the various functions and processing data of mobile terminal 1500 are executed, thus eventually to movement
End 1500 carries out integral monitoring.Optionally, processor 1550 may include one or more processing units.
In embodiments of the present invention, mobile terminal further include: be stored in first memory 1521 and can be in processor 1550
The computer program of upper operation, computer program realize following steps when being executed by processor 1550: recording according to the first frame per second
During video processed, the movement velocity of target object in video record interface, and the movement velocity conduct that will test are detected
First movement velocity;If first movement velocity is more than or equal to pre-set velocity, slow motion is recorded according to the second frame per second
Video;Wherein, the target object is the subject in photographed scene;First frame per second is lower than second frame per second.
Optionally, following steps be can also be achieved when computer program is executed by processor 1550: if the first movement speed
Degree is more than or equal to pre-set velocity, then records slow motion video according to the second frame per second;It is pre- on the video record interface
If region shows a slow motion the preview window;In described slow motion the preview window, the slow of recording is played with first frame per second
Action video.
Optionally, following steps be can also be achieved when computer program is executed by processor 1550: it is pre- to detect the slow motion
The touch control operation look in window;If detecting preset first touch control operation, stop the recording of the slow motion video;Storage
The slow motion video recorded.
Optionally, following steps be can also be achieved when computer program is executed by processor 1550: if detecting preset the
Two touch control operations then stop the recording for recording slow motion video;Obtain the recording duration for the slow motion video recorded;
Calculate the first quantity of the video frame recorded in the recording duration according to first frame per second;By the slow motion of recording
Make the target video that Video Quality Metric is formed at the video frame by first quantity.
Optionally, following steps be can also be achieved when computer program is executed by processor 1550: in the slow motion of recording
Make the video frame that first quantity is extracted in video;The video frame of first quantity of extraction is encoded, mesh is generated
Mark video.
Optionally, following steps be can also be achieved when computer program is executed by processor 1550: calculating the described slow of recording
The difference of video frame sum and first quantity, obtains the second quantity in action video;In the slow motion video of recording
Delete the video frame of second quantity;The slow motion video of the video frame of second quantity will be deleted as target video.
Optionally, following steps be can also be achieved when computer program is executed by processor 1550: according to second frame
During rate records slow motion video, the movement velocity that detects the movement velocity of the target object, and will test is as the
Two movement velocitys;If second movement velocity is less than the pre-set velocity, continue video according to first frame per second
It records.
Optionally, following steps be can also be achieved when computer program is executed by processor 1550: according to second frame
During rate records slow motion video, detect whether the target object disappears in the video record interface;If detecting
The target object disappears in the video record interface, then continues video record according to first frame per second.
Optionally, following steps be can also be achieved when computer program is executed by processor 1550: detection shooting preview interface
In touch control operation;It is if detecting preset third touch control operation, the corresponding reference object of the third touch control operation is true
It is set to the target object.
Optionally, computer program by processor 1550 execute when can also be achieved following steps: to video record interface into
Row motion detection;If detecting Moving Objects, the Moving Objects are determined as the target object.
Mobile terminal 1500 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, this
In repeat no more.
The mobile terminal 1500 of the embodiment of the present invention, during according to the first frame per second recorded video, detection video record
The movement velocity of target object in interface processed, and the movement velocity that will test is as the first movement velocity;If first fortune
Dynamic speed is more than or equal to pre-set velocity, then records slow motion video according to the second frame per second;Wherein, the target object is to clap
Take the photograph the subject in scene;First frame per second is lower than second frame per second.Mobile terminal can be in the object of shooting
When movement velocity is more than or equal to pre-set velocity, automatically switches to higher frame per second and record slow motion video, so as to keep away
Exempting from recording slow motion video, there are operation delay, promote the quality of slow motion video.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of mobile terminal and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed mobile terminal and method can pass through it
Its mode is realized.For example, mobile terminal embodiment described above is only schematical, for example, the division of unit, only
Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied
Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed
Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING of mobile terminal or unit
Or communication connection, it can be electrical property, mechanical or other forms.
Unit may or may not be physically separated as illustrated by the separation member, shown as a unit
Component may or may not be physical unit, it can and it is in one place, or may be distributed over multiple networks
On unit.It can select some or all of unit therein according to the actual needs to realize the mesh of the embodiment of the present invention
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
If function is realized in the form of SFU software functional unit and when sold or used as an independent product, can store
In a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words to existing
Having the part for the part or the technical solution that technology contributes can be embodied in the form of software products, the computer
Software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be personal meter
Calculation machine, server or network equipment etc.) execute all or part of the steps of each embodiment method of the present invention.And it is above-mentioned
Storage medium includes: the various media that can store program code such as USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk.
More than, only a specific embodiment of the invention, but scope of protection of the present invention is not limited thereto, and it is any to be familiar with
Those skilled in the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all cover
Within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (20)
1. a kind of slow motion video method for recording is applied to mobile terminal, which is characterized in that the described method includes:
During according to the first frame per second recorded video, the movement velocity of target object in video record interface is detected, and will
The movement velocity detected is as the first movement velocity;
If first movement velocity is more than or equal to pre-set velocity, slow motion video is recorded according to the second frame per second;
Wherein, the target object is the subject in photographed scene;First frame per second is lower than second frame per second;
If first movement velocity is more than or equal to pre-set velocity, slow motion video is recorded according to the second frame per second
Step, comprising:
If first movement velocity is more than or equal to pre-set velocity, slow motion video is recorded according to the second frame per second;
Predeterminable area on the video record interface shows a slow motion the preview window;
In described slow motion the preview window, the slow motion video recorded is played with first frame per second.
2. slow motion video method for recording according to claim 1, which is characterized in that described in the slow motion preview window
Mouthful in, with first frame per second play record slow motion video the step of after, further includes:
Detect the touch control operation in described slow motion the preview window;
If detecting preset first touch control operation, stop the recording of the slow motion video;
Store the slow motion video recorded.
3. slow motion video method for recording according to claim 2, which is characterized in that the detection slow motion preview
After the step of touch control operation in window, further includes:
If detecting preset second touch control operation, stop the recording for recording slow motion video;
Obtain the recording duration for the slow motion video recorded;
Calculate the first quantity of the video frame recorded in the recording duration according to first frame per second;
The slow motion video of recording is converted into the target video being made of the video frame of first quantity.
4. slow motion video method for recording according to claim 3, which is characterized in that the slow motion by recording
The step of target video that Video Quality Metric is formed at the video frame by first quantity, comprising:
The video frame of first quantity is extracted in the slow motion video of recording;
The video frame of first quantity of extraction is encoded, target video is generated.
5. slow motion video method for recording according to claim 3, which is characterized in that the slow motion by recording
The step of target video that Video Quality Metric is formed at the video frame by first quantity, comprising:
The difference for calculating video frame sum and first quantity in the slow motion video recorded, obtains the second quantity;
The video frame of second quantity is deleted in the slow motion video of recording;
The slow motion video of the video frame of second quantity will be deleted as target video.
6. slow motion video method for recording according to claim 1, which is characterized in that if first movement velocity
More than or equal to pre-set velocity, then according to the second frame per second record slow motion video the step of after, further includes:
During recording slow motion video according to second frame per second, the movement velocity of the target object is detected, and will inspection
The movement velocity measured is as the second movement velocity;
If second movement velocity is less than the pre-set velocity, continue video record according to first frame per second.
7. slow motion video method for recording according to claim 1, which is characterized in that if first movement velocity
More than or equal to pre-set velocity, then according to the second frame per second record slow motion video the step of after, further includes:
During recording slow motion video according to second frame per second, whether the target object is detected in the video record
It disappears in interface;
If detecting, the target object disappears in the video record interface, continues to regard according to first frame per second
Frequency is recorded.
8. slow motion video method for recording according to claim 1, which is characterized in that described to be recorded according to the first frame per second
During video, the movement velocity of target object in video record interface is detected, and the movement velocity that will test is as the
Before the step of one movement velocity, further includes:
Detect the touch control operation in shooting preview interface;
If detecting preset third touch control operation, the corresponding reference object of the third touch control operation is determined as the mesh
Mark object.
9. slow motion video method for recording according to claim 1, which is characterized in that described to be recorded according to the first frame per second
During video, the movement velocity of target object in video record interface is detected, and the movement velocity that will test is as the
Before the step of one movement velocity, further includes:
Motion detection is carried out to video record interface;
If detecting Moving Objects, the Moving Objects are determined as the target object.
10. a kind of mobile terminal characterized by comprising
First Speed detection module, for detecting mesh in video record interface during according to the first frame per second recorded video
The movement velocity of object is marked, and the movement velocity that will test is as the first movement velocity;
First video record module, if the first movement velocity for the First Speed detection module to detect is greater than or waits
In pre-set velocity, then slow motion video is recorded according to the second frame per second;
Wherein, the target object is the subject in photographed scene;First frame per second is lower than second frame per second;
The first video record module includes:
First video record unit, if the first movement velocity for the First Speed detection module to detect is greater than or waits
In pre-set velocity, then slow motion video is recorded according to the second frame per second;
Window display unit shows a slow motion the preview window for the predeterminable area on the video record interface;
Video playback unit, in slow motion the preview window that the window display unit is shown, with first frame per second
Play the slow motion video that the first video record unit is recorded.
11. mobile terminal according to claim 10, which is characterized in that the first video record module further include:
Touch control operation detection unit, for detecting the behaviour of the touch-control in slow motion the preview window that the window display unit is shown
Make;
First recording stop unit stops if detecting preset first touch control operation for the touch control operation detection unit
The only recording of the slow motion video;
Storage unit, for storing the slow motion video recorded.
12. mobile terminal according to claim 11, which is characterized in that the first video record module further include:
Second recording stop unit stops if detecting preset second touch control operation for the touch control operation detection unit
The only recording for recording slow motion video;
Duration acquiring unit is recorded, for obtaining the recording duration for the slow motion video recorded;
First computing unit, for calculating in the recording duration that the recording duration acquiring unit obtains according to the first frame
First quantity of the video frame that rate is recorded;
Video Quality Metric unit, for be converted into being calculated by first computing unit by the slow motion video recorded
The target video of the video frame composition of first quantity.
13. mobile terminal according to claim 12, which is characterized in that the Video Quality Metric unit includes:
Extract subelement, first be calculated for extracting first computing unit in the slow motion video of recording
The video frame of quantity;
The video frame of coded sub-units, first quantity for extracting to the extraction subelement encodes, and generates mesh
Mark video.
14. mobile terminal according to claim 12, which is characterized in that the Video Quality Metric unit includes:
Second computing unit, by calculating in the slow motion video recorded based on video frame sum and first computing unit
The difference of the first obtained quantity obtains the second quantity;
Delete subelement, second be calculated for deleting second computing unit in the slow motion video of recording
The video frame of quantity;
Determine subelement, for will delete second quantity video frame slow motion video as target video.
15. mobile terminal according to claim 10, which is characterized in that the mobile terminal further include:
Second speed detection module, for recording slow motion video according to second frame per second in the first video record module
In the process, the movement velocity that detects the movement velocity of the target object, and will test is as the second movement velocity;
Second video record module, if being less than for the second movement velocity that the second speed detection module detects described pre-
If speed, then continue video record according to first frame per second.
16. mobile terminal according to claim 10, which is characterized in that the mobile terminal further include:
Target object detection module, for recording slow motion video according to second frame per second in the first video record module
In the process, detect whether the target object disappears in the video record interface;
Third video record module, if detecting that the target object is recorded in the video for the target object detection module
It disappears in interface processed, then continues video record according to first frame per second.
17. mobile terminal according to claim 10, which is characterized in that the mobile terminal further include:
Touch control operation detection module, for detecting the touch control operation in shooting preview interface;
First determining module will be described if detecting preset third touch control operation for the touch control operation detection module
The corresponding reference object of third touch control operation is determined as the target object.
18. mobile terminal according to claim 10, which is characterized in that the mobile terminal further include:
Motion detection block, for carrying out motion detection to video record interface;
The Moving Objects are determined as by the second determining module if detecting Moving Objects for the motion detection block
The target object.
19. a kind of mobile terminal, which is characterized in that including processor, memory is stored on the memory and can be described
The computer program run on processor is realized when the computer program is executed by the processor as in claim 1 to 9
The step of described in any item slow motion video method for recording.
20. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program, the computer program realize slow motion video record as claimed in any one of claims 1-9 wherein when being executed by processor
The step of method processed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710684912.9A CN107396019B (en) | 2017-08-11 | 2017-08-11 | A kind of slow motion video method for recording and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710684912.9A CN107396019B (en) | 2017-08-11 | 2017-08-11 | A kind of slow motion video method for recording and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107396019A CN107396019A (en) | 2017-11-24 |
CN107396019B true CN107396019B (en) | 2019-05-17 |
Family
ID=60355469
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710684912.9A Active CN107396019B (en) | 2017-08-11 | 2017-08-11 | A kind of slow motion video method for recording and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107396019B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2818577C1 (en) * | 2020-11-18 | 2024-05-03 | Хуавей Текнолоджиз Ко., Лтд. | Slow motion video recording method and device |
Families Citing this family (29)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108322650B (en) * | 2018-02-08 | 2020-03-27 | Oppo广东移动通信有限公司 | Video shooting method and device, electronic equipment and computer readable storage medium |
KR102622123B1 (en) * | 2018-02-22 | 2024-01-09 | 삼성전자주식회사 | Electronic device for photograping moving picture by adjusting threshold associated with movement of object in region of interest according to movement of electronic device and method for operating thereof |
KR102645340B1 (en) | 2018-02-23 | 2024-03-08 | 삼성전자주식회사 | Electronic device and method for recording thereof |
CN108600615A (en) * | 2018-04-04 | 2018-09-28 | 深圳市语图科技有限公司 | A kind of slow motion kinescope method and device |
CN108337447A (en) * | 2018-04-12 | 2018-07-27 | Oppo广东移动通信有限公司 | High dynamic range images exposure compensating value-acquiring method, device, equipment and medium |
CN108337448B (en) * | 2018-04-12 | 2020-09-25 | Oppo广东移动通信有限公司 | High dynamic range image acquisition method and device, terminal equipment and storage medium |
CN108449560B (en) * | 2018-04-13 | 2021-02-19 | 维沃移动通信有限公司 | Video recording method and terminal |
EP3741102A1 (en) * | 2018-04-23 | 2020-11-25 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Methods for automatically switching video capturing and playing back frame rate |
WO2020071828A1 (en) | 2018-10-04 | 2020-04-09 | Samsung Electronics Co., Ltd. | Method and system for recording a super slow motion video in a portable electronic device |
CN112805996B (en) * | 2018-10-08 | 2022-04-22 | 华为技术有限公司 | Device and method for generating slow motion video clip |
WO2020101362A1 (en) | 2018-11-14 | 2020-05-22 | Samsung Electronics Co., Ltd. | Method for recording multimedia file and electronic device thereof |
CN109831621B (en) * | 2018-12-29 | 2021-07-13 | 维沃移动通信有限公司 | Camera preview image display method and mobile terminal |
US11080532B2 (en) | 2019-01-16 | 2021-08-03 | Mediatek Inc. | Highlight processing method using human pose based triggering scheme and associated system |
CN109819161A (en) * | 2019-01-21 | 2019-05-28 | 北京中竞鸽体育文化发展有限公司 | A kind of method of adjustment of frame per second, device, terminal and readable storage medium storing program for executing |
CN111107292B (en) * | 2019-02-28 | 2021-05-18 | 华为技术有限公司 | Video frame rate control method, mobile terminal and computer storage medium |
CN110086985B (en) * | 2019-03-25 | 2021-03-30 | 华为技术有限公司 | Recording method for delayed photography and electronic equipment |
CN110381276B (en) * | 2019-05-06 | 2021-08-13 | 华为技术有限公司 | Video shooting method and electronic equipment |
CN112422863B (en) * | 2019-08-22 | 2022-04-12 | 华为技术有限公司 | Video shooting method, electronic equipment and storage medium |
CN110769325B (en) * | 2019-09-17 | 2021-12-07 | 咪咕动漫有限公司 | Video shooting method, system, electronic equipment and storage medium |
CN112637476A (en) * | 2019-09-24 | 2021-04-09 | 中兴通讯股份有限公司 | Video recording method, device, terminal and computer readable storage medium |
CN111083557B (en) * | 2019-12-20 | 2022-03-08 | 浙江大华技术股份有限公司 | Video recording and playing control method and device |
CN111314639A (en) * | 2020-02-28 | 2020-06-19 | 维沃移动通信有限公司 | Video recording method and electronic equipment |
CN111526314B (en) * | 2020-04-24 | 2022-04-05 | 荣耀终端有限公司 | Video shooting method and electronic equipment |
CN111601040B (en) * | 2020-05-29 | 2021-11-09 | 维沃移动通信(杭州)有限公司 | Camera control method and device and electronic equipment |
CN112653920B (en) * | 2020-12-18 | 2022-05-24 | 北京字跳网络技术有限公司 | Video processing method, device, equipment and storage medium |
CN113347356A (en) * | 2021-05-31 | 2021-09-03 | 维沃移动通信(杭州)有限公司 | Shooting method, shooting device, electronic equipment and storage medium |
CN113596320B (en) * | 2021-06-16 | 2022-07-01 | 荣耀终端有限公司 | Video shooting variable speed recording method, device and storage medium |
CN117425064A (en) * | 2022-07-06 | 2024-01-19 | 华为技术有限公司 | Frame rate adjusting method, device, equipment and system |
CN115396696B (en) * | 2022-08-22 | 2024-04-12 | 网易(杭州)网络有限公司 | Video data transmission method, system, processing device and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102611865A (en) * | 2011-01-20 | 2012-07-25 | 卡西欧计算机株式会社 | Apparatus and method for processing moving image data |
CN102957864A (en) * | 2011-08-24 | 2013-03-06 | 奥林巴斯映像株式会社 | Imaging device and control method thereof |
CN103248818A (en) * | 2012-02-13 | 2013-08-14 | 宏达国际电子股份有限公司 | Image capture method and image capture system thereof |
CN104618656A (en) * | 2015-02-15 | 2015-05-13 | 联想(北京)有限公司 | Information processing method and electronic equipment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101198157B1 (en) * | 2005-12-22 | 2012-11-12 | 엘지전자 주식회사 | Method for changing record frame rate in digital video recorder and reproducing method therof |
-
2017
- 2017-08-11 CN CN201710684912.9A patent/CN107396019B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102611865A (en) * | 2011-01-20 | 2012-07-25 | 卡西欧计算机株式会社 | Apparatus and method for processing moving image data |
CN102957864A (en) * | 2011-08-24 | 2013-03-06 | 奥林巴斯映像株式会社 | Imaging device and control method thereof |
CN103248818A (en) * | 2012-02-13 | 2013-08-14 | 宏达国际电子股份有限公司 | Image capture method and image capture system thereof |
CN104618656A (en) * | 2015-02-15 | 2015-05-13 | 联想(北京)有限公司 | Information processing method and electronic equipment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2818577C1 (en) * | 2020-11-18 | 2024-05-03 | Хуавей Текнолоджиз Ко., Лтд. | Slow motion video recording method and device |
Also Published As
Publication number | Publication date |
---|---|
CN107396019A (en) | 2017-11-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107396019B (en) | A kind of slow motion video method for recording and mobile terminal | |
CN107396198B (en) | A kind of video call method and mobile terminal | |
CN105827946B (en) | A kind of generation of panoramic picture and playback method and mobile terminal | |
CN105827952B (en) | A kind of photographic method and mobile terminal removing specified object | |
CN106126108B (en) | A kind of generation method and mobile terminal of thumbnail | |
CN107395976B (en) | A kind of acquisition parameters setting method and mobile terminal | |
CN106780685B (en) | A kind of generation method and terminal of dynamic picture | |
CN107172296A (en) | A kind of image capturing method and mobile terminal | |
CN105959564B (en) | A kind of photographic method and mobile terminal | |
CN106792272A (en) | The generation method and mobile terminal of a kind of video thumbnails | |
CN107197169A (en) | A kind of high dynamic range images image pickup method and mobile terminal | |
CN107155064B (en) | A kind of image pickup method and mobile terminal | |
CN107395997A (en) | A kind of image pickup method and mobile terminal | |
CN106713659B (en) | A kind of panorama shooting method and mobile terminal | |
CN106648035A (en) | Image resolution adjusting method and mobile terminal | |
CN107592568B (en) | A kind of video broadcasting method and terminal device | |
CN106454085B (en) | A kind of image processing method and mobile terminal | |
CN107172465B (en) | A kind of video playing control method and mobile terminal | |
CN107026982B (en) | A kind of photographic method and mobile terminal of mobile terminal | |
CN106101597A (en) | The image pickup method of a kind of video that fixes and mobile terminal | |
CN107277411A (en) | A kind of video recording method and mobile terminal | |
CN106097398B (en) | A kind of detection method and mobile terminal of Moving Objects | |
CN106713747A (en) | Focusing method and mobile terminal | |
CN107172486B (en) | A kind of video encoding/decoding method and mobile terminal | |
CN106453886B (en) | A kind of photographic method and mobile terminal of mobile terminal |
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 |