CPC H04N 23/69 (2023.01) [G10L 21/0208 (2013.01); H04R 3/005 (2013.01)] | 20 Claims |
1. A video processing method, wherein the method is applied to an electronic device, and comprises:
starting, by the electronic device, a camera;
displaying a preview interface, wherein the preview interface comprises a first control;
detecting a first operation with respect to the first control;
starting photographing in response to the first operation;
displaying a photographing interface, wherein the photographing interface comprises a second control and the second control is used to adjust a zoom ratio;
displaying a first photographed image at a first moment when the zoom ratio is a first zoom ratio;
collecting, by a microphone, a first audio at the first moment;
detecting a third operation with respect to a third control; and
stopping photographing and saving a first video in response to the third operation; and
the method further comprises: processing the first audio to obtain a first left channel output audio and a first right channel output audio, wherein
the processing the first audio to obtain a first left channel output audio and a first right channel output audio comprises:
performing first processing on the first audio based on the first zoom ratio to obtain a first left channel input audio and a first right channel input audio;
performing second processing on the first audio to obtain M channels of first sound source audios, wherein M represents a quantity of microphones of the electronic device;
fusing the first left channel input audio with a first target audio to obtain a first left channel audio, wherein the first target audio is a sound source audio having highest correlation with the first left channel input audio among the M channels of first sound source audios;
fusing the first right channel input audio with a second target audio to obtain a first right channel audio, wherein the second target audio is a sound source audio having highest correlation with the first right channel input audio among the M channels of first sound source audios; and
performing enhancement processing on the first left channel audio and the first right channel audio to obtain the first left channel output audio and the first right channel output audio.
|