A method for generating a video file, comprising: obtaining, by a terminal, a video-recording instruction, and recording, by the terminal, a current moving picture on a recording interface based on the video-recording instruction; and scanning, by the terminal, an audio stream, which is broadcasted to a predetermined channel by an audio device; and in response to the scanned audio stream meeting a predetermined condition, determining, by the terminal, the scanned audio stream to be a target audio stream, and displaying, by the terminal, prompt information on the recording interface; and in response to receiving a user's operation of selecting the target audio stream based on the prompt information, combining, by the terminal, the selected target audio stream with the recorded current moving picture to obtain a video file, characterized in that, said scanning, by the terminal, an audio stream, which is broadcasted to a predetermined channel by an audio device comprises: scanning an audio stream broadcasted to a predetermined audio path by the audio device; and obtaining current location information, and identifying whether the current location information is consistent with an audio path corresponding to the scanned audio stream, the current location information being location information of current video-recording, wherein when the current location information is consistent with the audio path corresponding to the scanned audio stream, the scanned audio stream meets the predetermined condition. obtaining, by a terminal, a video-recording instruction, and recording, by the terminal, a current moving picture on a recording interface based on the video-recording instruction; and scanning, by the terminal, an audio stream, which is broadcasted to a predetermined channel by an audio device; and in response to the scanned audio stream meeting a predetermined condition, determining, by the terminal, the scanned audio stream to be a target audio stream, and displaying, by the terminal, prompt information on the recording interface; and in response to receiving a user's operation of selecting the target audio stream based on the prompt information, combining, by the terminal, the selected target audio stream with the recorded current moving picture to obtain a video file, characterized in that, said scanning, by the terminal, an audio stream, which is broadcasted to a predetermined channel by an audio device comprises: scanning an audio stream broadcasted to a predetermined audio path by the audio device; and obtaining current location information, and identifying whether the current location information is consistent with an audio path corresponding to the scanned audio stream, the current location information being location information of current video-recording, wherein when the current location information is consistent with the audio path corresponding to the scanned audio stream, the scanned audio stream meets the predetermined condition. scanning an audio stream broadcasted to a predetermined audio path by the audio device; and obtaining current location information, and identifying whether the current location information is consistent with an audio path corresponding to the scanned audio stream, the current location information being location information of current video-recording, wherein when the current location information is consistent with the audio path corresponding to the scanned audio stream, the scanned audio stream meets the predetermined condition.