Video editing method and apparatus, computer device, and storage medium
AssigneeTencent Technology (Shenzhen) Company Limited
InventorXin FENG
Life of this patent
Estimating the term…
Abstract
A video editing method is performed by a computer device. The method includes: performing music recognition on audio data in first video data to obtain a recognition result of each of audio frames in the audio data, the recognition result indicating whether the audio frame belongs to a music audio frame; determining a music segment in the audio data based on the recognition results of the audio frames, the music segment comprising a plurality of music audio frames; and extracting, from the first video data, a video clip with a same playback period as the music segment as second video data comprising the music segment.
Claims20
A video editing method performed by a computer device, the method comprising:
- performing music recognition on audio data in first video data to obtain a recognition result of each of audio frames in the audio data, the recognition result indicating whether the audio frame belongs to a music audio frame or not;
- determining a plurality of music audio frame and a plurality of non-music audio frame in the audio data based on the recognition result of each of the audio frames;
- organizing a plurality of consecutive music audio frames in the audio data into a music segment and a plurality of consecutive non-music audio frames into a non-music segment, respectively;
- correcting the music segment in the audio data based on at least one of playback information of the music segment and playback information of the non-music segment;
- and
- extracting, from the first video data, a video clip with a same playback period as the music segment as second video data comprising the music segment.
A computer device, comprising a processor and a memory, the memory storing at least one computer program that, when executed by the processor, causes the computer device to implement a video editing method including:
- performing music recognition on audio data in first video data to obtain a recognition result of each of audio frames in the audio data, the recognition result indicating whether the audio frame belongs to a music audio frame or not;
- determining a plurality of music audio frame and a plurality of non-music audio frame in the audio data based on the recognition result of each of the audio frames;
- organizing a plurality of consecutive music audio frames in the audio data into a music segment and a plurality of consecutive non-music audio frames into a non-music segment, respectively;
- correcting the music segment in the audio data based on at least one of playback information of the music segment and playback information of the non-music segment;
- and
- extracting, from the first video data, a video clip with a same playback period as the music segment as second video data comprising the music segment.
A non-transitory computer-readable storage medium, storing at least one computer program that, when executed by a processor of a computer device, causes the computer device to implement a video editing method including:
- determining a plurality of music audio frame and a plurality of non-music audio frame in the audio data based on the recognition result of each of the audio frames;
- organizing a plurality of consecutive music audio frames in the audio data into a music segment and a plurality of consecutive non-music audio frames into a non-music segment, respectively;
- correcting the music segment in the audio data based on at least one of playback information of the music segment and playback information of the non-music segment;
- and
- extracting, from the first video data, a video clip with a same playback period as the music segment as second video data comprising the music segment.
Dependencies are inferred from the claim text.