Method, electronic device and storage medium for shooting video
AssigneeBeijing Dajia Internet Information Technology Co., Ltd.
InventorYinghu YUAN
Life of this patent
Estimating the term…
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.
Claims20
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.
(canceled)
(canceled)
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.
(canceled)
(canceled)
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.
Dependencies are inferred from the claim text.