-
公开(公告)号:EP4246985A1
公开(公告)日:2023-09-20
申请号:EP21909522.1
申请日:2021-12-23
发明人: ZHANG, Haochen , YU, Yanhui , WU, Qingliang , ZHANG, Zhetao , ZHENG, Xin , YANG, Fan , PENG, Qiuming , CHENG, Li
摘要: A video recording method and an electronic device are provided, and relate to the field of terminal technologies. The method includes: An electronic device plays, by using a first application, audio corresponding to a first media file, and displays a video recording interface of a second application; in response to an operation on a background music setting option, the electronic device sets background music as audio corresponding to a second audio file; in response to a first operation on a virtual button, the electronic device starts video recording, and processes the second audio file to obtain audio data of the second audio file; and in response to a second operation on the virtual button, the electronic device ends video recording, and generates a video file, where the video file includes the audio data of the second audio file and image data of an image captured by a camera, but does not include audio data of the first media file. According to this technical solution, a user can add corresponding background music in a video recording process as required. This not only facilitates use by the user, but also helps avoid a copyright dispute.