Video recording method, intelligent terminal and storage medium
By selecting the target recording component according to the recording mode in the terminal device, the problem of limited recording scenes caused by the single recording component is solved, and the diversity of recording scenes and the improvement of user experience is achieved.
Patent Information
- Application Number
- CN202311843447.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-28
- Publication Date
- 2025-07-01
AI Technical Summary
Existing terminal devices use the same recording components in the recording mode, resulting in limited recording parameters and relatively limited applicable scenarios, which cannot meet the diverse recording needs.
According to the target recording mode, the target component is selected from the recording component for recording, including the camera module, microphone array, flash array, polarization module, etc., and the corresponding functions are performed through the target component to achieve different recording effects.
It enriches the applicability of recording scenes, improves user experience, meets the recording needs of different scenes, ensures image effects and enhances the diversity of recordings.
Smart Images

Figure CN120238739A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of video recording technology, and particularly to a video recording method, an intelligent terminal, and a storage medium. Background Art
[0002] With the continuous development of terminal technology, in the field of photography, terminals represented by mobile phones have gradually replaced the original cameras. In existing photography technologies, in addition to continuously improving the image quality, the recording technology of video audio has also become more and more mature. One of them is to provide various types of video recording modes. For example, on the basis of the conventional video recording mode, a preprocessing mechanism is added according to the size of the memory occupied by the image; for another example, the current required video recording mode is selected from a preset sample template according to the user's operation.
[0003] In the process of conceiving and implementing this application, the inventors found that there are at least the following problems: Although the current terminals are provided with various video recording modes, each video recording mode uses the same video recording component. The video recording parameters that the same video recording component can achieve are relatively limited, and the applicable scenarios are limited.
[0004] The foregoing description is for the purpose of providing general background information and does not necessarily constitute prior art. Summary of the Invention
[0005] In view of the above technical problems, this application provides a video recording method, an intelligent terminal, and a storage medium, which can select a target component from video recording components to perform video recording according to the target video recording mode, making the applicable video recording scenarios more abundant while ensuring the image effect.
[0006] A video recording method provided by this application includes the steps of:
[0007] S11: Respond to the first operation and / or the current scene information to determine the target video recording mode;
[0008] S12: Select a target component from the video recording components according to the target video recording mode.
[0009] A video recording method provided by this application includes the steps of:
[0010] S10: Turn on the camera function;
[0011] S11: Respond to the first operation and / or the current scene information to determine the target video recording mode;
[0012] S12: Select a target component from the video recording components according to the target video recording mode;
[0013] S13: Control the camera to record video in the target video recording mode, and execute corresponding functions through the target component during the video recording process.
[0014] Optionally, the step S12 includes at least one of the following:
[0015] Determine the target scene in the target video recording mode, and select a target component from the video recording components according to the target scene;
[0016] Determine the video recording parameters corresponding to the target video recording mode, and select a target component from the video recording components according to the video recording parameters.
[0017] Optionally, the method for determining the target scene in the target video recording mode includes at least one of the following:
[0018] In response to a second operation on the first interface corresponding to the target video recording mode, determine the target scene;
[0019] Identify the target scene according to the current scene information;
[0020] Obtain a preview image for video recording, and determine the target scene according to the preview image.
[0021] Optionally, the method for determining the video recording parameters corresponding to the target video recording mode includes at least one of the following:
[0022] In response to a third operation on the second interface corresponding to the target video recording mode, identify the video recording parameters set by the third operation;
[0023] Determine the video recording parameters corresponding to the target video recording mode according to the preset default rules.
[0024] Optionally, the video recording components include at least one of a camera module, a microphone array, a flash array, and a polarization module.
[0025] Another video recording method provided by this application includes the steps of:
[0026] S21: Select a target component from the video recording components in response to a fourth operation and / or the current scene information;
[0027] S22: Determine the target video recording mode according to the target component.
[0028] Another video recording method provided by this application includes the steps of:
[0029] S20: Turn on the camera function;
[0030] S21: Select a target component from the video recording components in response to a fourth operation and / or the current scene information;
[0031] S22: Determine the target video recording mode according to the target component;
[0032] S23: Control the camera to record in the target video recording mode, and execute corresponding functions through the target component during the recording process.
[0033] Optionally, the step S22 includes:
[0034] Obtain the video recording parameters that can be achieved by the target component;
[0035] Determine the video recording mode that is most suitable for the video recording parameters as the target video recording mode.
[0036] Optionally, the method further includes:
[0037] Determine the scene that is most suitable for the video recording parameters in the target video recording mode, and recommend it to the user.
[0038] Optionally, the video recording component includes at least one of a camera module, a microphone array, a flash array, and a polarization module.
[0039] Another video recording method provided by this application includes the steps of:
[0040] S101: Turn on the camera function;
[0041] S111: In response to a first operation, determine the target video recording mode;
[0042] S121: Select a target microphone from the microphone array according to the target video recording mode;
[0043] S131: Record audio through the target microphone, and integrate the recorded audio data into the video obtained by the camera recording in the target video recording mode.
[0044] Optionally, the method further includes:
[0045] In response to a second operation, determine the target scene in the target video recording mode;
[0046] The step S121 includes:
[0047] Select a target microphone from the microphone array according to the target scene in the target video recording mode.
[0048] This application also provides an intelligent terminal, including: a memory and a processor. Among them, a video recording program is stored on the memory, and when the video recording program is executed by the processor, the steps of any of the above video recording methods are implemented.
[0049] This application also provides a storage medium, storing a computer program, and when the computer program is executed by the processor, the steps of any of the above video recording methods are implemented.
[0050] As described above, the technical solution of the present application includes: determining a target recording mode in response to a first operation and / or current scene information, and selecting a target component from the recording components according to the target recording mode, so as to execute corresponding functions through the target component during the recording process of the camera; the present application selects a target component from the recording components according to the target recording mode to perform recording, which enriches the applicable recording scenes while ensuring the image effect and improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] The accompanying drawings herein are incorporated into and constitute a part of this specification, showing embodiments consistent with the present application and, together with the specification, are used to explain the principles of the present application. To more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the accompanying drawings required for the description of the embodiments. Obviously, for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0052] Figure 1 Schematic diagram of the hardware structure of a mobile terminal for implementing various embodiments of the present application;
[0053] Figure 2 Schematic diagram of a communication network system architecture provided by an embodiment of the present application;
[0054] Figure 3 Schematic flowchart of a recording method provided by the first embodiment of the present application;
[0055] Figure 4 Schematic diagram of an operation for displaying a recording mode setting interface provided by an embodiment of the present application;
[0056] Figure 5 Schematic diagram of an operation for selecting a target recording mode provided by an embodiment of the present application;
[0057] Figure 6 Schematic flowchart of a recording method provided by the second embodiment of the present application;
[0058] Figure 7 Schematic flowchart of a recording method provided by the third embodiment of the present application;
[0059] Figure 8a Schematic diagram of obtaining a target scene in the indoor recording mode provided by the present application;
[0060] Figure 8b Schematic diagram of obtaining a target scene in the outdoor recording mode provided by the present application;
[0061] Figure 8cAnother schematic diagram for obtaining a target scene in the indoor video recording mode provided by this application;
[0062] Figure 9 A flowchart of a video recording method provided in the fourth embodiment of this application.
[0063] The implementation, functional features, and advantages of the purpose of this application will be further described in conjunction with the embodiments with reference to the accompanying drawings. Through the above-mentioned accompanying drawings, specific embodiments of this application have been shown, and there will be more detailed descriptions hereinafter. These drawings and text descriptions are not intended to limit the scope of the concept of this application in any way, but to illustrate the concept of this application to those skilled in the art by referring to specific embodiments. Detailed implementation manners
[0064] Here, the exemplary embodiments will be described in detail, and the examples are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with this application. On the contrary, they are only examples of devices and methods consistent with some aspects of this application as detailed in the appended claims.
[0065] It should be noted that in this text, the term "including", "comprising", or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article, or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or further includes elements inherent to such process, method, article, or device. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of another identical element in the process, method, article, or device including that element. In addition, components, features, and elements with the same name in different embodiments of this application may have the same meaning or different meanings, and their specific meanings need to be determined according to their explanations in the specific embodiments or further in combination with the context of the specific embodiments.
[0066] It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of this document, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "when" or "while" or "in response to determining". Furthermore, as used herein, the singular forms "a", "an", and "the" are also intended to include the plural forms unless the context indicates otherwise. It should be further understood that the terms "comprising", "including" indicate the presence of the stated features, steps, operations, elements, components, items, kinds, and / or groups, but do not preclude the presence, occurrence, or addition of one or more other features, steps, operations, elements, components, items, kinds, and / or groups. The terms "or", "and / or", "including at least one of the following" and the like used in this application may be interpreted inclusively, or mean any one or any combination. For example, "including at least one of the following: A, B, C" means "any one of the following: A; B; C; A and B; A and C; B and C; A and B and C", and again, "A, B or C" or "A, B and / or C" means "any one of the following: A; B; C; A and B; A and C; B and C; A and B and C". An exception to this definition occurs only when the combination of elements, functions, steps, or operations is inherently mutually exclusive in some way.
[0067] It should be understood that although the steps in the flowcharts in the embodiments of this application are shown sequentially according to the indication of the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless there is a clear indication in this document, the execution of these steps has no strict order limitation and may be executed in other orders. Moreover, at least a part of the steps in the figure may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same moment but may be executed at different moments, and their execution order is not necessarily sequential but may be executed alternately or in turn with at least a part of other steps or sub-steps or stages of other steps.
[0068] Depending on the context, the words "if", "when" as used herein may be interpreted as "when" or "while" or "in response to determining" or "in response to detecting". Similarly, depending on the context, the phrase "if determined" or "if detecting (stated condition or event)" may be interpreted as "when determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)".
[0069] It should be noted that in this document, step codes such as S11 and S12 are adopted. The purpose is to more clearly and briefly express the corresponding content, and it does not constitute a substantial limitation in terms of sequence. Those skilled in the art may execute S12 first and then S11 during specific implementation, etc., but these should all be within the protection scope of this application.
[0070] It should be understood that the specific embodiments described herein are only used to explain this application and are not used to limit this application.
[0071] In subsequent descriptions, suffixes such as "module", "component", or "unit" used to represent elements are only for the convenience of explaining this application, and they have no specific meaning in themselves. Therefore, "module", "component", or "unit" can be used interchangeably.
[0072] The intelligent terminal can be implemented in various forms. For example, the intelligent terminal described in this application can include intelligent terminals such as mobile phones, tablet computers, laptop computers, palmtop computers, personal digital assistants (PDAs), portable media players (PMPs), navigation devices, wearable devices, intelligent bracelets, pedometers, etc., as well as fixed terminals such as digital TVs and desktop computers.
[0073] In the subsequent description, the mobile terminal will be used as an example for illustration. Those skilled in the art will understand that except for elements specifically for mobile purposes, the structure according to the embodiments of this application can also be applied to fixed-type terminals.
[0074] Please refer to Figure 1 , which is a schematic diagram of the hardware structure of a mobile terminal for implementing various embodiments of this application. The mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, A / V (audio / video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111, etc. Those skilled in the art can understand that Figure 1 the mobile terminal structure shown in does not constitute a limitation on the mobile terminal. The mobile terminal may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.
[0075] Next, in combination with Figure 1 each component of the mobile terminal will be specifically introduced:
[0076] The radio frequency unit 101 can be used for receiving and transmitting information or signals during a call. Specifically, after receiving the downlink information of the base station, it is sent to the processor 110 for processing. Additionally, the uplink data is transmitted to the base station. Generally, the radio frequency unit 101 includes, but is not limited to, antennas, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, etc. Furthermore, the radio frequency unit 101 can also communicate with the network and other devices through wireless communication. The above wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution), TDD-LTE (Time Division Duplexing-Long Term Evolution), 5G, and 6G, etc.
[0077] WiFi belongs to short-range wireless transmission technology. The mobile terminal can help users send and receive emails, browse the web, and access streaming media through the WiFi module 102, which provides users with wireless broadband Internet access. Although Figure 1 the WiFi module 102 is shown, it can be understood that it is not an essential component of the mobile terminal and can be omitted entirely within the scope of not changing the essence of the invention according to needs.
[0078] The audio output unit 103 can convert the audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output it as sound when the mobile terminal 100 is in call signal reception mode, call mode, recording mode, voice recognition mode, broadcast reception mode, and other modes. Moreover, the audio output unit 103 can also provide audio output related to specific functions executed by the mobile terminal 100 (such as call signal reception sound, message reception sound, etc.). The audio output unit 103 can include a speaker, a buzzer, etc.
[0079] The A / V input unit 104 is used to receive audio or video signals. The A / V input unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042. The GPU 1041 processes the image data of a still picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frames can be displayed on the display unit 106. The image frames processed by the GPU 1041 can be stored in the memory 109 (or other storage media) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sounds (audio data) via the microphone 1042 in operation modes such as a phone call mode, a recording mode, a voice recognition mode, etc., and can process such sounds into audio data. The processed audio (voice) data can be output in a format that can be transmitted to a mobile communication base station via the radio frequency unit 101 in the case of the phone call mode. The microphone 1042 can implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) the noise or interference generated during the reception and transmission of audio signals.
[0080] The mobile terminal 100 further includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Optionally, the light sensor includes an ambient light sensor and a proximity sensor. Optionally, the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and / or the backlight when the mobile terminal 100 is moved to the ear. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary, and can be used in applications for identifying the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as a pedometer, tapping), etc.; as for other sensors that the mobile phone can also be configured with, such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., they will not be elaborated here.
[0081] The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 can be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), etc.
[0082] The user input unit 107 can be used to receive input numerical or character information, and generate key signal inputs related to the user settings and function control of the mobile terminal. Optionally, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also known as a touch screen, can collect touch operations of the user on or near it (such as operations of the user using a finger, a stylus, or any suitable object or accessory on or near the touch panel 1071), and drive the corresponding connection device according to a preset program. The touch panel 1071 can include two parts: a touch detection device and a touch controller. Optionally, the touch detection device detects the touch position of the user, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the processor 110, and can receive and execute the commands sent by the processor 110. In addition, the touch panel 1071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may further include other input devices 1072. Optionally, the other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, power on / off keys, etc.), a trackball, a mouse, a joystick, etc., and specific details are not limited here.
[0083] Optionally, the touch panel 1071 may cover the display panel 1061. After the touch panel 1071 detects a touch operation on or near it, it transmits the operation to the processor 110 to determine the type of touch event. Subsequently, the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of touch event. Although in Figure 1 the touch panel 1071 and the display panel 1061 are implemented as two independent components to realize the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to realize the input and output functions of the mobile terminal, and specific details are not limited here.
[0084] The interface unit 108 serves as an interface through which at least one external device can be connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headset port, and so on. The interface unit 108 can be used to receive inputs from external devices (such as data information, power, etc.) and transmit the received inputs to one or more components within the mobile terminal 100, or can be used to transmit data between the mobile terminal 100 and external devices.
[0085] The memory 109 can be used to store software programs and various data. The memory 109 mainly includes a program storage area and a data storage area. Optionally, the program storage area can store an operating system, application programs required for at least one function (such as a sound playback function, an image playback function, etc.); the data storage area can store data created according to the use of the mobile phone (such as audio data, phone book, etc.). In addition, the memory 109 can include high-speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0086] The processor 110 is the control center of the mobile terminal, connecting various parts of the entire mobile terminal through various interfaces and circuits. By running or executing software programs and / or modules stored in the memory 109, and by calling data stored in the memory 109, it executes various functions of the mobile terminal and processes data, thereby monitoring the mobile terminal as a whole. The processor 110 can include one or more processing units; preferably, the processor 110 can integrate an application processor and a modulation and demodulation processor. Optionally, the application processor mainly processes the operating system, user interface, and application programs, etc., and the modulation and demodulation processor mainly processes wireless communication. It can be understood that the above modulation and demodulation processor may not be integrated into the processor 110.
[0087] The mobile terminal 100 can also include a power supply 111 (such as a battery) for supplying power to each component. Preferably, the power supply 111 can be logically connected to the processor 110 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system.
[0088] Although Figure 1 not shown, the mobile terminal 100 can also include a Bluetooth module, etc., which will not be elaborated here.
[0089] To facilitate understanding of the embodiments of the present application, the communication network system on which the mobile terminal of the present application is based will be described below.
[0090] Please refer to Figure 2 , Figure 2 which is an architecture diagram of a communication network system provided by an embodiment of the present application. This communication network system is an LTE system of the general mobile communication technology. This LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and the operator's IP service 204 that are communicatively connected in sequence.
[0091] Optionally, the UE 201 may be the aforementioned terminal 100, which will not be elaborated herein.
[0092] The E-UTRAN 202 includes an eNodeB 2021 and other eNodeBs 2022, etc. Optionally, the eNodeB 2021 may be connected to other eNodeBs 2022 through a backhaul (e.g., the X2 interface), the eNodeB 2021 is connected to the EPC 203, and the eNodeB 2021 may provide access for the UE 201 to the EPC 203.
[0093] The EPC 203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving Gate Way) 2034, a PGW (PDN Gate Way) 2035, a PCRF (Policy and Charging Rules Function) 2036, etc. Optionally, the MME 2031 is a control node that processes the signaling between the UE 201 and the EPC 203 and provides bearer and connection management. The HSS 2032 is used to provide some registers to manage functions such as a home location register (not shown in the figure) and stores some user-specific information such as service characteristics and data rate. All user data can be sent through the SGW 2034. The PGW 2035 may provide IP address allocation for the UE 201 and other functions. The PCRF 2036 is a policy and charging control policy decision point for service data flows and IP bearer resources, and it selects and provides available policy and charging control decisions for a policy and charging enforcement functional unit (not shown in the figure).
[0094] The IP service 204 may include the Internet, an intranet, an IMS (IP Multimedia Subsystem), or other IP services, etc.
[0095] Although the above has been described by taking the LTE system as an example, those skilled in the art should be aware that the present application is not only applicable to the LTE system, but also applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, 5G, and future new network systems (such as 6G), etc., which are not limited herein.
[0096] Based on the above mobile terminal hardware structure and communication network system, various embodiments of the present application are proposed.
[0097] First embodiment
[0098] Figure 3 This is a flowchart of a recording method provided in an embodiment of the present application. The execution subject of the recording method can be a smart terminal with a recording function provided in an embodiment of the present application. The recording function can be implemented by hardware such as a camera or software. The smart terminal can be a smart phone, tablet computer, PDA, laptop computer, or desktop computer, etc., which is equipped with a processor and has processing capabilities. Please refer to Figure 3 The video recording method includes the following steps S11 to S12.
[0099] S11: Determine a target recording mode in response to a first operation and / or current scene information.
[0100] Before step S11, step S10 may also be included: turning on the camera function.
[0101] The manifestations of turning on the camera function include but are not limited to at least one of the following: directly operating the "Camera" application to turn on the camera, such as directly opening the camera through the "Camera" application icon on the main interface of the smart terminal, or swiping right or left on the lock screen interface to turn on the camera; calling the "Camera" application on the corresponding interface of other applications to turn on the camera.
[0102] After turning on the camera function, the smart terminal can display the interface corresponding to the "Camera" application.
[0103] The specific type of the target recording mode is not limited in the embodiments of the present application. For example, it includes a default recording mode, an indoor recording mode, and an outdoor recording mode. The default recording mode is a recording mode provided by a traditional mobile phone or other smart terminal, which allows all recording components to be called for recording.
[0104] In one example, a script or application is pre-programmed and installed in the operating system of the smart terminal. Figure 4As shown in the right figure in [reference], the video recording mode setting interface of the smart terminal may include: a default video recording mode displayed as the "Default" option, an indoor video recording mode displayed as the "Indoor" option, an outdoor video recording mode displayed as the "Outdoor" option, a video quality video recording mode displayed as the "Video Quality" option, a movie recording mode displayed as the "Movie Mode" option, a motion tracking video recording mode displayed as the "Motion Tracking" option, and a silent video recording mode displayed as the "Silent Recording" option; then, through a first operation in the form of clicking on the corresponding option, or sliding the slider to turn on or off the corresponding option, etc., one video recording mode can be selected therefrom as the target video recording mode. Alternatively, the smart terminal can separately set an APP on the main interface, and starting this APP can enter, for example, Figure 4 the video recording mode setting interface shown in the right figure in [reference], and then determine the target video recording mode according to the first operation. Optionally, as Figure 4 shown in the left figure in [reference], the icon of this APP can be similar to the icon of the "Camera" application, or there is a preset association relationship visually, for example, a red dot, a gear, etc. are displayed on the APP icon to identify that this APP icon is an associated application of the "Camera" application.
[0105] In another example, the first operation can be manifested as: long-pressing any area of the interface of the "Camera" application to pop up a dialog box or switch the interface to display a password input box. Each video recording mode is matched with a corresponding preset password. Optionally, if the user inputs a first password and the match is successful, the first video recording mode is determined as the target video recording mode; if the second password is input and the match is successful, the second video recording mode is determined as the target video recording mode; if the input password does not match successfully, the default video recording mode is directly determined as the target video recording mode. This example can allow different users to achieve personalized video recording requirements.
[0106] In yet another example, the first operation can be an instruction issued by the user to video recording components such as the camera module and microphone used for video recording, that is, the first operation is executed by the video recording components used for video recording. The ways of issuing this instruction include but are not limited to at least one of voice instructions, air gestures, etc.
[0107] Optionally, the current scene information is the preset information of the current scene, and this preset information can be the information required for video recording, including but not limited to: at least one of brightness, the type of scenery within the camera's viewfinder range, and the relative position information of each object within the camera's viewfinder range with respect to the smart terminal. For example, when it is detected that there is furniture within the camera's viewfinder range, the indoor video recording mode can be determined. Another example is that when it is confirmed according to the position information that the user is currently by the lake, the movie recording mode is adopted.
[0108] The above descriptions of the forms of the first operation and the current scene information are only exemplary descriptions and do not limit step S12. According to the current scene information, the target recording mode can be intelligently selected, and the target component can be automatically selected and recording can be performed in subsequent steps, with a high degree of intelligence. According to the above first operation, the manual selection of the recording mode is realized, which better meets the user's needs. It should be understood that these two ways of determining the target recording mode can also be combined according to actual needs. For example, after automatically giving a suggestion of the target recording mode based on the current scene information, the user then performs the first operation of manual selection for confirmation. The target recording mode selected by the first operation and the target recording mode intelligently determined according to the current scene information can be different, and finally the confirmation result of the first operation is used as the target recording mode, so as to realize the combination of automatic confirmation and manual confirmation of the recording mode, with higher accuracy. In the following text of this application, a certain feature can be realized in multiple ways. Without conflict, these ways can be combined to realize this feature.
[0109] S12: Select a target component from the recording components according to the target recording mode.
[0110] In one example, the intelligent terminal can pre-acquire the recording parameters corresponding to the target recording mode, such as brightness value, exposure duration, color saturation, etc.; then determine the corresponding target component according to the recording parameters, and the determined target components can be freely combined to achieve the shooting of the recording parameters.
[0111] In view of the fact that the various recording parameters corresponding to the target recording mode are a numerical range, the target components selected in this application can at least cover the various recording parameters or can best adapt to the various recording parameters; and / or, select the intermediate value of the various recording parameters and select the target component accordingly.
[0112] Optionally, the recording components include at least one of a camera module, a microphone array, a flash array, and a polarization module.
[0113] In one example, information such as the name corresponding to the target component can be displayed on the interface corresponding to the intelligent terminal, such as on the initial interface after the camera is started, so that the user can intuitively perceive it.
[0114] In another example, the information corresponding to the target component is not displayed on any interface of the intelligent terminal, but only a preset identifier is displayed to identify the corresponding target recording mode. For example, please refer to Figure 5 the preset identifier "AI CAM" shown. This preset identifier is also an option. By clicking on this option, the user can adjust the parameter settings in this target recording mode, including selecting the devices in the target component.
[0115] After step S12, step S13 may further be included: controlling the camera to record in the target video recording mode, and executing corresponding functions through the target component during the video recording process.
[0116] As described above, in this application, the target component is selected from the video recording components according to the target video recording mode to perform video recording. The target component can be regarded as a combination of different video recording devices, and its functions can achieve different video recording effects, making the applicable video recording scenarios more abundant while ensuring the image effect, and providing a good user experience.
[0117] Second Embodiment
[0118] Based on the description of the foregoing first embodiment, this second embodiment is described by taking the video recording component including a microphone array as an example. As Figure 6 shown, the video recording method of this embodiment can be represented as the following steps:
[0119] S101: Turn on the camera function.
[0120] S111: Determine the target video recording mode in response to the first operation and / or the current scene information.
[0121] S121: Select the target microphone from the microphone array according to the target video recording mode.
[0122] S131: Control the camera to record in the target video recording mode, and record audio through the target microphone, and integrate the recorded audio data into the video obtained by video recording.
[0123] Steps S101 to S131 can correspond one by one to steps S10 to S13 of the foregoing embodiment respectively. Therefore, for the same features of this embodiment and the foregoing embodiment, reference can be made to the foregoing, and details are not described herein again.
[0124] In one example, the smart terminal is provided with four microphones, which may be: a receiver / front microphone adjacent to the position of the receiver of the smart terminal, a bottom microphone adjacent to the positions of the bottom and middle frame of the smart terminal, and a rear microphone adjacent to the position of the rear camera of the smart terminal; optionally, some or all of these microphones may be located inside the smart terminal. When the selected target recording mode is the first recording mode to meet the requirements of low-end recording scenarios, one of the microphones may be selected as the target microphone to achieve mono-audio recording; when the selected target recording mode is the second recording mode to meet the requirements of mid-end recording scenarios, two of the microphones may be selected as the target microphones to achieve stereo-audio recording; when the selected target recording mode is the third recording mode to meet the requirements of mid-high-end recording scenarios, three of the microphones may be selected as the target microphones to achieve three-channel audio recording; when the selected target recording mode is the fourth recording mode to meet the requirements of high-end recording scenarios, all four microphones may be selected as the target microphones to achieve multi-channel audio recording.
[0125] Specifically, which one or which microphones are selected as the target microphones, for example, which microphone is selected as the target microphone in the first recording mode or which microphone is selected as the main sound collector for the corresponding channel in other recording modes, can be determined according to the relative position information. For example, after the microphone array receives sound signals from various directions, the time difference of each sound signal arriving at multiple microphones is obtained, so as to obtain the Time Difference of Arrival (TODA) of each sound signal, and the azimuth information of the corresponding sound source relative to the recording origin is obtained through the time difference of arrival, so as to locate the specific position of the sound source. In this way, the positions of multiple sound sources in the environment can be located. In the first recording mode, when collecting the audio data of a certain sound source, the microphone closest to the sound source is selected as the target microphone. In other recording modes, the corresponding number of microphones are selected as the target microphones, but when recording the audio, the microphone closest to the sound source can be selected as the main sound collector, and the other microphones are used to perform blind source separation on other sounds (such as noise) other than the sound source, which can achieve directional recording of the audio and is also convenient for subsequent processing of the audio data, such as noise reduction.
[0126] In step S131, optionally, the target microphone performs recording in the following manner:
[0127] In the first recording mode, noise cancellation, voice reduction, voice enhancement and other processing are performed on the mono-audio data recorded by the microphone.
[0128] In the second video recording mode, perform blind source separation on the audio data recorded by the left and right channel microphones, then perform voice recognition and voice separation, and simultaneously perform noise recognition and noise cancellation. Finally, perform processing such as retaining the voice and enhancing the voice on the audio data after voice separation and noise cancellation in sequence.
[0129] In the third video recording mode, perform blind source separation on the audio data recorded by the left and right channel microphones, then perform voice recognition and voice separation, and simultaneously perform noise recognition and noise cancellation; perform sound source localization, sound focusing, and pick up sound within the angle and distance range through the remaining one microphone in sequence; finally, perform processing such as retaining the voice and enhancing the voice on the audio data after voice separation, noise cancellation, and picking up sound within the angle and distance range in sequence.
[0130] In the fourth video recording mode, use two of the microphones to respectively record the left channel audio data, and use the other two microphones to respectively record the right channel audio data. Perform voice recognition and voice separation on the audio data recorded by one of the left channel microphones, perform noise recognition and noise cancellation on the audio data recorded by the other left channel microphone, and then perform processing such as retaining the voice and weakening the voice on the left channel audio data after voice separation and noise cancellation; perform sound source localization, sound focusing, and pick up sound within the defined range on the audio data recorded by one of the right channel microphones, perform song recognition on the audio data recorded by the other right channel microphone, then perform instrument recognition and instrument enhancement, and simultaneously perform voice recognition and song voice enhancement, and then mix the audio data after picking up sound within the defined range, instrument enhancement, and song voice enhancement into the right channel audio data; finally, perform processing such as mixing stereo on the left channel audio data after weakening the voice and the mixed right channel audio data.
[0131] Third Embodiment
[0132] As Figure 7 shown, the steps included in the video recording method of this embodiment are as follows:
[0133] S102: Turn on the camera function.
[0134] S112: In response to the first operation and / or the current scene information, determine the target video recording mode.
[0135] S122: Determine the target scene and / or the corresponding video recording parameters in the target video recording mode, and select the target component from the video recording components according to the target scene and / or the corresponding video recording parameters.
[0136] S132: Control the camera to record in the target video recording mode, and execute the corresponding functions through the target component during the recording process.
[0137] For the same features of this embodiment and the above embodiments, reference may be made to the foregoing, and details will not be repeated here.
[0138] Step S122 of this embodiment may perform at least one of the following: select a target component from the video recording component according to the target scene; select a target component from the video recording component according to the video recording parameters.
[0139] Optionally, the method for determining the target scene in the target video recording mode includes at least one of the following:
[0140] Method 1: In response to a second operation on the first interface corresponding to the target video recording mode, determine the target scene. Please refer to Figures 8a to 8c As shown, the second operation may be: click on each option on the first interface to select a scene as the target scene.
[0141] Method 2: Identify the target scene according to the current scene information.
[0142] For example, when the water surface occupying more than the preset area is included in the camera viewfinder, the target scene can be determined as the seaside. For another example, when one or more of cars, pedestrians, traffic lights, traffic signs, etc. are included in the camera viewfinder, the target scene can be determined as the street.
[0143] Method 3: Obtain a preview image during video recording and determine the target scene according to the preview image.
[0144] In one example, the user can determine the target scene through the foregoing second operation according to the imaging effect of the preview image.
[0145] In another example, the camera module and / or the terminal determine the target scene according to the preset information of the preview image. For example, if it is recognized that there are spots of a preset color such as pure colors with a first preset number and / or reaching a first preset area of reflected bright spots in the preview image, the target scene can be determined as the seaside in the outdoor video recording mode; for another example, if it is recognized whether there are bright spots with a second preset number and / or reaching a second preset area in the preview image, and the light intensity of the bright spot is greater than a first predetermined threshold and / or the difference from the surrounding light intensity is greater than a second predetermined threshold, the target scene can be determined as skiing in the outdoor video recording mode.
[0146] Optionally, the method for determining the video recording parameters corresponding to the target video recording mode includes at least one of the following:
[0147] Method 1: In response to a third operation on the second interface corresponding to the target video recording mode, identify the video recording parameters set by the third operation.
[0148] For example, the second interface may be the initial interface corresponding to the target video recording mode, which may be similar to the traditional video recording interface. The user adjusts one or more of brightness, color temperature, color saturation, sharpness, etc. through a third operation to set the video recording parameters. In step S122, the intelligent terminal automatically selects the target component according to the set video recording parameters. The process of selecting the target component and the specific devices included may not be displayed on the intelligent terminal screen to inform the user, and then the target component is controlled to be automatically used for video recording.
[0149] Method 2: Determine the video recording parameters corresponding to the target video recording mode according to the preset default rules.
[0150] Each video recording mode corresponds to a different imaging effect, so the video recording parameters corresponding to each video recording mode must be different. Therefore, the video recording parameters corresponding to each video recording mode can be obtained in advance to form a mapping relationship, which can be used as the preset default rules.
[0151] As described above, in this embodiment, the target component for video recording is also selected according to the target scene and / or the corresponding video recording parameters in the target video recording mode, so that the target component is more suitable for imaging requirements such as the scene, and the imaging effect is more in line with the current scene or the actual needs of the user, and the user experience is better.
[0152] Fourth Embodiment
[0153] As Figure 9 shown, the video recording method of this embodiment includes the following steps S21 to S22.
[0154] S21: Select the target component from the video recording components in response to the fourth operation and / or the current scene information.
[0155] Optionally, before step S21, step S20: Turn on the camera function is further included.
[0156] Taking the current scene information as an example, in one example, if the light intensity of the current scene is greater than the first preset intensity threshold, one flash with a smaller number can be selected, and if the light intensity of the current scene is greater than the second preset intensity threshold, two or more flashes with a larger number can be selected; the position of the selected flash can correspond to the light intensity requirement position when the user holds the intelligent terminal for framing.
[0157] Taking the fourth operation as an example, in one example, the user can select the target component on the initial video recording interface, or select the target component by turning on or off some devices (such as turning off the flash at a certain position) on the setting interface.
[0158] In an actual scenario, the video recording components of intelligent terminals such as mobile phones generally do not allow users to manually enable or disable them, nor are there function options that allow users to selectively enable or disable certain devices. However, in this embodiment, the function options can be set on the corresponding interfaces (including but not limited to the video recording initial interface, the settings interface, the negative first screen, etc.) to allow users to perform the fourth operation.
[0159] S22: Determine the target video recording mode according to the target component.
[0160] In one example, first obtain the video recording parameters that the target component can achieve, and then determine the video recording mode that is most suitable for the video recording parameters as the target video recording mode.
[0161] When the target component includes multiple types of devices, such as including a microphone and a flash, the obtained video recording parameters include a combination of multiple types of parameters. The one with the smallest difference between the parameters of each type and the corresponding type of parameters of each video recording mode can be selected as the achievable video recording parameters.
[0162] Optionally, after step S22, it further includes step S23: Control the camera to record video in the target video recording mode, and execute the corresponding function through the target component during the video recording process.
[0163] Different from the foregoing first to third embodiments, this embodiment determines the target video recording mode according to the target component, making the video recording component more suitable for the selected video recording mode and achieving the best imaging effect.
[0164] Optionally, the video recording method of this embodiment further includes:
[0165] Determine the scene that is most suitable for the video recording parameters in the target video recording mode and recommend it to the user, so that the target component is more suitable for the imaging requirements of specific scenes in each video recording mode, the imaging effect is more in line with the current scene or the actual needs of the user, and the user experience is better.
[0166] An embodiment of the present application further provides an intelligent terminal, including a memory and a processor. A video recording program is stored on the memory. When the video recording program is executed by the processor, the steps of the video recording method in any of the foregoing embodiments are implemented.
[0167] An embodiment of the present application further provides a storage medium, on which a video recording program is stored. When the video recording program is executed by the processor, the steps of the video recording method in any of the foregoing embodiments are implemented.
[0168] In the embodiments of the intelligent terminal and the storage medium provided by the present application, all the technical features of any of the foregoing video recording method embodiments may be included, so they have corresponding beneficial effects. The expanded and explanatory content of the specification is basically the same as that of the embodiments of the foregoing method, and will not be elaborated here.
[0169] An embodiment of the present application also provides a computer program product, which includes computer program code. When the computer program code runs on a computer, the computer is caused to execute the methods in the above various possible embodiments.
[0170] An embodiment of the present application also provides a chip, which includes a memory and a processor. The memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device installed with the chip executes the methods in the above various possible embodiments.
[0171] It can be understood that the above scenarios are only examples and do not constitute a limitation on the application scenarios of the technical solutions provided by the embodiments of the present application. The technical solutions of the present application can also be applied to other scenarios. For example, as is known to those of ordinary skill in the art, with the evolution of system architectures and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems.
[0172] The serial numbers of the above embodiments of the present application are only for description and do not represent the advantages or disadvantages of the embodiments.
[0173] The steps in the method of the embodiment of the present application can be adjusted, combined, and deleted according to actual needs.
[0174] The units in the device of the embodiment of the present application can be combined, divided, and deleted according to actual needs.
[0175] In the present application, for the description of the same or similar term concepts, technical solutions, and / or application scenarios, generally only a detailed description is made when it first appears. When it appears repeatedly later, for the sake of brevity, it is generally not repeated. When understanding the technical solutions and other contents of the present application, for the same or similar term concepts, technical solutions, and / or application scenarios that are not described in detail later, reference can be made to the relevant detailed descriptions before.
[0176] In the present application, the descriptions of the various embodiments have their own emphases. For parts not described or recorded in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0177] The technical features of the technical solutions of the present application can be combined arbitrarily. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as the combinations of these technical features do not conflict, they should be considered to be within the scope recorded in the present application.
[0178] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-described embodiment methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium as described above (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions for causing a terminal device (which can be a mobile phone, computer, server, controlled terminal, or network device, etc.) to execute the methods of each embodiment of the present application.
[0179] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions according to the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a storage medium or transmitted from one storage medium to another storage medium. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (such as coaxial cable, optical fiber, digital subscriber line) or wirelessly (such as infrared, wireless, microwave, etc.). The storage medium can be any available medium that the computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (for example, floppy disk, storage disk, magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, solid state disk Solid State Disk (SSD)), etc.
[0180] The above are only the preferred embodiments of the present application, and do not limit the patent scope of the present application accordingly. Any equivalent structure or equivalent process transformation made by using the specification and drawings of the present application, or directly or indirectly applied in other related technical fields, shall be similarly included in the patent protection scope of the present application.
Claims
1. A video recording method, characterized in that, Including the steps: S11: Determine the target video recording mode in response to the first operation and / or the current scene information; S12: Select a target component from the video recording components according to the target video recording mode.
2. The method according to claim 1, characterized in that The step S12 includes at least one of the following: Determine the target scene in the target video recording mode, and select a target component from the video recording components according to the target scene; Determine the video recording parameters corresponding to the target video recording mode, and select a target component from the video recording components according to the video recording parameters.
3. The method according to claim 2, wherein The method for determining the target scene in the target video recording mode includes at least one of the following: Determine the target scene in response to a second operation on the first interface corresponding to the target video recording mode; Identify the target scene according to the current scene information; The video recording obtains a preview image, and determines the target scene according to the preview image.
4. The method according to claim 2, wherein The method for determining the video recording parameters corresponding to the target video recording mode includes at least one of the following: Identify the video recording parameters set by the third operation in response to a third operation on the second interface corresponding to the target video recording mode; Determine the video recording parameters corresponding to the target video recording mode according to the preset default rules.
5. A video recording method, characterized in that, Including the steps: S21: Select a target component from the video recording components in response to the fourth operation and / or the current scene information; S22: Determine the target video recording mode according to the target component.
6. The method according to claim 5, wherein The step S22 includes: Obtain the video recording parameters that the target component can achieve; Determine the video recording mode that is most suitable for the video recording parameters as the target video recording mode.
7. The method according to claim 6, wherein The method further includes: Determine the scene that is most suitable for the video recording parameters in the target video recording mode, and recommend it to the user.
8. The method according to any one of claims 5 to 7, characterized in that The video recording components include at least one of a camera module, a microphone array, a flash array, and a polarization module.
9. An intelligent terminal, characterized in that, Including: A memory and a processor, wherein a video recording program is stored on the memory, and when the video recording program is executed by the processor, the steps of the video recording method according to any one of claims 1 to 8 are implemented.
10. A storage medium, characterized in that, A computer program is stored on the storage medium, and when the computer program is executed by the processor, the steps of the video recording method according to any one of claims 1 to 8 are implemented.