CN108076300B - Video processing method, video processing device and mobile terminal - Google Patents

Video processing method, video processing device and mobile terminal Download PDF

Info

Publication number
CN108076300B
CN108076300B CN201711347162.2A CN201711347162A CN108076300B CN 108076300 B CN108076300 B CN 108076300B CN 201711347162 A CN201711347162 A CN 201711347162A CN 108076300 B CN108076300 B CN 108076300B
Authority
CN
China
Prior art keywords
mobile terminal
microphone
camera
video
triggering
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711347162.2A
Other languages
Chinese (zh)
Other versions
CN108076300A (en
Inventor
王英茂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711347162.2A priority Critical patent/CN108076300B/en
Publication of CN108076300A publication Critical patent/CN108076300A/en
Application granted granted Critical
Publication of CN108076300B publication Critical patent/CN108076300B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor
    • H04N5/92Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
    • H04N5/9201Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving the multiplexing of an additional signal and the video signal
    • H04N5/9202Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving the multiplexing of an additional signal and the video signal the additional signal being a sound signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/45Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from two or more image sensors being of different type or operating in different modes, e.g. with a CMOS sensor for moving images in combination with a charge-coupled device [CCD] for still images

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Environmental & Geological Engineering (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)
  • Studio Devices (AREA)

Abstract

The application provides a video processing method, a video processing device, a mobile terminal and a computer readable storage medium, wherein the video processing method comprises the following steps: detecting a camera used when the mobile terminal records a video; if the camera used when the mobile terminal records the video is detected to be a front camera, triggering the first microphone to collect the sound signal; and if the camera used when the mobile terminal records the video is detected to be a rear camera, triggering the second microphone to collect the sound signal. The first microphone is arranged on the front face of the mobile terminal, and the second microphone is arranged on the back face of the mobile terminal. According to the technical scheme, the recording effect of the mobile terminal during video recording can be effectively improved.

Description

Video processing method, video processing device and mobile terminal
Technical Field
The present application belongs to the technical field of mobile terminals, and in particular, relates to a video processing method, a video processing apparatus, a mobile terminal, and a computer-readable storage medium.
Background
With the development of mobile terminal technology, the functions of the mobile terminal are more and more abundant, and users can implement various functions through application programs pre-installed in the mobile terminal. For example, the user may implement a video recording function through the mobile terminal.
In the prior art, when recording video through a mobile terminal, on one hand, a camera of the mobile terminal collects video signals, and on the other hand, a microphone arranged at the bottom of the mobile terminal collects sound signals. However, due to the interference and influence of the environmental noise, the sound signal of the recorded object is collected by the microphone at the bottom of the mobile terminal, and various noise signals in the environment where the mobile terminal is located are also received, so that the recording effect during recording is poor due to the influence and the interference of the noise signals.
Disclosure of Invention
In view of the above, the present application provides a video processing method, a video processing apparatus, a mobile terminal and a computer readable storage medium, which can improve the recording effect when the mobile terminal records video.
A first aspect of an embodiment of the present application provides a video recording processing method, which is applied to a mobile terminal, where the mobile terminal is provided with at least one first microphone and at least one second microphone, the first microphone is disposed on a front surface of the mobile terminal, and the second microphone is disposed on a back surface of the mobile terminal, where the video recording processing method includes:
detecting a camera used when the mobile terminal records a video;
if the camera used when the mobile terminal records the video is detected to be a front camera, triggering the first microphone to collect the sound signal;
and if the camera used when the mobile terminal records the video is detected to be a rear camera, triggering the second microphone to collect the sound signal.
Based on the first aspect of the present application, in a first possible implementation manner, if it is detected that the camera used when the mobile terminal records the video is a front camera, triggering the first microphone to acquire the sound signal is: if the camera used when the mobile terminal records the video is detected to be a front camera in the single sound channel mode of the mobile terminal, triggering the first microphone to collect the sound signal;
if the camera used when the mobile terminal records the video is detected to be a rear camera, triggering the second microphone to collect the sound signal is as follows: and if the camera used when the mobile terminal records the video is detected to be a rear camera in the single sound channel mode of the mobile terminal, triggering the second microphone to collect the sound signal.
Based on the first possible implementation manner of the first aspect of the present application, in a second possible implementation manner, the mobile terminal is further provided with at least one third microphone, and the third microphone is arranged at the bottom of the mobile terminal;
after detecting the camera used during the video recording of the mobile terminal, the method further comprises the following steps:
if the fact that a camera used when the mobile terminal records the video is a front-facing camera is detected in the stereo mode of the mobile terminal, triggering the first microphone and the third microphone to collect sound signals;
and if the camera used when the mobile terminal records the video is detected to be a rear camera in the stereo mode of the mobile terminal, triggering the second microphone and the third microphone to collect the sound signals.
Based on the second possible implementation manner of the first aspect of the present application, in a third possible implementation manner, after the triggering the first microphone and the third microphone to collect the sound signals, the method further includes:
and based on the sound signals collected by the first microphone and the third microphone, carrying out noise reduction processing on the sound signals recorded by the video.
Based on the first possible implementation manner of the first aspect of the present application, the second possible implementation manner of the first aspect of the present application, or the third possible implementation manner of the first aspect of the present application, in a fourth possible implementation manner, the video recording processing method further includes:
if an input sound channel mode switching instruction is received in the video recording process of the mobile terminal, switching the sound channel mode of the mobile terminal into a mono mode or a stereo mode based on the sound channel mode switching instruction, and triggering the step of detecting the camera used in the video recording of the mobile terminal and subsequent steps.
The second aspect of the present application provides a video recording processing apparatus, which is applied to a mobile terminal, wherein the mobile terminal is provided with at least one first microphone and at least one second microphone, the first microphone is arranged on the front side of the mobile terminal, and the second microphone is arranged on the back side of the mobile terminal; the video recording processing apparatus includes:
the detection unit is used for detecting a camera used in the video recording of the mobile terminal;
the first triggering unit is used for triggering the first microphone to collect sound signals when the detection unit detects that the camera used by the mobile terminal for recording is a front camera;
and the second triggering unit is used for triggering the second microphone to collect the sound signal when the detection unit detects that the camera used by the mobile terminal during recording is a rear camera.
Based on the second aspect of the present application, in a first possible implementation manner, the first triggering unit is specifically configured to: when the detection unit detects that a camera used in the video recording of the mobile terminal is a front-facing camera in a single sound channel mode of the mobile terminal, triggering the first microphone to collect sound signals;
the second trigger unit is specifically configured to: and when the detection unit detects that the camera used in the video recording of the mobile terminal is a rear camera in the single sound channel mode of the mobile terminal, triggering the second microphone to collect the sound signal.
Based on the first possible implementation manner of the second aspect of the present application, in a second possible implementation manner, the mobile terminal is further provided with at least one third microphone, and the third microphone is arranged at the bottom of the mobile terminal;
the video recording processing apparatus further includes:
the third triggering unit is used for triggering the first microphone and the third microphone to collect sound signals when the detecting unit detects that a camera used by the mobile terminal during video recording is a front-facing camera in a stereo mode of the mobile terminal;
and the fourth triggering unit is used for triggering the second microphone and the third microphone to collect sound signals when the detecting unit detects that the camera used by the mobile terminal during video recording is a rear camera in the stereo mode of the mobile terminal.
Based on the second possible implementation manner of the second aspect of the present application, in a third possible implementation manner, the video recording processing apparatus further includes:
the noise reduction processing unit is used for carrying out noise reduction processing on the sound signals recorded by the video based on the sound signals collected by the first microphone and the third microphone; or based on the sound signals collected by the second microphone and the third microphone, the sound signals recorded by the video are subjected to noise reduction processing.
Based on the first possible implementation manner of the second aspect of the present application, the second possible implementation manner of the second aspect of the present application, or the third possible implementation manner of the second aspect of the present application, in a fourth possible implementation manner, the video recording processing apparatus further includes:
and the switching triggering unit is used for switching the sound channel mode of the mobile terminal into a mono mode or a stereo mode based on the sound channel mode switching instruction and triggering the detection unit when receiving the input sound channel mode switching instruction in the video recording process of the mobile terminal.
A third aspect of the present application provides a mobile terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the mobile terminal further being provided with at least one first microphone and at least one second microphone, the first microphone being arranged on a front side of the mobile terminal and the second microphone being arranged on a back side of the mobile terminal. The processor, when executing the computer program, implements the video recording processing method of the first aspect or any of the possible implementations of the first aspect.
A fourth aspect of the present application provides a computer-readable storage medium having a computer program stored thereon and being applied to a mobile terminal having at least one first microphone and at least one second microphone, the first microphone being disposed on a front side of the mobile terminal, the second microphone being disposed on a back side of the mobile terminal. The computer program may be executed by a processor to implement the video recording processing method of the first aspect or any possible implementation manner of the first aspect.
It is thus clear that this application sets up first microphone and second microphone respectively at mobile terminal's front and back, through the camera that uses when detecting mobile terminal video recording, when detecting that the camera that uses when this mobile terminal video recording is leading camera, triggers above-mentioned first microphone and gathers sound signal, when detecting that the camera that uses when this mobile terminal video recording is rear camera, triggers above-mentioned second microphone and gathers sound signal. Because the recorded object usually faces the front side of the mobile terminal when the front camera of the mobile terminal is used for recording, and the recorded object usually faces the back side of the mobile terminal when the rear camera of the mobile terminal is used for recording, the method can be more favorable for collecting the sound signal of the recorded object in the recording process by detecting that the camera used in the recording process of the mobile terminal triggers the microphone at the corresponding position to collect the sound signal.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1-a is a schematic front view of a mobile terminal provided in the present application;
fig. 1-b is a schematic rear view of a mobile terminal according to the present application;
fig. 2 is a schematic flowchart of an embodiment of a video recording processing method provided in the present application;
fig. 3 is a bottom schematic view of a mobile terminal according to the present application;
fig. 4 is a schematic flowchart of another embodiment of a video recording processing method provided in the present application;
fig. 5 is a schematic structural diagram of an embodiment of a video recording processing apparatus provided in the present application;
fig. 6 is a schematic structural diagram of an embodiment of a mobile terminal provided in the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It should be understood that the sequence numbers of the steps in the method embodiments described below do not mean the execution sequence, and the execution sequence of each process should be determined by the function and the inherent logic of the process, and should not constitute any limitation on the implementation process of each embodiment.
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
Example one
The embodiment of the application provides a video processing method, which is applied to a mobile terminal, wherein the mobile terminal is provided with at least one first microphone and at least one second microphone, the first microphone is arranged on the front side of the mobile terminal, and the second microphone is arranged on the back side of the mobile terminal. Taking a mobile terminal as a mobile phone, for example, as shown in the front schematic view of the mobile terminal in fig. 1-a, the first microphone 11 may be disposed adjacent to the front camera 13 on the front side of the mobile terminal 10, as shown in the back schematic view of the mobile terminal in fig. 1-b, and the second microphone 12 may be disposed adjacent to the back camera 14 on the back side of the mobile terminal. It should be noted that, fig. 1-a and fig. 1-b are illustrated by taking one first microphone and one second microphone as an example, in practical applications, a plurality of first microphones and a plurality of second microphones may also be provided, and the first microphone may also be provided at other positions on the front surface of the mobile terminal, and the second microphone may also be provided at other positions on the back surface of the mobile terminal, which is not limited herein.
Referring to fig. 2, a video recording processing method in the embodiment of the present application may include:
step 201, detecting a camera used in the video recording of the mobile terminal;
in step 201, a camera used in recording the video of the mobile terminal is detected to obtain whether the camera used in recording the video of the mobile terminal is a front camera or a rear camera.
Optionally, step 201 may include: when the mobile terminal starts to record video, detecting a camera currently used by the mobile terminal to trigger the execution of the step 202 or the step 203; in the video recording process of the mobile terminal, whether the camera used by the mobile terminal is switched is detected (that is, whether the camera used by the mobile terminal is switched from a front camera to a rear camera or whether the camera used by the mobile terminal is switched from the rear camera to the front camera is detected), and when the camera used by the mobile terminal is detected to be switched, the execution of step 202 or step 203 is triggered according to the switching result.
Alternatively, step 201 may also continuously or periodically detect a camera used by the mobile terminal during the video recording process of the mobile terminal, which is not limited herein.
Step 202, if the camera used in the video recording of the mobile terminal is detected to be a front camera, triggering a first microphone to collect an audio signal;
when detecting that the camera used in the video recording of the mobile terminal is a front-facing camera in step 201, triggering the first microphone to collect a sound signal, so as to use the sound signal collected by the first microphone as the recording of the current video recording.
Optionally, when it is detected that the camera used when the mobile terminal records the video is a front camera in a mono mode of the mobile terminal, triggering the first microphone to collect the audio signal. Specifically, step 202 is represented as: and triggering the first microphone to collect the sound signal if the camera used when the mobile terminal records the video is detected to be a front camera in the single sound channel mode of the mobile terminal.
It should be noted that, if it is detected that the camera used when the mobile terminal records the video is the front camera and the first microphone is currently used to acquire the audio signal, it is only necessary to keep using the first microphone to acquire the audio signal.
Step 203, triggering a second microphone to collect sound signals if the camera used in the video recording of the mobile terminal is detected to be a rear camera;
when detecting that the camera used in the video recording of the mobile terminal is a rear camera in step 201, triggering the first microphone to collect a sound signal so as to use the sound signal collected by the second microphone as the recording of the current video recording.
Optionally, when it is detected that the camera used when the mobile terminal records the video is a rear camera in the mono mode of the mobile terminal, the second microphone is triggered to collect the audio signal. Specifically, step 202 is represented as: and triggering the second microphone to collect the sound signal if the camera used when the mobile terminal records the video is detected to be a rear camera in the single sound channel mode of the mobile terminal.
It should be noted that, if it is detected that the camera used when the mobile terminal records the video is the rear camera and the second microphone is used to collect the audio signal currently, it is only necessary to keep using the second microphone to collect the audio signal.
It should be noted that, the mobile terminal in the embodiment of the present application may be a mobile phone, a tablet computer, a wearable device, or another mobile terminal with a video recording function. The operating system installed on the mobile terminal may be an ios system, an android system, a windows system, or other operating systems, which is not limited herein.
As can be seen from the above, in the embodiment of the present application, the first microphone and the second microphone are respectively disposed on the front side and the back side of the mobile terminal, and by detecting the camera used when the mobile terminal records the video, when the camera used when the mobile terminal records the video is detected to be the front camera, the first microphone is triggered to acquire the sound signal, and when the camera used when the mobile terminal records the video is detected to be the rear camera, the second microphone is triggered to acquire the sound signal. Because the recorded object usually faces the front side of the mobile terminal when the front camera of the mobile terminal is used for recording, and the recorded object usually faces the back side of the mobile terminal when the rear camera of the mobile terminal is used for recording, the method can be more favorable for collecting the sound signal of the recorded object in the recording process by detecting that the camera used in the recording process of the mobile terminal triggers the microphone at the corresponding position to collect the sound signal.
Example two
The difference between the embodiment of the present application and the first embodiment is that the mobile terminal in the embodiment of the present application is further provided with at least one third microphone, and the third microphone is arranged at the bottom of the mobile terminal. Taking the mobile terminal as a mobile phone as an example, as shown in the bottom schematic view of the mobile terminal in fig. 3, the third microphone 31 may be disposed at the bottom of the mobile terminal 30. In this embodiment of the present application, a user may select a stereo mode during video recording, as shown in fig. 4, the video recording processing method in this embodiment of the present application includes:
step 401, detecting a camera used in the video recording of the mobile terminal;
in step 401, a camera used in recording the video of the mobile terminal is detected to obtain whether the camera used in recording the video of the mobile terminal is a front camera or a rear camera.
Optionally, step 401 may include: when the mobile terminal starts to record video, detecting a camera currently used by the mobile terminal to trigger the execution of the step 402, the step 403, the step 404 or the step 405; in the video recording process of the mobile terminal, whether the camera used by the mobile terminal is switched is detected (that is, whether the camera used by the mobile terminal is switched from a front camera to a rear camera or whether the camera used by the mobile terminal is switched from the rear camera to the front camera is detected), and when the camera used by the mobile terminal is detected to be switched, the execution of the step 402, the step 403, the step 404 or the step 405 is triggered according to the switching result.
Alternatively, step 401 may also continuously or periodically detect a camera used by the mobile terminal during the video recording process of the mobile terminal, which is not limited herein.
Step 402, if a camera used when the mobile terminal is detected to record video in a single sound channel mode of the mobile terminal is a front-facing camera, triggering a first microphone to collect sound signals;
in the embodiment of the application, the sound channel mode of the mobile terminal can be divided into a mono channel mode and a stereo mode, and in the process of starting video recording or video recording, a user can input a sound channel mode switching instruction through a preset control so as to select or switch the sound channel mode. Specifically, the video recording processing method in the embodiment of the present application may further include: if an input channel mode switching instruction is received during the recording process of the mobile terminal, the channel mode of the mobile terminal is switched to a mono mode or a stereo mode based on the channel mode switching instruction, and step 401 is triggered. Alternatively, in the embodiment of the present application, when the channel mode of the mobile terminal is switched to the mono mode or the stereo mode based on the channel mode switching instruction and switching of the camera of the mobile terminal is not detected, the execution of step 402, step 403, step 404, or step 405 may be triggered based on a result that the camera used by the mobile terminal detected last time has been switched to the current channel mode.
In step 402, when it is detected that the camera used in the recording of the mobile terminal is a front camera in the mono mode of the mobile terminal, the first microphone is triggered to collect the sound signal, so that the sound signal collected by the first microphone is used as the recording of the current recording.
It should be noted that, if the camera used when detecting that the mobile terminal records video in the mono mode of the mobile terminal is a front-facing camera and the first microphone is currently used to acquire the audio signal, it is only necessary to keep using the first microphone to acquire the audio signal.
Step 403, if the camera used when the mobile terminal is detected to record video in the mono mode of the mobile terminal is a rear camera, triggering a second microphone to collect an audio signal;
in step 403, when it is detected that the camera used in the recording of the mobile terminal is a rear camera in the mono mode of the mobile terminal, the second microphone is triggered to collect the sound signal, so that the sound signal collected by the second microphone is used as the recording of the current recording.
It should be noted that, if the camera used when detecting that the mobile terminal records video in the mono mode of the mobile terminal is a rear camera and the second microphone is currently used to collect the audio signal, it is only necessary to keep using the second microphone to collect the audio signal.
Step 404, if it is detected that the camera used when the mobile terminal records the video is a front camera in the stereo mode of the mobile terminal, triggering the first microphone and the third microphone to collect the audio signal;
in step 404, when it is detected that the camera used in the recording of the mobile terminal is a front camera in the stereo mode of the mobile terminal, the first microphone and the third microphone are triggered to collect sound signals, so that the sound signals collected by the first microphone and the second microphone are used as the recording of the recording. Further, the noise reduction processing may be performed on the sound signal recorded in the video recording based on the sound signals collected by the first microphone and the third microphone. Specifically, the noise reduction processing mode may be implemented by referring to a noise reduction processing algorithm of the dual microphones, and details are not described here.
It should be noted that, if the camera used when detecting that the mobile terminal records video in the stereo mode of the mobile terminal is a front-facing camera and the first microphone and the second microphone are currently used to acquire audio signals, it is only necessary to keep using the first microphone and the second microphone to acquire audio signals.
Step 405, triggering the second microphone and the third microphone to collect sound signals if the camera used when the mobile terminal is detected to record the video is a rear camera in the stereo mode of the mobile terminal;
in step 405, when it is detected that the camera used in the recording of the mobile terminal is a rear camera in the stereo mode of the mobile terminal, the second microphone and the third microphone are triggered to collect sound signals, so that the sound signals collected by the second microphone and the second microphone are used as the recording of the recording. Further, the noise reduction processing may be performed on the sound signal recorded in the video recording based on the sound signals collected by the second microphone and the third microphone. Specifically, the noise reduction processing mode may be implemented by referring to a noise reduction processing algorithm of the dual microphones, and details are not described here.
It should be noted that, if it is detected that the camera used when the mobile terminal records the video is a rear camera in the stereo mode of the mobile terminal and the second microphone are currently used to acquire the audio signals, it is only necessary to keep using the second microphone and the second microphone to acquire the audio signals.
It should be noted that, the mobile terminal in the embodiment of the present application may be a mobile phone, a tablet computer, a wearable device, or another mobile terminal with a video recording function. The operating system installed on the mobile terminal may be an ios system, an android system, a windows system, or other operating systems, which is not limited herein.
As can be seen from the above, in the embodiment of the present application, the first microphone, the second microphone, and the third microphone are respectively disposed on the front side, the back side, and the bottom of the mobile terminal, and by detecting the camera used when the mobile terminal records video, when detecting that the camera used when the mobile terminal records video is a front camera and the mobile terminal is in a mono mode, the first microphone is triggered to acquire an audio signal, and when detecting that the camera used when the mobile terminal records video is a rear camera and the mobile terminal is in the mono mode, the second microphone is triggered to acquire an audio signal. Because the recorded object usually faces the front side of the mobile terminal when the front camera of the mobile terminal is used for recording, and the recorded object usually faces the back side of the mobile terminal when the rear camera of the mobile terminal is used for recording, the sound signals are collected by the microphone at the corresponding position triggered by the camera and the sound channel mode used when the mobile terminal is used for recording, the sound signals of the recorded object can be collected more favorably in the recording process, and compared with the scheme that the sound signals are collected by the microphone at the fixed position (for example, the microphone arranged at the bottom of the mobile terminal) in the traditional recording, the scheme of the application can improve the recording effect of the mobile terminal in the recording process to a certain extent.
EXAMPLE III
The embodiment of the present application further provides a video recording processing apparatus, which is applied to a mobile terminal, where the mobile terminal is provided with at least one first microphone and at least one second microphone, the first microphone is disposed on a front side of the mobile terminal, and the second microphone is disposed on a back side of the mobile terminal. As shown in fig. 5, the video recording processing apparatus 500 in the embodiment of the present application includes:
a detecting unit 501, configured to detect a camera used in recording the video on the mobile terminal;
a first triggering unit 502, configured to trigger the first microphone to acquire an audio signal when the detecting unit 501 detects that the camera used in the recording of the mobile terminal is a front-facing camera;
a second triggering unit 503, configured to trigger the second microphone to acquire an audio signal when the detecting unit 501 detects that the camera used in the recording of the mobile terminal is a rear camera.
Optionally, the first triggering unit 502 is specifically configured to: when detecting unit 501 detects that the camera used in the recording of the mobile terminal is a front camera in the mono mode of the mobile terminal, it triggers the first microphone to collect the audio signal. The second trigger unit 503 is specifically configured to: when detecting unit 501 detects that the camera used in the recording of the mobile terminal is a rear camera in the mono mode of the mobile terminal, it triggers the second microphone to collect the audio signal.
Further, the mobile terminal is further provided with at least one third microphone, and the third microphone is arranged at the bottom of the mobile terminal. The video processing apparatus in the embodiment of the present application further includes:
a third triggering unit, configured to trigger the first microphone and the third microphone to collect an audio signal when the detecting unit 501 detects that the camera used in the recording process of the mobile terminal is a front camera in the stereo mode of the mobile terminal;
a fourth triggering unit, configured to trigger the second microphone and the third microphone to collect an audio signal when the detecting unit 501 detects that the camera used in the recording of the mobile terminal is a rear camera in the stereo mode of the mobile terminal.
Optionally, the video processing apparatus in this embodiment of the application further includes: the noise reduction processing unit is used for carrying out noise reduction processing on the sound signals recorded by the video based on the sound signals collected by the first microphone and the third microphone; or based on the sound signals collected by the second microphone and the third microphone, the sound signals recorded in the video are subjected to noise reduction processing.
Optionally, the video processing apparatus in this embodiment of the application further includes: a switching triggering unit, configured to switch a channel mode of the mobile terminal to a mono mode or a stereo mode based on a channel mode switching instruction when the input channel mode switching instruction is received during a video recording process of the mobile terminal, and trigger the detecting unit 501.
In the embodiment of the present application, the video recording processing device may be a standalone device, or the video recording processing device may be integrated into the mobile terminal. The mobile terminal in the embodiment of the application can be a mobile phone, a tablet computer, a wearable device or other mobile terminals with video recording functions. The operating system installed on the mobile terminal may be an ios system, an android system, a windows system, or other operating systems, which is not limited herein.
It is thus clear that this application sets up first microphone and second microphone respectively at mobile terminal's front and back, through the camera that uses when detecting mobile terminal video recording, when detecting that the camera that uses when this mobile terminal video recording is leading camera, triggers above-mentioned first microphone and gathers sound signal, when detecting that the camera that uses when this mobile terminal video recording is rear camera, triggers above-mentioned second microphone and gathers sound signal. Because the recorded object usually faces the front side of the mobile terminal when the front camera of the mobile terminal is used for recording, and the recorded object usually faces the back side of the mobile terminal when the rear camera of the mobile terminal is used for recording, the method can be more favorable for collecting the sound signal of the recorded object in the recording process by detecting that the camera used in the recording process of the mobile terminal triggers the microphone at the corresponding position to collect the sound signal.
Example four
The embodiment of the application provides a mobile terminal, which is provided with at least one first microphone and at least one second microphone, wherein the first microphone is arranged on the front side of the mobile terminal, and the second microphone is arranged on the back side of the mobile terminal. Further, referring to fig. 6, the mobile terminal in the embodiment of the present application further includes: a memory 601, one or more processors 602 (only one shown in fig. 6), and computer programs stored on the memory 601 and executable on the processors. Wherein: the memory 601 is used to store software programs and modules, and the processor 602 executes various functional applications and data processing by operating the software programs and units stored in the memory 601. Specifically, the processor 602 implements the following steps by running the above-mentioned computer program stored in the memory 601:
detecting a camera used when the mobile terminal records a video;
if the camera used when the mobile terminal records the video is detected to be a front camera, triggering the first microphone to collect the sound signal;
and if the camera used when the mobile terminal records the video is detected to be a rear camera, triggering the second microphone to collect the sound signal.
Assuming that the above is the first possible implementation manner, in a second possible implementation manner provided on the basis of the first possible implementation manner, if it is detected that the camera used when the mobile terminal records the video is a front camera, the triggering the first microphone to acquire the sound signal is: if the camera used when the mobile terminal records the video is detected to be a front camera in the single sound channel mode of the mobile terminal, triggering the first microphone to collect the sound signal;
if the camera used when the mobile terminal records the video is detected to be a rear camera, triggering the second microphone to collect the sound signal is as follows: and if the camera used when the mobile terminal records the video is detected to be a rear camera in the single sound channel mode of the mobile terminal, triggering the second microphone to collect the sound signal.
In a third possible implementation manner provided on the basis of the second possible implementation manner, the mobile terminal is further provided with at least one third microphone, and the third microphone is arranged at the bottom of the mobile terminal. After detecting the camera used in recording the mobile terminal, the processor 602 implements the following steps by running the computer program stored in the memory 601:
if the fact that a camera used when the mobile terminal records the video is a front-facing camera is detected in the stereo mode of the mobile terminal, triggering the first microphone and the third microphone to collect sound signals;
and if the camera used when the mobile terminal records the video is detected to be a rear camera in the stereo mode of the mobile terminal, triggering the second microphone and the third microphone to collect the sound signals.
In a fourth possible implementation manner provided on the basis of the third possible implementation manner, after the triggering the first microphone and the third microphone to collect sound signals, the processor 602 implements the following steps by executing the above computer program stored in the memory 601:
and based on the sound signals collected by the first microphone and the third microphone, carrying out noise reduction processing on the sound signals recorded by the video.
After the triggering the second microphone and the third microphone to collect sound signals, the method further comprises:
and based on the sound signals collected by the second microphone and the third microphone, carrying out noise reduction processing on the sound signals recorded by the video.
In a fifth possible implementation manner provided on the basis of the second possible implementation manner, the third possible implementation manner, or the fourth possible implementation manner, the processor 602 implements the following steps by running the computer program stored in the memory 601:
if an input sound channel mode switching instruction is received in the video recording process of the mobile terminal, switching the sound channel mode of the mobile terminal into a mono mode or a stereo mode based on the sound channel mode switching instruction, and triggering the step of detecting the camera used in the video recording of the mobile terminal and subsequent steps.
Optionally, as shown in fig. 6, the mobile terminal may further include: one or more input devices 603 (only one shown in fig. 6) and one or more output devices 604 (only one shown in fig. 6). The memory 601, processor 602, input device 603, and output device 604 are connected by a bus 605.
It should be understood that in the embodiments of the present Application, the Processor 602 may be a Central Processing Unit (CPU), and the Processor may be other general processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 603 may include a keyboard, a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a microphone, etc., and the output device 604 may include a display, a speaker, etc.
Memory 604 may include both read-only memory and random-access memory, and provides instructions and data to processor 601. Some or all of memory 604 may also comprise non-volatile random access memory. For example, the memory 604 may also store device type information.
It can be seen from the above that, in the embodiment of the present application, the front side and the back side of the mobile terminal are respectively provided with the first microphone and the second microphone, and by detecting the camera used when the mobile terminal records the video, when detecting that the camera used when the mobile terminal records the video is the front camera, the first microphone is triggered to collect the sound signal, and when detecting that the camera used when the mobile terminal records the video is the rear camera, the second microphone is triggered to collect the sound signal. Because the recorded object usually faces the front side of the mobile terminal when the front camera of the mobile terminal is used for recording, and the recorded object usually faces the back side of the mobile terminal when the rear camera of the mobile terminal is used for recording, the method can be more favorable for collecting the sound signal of the recorded object in the recording process by detecting that the camera used in the recording process of the mobile terminal triggers the microphone at the corresponding position to collect the sound signal.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned functions may be distributed as different functional units and modules according to needs, that is, the internal structure of the apparatus may be divided into different functional units or modules to implement all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the above-described modules or units is only one logical functional division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The integrated unit may be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, all or part of the flow in the method of the embodiments described above may be implemented by a computer program, which may be stored in a computer readable storage medium and used by a processor to implement the steps of the embodiments of the methods described above. The computer program includes computer program code, and the computer program code may be in a source code form, an object code form, an executable file or some intermediate form. The computer readable medium may include: any entity or device capable of carrying the above-mentioned computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier signal, telecommunication signal, software distribution medium, etc. It should be noted that the computer readable medium described above may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media excludes electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (7)

1. A video processing method is applied to a mobile terminal, and is characterized in that the mobile terminal is provided with at least one first microphone and at least one second microphone, the first microphone is arranged on the front side of the mobile terminal, and the second microphone is arranged on the back side of the mobile terminal; the video processing method comprises the following steps:
detecting a camera used when the mobile terminal records the video and detecting whether the camera used by the mobile terminal is switched or not in the video recording process of the mobile terminal;
if the camera used when the mobile terminal records the video is detected to be a front camera, triggering the first microphone to collect the sound signal;
if the camera used when the mobile terminal records the video is detected to be a rear camera, triggering the second microphone to collect the sound signal;
the mobile terminal is also provided with at least one third microphone, and the third microphone is arranged at the bottom of the mobile terminal;
after detecting the camera used during the video recording of the mobile terminal, the method further comprises the following steps:
if the fact that a camera used when the mobile terminal records the video is a front-facing camera is detected in the stereo mode of the mobile terminal, triggering the first microphone and the third microphone to collect sound signals;
if the camera used when the mobile terminal records the video is detected to be a rear camera in the stereo mode of the mobile terminal, triggering the second microphone and the third microphone to collect the sound signals;
realizing noise reduction processing through a noise reduction processing algorithm of the double microphones;
the video processing method further comprises the following steps:
if an input sound channel mode switching instruction is received in the video recording process of the mobile terminal, switching the sound channel mode of the mobile terminal into a mono mode or a stereo mode based on the sound channel mode switching instruction, and triggering the step of detecting the camera used in the video recording of the mobile terminal and subsequent steps.
2. The video recording processing method according to claim 1,
if the camera used when the mobile terminal records the video is detected to be a front camera, triggering the first microphone to collect the sound signal is as follows: if the camera used when the mobile terminal records the video is detected to be a front camera in the single sound channel mode of the mobile terminal, triggering the first microphone to collect the sound signal;
if the camera used when the mobile terminal records the video is detected to be a rear camera, triggering the second microphone to collect the sound signal is as follows: and if the camera used when the mobile terminal records the video is detected to be a rear camera in the single sound channel mode of the mobile terminal, triggering the second microphone to collect the sound signal.
3. The video recording processing method according to claim 1, wherein after triggering the first microphone and the third microphone to acquire sound signals, the method further comprises:
and based on the sound signals collected by the first microphone and the third microphone, carrying out noise reduction processing on the sound signals recorded by the video.
After the triggering the second microphone and the third microphone to collect sound signals, the method further comprises:
and based on the sound signals collected by the second microphone and the third microphone, carrying out noise reduction processing on the sound signals recorded by the video.
4. A video processing device is applied to a mobile terminal, and is characterized in that the mobile terminal is provided with at least one first microphone and at least one second microphone, wherein the first microphone is arranged on the front side of the mobile terminal, and the second microphone is arranged on the back side of the mobile terminal;
the video recording processing apparatus includes:
the detection unit is used for detecting a camera used by the mobile terminal during video recording and detecting whether the camera used by the mobile terminal is switched or not during the video recording process of the mobile terminal;
the first triggering unit is used for triggering the first microphone to collect sound signals when the detection unit detects that the camera used by the mobile terminal for recording is a front camera;
the second triggering unit is used for triggering the second microphone to collect sound signals when the detection unit detects that the camera used by the mobile terminal for recording is a rear camera;
the mobile terminal is also provided with at least one third microphone, and the third microphone is arranged at the bottom of the mobile terminal;
the video recording processing apparatus further includes:
the third triggering unit is used for triggering the first microphone and the third microphone to collect sound signals when the detecting unit detects that a camera used by the mobile terminal during video recording is a front-facing camera in a stereo mode of the mobile terminal;
the fourth triggering unit is used for triggering the second microphone and the third microphone to collect sound signals when the detecting unit detects that a camera used by the mobile terminal for recording is a rear camera in a stereo mode of the mobile terminal;
the noise reduction processing unit is used for realizing noise reduction processing through a noise reduction processing algorithm of the double microphones;
and the switching triggering unit is used for switching the sound channel mode of the mobile terminal into a mono mode or a stereo mode based on the sound channel mode switching instruction and triggering the detection unit when receiving the input sound channel mode switching instruction in the video recording process of the mobile terminal.
5. The video recording processing apparatus according to claim 4, wherein the first trigger unit is specifically configured to: when the detection unit detects that a camera used in the video recording of the mobile terminal is a front-facing camera in a single sound channel mode of the mobile terminal, triggering the first microphone to collect sound signals;
the second trigger unit is specifically configured to: and when the detection unit detects that the camera used in the video recording of the mobile terminal is a rear camera in the single sound channel mode of the mobile terminal, triggering the second microphone to collect the sound signal.
6. A mobile terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the mobile terminal is further provided with at least one first microphone arranged at a front side of the mobile terminal and at least one second microphone arranged at a back side of the mobile terminal;
the processor, when executing the computer program, realizes the steps of the method according to any of claims 1 to 3.
7. A computer-readable storage medium storing a computer program and applied to a mobile terminal, characterized in that the mobile terminal is provided with at least one first microphone disposed at a front side of the mobile terminal and at least one second microphone disposed at a rear side of the mobile terminal; the computer program when executed by a processor implementing the steps of the method according to any one of claims 1 to 3.
CN201711347162.2A 2017-12-15 2017-12-15 Video processing method, video processing device and mobile terminal Active CN108076300B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711347162.2A CN108076300B (en) 2017-12-15 2017-12-15 Video processing method, video processing device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711347162.2A CN108076300B (en) 2017-12-15 2017-12-15 Video processing method, video processing device and mobile terminal

Publications (2)

Publication Number Publication Date
CN108076300A CN108076300A (en) 2018-05-25
CN108076300B true CN108076300B (en) 2020-07-07

Family

ID=62158805

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711347162.2A Active CN108076300B (en) 2017-12-15 2017-12-15 Video processing method, video processing device and mobile terminal

Country Status (1)

Country Link
CN (1) CN108076300B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109327749A (en) * 2018-08-16 2019-02-12 深圳市派虎科技有限公司 Microphone and its control method and noise-reduction method
CN112637529B (en) * 2020-12-18 2023-06-02 Oppo广东移动通信有限公司 Video processing method and device, storage medium and electronic equipment
CN113099031B (en) * 2021-02-26 2022-05-17 华为技术有限公司 Sound recording method and related equipment
CN113395451B (en) * 2021-06-22 2023-04-18 Oppo广东移动通信有限公司 Video shooting method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104699445A (en) * 2013-12-06 2015-06-10 华为技术有限公司 Audio information processing method and device
CN105611458A (en) * 2015-11-11 2016-05-25 广东欧珀移动通信有限公司 Directed recording control method and device of mobile terminal
CN106488045A (en) * 2016-12-28 2017-03-08 广东欧珀移动通信有限公司 Control method and control device
CN107181853A (en) * 2016-03-10 2017-09-19 深圳富泰宏精密工业有限公司 The electronic installation of microphone switching method and application this method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202135177U (en) * 2011-06-21 2012-02-01 惠州Tcl移动通信有限公司 Handset
CN104616687A (en) * 2015-01-14 2015-05-13 小米科技有限责任公司 Recording method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104699445A (en) * 2013-12-06 2015-06-10 华为技术有限公司 Audio information processing method and device
CN105611458A (en) * 2015-11-11 2016-05-25 广东欧珀移动通信有限公司 Directed recording control method and device of mobile terminal
CN107181853A (en) * 2016-03-10 2017-09-19 深圳富泰宏精密工业有限公司 The electronic installation of microphone switching method and application this method
CN106488045A (en) * 2016-12-28 2017-03-08 广东欧珀移动通信有限公司 Control method and control device

Also Published As

Publication number Publication date
CN108076300A (en) 2018-05-25

Similar Documents

Publication Publication Date Title
CN108076300B (en) Video processing method, video processing device and mobile terminal
CN108733342B (en) Volume adjusting method, mobile terminal and computer readable storage medium
CN108076226B (en) Method for adjusting call quality, mobile terminal and storage medium
WO2020082902A1 (en) Sound effect processing method for video, and related products
CN106210219B (en) Noise-reduction method and device
US20180039819A1 (en) Method and device for identity verification
CN104571923A (en) Touch feedback method, device and terminal
US10762324B2 (en) Pressure determination method and device and fingerprint recognition method and device
US11222223B2 (en) Collecting fingerprints
WO2020019858A1 (en) Microphone hole clogging detection method and related products
WO2022017006A1 (en) Video processing method and apparatus, and terminal device and computer-readable storage medium
CN104679412A (en) Incoming call processing method and mobile terminal
CN104580147A (en) Voice response method, device and system
CN107404587B (en) Audio playing control method, audio playing control device and mobile terminal
CN104735227A (en) Quick call recording method and communication terminal
CN109104658B (en) Touch identification method and device of wireless earphone and wireless earphone
CN111510785A (en) Video playing control method, device, terminal and computer readable storage medium
CN108196819B (en) Working mode switching method and device applied to terminal and electronic equipment
CN109119097B (en) Pitch detection method, device, storage medium and mobile terminal
CN110392334A (en) A kind of microphone array audio signal adaptive processing method, device and medium
CN114466283A (en) Audio acquisition method and device, electronic equipment and peripheral component method
CN108108144B (en) Electronic equipment and information processing method
CN105487774A (en) Image grouping method and device
WO2023231787A1 (en) Audio processing method and apparatus
CN105068660A (en) Method for controlling increase and decrease of sound volume by means of fingerprint recognition and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

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

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

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

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

GR01 Patent grant
GR01 Patent grant