# US 2022/0286218 A1 · Method and device for generating video file, computer apparatus, and storage medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0286218 A1
- Document ID: US20220286218A1
- Status: Published application
- Kind: A1
- Application number: 17/826,976
- Filed: 2022-05-27
- Published: 2022-09-08
- Earliest claimed: 2019-11-27
- Assignees: Oneplus Technology (Shenzhen) Co., Ltd.
- Applicants: Oneplus Technology (Shenzhen) Co., Ltd.
- Inventors: Chintan Pandya
- Web page: https://patentgrep.com/patent/US20220286218A1

## CPC

- H04H 60/27: Arrangements for recording or accumulating broadcast information or broadcast-related information
- H04N 9/8211: {the additional signal being a sound signal (H04N9/835 takes precedence)}
- H04H 20/61: for local area broadcast, e.g. instore broadcast
- H04H 60/90: Wireless transmission systems
- H04N 21/4334: {Recording operations (recording of a television signal H04N5/76; arrangements for recording or accumulating broadcast information or broadcast-related information H04H60/27)}
- H04N 21/4394: {involving operations for analysing the audio stream, e.g. detecting features or characteristics in audio streams (arrangements characterised by components specially adapted for monitoring, identification or recognition of audio in broadcast systems H04H60/58)}
- H04H: BROADCAST COMMUNICATION (multiplex communication H04J; pictorial communication aspects of broadcast systems H04N)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Embodiments of the present disclosure provide a method and device for generating a video file, a computer apparatus, and a storage medium. The method includes: obtaining a video-recording instruction, and recording a current picture on a recording interface according to the video-recording instruction; scanning an audio stream broadcasted to a predetermined channel by an audio device; 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 according to the prompt information, combining the selected target audio stream and the recorded current picture to obtain a video file.

## Claims

### Claim 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.

### Claim 2 (depends on 1)

The method according to claim 1, 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.

### Claim 3 (depends on 1)

The method according to claim 1, wherein said scanning an audio stream broadcasted to a predetermined channel by an audio device comprises:
scanning an audio stream broadcasted to a predetermined Frequency Modulation (FM) radio channel by the audio device; and
identifying whether a frequency band of the audio stream broadcasted in the FM radio channel is consistent with a predetermined frequency band,
wherein when the frequency band of the audio stream broadcasted in the FM radio channel is consistent with the predetermined frequency band, the scanned audio stream meets the predetermined condition.

### Claim 4 (depends on 1)

The method according to claim 1, wherein said scanning an audio stream 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,
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.

### Claim 5 (depends on 1)

The method according to claim 1, further comprising, prior to said scanning an audio stream broadcasted to a predetermined channel by an audio device:
obtaining a wireless-connection request transmitted by the audio device; and
performing a wireless connection with the audio device based on the wireless-connection request, and receiving the audio stream broadcasted to the predetermined channel by the audio device.

### Claim 6 (depends on 1)

The method according to claim 1, further comprising:
obtaining an audio file in response to the scanned audio stream not meeting the predetermined condition; and
combining the audio file with the recorded current picture to obtain a video file.

### Claim 7 (depends on 1)

A computer apparatus, comprising a memory and a processor, wherein the memory has a computer program stored thereon, the computer program being executable on the processor, and the processor, when executing the computer program, implements the method according to claim 1.

### Claim 8 (depends on 7)

The computer apparatus according to claim 7, wherein the processor, when executing the computer program, further implements steps of:
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.

### Claim 9 (depends on 7)

The computer apparatus according to claim 7, wherein the processor, when executing the computer program, further implements steps of:
scanning an audio stream broadcasted to a predetermined Frequency Modulation (FM) radio channel by the audio device; and
identifying whether a frequency band of the audio stream broadcasted in the FM radio channel is consistent with a predetermined frequency band,
wherein when the frequency band of the audio stream broadcasted in the FM radio channel is consistent with the predetermined frequency band, the scanned audio stream meets the predetermined condition.

### Claim 10 (depends on 7)

The computer apparatus according to claim 7, wherein the processor, when executing the computer program, further implements steps of:
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,
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.

### Claim 11 (depends on 7)

The computer apparatus according to claim 7, wherein the processor, when executing the computer program, further implements steps of:
obtaining a wireless-connection request transmitted by the audio device; and
performing a wireless connection with the audio device based on the wireless-connection request, and receiving the audio stream broadcasted to the predetermined channel by the audio device.

### Claim 12 (depends on 7)

The computer apparatus according to claim 7, wherein the processor, when executing the computer program, further implements steps of:
obtaining an audio file in response to the scanned audio stream not meeting the predetermined condition; and
combining the audio file with the recorded current picture to obtain a video file.

### Claim 13 (depends on 1)

A non-volatile computer-readable storage medium, having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method according to claim 1.

### Claim 14 (depends on 13)

The non-volatile computer-readable storage medium according to claim 13, wherein the computer program, when executed by the processor, further implements steps of:
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.

### Claim 15 (depends on 13)

The non-volatile computer-readable storage medium according to claim 13, wherein the computer program, when executed by the processor, further implements steps of:
scanning an audio stream broadcasted to a predetermined Frequency Modulation (FM) radio channel by the audio device; and
identifying whether a frequency band of the audio stream broadcasted in the FM radio channel is consistent with a predetermined frequency band,
wherein when the frequency band of the audio stream broadcasted in the FM radio channel is consistent with the predetermined frequency band, the scanned audio stream meets the predetermined condition.

### Claim 16 (depends on 13)

The non-volatile computer-readable storage medium according to claim 13, wherein the computer program, when executed by the processor, further implements steps of:
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,
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.

### Claim 17 (depends on 13)

The non-volatile computer-readable storage medium according to claim 13, wherein the computer program, when executed by the processor, further implements steps of:
obtaining a wireless-connection request transmitted by the audio device; and
performing a wireless connection with the audio device based on the wireless-connection request, and receiving the audio stream broadcasted to the predetermined channel by the audio device.

### Claim 18 (depends on 13)

The non-volatile computer-readable storage medium according to claim 13, wherein the computer program, when executed by the processor, further implements steps of:
obtaining an audio file in response to the scanned audio stream not meeting the predetermined condition; and
combining the audio file with the recorded current picture to obtain a video file.
