# US 2022/0294979 A1 · Method, electronic device and storage medium for shooting video

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

- Number: US 2022/0294979 A1
- Document ID: US20220294979A1
- Status: Published application
- Kind: A1
- Application number: 17/489,197
- Filed: 2021-09-29
- Published: 2022-09-15
- Earliest claimed: 2021-03-09
- Assignees: Beijing Dajia Internet Information Technology Co., Ltd.
- Applicants: Beijing Dajia Internet Information Technology Co., Ltd.
- Inventors: Yinghu YUAN
- Web page: https://patentgrep.com/patent/US20220294979A1

## CPC

- G11B 27/031: Electronic editing of digitised analogue information signals, e.g. audio or video signals
- H04N 23/64: {Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image}
- G11B 27/28: by using information signals recorded by the same method as the main recording {(G11B27/22 takes precedence)}
- H04N 5/06: Generation of synchronising signals
- H04N 5/2621: {Cameras specially adapted for the electronic generation of special effects during image pickup, e.g. digital cameras, camcorders, video cameras having integrated special effects capability}
- H04N 23/633: {for displaying additional information relating to control or operation of the camera}
- G11B: INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER (recording measured values in a way that does not require playback through a transducer G01D9/00; recording or playback apparatus using mechanically marked tape, e.g. punched paper tape, or using unit records, e.g. punched or magnetically marked cards G06K; transferring data from one type of record carrier to another G06K1/18; circuits for coupling output of reproducer to radio receiver H04B1/20; gramophone pick-ups or like acoustic electromechanical transducers or circuits therefor H04R)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

The disclosure can provide a method for shooting a video. The method includes: obtaining a target music file for shooting the video and a preset shooting duration; obtaining shooting guidance information based on beat information of the target music file and the preset shooting duration; the shooting guidance information including a number of clips of the video within the preset shooting duration and a clip duration of each of the clips; and displaying the shooting guidance information in a shooting interface.

## Claims

### Claim 1

A method for shooting a video, comprising:
obtaining a target music file for shooting the video and a preset shooting duration;
obtaining shooting guidance information based on beat information of the target music file and the preset shooting duration; the shooting guidance information comprising a number of clips of the video within the preset shooting duration and a clip duration of each of the clips; wherein the number is greater than 1 and the clip duration of each of the clips is determined based on the beat information; and
displaying the shooting guidance information in a shooting interface,
wherein said obtaining the shooting guidance information based on the beat information of the target music file and the preset shooting duration comprises:
determining an initial clip duration based on a beat duration in response to the beat information comprising the beat duration and the beat duration satisfying a preset clip duration;
determining an initial number of clips based on the preset shooting duration and the initial clip duration;
determining the number of clips of the video based on the initial number of clips in response to the initial number of clips satisfying a preset number of clips;
determining the clip duration of each of the clips based on the initial clip duration; and
determining the shooting guidance information based on the number of clips of the video and the clip duration of each of the clips,
wherein the method further comprises:
obtaining the initial clip duration by multiplying the beat duration by a first preset multiple in response to the beat duration not satisfying the preset clip duration; the initial clip duration satisfying the preset clip duration;
determining the initial number of clips based on the preset shooting duration and the initial clip duration;
determining the number of clips of the video based on the initial number of clips in response to the initial number of clips satisfying the preset number of clips;
determining the clip duration of each of the clips based on the initial clip duration; and
determining the shooting guidance information based on the number of clips of the video and the clip duration of each of the clips.

### Claim 2 (depends on 1)

The method as claimed in claim 1, wherein said obtaining the shooting guidance information based on the beat information of the target music file and the preset shooting duration comprises:
determining the number of clips of the video and the clip duration of each of the clips based on a plurality of beat durations, the preset shooting duration, a preset clip duration and a preset number of clips, in response to the beat information comprising the plurality of beat durations; and
determining the shooting guidance information based on the number of clips of the video and the clip duration of each of the clips.

### Claim 3

(canceled)

### Claim 4

(canceled)

### Claim 5 (depends on 1)

The method as claimed in claim 1, further comprising:
obtaining an adjusted clip duration by multiplying the beat duration by a second preset multiple in response to the initial number of clips not satisfying the preset number of clips; the adjusted clip duration satisfying the preset clip duration;
determining an adjusted number of clips based on the preset shooting duration and the adjusted clip duration;
determining the number of clips of the video based on the adjusted number of clips in response to the adjusted number of clips satisfying the preset number of clips;
determining the clip duration of each of the clips based on the adjusted clip duration; and
determining the shooting guidance information based on the number of clips of the video and the clip duration of each of the clips.

### Claim 6 (depends on 5)

The method as claimed in claim 5, further comprising:
obtaining a set of historical videos;
determining a target historical video that satisfies requirements from the set of historical videos based on video attribute information, the video attribute information comprising at least one of: a number of forwards, a number of views, a number of likes, a number of rewards, a number of fans and a number of comments; and
obtaining the preset clip duration and the preset number of clips by analyzing the target historical video.

### Claim 7 (depends on 1)

The method as claimed in claim 1, wherein said displaying the shooting guidance information in the shooting interface comprises:
displaying a shooting guidance control in the shooting interface; a number of time clips included in the shooting guidance control is corresponding to the number of clips of the video and durations of the time clips included in the shooting guidance control are corresponding to durations of the clips one by one.

### Claim 8 (depends on 1)

The method as claimed in claim 1, further comprising:
obtaining target video clips corresponding to the video guidance information in response to a confirmation operation on the video guidance information and generating a target video based on the target video clips and the target music file.

### Claim 9 (depends on 8)

The method as claimed in claim 8, further comprising:
deleting at least one target video clip or the target video in response to a deletion operation.

### Claim 10 (depends on 1)

The method as claimed in claim 1, further comprising:
obtaining first data by sampling and quantizing the target music file;
obtaining first difference data by performing difference processing on the first data;
obtaining second data by performing time-frequency conversion on the first difference data;
obtaining second difference data by performing difference processing on the second data;
obtaining data in a preset number of windows by quantizing the second difference data; and
determining the beat information of the target music file based on the data in the preset number of windows.

### Claim 11 (depends on 10)

The method as claimed in claim 10, wherein said determining the beat information of the target music file based on the data in the preset number of windows comprises:
determining at least one beat duration in the target music file based on the data in the preset number of windows.

### Claim 12

An electronic device, comprising:
a processor; and
a memory for storing instructions executable by the processor;
wherein the processor is configured to execute the instructions to:
obtain a target music file for shooting a video and a preset shooting duration;
obtain shooting guidance information based on beat information of the target music file and the preset shooting duration; the shooting guidance information comprising a number of clips of the video within the preset shooting duration and a clip duration of each of the clips; wherein the number is greater than 1 and the clip duration of each of the clips is determined based on the beat information; and
display the shooting guidance information in a shooting interface,
wherein the processor is further configured to execute the instructions to:
determine an initial clip duration based on a beat duration in response to the beat information comprising the beat duration and the beat duration satisfying a preset clip duration;
determine an initial number of clips based on the preset shooting duration and the initial clip duration;
determine the number of clips of the video based on the initial number of clips in response to the initial number of clips satisfying a preset number of clips;
determine the clip duration of each of the clips based on the initial clip duration; and
determine the shooting guidance information based on the number of clips of the video and the clip duration of each of the clips;
wherein the processor is configured to execute the instructions to:
obtain the initial clip duration by multiplying the beat duration by a first preset multiple in response to the beat duration not satisfying the preset clip duration; the initial clip duration satisfying the preset clip duration;
determine the initial number of clips based on the preset shooting duration and the initial clip duration;
determine the number of clips of the video based on the initial number of clips in response to the initial number of clips satisfying the preset number of clips;
determine the clip duration of each of the clips based on the initial clip duration; and
determine the shooting guidance information based on the number of clips of the video and the clip duration of each of the clips.

### Claim 13 (depends on 12)

The device as claimed in claim 12, wherein the processor is configured to execute the instructions to:
determine the number of clips of the video and the clip duration of each of the clips based on a plurality of beat durations, the preset shooting duration, a preset clip duration and a preset number of clips, in response to the beat information comprising the plurality of beat durations; and
determine the shooting guidance information based on the number of clips of the video and the clip duration of each of the clips.

### Claim 14

(canceled)

### Claim 15

(canceled)

### Claim 16 (depends on 12)

The device as claimed in claim 12, wherein the processor is configured to execute the instructions to:
obtain an adjusted clip duration by multiplying the beat duration by a second preset multiple in response to the initial number of clips not satisfying the preset number of clips; the adjusted clip duration satisfying the preset clip duration;
determine an adjusted number of clips based on the preset shooting duration and the adjusted clip duration;
determine the number of clips of the video based on the adjusted number of clips in response to the adjusted number of clips satisfying the preset number of clips;
determine the clip duration of each of the clips based on the adjusted clip duration; and
determine the shooting guidance information based on the number of clips of the video and the clip duration of each of the clips.

### Claim 17 (depends on 16)

The device as claimed in claim 16, wherein the processor is configured to execute the instructions to:
obtain a set of historical videos;
determine a target historical video that satisfies requirements from the set of historical videos based on video attribute information, the video attribute information comprising at least one of: a number of forwards, a number of views, a number of likes, a number of rewards, a number of fans and a number of comments; and
obtain the preset clip duration and the preset number of clips by analyzing the target historical video.

### Claim 18 (depends on 12)

The device as claimed in claim 12, wherein the processor is configured to execute the instructions to:
display a shooting guidance control in the shooting interface; a number of time clips included in the shooting guidance control is corresponding to the number of clips of the video and durations of the time clips included in the shooting guidance control are corresponding to durations of the clips one by one.

### Claim 19 (depends on 12)

The device as claimed in claim 12, wherein the processor is configured to execute the instructions to:
obtain target video clips corresponding to the video guidance information in response to a confirmation operation on the video guidance information and generate a target video based on the target video clips and the target music file.

### Claim 20

A non-transitory computer-readable storage medium having stored therein instructions that, when executed by a processor of an electronic device, causes the electronic device to:
obtain a target music file for shooting a video and a preset shooting duration;
obtain shooting guidance information based on beat information of the target music file and the preset shooting duration; the shooting guidance information comprising a number of clips of the video within the preset shooting duration and a clip duration of each of the clips; wherein the number is greater than 1 and the clip duration of each of the clips is determined based on the beat information; and
display the shooting guidance information in a shooting interface,
wherein when the instructions are executed by a processor of an electronic device, causes the electronic device to:
determine an initial clip duration based on a beat duration in response to the beat information comprising the beat duration and the beat duration satisfying a preset clip duration;
determine an initial number of clips based on the preset shooting duration and the initial clip duration;
determine the number of clips of the video based on the initial number of clips in response to the initial number of clips satisfying a preset number of clips;
determine the clip duration of each of the clips based on the initial clip duration; and
determine the shooting guidance information based on the number of clips of the video and the clip duration of each of the clips;
wherein when the instructions are executed by a processor of an electronic device, causes the electronic device to:
obtain the initial clip duration by multiplying the beat duration by a first preset multiple in response to the beat duration not satisfying the preset clip duration; the initial clip duration satisfying the preset clip duration;
determine the initial number of clips based on the preset shooting duration and the initial clip duration;
determine the number of clips of the video based on the initial number of clips in response to the initial number of clips satisfying the preset number of clips;
determine the clip duration of each of the clips based on the initial clip duration; and
determine the shooting guidance information based on the number of clips of the video and the clip duration of each of the clips.
