CN107396019A - 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 PDF

Info

Publication number
CN107396019A
CN107396019A CN201710684912.9A CN201710684912A CN107396019A CN 107396019 A CN107396019 A CN 107396019A CN 201710684912 A CN201710684912 A CN 201710684912A CN 107396019 A CN107396019 A CN 107396019A
Authority
CN
China
Prior art keywords
video
slow motion
recording
frame per
mobile terminal
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
Application number
CN201710684912.9A
Other languages
Chinese (zh)
Other versions
CN107396019B (en
Inventor
李湘村
韦剑
吴宏信
鄢宇鹏
李世平
钟海波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710684912.9A priority Critical patent/CN107396019B/en
Publication of CN107396019A publication Critical patent/CN107396019A/en
Application granted granted Critical
Publication of CN107396019B publication Critical patent/CN107396019B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/78Television signal recording using magnetic recording
    • H04N5/782Television signal recording using magnetic recording on tape
    • H04N5/783Adaptations for reproducing at a rate different from the recording rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/64Computer-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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The present invention, which provides a kind of slow motion video method for recording and mobile terminal, methods described, to be included:During according to the first frame per second recorded video, the movement velocity of destination object in video record interface is detected, and using the movement velocity detected 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 destination object is the subject in photographed scene;First frame per second is less 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, automatically switch to higher frame per second and record slow motion video, operation delay be present so as to avoid recording slow motion video, lift the quality of slow motion video.

Description

A kind of slow motion video method for recording and mobile terminal
Technical field
The present invention relates to communication technical field, more particularly to a kind of slow motion video method for recording and mobile terminal.
Background technology
With the development of the communication technology, the mobile terminal such as mobile phone and tablet personal computer has become can not in people's daily life Or scarce instrument.Requirement more and more higher of the people for mobile terminal, especially the video record function of mobile terminal.In order to full Sufficient user utilizes the quick acting requirement of mobile terminal records destination object, such as:The jump action of people, frog predation action or Person's object is fallen, and slow motion video recording function is gradually applied on mobile terminal, to improve mobile terminal recorded video Quality and Consumer's Experience effect.
The realization of the slow motion video recording function of mobile terminal, generally when being to record the fast motion of destination object, move Dynamic terminal is with 120fps (frames per second, frame/second) or 240fps, even more high 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, so that user can be to fast Action carries out understanding analysis.But at present mobile terminal when recording slow motion video, it is necessary to the manually operated mobile terminal of user To open slow motion recording mode, because the operation of user there may be delay, snap-action to be recorded may be so led to miss Partially or completely action in work, make the fast motion that is recorded in the slow motion video of recording imperfect, so as to reduce recording The quality of slow motion video.It can be seen that the slow motion video that current mobile terminal is recorded, there is that slow motion video is low-quality to ask Topic.
The content 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, the low-quality problem of slow motion video be present.
In a first aspect, the embodiments of the invention provide a kind of slow motion video method for recording, it is described applied to mobile terminal Method includes:
During according to the first frame per second recorded video, the movement velocity of destination object in video record interface is detected, And using the movement velocity detected 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 destination object is the subject in photographed scene;First frame per second is less than second frame Rate.
Second aspect, the embodiment of the present invention also provide a kind of mobile terminal, including:
First Speed detection module, for during according to the first frame per second recorded video, detecting video record interface The movement velocity of middle destination object, and using the movement velocity detected as the first movement velocity;
First video record module, if be more than for the first movement velocity that the First Speed detection module detects or Person is equal to pre-set velocity, then records slow motion video according to the second frame per second;
Wherein, the destination object is the subject in photographed scene;First frame per second is less than second frame Rate.
The third aspect, the embodiment of the present invention also provide a kind of mobile terminal, including processor, memory, are stored in described On memory and the computer program that can run on the processor, the computer program is by real during the computing device 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 recording medium, the computer-readable storage Computer program is stored with medium, the computer program realizes above-mentioned slow motion video method for recording when being executed by processor The step of.
So, in the embodiment of the present invention, during according to the first frame per second recorded video, detect in video record interface The movement velocity of destination object, and using the movement velocity detected 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 destination object is in photographed scene Subject;First frame per second is less than second frame per second.Mobile terminal can be in the movement velocity of the object of shooting During more than or equal to pre-set velocity, automatically switch to higher frame per second and record slow motion video, it is slow so as to avoid recording There is operation delay in action video, lift the quality of slow motion video.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed for being described below to the embodiment of the present invention The accompanying drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, For those of ordinary skill in the art, without having to pay creative labor, can also be obtained according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is one of 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 structure chart of mobile terminal provided in an embodiment of the present invention;
Fig. 5 is one of 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 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.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
Referring to Fig. 1, Fig. 1 is a kind of flow chart of slow motion video method for recording provided in an embodiment of the present invention, is applied to Mobile terminal, as shown in figure 1, methods described includes:
Step 101, during according to the first frame per second recorded video, detect the fortune of destination object in video record interface Dynamic speed, and using the movement velocity detected 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 view data for analyzing the detection of its image processor is crossed, determines the movement velocity of the destination object of its shooting;Or mobile terminal The movement velocity of its reference object can also be directly detected by setting movement velocity detection components.Wherein, above-mentioned normal recording The video record frame per second of pattern is above-mentioned first frame per second, such as:First frame per second is that 30fps or 25fps etc. gives tacit consent to frame per second.
Such as:Mobile terminal can first obtain the position data of destination object in the view data of adjacent two field pictures, then By the position data of destination object in adjacent two field pictures, the relative displacement of destination object in adjacent two field pictures is calculated, most Movement velocity using the ratio of the relative displacement of acquisition and the time difference of adjacent two field pictures as destination object afterwards;Or pass through The comparison algorithm of pixel, in the comparative unit time, number that the position of pixel changes calculates the motion of destination object Speed.
Wherein, the destination object is the subject in photographed scene, can be preset areas in video record interface Reference object corresponding to image in domain;Can also be that mobile terminal detects touching in the input of its shooting preview interface Zhong-1 block domain When touching operation, reference object corresponding to the image in the region;Mobile terminal be can also be during video record, detected To its video record interface in the object that is kept in motion etc., 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 destination 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 it is that the first movement velocity is more than or equal to pre-set velocity that mobile terminal, which is in high motion scenes, 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 less than second frame per second, and such as the second frame per second is 60fps, 120fps, 240fps even 960fps.
Such as:If pre-set velocity is 25,000 ms/h, the first frame per second recorded video mistake in mobile terminal according to 30fps Cheng Zhong, mobile terminal can carry out motion detection to its video record interface, if having one in video record interface in motion Frog, mobile terminal can be using frog as destination 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 more 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 30fps the first frame per second Slow motion video is recorded to 120fps the second frame per second, and according to 120fps the second frame per second.
In the embodiment of the present invention, the mobile terminal can be any mobile terminal for being provided with camera, and the shooting Head has slow motion recording function, such as:Mobile phone, tablet personal computer (Tablet Personal Computer), laptop computer (Laptop Computer), personal digital assistant (personal digital assistant, abbreviation PDA), mobile Internet access dress Put the mobile terminal 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 using the movement velocity detected as the first movement velocity;If first movement velocity be more than or Person is equal to pre-set velocity, then records slow motion video according to the second frame per second;Wherein, the destination object is the quilt in photographed scene Reference object;First frame per second is less than second frame per second.Mobile terminal can be more than in the movement velocity of the object of shooting Or during 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 is operation delay in video, lift 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 institutes Show, methods described includes:
Step 201, during according to the first frame per second recorded video, detect the fortune of destination object in video record interface Dynamic speed, and using the movement velocity detected 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 view data for analyzing the detection of its image processor is crossed, determines the movement velocity of the destination object of its shooting;Or mobile terminal The movement velocity of its reference object can also be directly detected by setting movement velocity detection components.Wherein, above-mentioned normal recording The video record frame per second of pattern is above-mentioned first frame per second.
In addition, above-mentioned destination object can be mobile terminal start recorded video before, in its shooting preview interface really Fixed at least one subject;Can also be mobile terminal during according to the first frame per second recorded video, in its video At least one subject determined in recording interface.
Optionally, before above-mentioned steps 201, can also include:Detect the touch control operation in shooting preview interface;If detection To default 3rd touch control operation, then subject corresponding to the 3rd touch control operation is defined as the destination object.
In present embodiment, mobile terminal can detect the touch control operation that user inputs in shooting preview interface, if detection The touch control operation arrived is default 3rd touch control operation, and mobile terminal will can be taken pair corresponding to the touch control operation that detected As destination object, so as to which user's subject interested is defined as into destination object, improving mobile terminal Consumer's Experience effect.
Such as:Default 3rd touch control operation is presses 2s operation, if mobile terminal detects user in shooting preview When the pressing duration of touching operation in interface is more than 2s, mobile terminal is by user's finger pressing position in shooting preview interface Subject is as destination object.
Optionally, before above-mentioned steps 201, can also include:Motion detection is carried out to video record interface;If detect Moving Objects, then the Moving Objects are defined as the destination object.
In present embodiment, during according to the first frame per second recorded video, mobile terminal can regard mobile terminal to it All subjects in frequency recording interface carry out motion detection, if detecting, at least one subject is in motion The Moving Objects of state, then be defined as destination object by the Moving Objects detected, mobile terminal is regarded in recording so as to realize During frequency, the Moving Objects being taken can be caught automatically as destination 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 determine to detect the first movement velocity of destination object, mobile terminal It may determine that whether the first movement velocity is more than or equal to pre-set velocity, and it is determined that the first movement velocity is more than or equal to During pre-set velocity, its video record frame per second can be switched to the second frame per second by mobile terminal by the first frame per second, and according to the second frame Rate recorded video is slow motion video.
Wherein, first frame per second is less than second frame per second.Such as:Above-mentioned first frame per second is mobile terminal with normal mode The acquiescence frame per second of formula recorded video, such as 25fps or 30fps;Above-mentioned second frame per second could be arranged to 60fps, 120fps, 240fps even 960fps etc., so that when playing the video with the recording of the second frame per second with the first frame per second, can produce slow motion 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 destination 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 video record interface set in advance, and the preset areas Domain is the subregion in video record interface.Such as:Can be the lower left corner being located in video record interface, and recorded for video The region of 1/3rd sizes at interface processed;It can also be the side being located in video record interface, and be video record circle The region of a quarter size in face etc..
It should be noted that above-mentioned steps 203 can perform after step 202, can also be held simultaneously with step 202 OK, it 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 above-mentioned steps 202 by the first frame per second, and Above-mentioned steps 203 show a slow motion the preview window in video record interface, and mobile terminal can be in the slow motion preview window In mouthful, the slow motion video of recording is played out according to the first frame per second, so as 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 slow motion video is recorded, mobile terminal can remove in its video record interface Region outside slow motion the preview window, the image of camera collection is shown with the first frame per second, so that user can pass through sight The region in addition to slow motion the preview window in video record interface is seen, visual angle and viewing video during correcting recorded video Recording result.
Optionally, after above-mentioned steps 204, can also include:Detect the touch control operation in described slow motion the preview window; If detecting default first touch control operation, stop the recording of the slow motion video;The slow motion that storage is recorded regards 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 that user inputs in slow motion the preview window of display is detected, and whether the touch control operation for judging to detect is default Touch control operation, if detect touching operation be default first touch control operation, such as:Slow motion the preview window is clicked, or Person stores the slow of recording in slow motion the preview window input slide etc., the recording of mobile terminal stopping slow motion video Action video, so that mobile terminal can preserve according to the operation of user 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 It can include:If detecting default second touch control operation, stop the recording of the recording slow motion video;Obtain what is recorded The recording duration of the slow motion video;Calculate in the frame of video recorded and recorded in duration according to first frame per second First quantity;The target video that the slow motion video of recording is converted into being made up of the frame of video of first quantity.
In present embodiment, if the touch control operation that mobile terminal determines to detect is default second touch control operation, such as: The touch control operation detected to double-click slow motion the preview window etc., mobile terminal the slow motion video of recording can be converted into by The target video of the frame of video composition of first quantity.Wherein, when above-mentioned first quantity is the recording of above-mentioned slow motion video In length, the quantity for the frame of video recorded according to the first frame per second, when playing target video with the first frame per second, the slow motion after conversion Making video no longer has slow motion, that is, realizes the deletion to slow motion video, avoids taking the memory source of mobile terminal, The missing that video segment when deleting slow motion video be present can be avoided simultaneously.
Wherein, the above-mentioned target for being converted into being made up of the frame of video of first quantity by the slow motion video of recording Video, can be the frame of video that the first quantity is extracted in the slow motion video of recording;To regarding for first quantity of extraction Frequency frame is encoded, and generates target video;Or to calculate frame of video in the slow motion video of recording total with described first The difference of quantity, obtain the second quantity;The frame of video of second quantity is deleted in the slow motion video of recording;It will delete The slow motion video of the frame of video of second quantity is as target video.So, 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 into target video, can make slow motion Make the simple operation that Video Quality Metric is target video and high conversion efficiency.
In addition, said extracted frame of video or deletion frame of video determination, can be according to the first frame per second and the second frame The proportionate relationship of rate is chosen, so that extraction or the frame of video deleted are evenly distributed in slow motion video, avoids changing Target video in the image of each frame of video larger difference be present.Such as:If the first frame per second is 30fps, the second frame per second is The ratio of 120fps, i.e. the first frame per second and the second frame per second is 1:4, then the frame of video in target video is video in slow motion video The a quarter of frame, in all frame of video in slow motion video, mobile terminal can extract 1 from 4 adjacent frame videos Frame frame of video, or delete 3 frame frame of video from 4 adjacent frame frame of video.
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 it can switch to the second frame per second again the first frame per second, and according to the One frame per second continues recorded video.
Optionally, after above-mentioned steps 202, can also include:Slow motion video mistake is being recorded according to second frame per second Cheng Zhong, the movement velocity of the destination object is detected, and using the movement velocity detected 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 detected target object, when the movement velocity of destination 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, so that simple operation and in time.
Or optionally, after above-mentioned steps 202, it can also include:Regarded recording slow motion according to second frame per second During frequency, detect whether the destination object disappears in the video record interface;If detecting, the destination object exists Disappeared in the video record interface, then continue video record according to first frame per second.
In present embodiment, whether mobile terminal can be in video record interface with detected target object, if target pair As disappearing in video record interface, video record frame per second can be switched to the first frame per second by mobile terminal by the second frame per second, and According to the first frame per second continue recorded video so that simple operation and in time.
As shown in figure 3, the embodiments of the invention provide record slow motion video based on above-mentioned slow motion video method for recording Application example, wherein:
In mobile terminal records bird take-off process, using the bird of mobile terminal shooting as destination 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 less 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 more 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 dynamic terminal by the first frame per second, and in video record circle of mobile terminal Slow motion the preview window that dotted line frame of the display as shown in (3b) in Fig. 3 represents 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 gathers, user can regard by being operated to slow motion the preview window with preserving or deleting the slow motion of recording Frequently.Wherein, the t1 moment is the first two field picture that mobile terminal is recorded under slow motion recording mode, and slow motion the preview window is with regarding 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, now slowly It is different images to act the image that region of the preview window from video record interface in addition to slow motion the preview window is shown, its 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 gathers at the t2 moment Picture, and the image shown in slow motion the preview window is the image that mobile terminal gathers 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.So, 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 Deposit or delete, simple operation and time saving.
Referring to Fig. 4, Fig. 4 is a kind of structure chart for mobile terminal that the present invention implements offer, as shown in figure 4, mobile terminal 400 include First Speed detection module 401 and the first video record module being connected with the First Speed detection module 401 402:
First Speed detection module 401, for during according to the first frame per second recorded video, detecting video record circle The movement velocity of destination object in face, and using the movement velocity detected 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 destination object is the subject in photographed scene;First frame per second is less than second frame Rate.
Optionally, as shown in figure 5, the first video record module 402 can include:
First video record unit 4021, if the first motion 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, a slow motion preview window is shown for the predeterminable area on the video record interface Mouthful;
Video playback unit 4023, in slow motion the preview window for being shown in the window display unit 4022, 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 element 4025, if detecting that default first touches for the touch control operation detection unit 4024 Control operation, then stop the recording of the slow motion video;
Memory cell 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 element 4027, if detecting that default second touches for the touch control operation detection unit 4024 Control operation, then stop the recording of the 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, pressed for calculating in the recording duration obtained in the recording duration acquiring unit 4028 First quantity of the frame of video recorded according to first frame per second;
Video Quality Metric unit 40210, for the slow motion video of recording to be converted into by first computing unit The target video of the frame of video composition of 4029 the first quantity being calculated.
Optionally, as shown in figure 8, the Video Quality Metric unit 40210 can include:
Subelement 402101 is extracted, for extracting first computing unit 4029 in the slow motion video of recording The frame of video for the first quantity being calculated;
Coded sub-units 402102, for the frame of video for first quantity extracted to the extraction subelement 402101 Encoded, generate target video.
Optionally, as shown in figure 9, the Video Quality Metric unit 40210 can include:
Second computing unit 402103, it is total with described first for calculating frame of video 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 frame of video of 402103 the second quantity being calculated;
Determination subelement 402105, for the slow motion video for deleting the frame of video of second quantity to be regarded 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 of the destination object is detected, and using the movement velocity detected as the second motion 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:
Destination 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 destination object disappears in the video record interface;
3rd video record module 406, if detecting that the destination object exists for the destination object detection module 405 Disappeared in the video record interface, then continue 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 default 3rd touch-control behaviour for the touch control operation detection module 407 Make, then reference object corresponding to the 3rd touch control operation is defined as the destination 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 motion Object is defined as the destination object.
Mobile terminal 400 can realize Fig. 1 each processes that mobile terminal is realized in embodiment into Fig. 3, to avoid weight It is multiple, repeat no more here.
The mobile terminal 400 of the embodiment of the present invention, during according to the first frame per second recorded video, detect video record The movement velocity of destination object in interface, and using the movement velocity detected as the first movement velocity;If first motion Speed is more than or equal to pre-set velocity, then records slow motion video according to the second frame per second;Wherein, the destination object is shooting Subject in scene;First frame per second is less 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 Record slow motion video and operation delay be present, lift the quality of slow motion video.
The embodiment of the present invention also provides a kind of mobile terminal, including processor, memory, is stored on the memory simultaneously The computer program that can be run on the processor, above-mentioned slow motion is realized when the computer program is by the computing device Make each process of video recording method embodiment, and identical technique effect can be reached, it is no longer superfluous here to avoid repeating State.
The embodiment of the present invention also provides a kind of computer-readable recording medium, and meter is stored with computer-readable recording 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 technique effect can be reached, to avoid repeating, repeat no more here.Wherein, described computer-readable storage medium Matter, such as read-only storage (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disc or CD etc..
Referring to Figure 14, Figure 14 is a kind of structure chart for mobile terminal that the present invention implements offer, 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. Each component in mobile terminal 1400 is coupled by bus system 1405.It is understood that bus system 1405 is used in fact Connection communication between these existing components.Bus system 1405 is in addition to including data/address bus, in addition to power bus, control are always Line and status signal bus in addition.But for the sake of clear explanation, various buses are all designated as bus system 1405 in fig. 14, move Dynamic terminal 1400 also includes the camera 1406 for possessing slow motion recording function, and camera 1406 is by bus system 1405 with moving Each component connection of dynamic terminal.
Wherein, user interface 1403 can 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 volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read-Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), erasable programmable are only Read memory (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, ) or flash memory EEPROM.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used Make External Cache.By exemplary but be not restricted explanation, the RAM of many forms can use, 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 be intended to including but not limited to this A little and any other suitable type memory.
In some embodiments, memory 1402 stores following element, can perform module or data structure, or Their subset of person, or their superset:Operating system 14021 and application program 14022.
Wherein, operating system 14021, comprising various system programs, such as ccf layer, core library layer, driving layer etc., it is used for Realize various basic businesses and the hardware based task of processing.Application program 14022, include 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 also includes:It is stored on memory 1402 and can be in processor The computer program run on 1401, can be the computer program in application program 14022 specifically, computer program quilt Processor 1401 realizes following steps when performing:During according to the first frame per second recorded video, video record interface is detected The movement velocity of middle destination object, and using the movement velocity detected 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 destination object is photographed scene In subject;First frame per second is less than second frame per second.
The method that the embodiments of the present invention disclose can apply in processor 1401, or real by processor 1401 It is existing.Processor 1401 is probably a kind of IC chip, has the disposal ability of signal.In implementation process, 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), special Integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic, Discrete hardware components.It can realize or perform 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 can also be any conventional processor etc..With reference to institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor And software module combination performs completion.Software module can be located at random access memory, flash memory, read-only storage, may be programmed read-only In the ripe computer-readable recording medium in this area such as memory or electrically erasable programmable memory, register.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 with reference to its hardware The step of into the above method.Specifically, computer program is stored with the computer-readable recording medium, computer program is located Manage each step realized when device 1401 performs such as above-mentioned slow motion video method for recording embodiment.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, microcode or its Combine to realize.Realized for hardware, processing unit can be realized in one or more application 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 performing herein described function or its combination.
Realize, can be realized herein by performing the module (such as process, function etc.) of function described herein for software Described technology.Software code is storable in memory and passes through computing device.Memory can within a processor or Realized outside processor.
Optionally, following steps can be also realized when computer program is performed by processor 1401:If the first motion 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 can be also realized when computer program is performed by processor 1401:It is pre- to detect the slow motion The touch control operation look in window;If detecting default first touch control operation, stop the recording of the slow motion video;Storage The slow motion video recorded.
Optionally, following steps can be also realized when computer program is performed by processor 1401:If detect default Two touch control operations, then stop the recording of the recording slow motion video;Obtain the recording duration for the slow motion video recorded; Calculate the first quantity of the frame of video 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 forms into the frame of video by first quantity.
Optionally, following steps can be also realized when computer program is performed by processor 1401:In the slow motion of recording Make to extract the frame of video of first quantity in video;The frame of video of first quantity of extraction is encoded, generates mesh Mark video.
Optionally, following steps can be also realized when computer program is performed by processor 1401:Calculate the described slow of recording Frame of video is total in action video and the difference of first quantity, obtains the second quantity;In the slow motion video of recording Delete the frame of video of second quantity;The slow motion video of the frame of video of second quantity will be deleted as target video.
Optionally, following steps can be also realized when computer program is performed by processor 1401:According to second frame During rate records slow motion video, the movement velocity of the destination object is detected, and regard the movement velocity detected as the Two movement velocitys;If second movement velocity is less than the pre-set velocity, continue video according to first frame per second Record.
Optionally, following steps can be also realized when computer program is performed by processor 1401:According to second frame During rate records slow motion video, detect whether the destination object disappears in the video record interface;If detect The destination object disappears in the video record interface, then continues video record according to first frame per second.
Optionally, following steps can be also realized when computer program is performed by processor 1401:Detect shooting preview interface In touch control operation;It is if detecting default 3rd touch control operation, reference object corresponding to the 3rd touch control operation is true It is set to the destination object.
Optionally, following steps can be also realized when computer program is performed by processor 1401:Video record interface is entered Row motion detection;If detecting Moving Objects, the Moving Objects are defined as the destination object.
Mobile terminal 1400 can realize 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 destination object in interface processed, and using the movement velocity detected 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 destination object is bat The subject taken the photograph in scene;First frame per second is less 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 Exempt from recording slow motion video and operation delay be present, lift the quality of slow motion video.
Figure 15 is referred to, Figure 15 is a kind of structure chart for mobile terminal that the present invention implements offer, and Fig. 1 can be realized 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 block 1530, display unit 1540, place Reason device 1550, voicefrequency circuit 1560, communication module 1570, power supply 1580 and camera 1590, camera 1590 possess slow motion Recording function.
Wherein, input block 1530 is available for the numeral or character information for receiving user's input, and generation and movement are eventually The signal input that the user at end 1500 is set and function control is relevant.Specifically, in the embodiment of the present invention, the input block 1530 can include contact panel 1531.Contact panel 1531, also referred to as touch-screen, collect user's touching on or near it Operation (for example user uses the operations of any suitable object or annex on contact panel 1531 such as finger, stylus) is touched, and Corresponding attachment means are driven according to formula set in advance.Optionally, contact 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 the letter that touch operation is brought 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 the order sent of reception processing device 1550 and can be performed.Furthermore, it is possible to Contact panel 1531 is realized using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel 1531, input block 1530 can also include other input equipments 1532, and other input equipments 1532 can include but is not limited to One kind or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. Kind.
Wherein, display unit 1540 can be used for display by the information of user's input or be supplied to information and the movement of user The various menu interfaces of terminal 1500.Display unit 1540 may include display panel 1541, optionally, can use LCD or have The forms such as machine light emitting diode (Organic Light-Emitting Diode, OLED) configure display panel 1541.
It should be noted that contact panel 1531 can cover display panel 1541, touch display screen is formed, when the touch display screen After detecting the touch operation on or near it, 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 conventional control viewing area.The Application Program Interface viewing area And arrangement mode of the conventional 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 element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area It can also be the empty interface not comprising any content.The conventional control viewing area is used to show the higher control of utilization rate, for example, Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..The touch-screen of the embodiment of the present invention is soft Property screen, organic nesa coating of CNT 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 performing 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, perform the various functions and processing data of mobile terminal 1500, so as to mobile whole End 1500 carries out integral monitoring.Optionally, processor 1550 may include one or more processing units.
In embodiments of the present invention, mobile terminal also includes:It is stored in first memory 1521 and can be in processor 1550 The computer program of upper operation, computer program realize following steps when being performed by processor 1550:Recorded according to the first frame per second During video processed, detect the movement velocity of destination object in video record interface, and using the movement velocity detected as 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 destination object is the subject in photographed scene;First frame per second is less than second frame per second.
Optionally, following steps can be also realized when computer program is performed by processor 1550:If the first motion 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 can be also realized when computer program is performed by processor 1550:It is pre- to detect the slow motion The touch control operation look in window;If detecting default first touch control operation, stop the recording of the slow motion video;Storage The slow motion video recorded.
Optionally, following steps can be also realized when computer program is performed by processor 1550:If detect default Two touch control operations, then stop the recording of the recording slow motion video;Obtain the recording duration for the slow motion video recorded; Calculate the first quantity of the frame of video 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 forms into the frame of video by first quantity.
Optionally, following steps can be also realized when computer program is performed by processor 1550:In the slow motion of recording Make to extract the frame of video of first quantity in video;The frame of video of first quantity of extraction is encoded, generates mesh Mark video.
Optionally, following steps can be also realized when computer program is performed by processor 1550:Calculate the described slow of recording Frame of video is total in action video and the difference of first quantity, obtains the second quantity;In the slow motion video of recording Delete the frame of video of second quantity;The slow motion video of the frame of video of second quantity will be deleted as target video.
Optionally, following steps can be also realized when computer program is performed by processor 1550:According to second frame During rate records slow motion video, the movement velocity of the destination object is detected, and regard the movement velocity detected as the Two movement velocitys;If second movement velocity is less than the pre-set velocity, continue video according to first frame per second Record.
Optionally, following steps can be also realized when computer program is performed by processor 1550:According to second frame During rate records slow motion video, detect whether the destination object disappears in the video record interface;If detect The destination object disappears in the video record interface, then continues video record according to first frame per second.
Optionally, following steps can be also realized when computer program is performed by processor 1550:Detect shooting preview interface In touch control operation;It is if detecting default 3rd touch control operation, reference object corresponding to the 3rd touch control operation is true It is set to the destination object.
Optionally, following steps can be also realized when computer program is performed by processor 1550:Video record interface is entered Row motion detection;If detecting Moving Objects, the Moving Objects are defined as the destination object.
Mobile terminal 1500 can realize 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 destination object in interface processed, and using the movement velocity detected 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 destination object is bat The subject taken the photograph in scene;First frame per second is less 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 Exempt from recording slow motion video and operation delay be present, lift the quality of slow motion video.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, 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, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed mobile terminal and method, it can be passed through 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 division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can be tied Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed Mutual coupling or direct-coupling or communication connection can be the INDIRECT COUPLINGs by some interfaces, mobile terminal or unit Or communication connection, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, be shown as unit Part can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple networks On unit.Some or all of unit therein can be selected to realize the mesh of scheme of the embodiment of the present invention according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.
If function is realized in the form of SFU software functional unit and as independent production marketing or in use, can stored In a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words to existing The part for having part that technology contributes or the technical scheme can be embodied in the form of software product, the computer Software product is stored in a storage medium, including some instructions are make it that a computer equipment (can be personal meter Calculation machine, server, or network equipment etc.) perform all or part of step of each embodiment method of the present invention.It is and foregoing Storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with the medium of store program codes.
More than, it is only embodiment of the invention, but protection scope of the present invention is not limited thereto, and it is any to be familiar with Those skilled in the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be covered Within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (22)

  1. A kind of 1. slow motion video method for recording, applied to mobile terminal, it is characterised in that methods described includes:
    During according to the first frame per second recorded video, the movement velocity of destination 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 destination object is the subject in photographed scene;First frame per second is less than second frame per second.
  2. 2. slow motion video method for recording according to claim 1, it is characterised in that if first movement velocity More than or equal to pre-set velocity, then the step of recording slow motion video according to the second frame per second, including:
    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.
  3. 3. slow motion video method for recording according to claim 2, it is characterised 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, in addition to:
    Detect the touch control operation in described slow motion the preview window;
    If detecting default first touch control operation, stop the recording of the slow motion video;
    Store the slow motion video recorded.
  4. 4. slow motion video method for recording according to claim 3, it is characterised in that the detection slow motion preview After the step of touch control operation in window, in addition to:
    If detecting default second touch control operation, stop the recording of the recording slow motion video;
    Obtain the recording duration for the slow motion video recorded;
    Calculate the first quantity of the frame of video recorded in the recording duration according to first frame per second;
    The target video that the slow motion video of recording is converted into being made up of the frame of video of first quantity.
  5. 5. slow motion video method for recording according to claim 4, it is characterised in that the slow motion by recording The step of target video that Video Quality Metric forms into the frame of video by first quantity, including:
    The frame of video of first quantity is extracted in the slow motion video of recording;
    The frame of video of first quantity of extraction is encoded, generates target video.
  6. 6. slow motion video method for recording according to claim 4, it is characterised in that the slow motion by recording The step of target video that Video Quality Metric forms into the frame of video by first quantity, including:
    Calculate that frame of video in the slow motion video recorded is total and the difference of first quantity, obtain the second quantity;
    The frame of video of second quantity is deleted in the slow motion video of recording;
    The slow motion video of the frame of video of second quantity will be deleted as target video.
  7. 7. slow motion video method for recording according to claim 1, it is characterised in that if first movement velocity More than or equal to pre-set velocity, then after the step of recording slow motion video according to the second frame per second, in addition to:
    During slow motion video is recorded according to second frame per second, the movement velocity of the destination 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.
  8. 8. slow motion video method for recording according to claim 1, it is characterised in that if first movement velocity More than or equal to pre-set velocity, then after the step of recording slow motion video according to the second frame per second, in addition to:
    During slow motion video is recorded according to second frame per second, whether the destination object is detected in the video record Disappeared in interface;
    If detecting, the destination object disappears in the video record interface, continues to regard according to first frame per second Frequency is recorded.
  9. 9. slow motion video method for recording according to claim 1, it is characterised in that described to be recorded according to the first frame per second During video, the movement velocity of destination object in video record interface is detected, and regard the movement velocity detected as the Before the step of one movement velocity, in addition to:
    Detect the touch control operation in shooting preview interface;
    If detecting default 3rd touch control operation, reference object corresponding to the 3rd touch control operation is defined as the mesh Mark object.
  10. 10. slow motion video method for recording according to claim 1, it is characterised in that described to be recorded according to the first frame per second During video processed, detect the movement velocity of destination object in video record interface, and using the movement velocity detected as Before the step of first movement velocity, in addition to:
    Motion detection is carried out to video record interface;
    If detecting Moving Objects, the Moving Objects are defined as the destination object.
  11. A kind of 11. mobile terminal, it is characterised in that including:
    First Speed detection module, for during according to the first frame per second recorded video, detecting mesh in video record interface The movement velocity of object is marked, and using the movement velocity detected as the first movement velocity;
    First video record module, if being more than or waiting for the first movement velocity that the First Speed detection module detects In pre-set velocity, then slow motion video is recorded according to the second frame per second;
    Wherein, the destination object is the subject in photographed scene;First frame per second is less than second frame per second.
  12. 12. mobile terminal according to claim 11, it is characterised in that the first video record module includes:
    First video record unit, if being more than or waiting for the first movement velocity that the First Speed detection module detects In pre-set velocity, then slow motion video is recorded according to the second frame per second;
    Window display unit, a slow motion the preview window is shown for the predeterminable area on the video record interface;
    Video playback unit, in slow motion the preview window for being shown in the window display unit, with first frame per second Play the slow motion video that the first video record unit is recorded.
  13. 13. mobile terminal according to claim 12, it is characterised in that the first video record module also includes:
    Touch control operation detection unit, the touch-control behaviour in the slow motion the preview window shown for detecting the window display unit Make;
    First records stop element, if detecting default first touch control operation for the touch control operation detection unit, stops The only recording of the slow motion video;
    Memory cell, for storing the slow motion video recorded.
  14. 14. mobile terminal according to claim 13, it is characterised in that the first video record module also includes:
    Second records stop element, if detecting default second touch control operation for the touch control operation detection unit, stops 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 obtained in the recording duration acquiring unit according to first frame First quantity of the frame of video that rate is recorded;
    Video Quality Metric unit, for the slow motion video of recording to be converted into what is be calculated by first computing unit The target video of the frame of video composition of first quantity.
  15. 15. mobile terminal according to claim 14, it is characterised 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 frame of video of quantity;
    Coded sub-units, the frame of video for first quantity to the extraction subelement extraction encode, and generate mesh Mark video.
  16. 16. mobile terminal according to claim 14, it is characterised in that the Video Quality Metric unit includes:
    Second computing unit, by calculate frame of video in the slow motion video recorded it is total with first computing unit based on 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 frame of video of quantity;
    Determination subelement, for the slow motion video using the frame of video of second quantity is deleted as target video.
  17. 17. mobile terminal according to claim 11, it is characterised in that the mobile terminal also includes:
    Second speed detection module, for recording slow motion video according to second frame per second in the first video record module During, the movement velocity of the destination object is detected, and using the movement velocity detected 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.
  18. 18. mobile terminal according to claim 11, it is characterised in that the mobile terminal also includes:
    Destination object detection module, for recording slow motion video according to second frame per second in the first video record module During, detect whether the destination object disappears in the video record interface;
    3rd video record module, if detecting that the destination object is recorded in the video for the destination object detection module Disappeared in interface processed, then continue video record according to first frame per second.
  19. 19. mobile terminal according to claim 11, it is characterised in that the mobile terminal also includes:
    Touch control operation detection module, for detecting the touch control operation in shooting preview interface;
    First determining module, if detecting default 3rd touch control operation for the touch control operation detection module, by described in Reference object corresponding to 3rd touch control operation is defined as the destination object.
  20. 20. mobile terminal according to claim 11, it is characterised in that the mobile terminal also includes:
    Motion detection block, for carrying out motion detection to video record interface;
    Second determining module, if detecting Moving Objects for the motion detection block, the Moving Objects are defined as The destination object.
  21. 21. a kind of mobile terminal, it is characterised in that including processor, memory is stored on the memory and can be described The computer program run on processor, the computer program are realized such as claim 1 to 10 during the computing device Any one of slow motion video method for recording the step of.
  22. 22. a kind of computer-readable recording medium, it is characterised in that be stored with computer on the computer-readable recording medium Program, the slow motion video as any one of claim 1 to 10 is realized when the computer program is executed by processor The step of method for recording.
CN201710684912.9A 2017-08-11 2017-08-11 A kind of slow motion video method for recording and mobile terminal Active CN107396019B (en)

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 true CN107396019A (en) 2017-11-24
CN107396019B 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 (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108322650A (en) * 2018-02-08 2018-07-24 广东欧珀移动通信有限公司 Video capture method and apparatus, electronic equipment, computer readable storage medium
CN108337447A (en) * 2018-04-12 2018-07-27 Oppo广东移动通信有限公司 High dynamic range images exposure compensating value-acquiring method, device, equipment and medium
CN108337448A (en) * 2018-04-12 2018-07-27 Oppo广东移动通信有限公司 High-dynamic-range image acquisition method, device, terminal device and storage medium
CN108449560A (en) * 2018-04-13 2018-08-24 维沃移动通信有限公司 A kind of kinescope method and terminal
CN108600615A (en) * 2018-04-04 2018-09-28 深圳市语图科技有限公司 A kind of slow motion kinescope method and device
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
CN109831621A (en) * 2018-12-29 2019-05-31 维沃移动通信有限公司 Camera preview image display method and mobile terminal
CN110086985A (en) * 2019-03-25 2019-08-02 华为技术有限公司 A kind of method for recording and electronic equipment of time-lapse photography
CN110381276A (en) * 2019-05-06 2019-10-25 华为技术有限公司 A kind of video capture method and electronic equipment
WO2019204969A1 (en) * 2018-04-23 2019-10-31 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Methods for automatically switching video capturing and playing back frame rate
CN110769325A (en) * 2019-09-17 2020-02-07 咪咕动漫有限公司 Video shooting method, system, electronic equipment and storage medium
WO2020073172A1 (en) 2018-10-08 2020-04-16 Huawei Technologies Co., Ltd. Methods and devices for capturing high-speed and high-definition videos
CN111083557A (en) * 2019-12-20 2020-04-28 浙江大华技术股份有限公司 Video recording and playing control method and device
WO2020101362A1 (en) 2018-11-14 2020-05-22 Samsung Electronics Co., Ltd. Method for recording multimedia file and electronic device thereof
CN111314639A (en) * 2020-02-28 2020-06-19 维沃移动通信有限公司 Video recording method and electronic equipment
CN111526314A (en) * 2020-04-24 2020-08-11 华为技术有限公司 Video shooting method and electronic equipment
CN111601040A (en) * 2020-05-29 2020-08-28 维沃移动通信(杭州)有限公司 Camera control method and device and electronic equipment
CN111670573A (en) * 2018-02-22 2020-09-15 三星电子株式会社 Electronic device for photographing moving picture by adjusting threshold associated with movement of object in region of interest according to movement of electronic device and operating method thereof
CN111742543A (en) * 2018-02-23 2020-10-02 三星电子株式会社 Electronic device and recording method thereof
WO2021031915A1 (en) * 2019-08-22 2021-02-25 华为技术有限公司 Intelligent video recording method and apparatus
CN112637476A (en) * 2019-09-24 2021-04-09 中兴通讯股份有限公司 Video recording method, device, terminal and computer readable storage medium
US11080532B2 (en) 2019-01-16 2021-08-03 Mediatek Inc. Highlight processing method using human pose based triggering scheme and associated system
CN113347356A (en) * 2021-05-31 2021-09-03 维沃移动通信(杭州)有限公司 Shooting method, shooting device, electronic equipment and storage medium
CN113475057A (en) * 2019-02-28 2021-10-01 华为技术有限公司 Video frame rate control method and related device
CN113596320A (en) * 2021-06-16 2021-11-02 荣耀终端有限公司 Video shooting variable speed recording method, device, storage medium and program product
US11190728B2 (en) 2018-10-04 2021-11-30 Samsung Electronics Co., Ltd. Method and system for recording a super slow motion video in a portable electronic device
WO2022127839A1 (en) * 2020-12-18 2022-06-23 北京字跳网络技术有限公司 Video processing method and apparatus, device, storage medium, and computer program product
CN115396696A (en) * 2022-08-22 2022-11-25 网易(杭州)网络有限公司 Video data transmission method, system, processing device and storage medium
WO2024007769A1 (en) * 2022-07-06 2024-01-11 华为技术有限公司 Frame rate adjustment method, apparatus, device and system
US12003884B2 (en) 2020-12-18 2024-06-04 Beijing Zitiao Network Technology Co., Ltd. Video processing method and apparatus, device, storage medium and computer program product

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070189728A1 (en) * 2005-12-22 2007-08-16 Lg Electronics Inc. Method of recording and reproducing surveillance images in DVR
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070189728A1 (en) * 2005-12-22 2007-08-16 Lg Electronics Inc. Method of recording and reproducing surveillance images in DVR
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 (56)

* Cited by examiner, † Cited by third party
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
CN108322650A (en) * 2018-02-08 2018-07-24 广东欧珀移动通信有限公司 Video capture method and apparatus, electronic equipment, computer readable storage medium
CN111670573A (en) * 2018-02-22 2020-09-15 三星电子株式会社 Electronic device for photographing moving picture by adjusting threshold associated with movement of object in region of interest according to movement of electronic device and operating method thereof
EP3742720A4 (en) * 2018-02-23 2020-12-09 Samsung Electronics Co., Ltd. Electronic device and recording method thereof
CN111742543A (en) * 2018-02-23 2020-10-02 三星电子株式会社 Electronic device and recording method thereof
US11696013B2 (en) 2018-02-23 2023-07-04 Samsung Electronics Co., Ltd. Electronic device and recording method thereof
WO2019192097A1 (en) * 2018-04-04 2019-10-10 深圳市语图科技有限公司 Slow motion picture recording method and apparatus
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
CN108337448A (en) * 2018-04-12 2018-07-27 Oppo广东移动通信有限公司 High-dynamic-range image acquisition method, device, terminal device and storage 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
CN108449560A (en) * 2018-04-13 2018-08-24 维沃移动通信有限公司 A kind of kinescope method and terminal
US10972663B2 (en) 2018-04-23 2021-04-06 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Methods for automatically switching video capturing and playing back frame rate
WO2019204969A1 (en) * 2018-04-23 2019-10-31 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Methods for automatically switching video capturing and playing back frame rate
CN111567030B (en) * 2018-04-23 2022-01-28 Oppo广东移动通信有限公司 Method for automatically switching video capture and playback frame rates
CN111567030A (en) * 2018-04-23 2020-08-21 Oppo广东移动通信有限公司 Method for automatically switching video capture and playback frame rates
US11190728B2 (en) 2018-10-04 2021-11-30 Samsung Electronics Co., Ltd. Method and system for recording a super slow motion video in a portable electronic device
US11558581B2 (en) 2018-10-04 2023-01-17 Samsung Electronics Co., Ltd. Method and system for recording a super slow motion video in a portable electronic device
US11558549B2 (en) 2018-10-08 2023-01-17 Huawei Technologies Co., Ltd. Methods and devices for capturing high-speed and high-definition videos
EP3850829A4 (en) * 2018-10-08 2021-10-06 Huawei Technologies Co., Ltd. Methods and devices for capturing high-speed and high-definition videos
CN112805996A (en) * 2018-10-08 2021-05-14 华为技术有限公司 Method and equipment for acquiring high-speed high-definition video
WO2020073172A1 (en) 2018-10-08 2020-04-16 Huawei Technologies Co., Ltd. Methods and devices for capturing high-speed and high-definition videos
EP3850830A4 (en) * 2018-11-14 2021-12-08 Samsung Electronics Co., Ltd. Method for recording multimedia file and electronic device thereof
US11606493B2 (en) 2018-11-14 2023-03-14 Samsung Electronics Co., Ltd. Method for recording multimedia file and electronic device thereof
CN113039779A (en) * 2018-11-14 2021-06-25 三星电子株式会社 Method for recording multimedia file and electronic equipment thereof
WO2020101362A1 (en) 2018-11-14 2020-05-22 Samsung Electronics Co., Ltd. Method for recording multimedia file and electronic device thereof
CN109831621A (en) * 2018-12-29 2019-05-31 维沃移动通信有限公司 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
US11818497B2 (en) 2019-02-28 2023-11-14 Huawei Technologies Co., Ltd. Recording frame rate control method and related apparatus
CN113475057A (en) * 2019-02-28 2021-10-01 华为技术有限公司 Video frame rate control method and related device
CN110086985A (en) * 2019-03-25 2019-08-02 华为技术有限公司 A kind of method for recording and electronic equipment of time-lapse photography
WO2020192461A1 (en) * 2019-03-25 2020-10-01 华为技术有限公司 Recording method for time-lapse photography, and electronic device
CN110381276A (en) * 2019-05-06 2019-10-25 华为技术有限公司 A kind of video capture method and electronic equipment
CN112422863A (en) * 2019-08-22 2021-02-26 华为技术有限公司 Intelligent video recording method and device
JP7371227B2 (en) 2019-08-22 2023-10-30 華為技術有限公司 Intelligent video recording method and device
JP2022545800A (en) * 2019-08-22 2022-10-31 華為技術有限公司 Intelligent video recording method and apparatus
EP4016986A4 (en) * 2019-08-22 2022-10-19 Huawei Technologies Co., Ltd. Intelligent video recording method and apparatus
WO2021031915A1 (en) * 2019-08-22 2021-02-25 华为技术有限公司 Intelligent video recording method and apparatus
CN110769325B (en) * 2019-09-17 2021-12-07 咪咕动漫有限公司 Video shooting method, system, electronic equipment and storage medium
CN110769325A (en) * 2019-09-17 2020-02-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
CN111083557A (en) * 2019-12-20 2020-04-28 浙江大华技术股份有限公司 Video recording and playing control method and device
CN111314639A (en) * 2020-02-28 2020-06-19 维沃移动通信有限公司 Video recording method and electronic equipment
CN111526314A (en) * 2020-04-24 2020-08-11 华为技术有限公司 Video shooting method and electronic equipment
WO2021213341A1 (en) * 2020-04-24 2021-10-28 荣耀终端有限公司 Video photographing method and electronic device
CN111526314B (en) * 2020-04-24 2022-04-05 荣耀终端有限公司 Video shooting method and electronic equipment
CN111601040A (en) * 2020-05-29 2020-08-28 维沃移动通信(杭州)有限公司 Camera control method and device and electronic equipment
WO2022127839A1 (en) * 2020-12-18 2022-06-23 北京字跳网络技术有限公司 Video processing method and apparatus, device, storage medium, and computer program product
US12003884B2 (en) 2020-12-18 2024-06-04 Beijing Zitiao Network Technology Co., Ltd. Video processing method and apparatus, device, storage medium and computer program product
CN113347356A (en) * 2021-05-31 2021-09-03 维沃移动通信(杭州)有限公司 Shooting method, shooting device, electronic equipment and storage medium
CN113596320A (en) * 2021-06-16 2021-11-02 荣耀终端有限公司 Video shooting variable speed recording method, device, storage medium and program product
WO2024007769A1 (en) * 2022-07-06 2024-01-11 华为技术有限公司 Frame rate adjustment method, apparatus, device and system
CN115396696A (en) * 2022-08-22 2022-11-25 网易(杭州)网络有限公司 Video data transmission method, system, processing device and storage medium
CN115396696B (en) * 2022-08-22 2024-04-12 网易(杭州)网络有限公司 Video data transmission method, system, processing device and storage medium

Also Published As

Publication number Publication date
CN107396019B (en) 2019-05-17

Similar Documents

Publication Publication Date Title
CN107396019A (en) A kind of slow motion video method for recording and mobile terminal
CN107396198B (en) A kind of video call method and mobile terminal
CN107172296A (en) A kind of image capturing method and mobile terminal
CN105827946B (en) A kind of generation of panoramic picture and playback method and mobile terminal
CN107197169A (en) A kind of high dynamic range images image pickup method and mobile terminal
CN106792272A (en) The generation method and mobile terminal of a kind of video thumbnails
CN107395997A (en) A kind of image pickup method and mobile terminal
CN107678641A (en) A kind of method and mobile terminal into target display interface
CN106406710A (en) Screen recording method and mobile terminal
CN106780685B (en) A kind of generation method and terminal of dynamic picture
CN105959564B (en) A kind of photographic method and mobile terminal
CN106126108B (en) A kind of generation method and mobile terminal of thumbnail
CN107302664A (en) A kind of image pickup method and mobile terminal
CN107277411A (en) A kind of video recording method and mobile terminal
CN107395976A (en) A kind of acquisition parameters method to set up and mobile terminal
CN106775424A (en) A kind of screenshotss processing method and mobile terminal
CN107678644A (en) A kind of image processing method and mobile terminal
CN106648035A (en) Image resolution adjusting method and mobile terminal
CN106101597A (en) The image pickup method of a kind of video that fixes and mobile terminal
CN107404577A (en) A kind of image processing method, mobile terminal and computer-readable recording medium
CN107155064A (en) A kind of image pickup method and mobile terminal
CN106713659A (en) panoramic shooting method and mobile terminal
CN107509040A (en) A kind of photographic method and mobile terminal
CN106888354A (en) A kind of singlehanded photographic method and mobile terminal
CN106791422A (en) A kind of image processing method and 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