CN104618674A - Mobile terminal video recording method and device - Google Patents

Mobile terminal video recording method and device Download PDF

Info

Publication number
CN104618674A
CN104618674A CN201510091517.0A CN201510091517A CN104618674A CN 104618674 A CN104618674 A CN 104618674A CN 201510091517 A CN201510091517 A CN 201510091517A CN 104618674 A CN104618674 A CN 104618674A
Authority
CN
China
Prior art keywords
jitter amplitude
frame per
mobile terminal
real
less
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
CN201510091517.0A
Other languages
Chinese (zh)
Other versions
CN104618674B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510091517.0A priority Critical patent/CN104618674B/en
Publication of CN104618674A publication Critical patent/CN104618674A/en
Application granted granted Critical
Publication of CN104618674B publication Critical patent/CN104618674B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention is suitable for the technical field of mobile terminals, and provides a mobile terminal video recording method and device. The method comprises the following steps: detecting real-time jitter amplitude of a mobile terminal by a gyroscope; judging whether the real-time jitter amplitude is smaller than the preset jitter amplitude or not; when the real-time jitter amplitude is smaller than the preset jitter amplitude, carrying out video recording at a first frame rate; when the real-time jitter amplitude is not smaller than the preset jitter amplitude, carrying out video recording at a second frame rate, wherein the first frame rate is smaller than the second frame rate. In the invention, the video recording frame rate is dynamically adjusted in real time by detecting the jitter state of the mobile terminal, so that a recorded video is guaranteed to be well balanced between the frame rate and a noisy point, and the picture quality of the recorded video is ensured.

Description

A kind of video recording method of mobile terminal and device
Technical field
The invention belongs to technical field of mobile terminals, particularly relate to a kind of video recording method and device of mobile terminal.
Background technology
At present, increasing user carries out video capture by mobile terminals such as mobile phones, records the drop moment in life.Compared to the picture pick-up device of specialty, use mobile terminal carry out video capture, there is following defect: video can not realize well between both frame per second and noise balance, when use high frame per second recorded video time, video noise is bigger than normal; When using low frame per second recorded video, the video pictures image blur of recording, the existence of above phenomenon, cause at present when using mobile terminal to carry out video record, the video display effect of recording is not good.
Summary of the invention
The object of the embodiment of the present invention is the video recording method and the device that provide a kind of mobile terminal, is intended to solve in prior art when using mobile terminal to carry out video record, the problem that the video display effect of recording is not good.
The embodiment of the present invention is achieved in that a kind of video recording method of mobile terminal, comprising:
The real-time jitter amplitude of described mobile terminal is detected by gyroscope;
Judge whether described real-time jitter amplitude is less than default jitter amplitude;
When described real-time jitter amplitude is less than described default jitter amplitude, the first frame per second is used to carry out video record;
When described real-time jitter amplitude is not less than described default jitter amplitude, the second frame per second is used to carry out video record; Described first frame per second is less than described second frame per second.
Another object of the embodiment of the present invention is the video recording device providing a kind of mobile terminal, comprising:
First detecting unit, for detecting the real-time jitter amplitude of described mobile terminal by gyroscope;
Judging unit, for judging whether described real-time jitter amplitude is less than default jitter amplitude;
First recording elements, for when described real-time jitter amplitude is less than described default jitter amplitude, uses the first frame per second to carry out video record;
Second recording elements, for when described real-time jitter amplitude is not less than described default jitter amplitude, uses the second frame per second to carry out video record; Described first frame per second is less than described second frame per second.
In the embodiment of the present invention, by detecting the dither state of mobile terminal, in real time dynamic conditioning is carried out to the recording frame per second of video, thus ensure that the video recorded out can realize balance well between frame per second and noise, ensure that the image quality of recorded video.
Accompanying drawing explanation
Fig. 1 is the realization flow figure of the video recording method of the mobile terminal that the embodiment of the present invention provides;
Fig. 2 is the realization flow figure of the video recording method of the mobile terminal that another embodiment of the present invention provides;
Fig. 3 is the realization flow figure of the video recording method of the mobile terminal that another embodiment of the present invention provides;
Fig. 4 is the specific implementation flow chart of the video recording method S103 of the mobile terminal that the embodiment of the present invention provides;
The structured flowchart of the video recording device of the mobile terminal that Fig. 5 embodiment of the present invention provides.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
In embodiments of the present invention, described mobile terminal, refers to the computer equipment that can use in movement, includes but not limited to that mobile phone, notebook, panel computer, POS even comprise vehicle-mounted computer.
Fig. 1 shows the realization flow of the video recording method of the mobile terminal that the embodiment of the present invention provides, and details are as follows:
In S101, detected the real-time jitter amplitude of described mobile terminal by gyroscope.
At present, mobile terminal inside is provided with gyroscope mostly, and gyroscope can record the shake action of hand, thus detect the real-time jitter amplitude of mobile terminal, and feed back to mobile terminal processor, therefore, in the present embodiment, when mobile terminal startup camera carries out video record, in real time the jitter amplitude of mobile terminal is detected by gyroscope.
In S102, judge whether described real-time jitter amplitude is less than default jitter amplitude.
Described default jitter amplitude can obtain in the following manner:
Before S101, as shown in Figure 2:
In S201, the preset frame rate of described mobile terminal is set.
In the present embodiment, the preset frame rate of mobile terminal is set by technical staff's mode by experiment, this preset frame rate can for most users move at a slow speed under normal circumstances mobile terminal carry out video record time, recording frame per second when the performance of the video image recorded not easily fuzzy and noise is better, such as, preset frame rate is that 15 frames are per second.
In S202, described mobile terminal is used to carry out video record under described preset frame rate.
In S203, in video record process, detected the jitter amplitude of described mobile terminal by gyroscope, this jitter amplitude is set to described default jitter amplitude.
After the preset frame rate determining mobile terminal, then by gyroscope record hand-held mobile terminal carry out video record and the frame per second recorded for this preset frame rate time, the jitter amplitude of mobile terminal, and this jitter amplitude is set to the jitter amplitude preset.
After setting default jitter amplitude, just can judge whether detect the jitter amplitude obtained in S101 is in real time less than this jitter amplitude preset.
In S103, when described real-time jitter amplitude is less than described default jitter amplitude, the first frame per second is used to carry out video record.
In S104, when described real-time jitter amplitude is not less than described default jitter amplitude, the second frame per second is used to carry out video record; Described first frame per second is less than described second frame per second.
In the present embodiment, when the real-time jitter amplitude of mobile terminal is lower than the jitter amplitude preset, use lower frame per second to carry out video record, preferably, this frame per second needs lower than the preset frame rate determined in S201; When the real-time jitter amplitude of mobile terminal is higher than the jitter amplitude preset, use higher frame per second to carry out video record, preferably, this frame per second needs higher than the preset frame rate determined in S201, and in embodiments of the present invention, described first frame per second must be less than described second frame per second.
As one embodiment of the present of invention, use the first frame per second to carry out video record described in S103 and comprise:
Calculating K * X1/X*N, determines described first frame per second according to result of calculation;
Use the second frame per second to carry out video record described in S104 to comprise:
Calculating K * X2/X*N, determines described second frame per second according to result of calculation;
Wherein, described K is a constant, and described X is described default jitter amplitude, and described X1 is the described real-time jitter amplitude being less than described default jitter amplitude, described X2 is the described real-time jitter amplitude being not less than described default jitter amplitude, and described N is described preset frame rate.
Wherein, as one embodiment of the present of invention, as shown in Figure 3, described method also comprises:
S105: the value adjusting described K.
That is, described K is a regulation coefficient, can carry out dynamic conditioning, to ensure that the frame per second determined according to above formula can reach preferably video record effect.
As one embodiment of the present of invention, the image quality of recorded video can also be ensured by setting minimum frame per second:
As shown in Figure 4, according to result of calculation, described calculating K * X1/X*N, determines that described first frame per second comprises:
S401, judges that whether described result of calculation is lower than the minimum frame per second preset.
S402, if described result of calculation is lower than described default minimum frame per second, is defined as described first frame per second by described default minimum frame per second.
S403, if described result of calculation is not less than described default minimum frame per second, is defined as described first frame per second by described result of calculation.
Wherein, described default minimum frame per second for visually can accept, the minimum frame per second of the image quality that can ensure recorded video, such as, the minimum frame per second preset can be that 10 frames are per second.According to the result of calculation of K*X1/X*N, if this result of calculation is lower than the minimum frame per second preset, then the minimum frame per second preset is defined as the first frame per second, if this result of calculation is not less than default minimum frame per second, this result of calculation is defined as the first frame per second, thus the image quality of recorded video is effectively ensured.。
In the embodiment of the present invention, by detecting the dither state of mobile terminal, in real time dynamic conditioning is carried out to the recording frame per second of video, thus ensure that the video recorded out can realize balance well between frame per second and noise, ensure that the image quality of recorded video.
Corresponding to the video recording method of the mobile terminal described in foregoing embodiments, Fig. 5 shows the structured flowchart of the video recording device of the mobile terminal that the embodiment of the present invention provides, and for convenience of explanation, illustrate only part related to the present embodiment.
With reference to Fig. 5, this device comprises:
First detecting unit 51, detects the real-time jitter amplitude of described mobile terminal by gyroscope;
Judging unit 52, judges whether described real-time jitter amplitude is less than default jitter amplitude;
First recording elements 53, when described real-time jitter amplitude is less than described default jitter amplitude, uses the first frame per second to carry out video record;
Second recording elements 54, when described real-time jitter amplitude is not less than described default jitter amplitude, uses the second frame per second to carry out video record; Described first frame per second is less than described second frame per second.
Alternatively, described device also comprises:
First setting unit, arranges the preset frame rate of described mobile terminal;
3rd recording elements, uses described mobile terminal to carry out video record under described preset frame rate;
Second detecting unit, detects the jitter amplitude of described mobile terminal in video record process by gyroscope, this jitter amplitude is set to described default jitter amplitude.
Alternatively, described first recording elements 53 specifically for:
Calculating K * X1/X*N, determines described first frame per second according to result of calculation;
Described second recording elements 54 specifically for:
Calculating K * X2/X*N, determines described second frame per second according to result of calculation;
Wherein, described K is a constant, and described X is described default jitter amplitude, and described X1 is the described real-time jitter amplitude being less than described default jitter amplitude, described X2 is the described real-time jitter amplitude being not less than described default jitter amplitude, and described N is described preset frame rate.
Alternatively, described first recording elements 53 comprises:
Judgment sub-unit, judges that whether described result of calculation is lower than the minimum frame per second preset;
First determines subelement, if described result of calculation is lower than described default minimum frame per second, described default minimum frame per second is defined as described first frame per second;
Second determines subelement, if described result of calculation is not less than described default minimum frame per second, described result of calculation is defined as described first frame per second.
Alternatively, described device also comprises:
Adjustment unit, adjusts the value of described K.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a video recording method for mobile terminal, is characterized in that, comprising:
The real-time jitter amplitude of described mobile terminal is detected by gyroscope;
Judge whether described real-time jitter amplitude is less than default jitter amplitude;
When described real-time jitter amplitude is less than described default jitter amplitude, the first frame per second is used to carry out video record;
When described real-time jitter amplitude is not less than described default jitter amplitude, the second frame per second is used to carry out video record; Described first frame per second is less than described second frame per second.
2. the method for claim 1, is characterized in that, described detected the real-time jitter amplitude of described mobile terminal by gyroscope before, described method also comprises:
The preset frame rate of described mobile terminal is set;
Described mobile terminal is used to carry out video record under described preset frame rate;
In video record process, detected the jitter amplitude of described mobile terminal by gyroscope, this jitter amplitude is set to described default jitter amplitude.
3. method as claimed in claim 2, it is characterized in that, described use first frame per second is carried out video record and is comprised:
Calculating K * X1/X*N, determines described first frame per second according to result of calculation;
Described use second frame per second is carried out video record and is comprised:
Calculating K * X2/X*N, determines described second frame per second according to result of calculation;
Wherein, described K is a constant, and described X is described default jitter amplitude, and described X1 is the described real-time jitter amplitude being less than described default jitter amplitude, described X2 is the described real-time jitter amplitude being not less than described default jitter amplitude, and described N is described preset frame rate.
4. method as claimed in claim 3, is characterized in that according to result of calculation, described calculating K * X1/X*N determines that described first frame per second comprises:
Judge that whether described result of calculation is lower than the minimum frame per second preset;
If described result of calculation is lower than described default minimum frame per second, described default minimum frame per second is defined as described first frame per second;
If described result of calculation is not less than described default minimum frame per second, described result of calculation is defined as described first frame per second.
5. the method as described in claim 3 or 4, is characterized in that, described method also comprises:
Adjust the value of described K.
6. a video recording device for mobile terminal, is characterized in that, comprising:
First detecting unit, for detecting the real-time jitter amplitude of described mobile terminal by gyroscope;
Judging unit, for judging whether described real-time jitter amplitude is less than default jitter amplitude;
First recording elements, for when described real-time jitter amplitude is less than described default jitter amplitude, uses the first frame per second to carry out video record;
Second recording elements, for when described real-time jitter amplitude is not less than described default jitter amplitude, uses the second frame per second to carry out video record; Described first frame per second is less than described second frame per second.
7. device as claimed in claim 6, it is characterized in that, described device also comprises:
First setting unit, for arranging the preset frame rate of described mobile terminal;
3rd recording elements, carries out video record for using described mobile terminal under described preset frame rate;
Second detecting unit, for being detected the jitter amplitude of described mobile terminal in video record process by gyroscope, is set to described default jitter amplitude by this jitter amplitude.
8. device as claimed in claim 7, is characterized in that, described first recording elements specifically for:
Calculating K * X1/X*N, determines described first frame per second according to result of calculation;
Described second recording elements specifically for:
Calculating K * X2/X*N, determines described second frame per second according to result of calculation;
Wherein, described K is a constant, and described X is described default jitter amplitude, and described X1 is the described real-time jitter amplitude being less than described default jitter amplitude, described X2 is the described real-time jitter amplitude being not less than described default jitter amplitude, and described N is described preset frame rate.
9. device as claimed in claim 8, it is characterized in that, described first recording elements comprises:
Judgment sub-unit, for judging that whether described result of calculation is lower than the minimum frame per second preset;
First determines subelement, if for described result of calculation lower than described default minimum frame per second, described default minimum frame per second is defined as described first frame per second;
Second determines subelement, if be not less than described default minimum frame per second for described result of calculation, described result of calculation is defined as described first frame per second.
10. device as claimed in claim 8 or 9, it is characterized in that, described device also comprises:
Adjustment unit, for adjusting the value of described K.
CN201510091517.0A 2015-02-28 2015-02-28 The video recording method and device of a kind of mobile terminal Expired - Fee Related CN104618674B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510091517.0A CN104618674B (en) 2015-02-28 2015-02-28 The video recording method and device of a kind of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510091517.0A CN104618674B (en) 2015-02-28 2015-02-28 The video recording method and device of a kind of mobile terminal

Publications (2)

Publication Number Publication Date
CN104618674A true CN104618674A (en) 2015-05-13
CN104618674B CN104618674B (en) 2018-02-16

Family

ID=53152933

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510091517.0A Expired - Fee Related CN104618674B (en) 2015-02-28 2015-02-28 The video recording method and device of a kind of mobile terminal

Country Status (1)

Country Link
CN (1) CN104618674B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105828010A (en) * 2016-03-28 2016-08-03 广东欧珀移动通信有限公司 Video recording method and device based on dynamically taking images
CN108259809A (en) * 2018-03-09 2018-07-06 广东小天才科技有限公司 A kind of processing method of video calling, device, terminal and storage medium
CN110650320A (en) * 2019-10-23 2020-01-03 海能达通信股份有限公司 Dynamic frame rate storage method and device and monitoring equipment
CN111314639A (en) * 2020-02-28 2020-06-19 维沃移动通信有限公司 Video recording method and electronic equipment
WO2022089341A1 (en) * 2020-10-30 2022-05-05 华为技术有限公司 Image processing method and related apparatus

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7382974B2 (en) * 2000-03-27 2008-06-03 Matsushita Electric Industrial Co., Ltd. Information receiving/recording/reproducing apparatus and method thereof using a secondary memory device before switching to a real time transmission
CN101729777A (en) * 2009-10-22 2010-06-09 华为终端有限公司 Digital image acquisition method and equipment
CN104580969A (en) * 2013-10-23 2015-04-29 中兴通讯股份有限公司 Video frame rate adjusting method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7382974B2 (en) * 2000-03-27 2008-06-03 Matsushita Electric Industrial Co., Ltd. Information receiving/recording/reproducing apparatus and method thereof using a secondary memory device before switching to a real time transmission
CN101729777A (en) * 2009-10-22 2010-06-09 华为终端有限公司 Digital image acquisition method and equipment
CN104580969A (en) * 2013-10-23 2015-04-29 中兴通讯股份有限公司 Video frame rate adjusting method and device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105828010A (en) * 2016-03-28 2016-08-03 广东欧珀移动通信有限公司 Video recording method and device based on dynamically taking images
CN105828010B (en) * 2016-03-28 2018-11-27 广东欧珀移动通信有限公司 It is a kind of based on the video recording method and device dynamically taken pictures
CN108259809A (en) * 2018-03-09 2018-07-06 广东小天才科技有限公司 A kind of processing method of video calling, device, terminal and storage medium
CN110650320A (en) * 2019-10-23 2020-01-03 海能达通信股份有限公司 Dynamic frame rate storage method and device and monitoring equipment
CN110650320B (en) * 2019-10-23 2021-11-02 海能达通信股份有限公司 Dynamic frame rate storage method and device and monitoring equipment
CN111314639A (en) * 2020-02-28 2020-06-19 维沃移动通信有限公司 Video recording method and electronic equipment
WO2022089341A1 (en) * 2020-10-30 2022-05-05 华为技术有限公司 Image processing method and related apparatus
CN114449151A (en) * 2020-10-30 2022-05-06 华为技术有限公司 Image processing method and related device
CN114449151B (en) * 2020-10-30 2023-06-02 华为技术有限公司 Image processing method and related device

Also Published As

Publication number Publication date
CN104618674B (en) 2018-02-16

Similar Documents

Publication Publication Date Title
US11057565B2 (en) Image obtaining method and terminal device
WO2019091486A1 (en) Photographing processing method and device, terminal, and storage medium
US8289400B2 (en) Image capturing device having continuous image capture
EP2713242B1 (en) Smart screen rotation based on user orientation
EP3531689A1 (en) Optical imaging method and apparatus
CN104618674A (en) Mobile terminal video recording method and device
US10248257B2 (en) System and method for variable frame duration control in an electronic display
US9300873B2 (en) Automated tripod detection and handling in video stabilization
CN110175062B (en) Screen refreshing frame rate method of mobile terminal, mobile terminal and storage medium
EP2685709A1 (en) Camera control system, mobile device having the system, and camera control method
US20150348325A1 (en) Method and system for stabilization and reframing
WO2015135477A1 (en) Handheld terminal and screen anti-shake method and device for handheld terminal
WO2019129020A1 (en) Automatic focusing method of camera, storage device and mobile terminal
KR20110095407A (en) System and method to autofocus assisted by autoexposure control
CN111372126A (en) Video playing method, device and storage medium
CN111586431B (en) Method, device and equipment for live broadcast processing and storage medium
KR20120078838A (en) Method and apparatus for providing video telephony of a mobile terminal
WO2021114592A1 (en) Video denoising method, device, terminal, and storage medium
WO2017088662A1 (en) Focusing method and device
CN105094299B (en) The method and apparatus for controlling electronic device
CN108038834A (en) A kind of method, terminal and computer-readable recording medium for reducing noise
US20120268495A1 (en) Apparatus and method for adjusting resolution of application in wireless terminal
CN111050211B (en) Video processing method, device and storage medium
CN112153305A (en) Camera starting method, mobile terminal and computer storage medium
EP2965503A1 (en) Method and system for stabilization and reframing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180216