US 12,261,683 B2
Method and device for generating video file, computer apparatus, and storage medium
Chintan Pandya, Shenzhen (CN)
Assigned to GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD., Guangdong (CN)
Filed by GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD., Guangdong (CN)
Filed on May 27, 2022, as Appl. No. 17/826,976.
Application 17/826,976 is a continuation of application No. PCT/CN2020/123748, filed on Oct. 26, 2020.
Claims priority of application No. 201911182848.X (CN), filed on Nov. 27, 2019.
Prior Publication US 2022/0286218 A1, Sep. 8, 2022
Int. Cl. H04H 60/43 (2008.01); H04H 60/27 (2008.01); H04H 60/90 (2008.01); H04N 21/433 (2011.01); H04N 21/439 (2011.01)
CPC H04H 60/27 (2013.01) [H04H 60/90 (2013.01); H04N 21/4334 (2013.01); H04N 21/4394 (2013.01)] 15 Claims
OG exemplary drawing
 
1. A method for generating a video file, comprising:
obtaining a video-recording instruction, and recording a current picture on a recording interface based on the video-recording instruction; and
scanning an audio stream broadcasted to a predetermined channel by an audio device; and
in response to the scanned audio stream meeting a predetermined condition, determining the scanned audio stream to be a target audio stream, and displaying prompt information on the recording interface; and
in response to receiving an operation of selecting the target audio stream based on the prompt information, combining the selected target audio stream with the recorded current picture to obtain a video file,
wherein said combining the selected target audio stream with the recorded current picture to obtain a video file comprises:
changing a predetermined audio-input mode to a streaming-video mode; and
obtaining a video file by encoding the selected target audio stream and the recorded current picture under the streaming-video mode.