CN111263212A - Video recording tool based on Android system - Google Patents
Video recording tool based on Android system Download PDFInfo
- Publication number
- CN111263212A CN111263212A CN202010166492.7A CN202010166492A CN111263212A CN 111263212 A CN111263212 A CN 111263212A CN 202010166492 A CN202010166492 A CN 202010166492A CN 111263212 A CN111263212 A CN 111263212A
- Authority
- CN
- China
- Prior art keywords
- recording
- video
- setting
- button
- mobile phone
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4334—Recording operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/67—Focus control based on electronic image sensor signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/91—Television signal processing therefor
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a video recording tool based on an Android system, which comprises the following steps: initializing a video recording tool, and setting recording parameters of the video recording tool; acquiring a resolution list supported by a mobile phone camera, and selecting the maximum resolution or the moderate resolution supported by the mobile phone; starting automatic focusing to enable the video interface to keep the set resolution and start a preview interface; monitoring rotation change to reset the rotation angle of the camera; setting a start button and a delete button to be in an inoperable state, setting a stop button to be in an operable state, initializing a timer and starting timing; stopping recording and timing when the video recording meets the requirement; and after the recording is finished, resetting the recording state and returning to the recording file path. The invention has the beneficial effects that: the mobile phone is used for recording, so that the time length can be appointed, the video direction can be appointed, the video definition can be adjusted, the automatic focusing can be realized, and the video can be automatically rotated along with the gravity sensing.
Description
Technical Field
The invention relates to a video recording tool, in particular to a video recording tool based on an Android system.
Background
The existing video recording tool with the opened source can not specify the maximum video recording time length and the video direction under certain specific conditions, the video definition adjustment has more limitation, the video blurring caused by the automatic focusing can not be realized in the recording process, the recorded angle can not be automatically adjusted along with the rotation of a mobile phone, the frequently changed angle guide can not be realized in the recorded video playing process, and the normal playing can not be realized.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a video recording tool based on an Android system, which is adjustable in resolution and capable of automatically focusing and rotating a video angle along with gravity induction in a recording process.
The purpose of the invention is realized by the following technical scheme: the video recording tool based on the Android system comprises the following steps:
s1: initializing a video recording component and setting, performing initialization setting on a video recording tool, and setting recording parameters of the video recording tool;
s2: starting recording, acquiring a resolution list supported by a mobile phone camera, and selecting the maximum resolution or the moderate resolution supported by the mobile phone; starting automatic focusing to enable the video interface to keep the set resolution and start a preview interface; monitoring rotation change to reset the rotation angle of the camera; setting a start button and a delete button to be in an inoperable state, setting a stop button to be in an operable state, initializing a timer and starting timing;
s3: and (4) finishing recording: stopping recording and timing when the video recording meets the requirement;
s4: and after the recording is finished, resetting the recording state and returning to the recording file path.
Preferably, the initializing and setting of the video recording tool in S1 includes setting a maximum duration, initializing a timer, initializing a rotation angle, setting a video definition, rotating and monitoring, starting recording and monitoring, stopping recording and monitoring, finishing recording and monitoring, deleting monitoring, automatically focusing, displaying a recorded video interface, and viewing the timer, a recording start button, a finishing button, and a deleting button after the recording interface is initialized.
Preferably, during the recording process, the method further includes step S21: and the video angle is rotated along with gravity induction in the recording process.
Preferably, in the step S21, in the recording process, when the mobile phone rotates, the rotation monitoring is triggered, and at this time, the direction of the rotation of the mobile phone can be obtained, and the direction of the video to be adjusted is calculated.
Preferably, in the step S21, the direction of the video to be adjusted includes the following three cases: when the rotation angle of the mobile phone is more than or equal to 0 and less than or equal to 30 or more than or equal to 330, the video angle is adjusted to be a positive vertical screen angle; when the rotation angle of the mobile phone is greater than or equal to 230 and less than or equal to 310, the video angle is adjusted to be a positive horizontal screen angle; when the rotation angle of the mobile phone is larger than 30 and smaller than 95, the video angle should be adjusted to be the reverse horizontal screen angle.
Preferably, in S3, when recording the video, the recording is ended in the following two ways according to the recording duration:
s31: clicking to stop recording and finish recording, after clicking to stop recording, setting a recording start button and a deleting button to be in an operable state, and setting a stopping button to be in an inoperable state; stopping timing, and calculating the actual recording time length, namely the video time length;
s32: and finishing recording when the set maximum time length is reached, monitoring time length change, finishing recording when the set maximum time length is reached, setting a recording start button and a deletion button to be in an operable state, setting a stop button to be in an inoperable state, and stopping timing when the recording time length reaches the maximum time length.
The invention has the following advantages: according to the video recording tool, the mobile phone is used for recording, so that the time length can be specified, the video direction can be specified, the video definition can be adjusted, the video can be automatically focused, the video can be automatically rotated along with gravity induction, and the video can be viewed under the specified directory after the recording is finished, so that the problems that the maximum time length for recording the video cannot be specified, the direction for recording the video cannot be specified, the video definition cannot be easily adjusted, the automatic focusing cannot be realized, the recorded video is fuzzy, and the recording angle cannot be automatically adjusted along with the rotation of the mobile phone in the conventional video recording tool are solved.
Detailed Description
In the description of the present invention, it should also be noted that, unless otherwise explicitly specified or limited, the terms "disposed," "mounted," and "connected" are to be construed broadly, e.g., as meaning fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
The video recording tool based on the Android system comprises the following steps:
s1: initializing a video recording component and setting, initializing and setting a video recording tool, and setting recording parameters of the video recording tool, further, initializing and setting the video recording tool, wherein the initializing and setting of the video recording tool comprise setting a maximum time length, initializing a timer, initializing a rotation angle, video definition, rotating monitoring, starting recording monitoring, stopping recording monitoring, finishing recording monitoring, deleting monitoring, automatically focusing, displaying a recording video interface, and after the initialization of the recording interface is finished, the timer, a button for starting recording, a button for finishing recording, and a button for deleting can be seen.
S2: starting recording, acquiring a resolution list supported by a mobile phone camera, and selecting the maximum resolution or the moderate resolution supported by the mobile phone; starting automatic focusing to enable the video interface to keep the set resolution and start a preview interface; monitoring rotation change to reset the rotation angle of the camera; setting a start button and a delete button to be in an inoperable state, setting a stop button to be in an operable state, initializing a timer and starting timing; in this embodiment, during the recording process, the method further includes step S21: recording the in-process and following gravity induction rotation video angle, at the recording in-process, can trigger rotatory monitoring when the cell-phone takes place to rotate, can obtain the rotatory direction of cell-phone this moment, calculate the direction that the video needs the adjustment, including following three kinds of circumstances: when the rotation angle of the mobile phone is more than or equal to 0 and less than or equal to 30 or more than or equal to 330, the video angle is adjusted to be a positive vertical screen angle; when the rotation angle of the mobile phone is greater than or equal to 230 and less than or equal to 310, the video angle is adjusted to be a positive horizontal screen angle; when the rotation angle of the mobile phone is larger than 30 and smaller than 95, the video angle should be adjusted to be the reverse horizontal screen angle.
S3: and (4) finishing recording: stopping recording and timing when the video recording meets the requirement; in this embodiment, when recording a video, the recording is finished in the following two ways according to the recording duration:
s31: clicking to stop recording and finish recording, after clicking to stop recording, setting a recording start button and a deleting button to be in an operable state, and setting a stopping button to be in an inoperable state; stopping timing, and calculating the actual recording time length, namely the video time length;
s32: and finishing recording when the set maximum time length is reached, monitoring time length change, finishing recording when the set maximum time length is reached, setting a recording start button and a deletion button to be in an operable state, setting a stop button to be in an inoperable state, and stopping timing when the recording time length reaches the maximum time length.
S4: and after the recording is finished, resetting the recording state and returning to the recording file path.
Therefore, the video recording tool can specify time length, specify video direction, adjust video definition, automatically focus, automatically rotate video along with gravity induction by using a mobile phone for recording, and can view the video in a specified directory after recording.
The using process of the invention is as follows: .
Although the invention has been described herein with reference to a number of illustrative embodiments thereof, it should be understood that numerous other modifications and embodiments can be devised by those skilled in the art that will fall within the spirit and scope of the principles of this disclosure. More specifically, various variations and modifications are possible in the component parts and/or arrangements of the subject combination arrangement within the scope of the disclosure and claims of this application. In addition to variations and modifications in the component parts and/or arrangements, other uses will also be apparent to those skilled in the art.
Claims (6)
1. Video recording instrument based on Android system, its characterized in that: it comprises the following steps:
s1: initializing a video recording component and setting, performing initialization setting on a video recording tool, and setting recording parameters of the video recording tool;
s2: starting recording, acquiring a resolution list supported by a mobile phone camera, and selecting the maximum resolution or the moderate resolution supported by the mobile phone; starting automatic focusing to enable the video interface to keep the set resolution and start a preview interface; monitoring rotation change to reset the rotation angle of the camera; setting a start button and a delete button to be in an inoperable state, setting a stop button to be in an operable state, initializing a timer and starting timing;
s3: and (4) finishing recording: stopping recording and timing when the video recording meets the requirement;
s4: and after the recording is finished, resetting the recording state and returning to the recording file path.
2. The Android system-based video recording tool of claim 1, wherein: initializing and setting the video recording tool in the step S1 include setting a maximum duration, initializing a timer, initializing a rotation angle, video definition, rotating and monitoring, starting recording and monitoring, stopping recording and monitoring, recording and finishing monitoring, deleting monitoring, automatically focusing, displaying a recorded video interface, and viewing the timer, a recording start button, a finishing button, and a deleting button after the recording interface is initialized.
3. The Android system-based video recording tool of claim 2, wherein: during the recording process, the method further includes step S21: and the video angle is rotated along with gravity induction in the recording process.
4. The Android system-based video recording tool of claim 3, wherein: in the step S21, in the recording process, when the mobile phone rotates, the rotation monitoring is triggered, and at this time, the direction of the rotation of the mobile phone can be obtained, and the direction of the video to be adjusted is calculated.
5. The Android system-based video recording tool of claim 4, wherein: in the step S21, the direction of the video to be adjusted includes the following three cases: when the rotation angle of the mobile phone is more than or equal to 0 and less than or equal to 30 or more than or equal to 330, the video angle is adjusted to be a positive vertical screen angle; when the rotation angle of the mobile phone is greater than or equal to 230 and less than or equal to 310, the video angle is adjusted to be a positive horizontal screen angle; when the rotation angle of the mobile phone is larger than 30 and smaller than 95, the video angle should be adjusted to be the reverse horizontal screen angle.
6. The Android system-based video recording tool of claim 1 or 5, wherein: in S3, when recording the video, the recording is finished in the following two ways according to the recording duration:
s31: clicking to stop recording and finish recording, after clicking to stop recording, setting a recording start button and a deleting button to be in an operable state, and setting a stopping button to be in an inoperable state; stopping timing, and calculating the actual recording time length, namely the video time length;
s32: and finishing recording when the set maximum time length is reached, monitoring time length change, finishing recording when the set maximum time length is reached, setting a recording start button and a deletion button to be in an operable state, setting a stop button to be in an inoperable state, and stopping timing when the recording time length reaches the maximum time length.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010166492.7A CN111263212A (en) | 2020-03-11 | 2020-03-11 | Video recording tool based on Android system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010166492.7A CN111263212A (en) | 2020-03-11 | 2020-03-11 | Video recording tool based on Android system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111263212A true CN111263212A (en) | 2020-06-09 |
Family
ID=70949850
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010166492.7A Pending CN111263212A (en) | 2020-03-11 | 2020-03-11 | Video recording tool based on Android system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111263212A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112601118A (en) * | 2020-12-07 | 2021-04-02 | 海信视像科技股份有限公司 | Display device and video recording method |
CN112837709A (en) * | 2021-02-24 | 2021-05-25 | 北京达佳互联信息技术有限公司 | Audio file splicing method and device |
US12088871B2 (en) | 2020-12-07 | 2024-09-10 | Hisense Visual Technology Co., Ltd. | Display apparatus, video recording method, and recorded file display method |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1801124A (en) * | 2004-12-31 | 2006-07-12 | 联想(北京)有限公司 | Video frequency data acquisition method employing mobile phone with camera as computer camera |
CN102843496A (en) * | 2011-06-21 | 2012-12-26 | 联想(北京)有限公司 | Video collecting processing method and portable electronic device |
CN104954695A (en) * | 2015-07-14 | 2015-09-30 | 厦门美图之家科技有限公司 | Focusing locking method and system for video shooting |
CN105227963A (en) * | 2015-08-31 | 2016-01-06 | 北京暴风科技股份有限公司 | Streaming Media collection is carried out to terminal and automatically identifies direction and the method and system of adjustment |
CN105516591A (en) * | 2015-12-11 | 2016-04-20 | 小米科技有限责任公司 | Method and apparatus for photographing control of mobile terminal, and mobile terminal |
CN106327607A (en) * | 2016-08-22 | 2017-01-11 | 北京小米移动软件有限公司 | Automobile data recorder video acquisition method and device, and automobile data recorder |
CN106878620A (en) * | 2017-03-23 | 2017-06-20 | 北京小米移动软件有限公司 | The method and apparatus for controlling IMAQ |
CN108419036A (en) * | 2018-05-07 | 2018-08-17 | 北京微播视界科技有限公司 | A kind of video capture method, apparatus and terminal device |
CN109076166A (en) * | 2017-09-30 | 2018-12-21 | 深圳市大疆创新科技有限公司 | Filming apparatus control method, filming apparatus and storage medium |
CN110351508A (en) * | 2019-08-13 | 2019-10-18 | Oppo广东移动通信有限公司 | Stabilization treating method and apparatus based on RECORD mode, electronic equipment |
-
2020
- 2020-03-11 CN CN202010166492.7A patent/CN111263212A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1801124A (en) * | 2004-12-31 | 2006-07-12 | 联想(北京)有限公司 | Video frequency data acquisition method employing mobile phone with camera as computer camera |
CN102843496A (en) * | 2011-06-21 | 2012-12-26 | 联想(北京)有限公司 | Video collecting processing method and portable electronic device |
CN104954695A (en) * | 2015-07-14 | 2015-09-30 | 厦门美图之家科技有限公司 | Focusing locking method and system for video shooting |
CN105227963A (en) * | 2015-08-31 | 2016-01-06 | 北京暴风科技股份有限公司 | Streaming Media collection is carried out to terminal and automatically identifies direction and the method and system of adjustment |
CN105516591A (en) * | 2015-12-11 | 2016-04-20 | 小米科技有限责任公司 | Method and apparatus for photographing control of mobile terminal, and mobile terminal |
CN106327607A (en) * | 2016-08-22 | 2017-01-11 | 北京小米移动软件有限公司 | Automobile data recorder video acquisition method and device, and automobile data recorder |
CN106878620A (en) * | 2017-03-23 | 2017-06-20 | 北京小米移动软件有限公司 | The method and apparatus for controlling IMAQ |
CN109076166A (en) * | 2017-09-30 | 2018-12-21 | 深圳市大疆创新科技有限公司 | Filming apparatus control method, filming apparatus and storage medium |
CN108419036A (en) * | 2018-05-07 | 2018-08-17 | 北京微播视界科技有限公司 | A kind of video capture method, apparatus and terminal device |
CN110351508A (en) * | 2019-08-13 | 2019-10-18 | Oppo广东移动通信有限公司 | Stabilization treating method and apparatus based on RECORD mode, electronic equipment |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112601118A (en) * | 2020-12-07 | 2021-04-02 | 海信视像科技股份有限公司 | Display device and video recording method |
US12088871B2 (en) | 2020-12-07 | 2024-09-10 | Hisense Visual Technology Co., Ltd. | Display apparatus, video recording method, and recorded file display method |
CN112837709A (en) * | 2021-02-24 | 2021-05-25 | 北京达佳互联信息技术有限公司 | Audio file splicing method and device |
US11756586B2 (en) | 2021-02-24 | 2023-09-12 | Beijing Dajia Internet Information Technology Co., Ltd. | Method for splicing audio file and computer device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111263212A (en) | Video recording tool based on Android system | |
US9781334B2 (en) | Control method, camera device and electronic equipment | |
US10877353B2 (en) | Continuous autofocus mechanisms for image capturing devices | |
WO2020087344A1 (en) | Video capturing method and apparatus, and control device | |
CN105763795A (en) | Focusing method and apparatus, cameras and camera system | |
CN103197491A (en) | Method capable of achieving rapid automatic focusing and image acquisition device | |
TW200807311A (en) | Imaging apparatus, imaging apparatus control method, and computer program | |
EP3005678B1 (en) | Method for obtaining a picture and multi-camera system | |
CN107995430B (en) | Method for improving focusing speed of camera based on mobile terminal and mobile terminal thereof | |
CN104580874B (en) | camera equipment and method for realizing photographing | |
CN107121887A (en) | Panorama wide-angle rotary taking device | |
CN102572266B (en) | Imaging device and shutter operation selecting method | |
JP2010130097A5 (en) | Imaging apparatus and control method thereof | |
JP2003322789A (en) | Focusing device, camera, and focusing position detecting method | |
CN106210546B (en) | panoramic photo shooting system, panoramic photo shooting method and mobile terminal | |
US20220091487A1 (en) | Shooting control method and shooting control device | |
CN103973948B (en) | Image pickup apparatus | |
KR101243953B1 (en) | Autofocus method and an image capturing system | |
CN113994657B (en) | Track delay shooting method and device, cradle head camera, unmanned aerial vehicle and handheld cradle head | |
KR20110014452A (en) | Digital photographing apparatus and making moving picture method thereof | |
CN108111743A (en) | The control method and shade of shade | |
JP2008064980A (en) | Optical device and method for controlling optical device | |
JP2017009815A (en) | Focus detection device, focus detection method, and camera system | |
JP2008048348A (en) | Image pickup device | |
JP6221504B2 (en) | Electronic equipment and programs |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200609 |