US 12,347,459 B2
Video file generating method and device, terminal, and storage medium
Wei Zheng, Beijing (CN); and Weiwei Lyu, Beijing (CN)
Assigned to BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD., Beijing (CN)
Appl. No. 17/768,462
Filed by BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD., Beijing (CN)
PCT Filed Sep. 21, 2020, PCT No. PCT/CN2020/116576
§ 371(c)(1), (2) Date Apr. 12, 2022,
PCT Pub. No. WO2021/073368, PCT Pub. Date Apr. 22, 2021.
Claims priority of application No. 201910974857.6 (CN), filed on Oct. 14, 2019.
Prior Publication US 2024/0296870 A1, Sep. 5, 2024
Int. Cl. G11B 27/031 (2006.01); G06F 3/0487 (2013.01)
CPC G11B 27/031 (2013.01) [G06F 3/0487 (2013.01)] 17 Claims
OG exemplary drawing
 
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.