| CPC G11B 27/031 (2013.01) [G06F 3/0487 (2013.01)] | 17 Claims |

|
1. A method for generating a video file, comprising:
presenting, in response to a received video editing instruction, a video editing interface, wherein the video editing interface is configured to enable a selection of an image and a selection of an audio;
determining a target audio and a target image in response to receiving input via the video editing interface;
obtaining, for each of audio frames of the target audio, an audio parameter corresponding to the audio frame;
generating, for each of the audio frames, a spectrogram corresponding to the audio frame based on the obtained audio parameter;
generating, based on the generated spectrogram and the target image, a plurality of video frame images, wherein each of the plurality of video frame images corresponds to one of the audio frames, and each of the plurality of video frame images comprises an image of the spectrum corresponding to the one of the audio frames; and
performing, based on the plurality of video frame images and the target audio, video encoding to generate a target video file.
|