Shooting method, electronic equipment and computer readable medium

By using the audio of the previous video as accompaniment when shooting multiple videos, and adjusting parameters to synthesize the target video according to the layout, the problem of unsatisfactory video interaction synthesis in the prior art is solved, and a more efficient video synthesis effect is achieved.

CN119603548APending Publication Date: 2025-03-11ZTE CORP
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202311159816.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-08
Publication Date
2025-03-11

AI Technical Summary

Technical Problem

The prior art is difficult to effectively synthesize videos of different times and spaces interactively, and the video synthesis effect is not ideal.

Method used

When shooting multiple videos, the audio from the previous video is used as accompaniment to shoot videos one by one, and after completing the shooting, the target video is synthesized according to the layout.

Benefits of technology

It improves the video synthesis effect, solves the problems of lack of video editing technology and troublesome multi-file synthesis management, and is suitable for recording scenes such as instrumental performance and singing and playing practice videos.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119603548A_ABST
    Figure CN119603548A_ABST
Patent Text Reader

Abstract

The invention provides a shooting method, electronic equipment and a computer readable medium, and the shooting method comprises the steps: reading and playing a basic accompaniment audio under the condition that a shooting starting instruction is received, and shooting a first video; separating the first segment of video to obtain a corresponding video picture and a corresponding audio; under the condition that an instruction of continuing to shoot is received, playing the audio of the ith segment of video, and shooting the (i + 1) th segment of video; separating from the (i + 1) th segment of video to obtain a corresponding video picture and a corresponding audio; wherein i is any integer larger than or equal to 1 and smaller than N, and N is the segment number of the video needing to be shot; under the condition that an instruction of finishing shooting is received, displaying video pictures from the first video segment to the Nth video segment on a display screen, and receiving layout adjustment parameters; and according to the layout adjustment parameter, storing the video picture in the first video segment to the video picture in the Nth video segment and the audio of the Nth video segment as a target video.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of audio and video processing technology, and in particular to a shooting method, an electronic device, and a computer-readable medium. Background Art

[0002] Currently, when using a camera to shoot videos, it is difficult to interact with videos shot in the last second or before at different times without video editing software. Even if video editing software is used to synthesize videos that require beats and melodies, the effect is not ideal. Summary of the invention

[0003] Embodiments of the present application provide a photographing method, an electronic device, and a computer-readable medium.

[0004] In a first aspect, an embodiment of the present application provides a shooting method, comprising: upon receiving an instruction to start shooting, reading and playing basic accompaniment audio, and shooting a first video segment; separating the video screen of the first video segment and the audio of the first video segment from the first video segment; upon receiving an instruction to continue shooting, playing the audio of the i-th video segment and shooting the i+1-th video segment; separating the video screen of the i+1-th video segment and the audio of the i+1-th video segment from the i+1-th video segment; wherein i is any integer greater than or equal to 1 and less than N, and N is the number of videos to be shot; upon receiving an instruction to complete shooting, displaying the video screens from the first video segment to the N-th video segment on a display screen, and receiving layout adjustment parameters for the N displayed video screens on the display screen; and saving the video screens from the first video segment to the N-th video segment, and the audio of the N-th video segment as a target video according to the layout adjustment parameters.

[0005] In a second aspect, an embodiment of the present application provides an electronic device, comprising: at least one processor; a memory, wherein at least one program is stored in the memory, and when the at least one program is executed by the at least one processor, any one of the above-mentioned shooting methods is implemented.

[0006] In a third aspect, an embodiment of the present application provides a computer-readable medium, on which a computer program is stored, and when the computer program is executed by a processor, any one of the above-mentioned shooting methods is implemented.

[0007] The shooting method provided in the embodiment of the present application shoots N videos, and when shooting the i+1th video, plays the audio in the i-th video as accompaniment, and finally synthesizes the shot N videos and the audio in the N-th video into a target video. This solves the problems of users' lack of video editing technology and troublesome management of multi-file synthesis, improves the video synthesis effect, and can be applied to scenarios of synthesizing multiple videos such as recording musical instrument performances and singing and performance practice videos. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] Figure 1 A schematic diagram of a process flow of a photographing method provided by an embodiment of the present application;

[0009] FIG. 2( a ) is a schematic diagram of an initial page in an embodiment of the present application;

[0010] FIG2( b ) is a schematic diagram of a setting page in an embodiment of the present application;

[0011] FIG2( c ) is a schematic diagram of a photographing page in an embodiment of the present application;

[0012] FIG2( d ) is a schematic diagram of a countdown in a shooting page in an embodiment of the present application;

[0013] FIG. 2( e ) is a schematic diagram of a countdown process for ending a performance video in an embodiment of the present application;

[0014] FIG2( f ) is a schematic diagram of a display page after shooting and playing a performance video in an embodiment of the present application;

[0015] FIG2( g) is a schematic diagram of a preview interface in an embodiment of the present application;

[0016] FIG2(h) is a schematic diagram of deleting the second performance video in an embodiment of the present application;

[0017] FIG2(i) is a schematic diagram of a grid layout in an embodiment of the present application;

[0018] FIG2(j) is a schematic diagram of a vertical layout in an embodiment of the present application;

[0019] FIG2( k ) is a schematic diagram of a custom layout in an embodiment of the present application;

[0020] Figure 3 A schematic block diagram of the composition of an electronic device provided in accordance with another embodiment of the present application. DETAILED DESCRIPTION

[0021] In order to enable those skilled in the art to better understand the technical solution of the present application, the shooting method, electronic device, and computer-readable medium provided by the present application are described in detail below in conjunction with the accompanying drawings.

[0022] Example embodiments will be described more fully below with reference to the accompanying drawings, but the example embodiments may be embodied in different forms and should not be construed as limited to the embodiments set forth herein. On the contrary, the purpose of providing these embodiments is to make this application thorough and complete and to enable those skilled in the art to fully understand the scope of this application.

[0023] In the absence of conflict, the embodiments of the present application and the features therein may be combined with each other.

[0024] As used herein, the term "and / or" includes any and all combinations of at least one of the associated listed items.

[0025] The terms used herein are only used to describe specific embodiments and are not intended to limit the present application. As used herein, the singular forms "a", "an" and "the" are also intended to include the plural forms, unless the context clearly indicates otherwise. It will also be understood that when the terms "comprising" and / or "made of" are used in this specification, the presence of the features, wholes, steps, operations, elements and / or components is specified, but the presence or addition of at least one other feature, whole, step, operation, element, component and / or its group is not excluded.

[0026] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and this application, and will not be interpreted as having an idealized or overly formal meaning unless explicitly defined herein.

[0027] Figure 1 A flowchart of a shooting method provided by one embodiment of the present application.

[0028] First, refer to Figure 1 An embodiment of the present application provides a shooting method, including:

[0029] Step 100, when receiving an instruction to start shooting, read and play the basic accompaniment audio, shoot the first video segment; separate the video image of the first video segment and the audio of the first video segment from the first video segment.

[0030] In some exemplary embodiments, before receiving an instruction to start shooting, the method further includes: in the case of receiving an instruction to shoot a composite video, displaying at least one control for obtaining basic accompaniment audio; receiving a selection instruction for the control for obtaining basic accompaniment audio, and in the case that the control for obtaining basic accompaniment audio corresponding to the selection instruction is to shoot through a camera, opening the camera to shoot the basic video; separating the audio in the basic video from the basic video, and using the audio in the basic video as the basic accompaniment audio. As shown in Figure 2(a), the user can enter the shooting page of the basic video by clicking the "camera" control.

[0031] In some exemplary embodiments, before receiving an instruction to start shooting, the method further includes: in the case of receiving an instruction to shoot a composite video, displaying at least one control for obtaining basic accompaniment audio; receiving a selection instruction for the control for obtaining basic accompaniment audio, and in the case that the control for obtaining basic accompaniment audio corresponding to the selection instruction is to obtain from an album, selecting a video from an album; separating the audio in the selected video from the selected video, and using the audio in the selected video as the basic accompaniment audio. As shown in FIG2(a), the user can enter the album page by clicking the "Open Album" control.

[0032] In some exemplary embodiments, before receiving an instruction to start shooting, the method further includes: in the case of receiving an instruction to shoot a composite video, displaying at least one control for obtaining basic accompaniment audio; receiving a selection instruction for the control for obtaining basic accompaniment audio, and in the case that the control for obtaining basic accompaniment audio corresponding to the selection instruction is to obtain from an audio list, opening an audio list of a preset path, and using the selected audio file as the basic accompaniment audio. As shown in FIG2(a), the user can enter the display page of the audio list by clicking the "Open Audio List" control.

[0033] In some exemplary embodiments, when the basic accompaniment audio is played, it may be played in a loop or not.

[0034] In some exemplary embodiments, the purpose of shooting the first video while playing the basic accompaniment audio is to shoot the first video using the basic accompaniment audio as accompaniment.

[0035] In some exemplary embodiments, when the basic accompaniment audio is played in a loop, the duration of the first video segment can be manually controlled by the user or can be preset.

[0036] In some exemplary embodiments, when the basic accompaniment audio is not played in a loop, the duration of the first video segment is the same as the duration of the basic accompaniment audio. In this case, when the basic accompaniment audio ends, the shooting of the first video segment is automatically ended.

[0037] In some exemplary embodiments, the time interval between the moment when the basic accompaniment audio starts to be played and the moment when the first video starts to be captured is less than or equal to a preset time interval.

[0038] In some exemplary embodiments, in manual mode, when an instruction to enter a shooting page is received, the shooting page is entered; when an instruction to start shooting is received, the basic accompaniment audio is started to play and the shooting of the first video is started; when an instruction to stop shooting is received or the basic accompaniment audio ends, the shooting of the first video is ended, and the video picture of the first video and the audio of the first video are separated from the first video.

[0039] In some exemplary embodiments, as shown in FIG. 2(a), the user can enter the setting page by clicking the asterisk. The setting page is shown in FIG. 2(b). The user can set whether to use the manual mode or the automatic mode in the setting page. If the automatic recording as shown in FIG. 2(b) is selected, the automatic mode is used; if the manual recording is selected (not shown in FIG. 2(b)), the manual mode is used.

[0040] In some exemplary embodiments, the user may input an instruction to enter a shooting page by clicking a “+” sign on a currently displayed page, as shown in FIG. 2( a ).

[0041] In some exemplary embodiments, the user may input an instruction to start shooting by clicking a start button on the shooting page, and the user may input an instruction to end shooting by clicking an end button on the shooting page, as shown in FIG. 2( c ).

[0042] In some exemplary embodiments, when an instruction to start filming is received, a countdown is started, and after the countdown ends, the basic accompaniment audio starts to play and the filming of the first video segment begins.

[0043] In some exemplary embodiments, in automatic mode, when an instruction to enter the shooting page is received, the shooting page is entered and a countdown is performed, as shown in FIG2(d). When the countdown ends, the basic accompaniment audio starts playing and the shooting of the first video begins. When the basic accompaniment audio ends playing or an instruction to stop shooting is received, the shooting of the first video ends.

[0044] In some exemplary embodiments, a countdown may be performed before the basic accompaniment audio ends playing, and the shooting of the first video segment ends when the countdown ends.

[0045] In some exemplary embodiments, when the shooting of the first video segment is finished, a countdown is performed, as shown in FIG. 2( e ), and after the countdown is finished, the second video segment is shot.

[0046] In some exemplary embodiments, the length of the countdown time can be preset.

[0047] In some exemplary embodiments, other special effects may be added during the countdown process, such as at least one of the sounds of drum cymbals and an animation of a countdown digital image extending from a center point to the surrounding areas.

[0048] In some exemplary embodiments, during the countdown process for ending the shooting of the first video, a retake button and a finish button are displayed at the bottom of the shooting screen, as shown in FIG2(e). If it is necessary to reshoot the first video, the user can input a retake instruction by clicking the retake button; if it is not necessary to reshoot the first video, the user can input a shooting completion instruction by clicking the finish button.

[0049] In some exemplary embodiments, when a reshoot instruction is received, the video image in the first video segment and the audio in the first video segment separated from the first video segment are deleted, and the steps of reading and playing the basic accompaniment audio and shooting the first video segment are re-executed.

[0050] In some exemplary embodiments, upon receiving a shooting completion instruction, the video images in the first video segment and the audio in the first video segment separated from the first video segment are saved.

[0051] Step 101, upon receiving an instruction to continue shooting, play the audio of the i-th video and shoot the i+1-th video; separate the video image of the i+1-th video and the audio of the i+1-th video from the i+1-th video; wherein i is any integer greater than or equal to 1 and less than N, and N is the number of video segments to be shot.

[0052] In some exemplary embodiments, when the audio in the i-th video is played, it is not played in a loop.

[0053] In some exemplary embodiments, the purpose of shooting the (i+1)th video while playing the audio in the (i)th video is to shoot the (i+1)th video using the audio in the (i)th video as an accompaniment.

[0054] In some exemplary embodiments, the duration of the (i+1)th video segment is the same as the duration of the i-th video segment.

[0055] In some exemplary embodiments, the time interval between the moment of starting to play the audio in the i-th video and the moment of starting to shoot the (i+1)-th video is less than or equal to a preset time interval.

[0056] In some exemplary embodiments, in manual mode, after the shooting of the i-th video is completed, the display page as shown in Figure 2(f) is returned. When the user clicks the Save button, the i-th video is generated and a box with the number i is displayed, as shown in Figure 2(f). The box with the number 1 in Figure 2(f) represents the first video, and the box with the number 2 in Figure 2(f) represents the second video; the video image in the i-th video and the audio in the i-th video are separated from the i-th video, and the video image in the i-th video and the audio in the i-th video are saved; when an instruction to enter the shooting page is received, the shooting page is entered; when an instruction to continue shooting is received, the audio in the i-th video starts to play and the shooting of the i+1th video starts; when an instruction to stop shooting is received or the audio playback in the i-th video ends, the shooting of the i+1th video is ended, and the video image of the i+1th video and the audio of the i+1th video are separated from the i+1th video.

[0057] In some exemplary embodiments, the user may input an instruction to enter the shooting page by clicking the “+” sign on the currently displayed page, as shown in FIG. 2( f ).

[0058] In some exemplary embodiments, the user can input an instruction to continue shooting by clicking a start button on the shooting page, and the user can input an instruction to stop shooting by clicking an end button on the shooting page, as shown in FIG. 2( c ).

[0059] In some exemplary embodiments, when an instruction to continue shooting is received, a countdown is started, and after the countdown ends, the audio in the i-th video starts to be played and the shooting of the i+1-th video starts.

[0060] In some exemplary embodiments, the user can preview the first video by clicking the box with number 1 in FIG. 2(f) to enter the preview interface as shown in FIG. 2(g), and the user can preview the second video by clicking the box with number 2 in FIG. 2(f) to enter the preview interface as shown in FIG. 2(g).

[0061] In some exemplary embodiments, the user can delete the second video by long pressing the box with number 2 in FIG. 2(f). As shown in FIG. 2(h), after the user long presses the box with number 2 in FIG. 2(f), an “×” will appear in the upper right corner of the box with number 2, and the user can delete the second video by clicking the “×”.

[0062] In some exemplary embodiments, in automatic mode, after the shooting of the i-th video is completed, the display page as shown in Figure 2(f) is returned. When the user clicks the Save button, the i-th video is generated, as shown in Figure 2(f). The box with number 1 in Figure 2(f) represents the first video, and the box with number 2 in Figure 2(f) represents the second video. The video image in the i-th video and the audio in the i-th video are separated from the i-th video, and the video image in the i-th video and the audio in the i-th video are saved. When an instruction to enter the shooting page is received, the shooting page is entered and a countdown is performed. For example, for the i+1 video, when the audio playback in the i-th performance video ends or an instruction to stop shooting is received, the shooting of the i+1 video is ended.

[0063] In some exemplary embodiments, a countdown may be performed before the end of the audio playback in the i-th video segment, and the shooting of the (i+1)-th video segment is terminated when the countdown ends.

[0064] In some exemplary embodiments, when the shooting of the i+1th video segment is finished, a countdown is performed, as shown in FIG2(e), and after the countdown is finished, the i+2th video segment is shot.

[0065] In some exemplary embodiments, the length of the countdown time can be preset.

[0066] In some exemplary embodiments, other special effects may be added during the countdown process, such as at least one of the sounds of drum cymbals and an animation of a countdown digital image extending from a center point to the surrounding areas.

[0067] In some exemplary embodiments, during the countdown process when the shooting of the i+1th video is completed, a retake button and a finish button are displayed at the bottom of the shooting screen, as shown in FIG2(e). If it is necessary to reshoot the i+1th video, the user can input a retake instruction by clicking the retake button. If it is not necessary to reshoot the i+1th video, the user can input a shooting completion instruction by clicking the finish button.

[0068] In some exemplary embodiments, when a reshoot instruction is received, the video frame in the i+1th video and the audio in the i+1th video separated from the i+1th video are deleted, and the step of shooting the i+1th video while playing the audio in the i-th video is re-executed.

[0069] In some exemplary embodiments, upon receiving a shooting completion instruction, the video images in the i+1th video segment and the audio in the i+1th video segment separated from the i+1th video segment are saved.

[0070] Step 102, when receiving an instruction to complete shooting, display the video pictures in the first video segment to the Nth video segment on the display screen, receive layout adjustment parameters for the N video pictures displayed on the display screen; save the video pictures in the first video segment to the Nth video segment and the audio of the Nth video segment as the target video according to the layout adjustment parameters.

[0071] In some exemplary embodiments, saving the video screen in the 1st video to the video screen in the Nth video, and the audio of the Nth video as the target video according to the layout adjustment parameters includes: saving the video screen corresponding to the basic accompaniment audio, the video screen in the 1st video to the video screen in the Nth video, and the audio in the Nth video as the target video according to the layout adjustment parameters.

[0072] In some exemplary embodiments, the video picture corresponding to the basic accompaniment audio may be separated from the basic performance video.

[0073] In some exemplary embodiments, the video frame corresponding to the basic accompaniment audio may be separated from the selected video.

[0074] In some exemplary embodiments, the duration of the target video is the minimum duration of the first performance video to the Nth performance video.

[0075] In some exemplary embodiments, the first to Nth videos are performance videos of N different musical instruments; or performance videos and singing videos of N-1 different musical instruments.

[0076] In some exemplary embodiments, the first video to the Nth video are performance videos of N different scenes; or they are performance videos and singing videos of N-1 different scenes.

[0077] In some exemplary embodiments, when synthesizing the target video, the video frames in the first video segment to the video frames in the Nth video segment can be laid out in any one of grid layout, vertical layout, custom layout, etc., and the above-mentioned layout adjustment parameters are the layout adjustment parameters corresponding to the layout method.

[0078] In some exemplary embodiments, when synthesizing the target video, the video pictures corresponding to the basic accompaniment audio, the video pictures in the first video segment to the video pictures in the Nth video segment can be laid out in any one of grid layout, vertical layout, custom layout, etc., and the above-mentioned layout adjustment parameters are the layout adjustment parameters corresponding to the layout method.

[0079] In some exemplary embodiments, the layout mode may be set in advance in a setting page as shown in FIG. 2( b ).

[0080] In some exemplary embodiments, the grid layout is neatly arranged in two columns to facilitate playback comparison between two adjacent video frames, as shown in FIG. 2( i ).

[0081] In some exemplary embodiments, the vertical layout is arranged from top to bottom, as shown in Figure 2(j). The width of the video playback area in the vertical layout is larger than that in the grid layout, and the video content is presented more completely. The composite width is based on the width of the video playback area, and the composite height is the height of the video playback area divided by the number of videos.

[0082] In some exemplary embodiments, the custom layout is not limited to the video playback area. As shown in FIG. 2( k ), the user can manually drag the video to change the position of the video, or press and hold the border of the video to expand or contract the size of the playing video. The videos can overlap in the top, middle, and bottom layers, and the lower layer of the video will be covered by the upper layer of the video.

[0083] In some exemplary embodiments, according to the layout adjustment parameters, the video screen in the 1st video segment to the video screen in the Nth video segment, and the audio in the Nth performance video are synthesized into a target video, including: respectively decoding the video screen in the 1st video segment to the video screen in the Nth video segment to obtain corresponding YUV format data, scaling each frame of data in the YUV format data according to the layout adjustment parameters and drawing them into the corresponding video playback area according to the set layout to obtain a first synthesized video screen; decoding the audio in the Nth video segment, and mixing and aligning the first synthesized video screen and the decoded audio to obtain the target video.

[0084] In some exemplary embodiments, according to the layout adjustment parameters, the video screen corresponding to the basic accompaniment audio, the video screen in the first video segment to the video screen in the Nth video segment, and the audio in the Nth video segment are synthesized into a target video, including: respectively decoding the video screen corresponding to the basic accompaniment audio, the video screen in the first video segment to the video screen in the Nth video segment to obtain corresponding YUV format data, scaling each frame of data in the YUV format data according to the layout adjustment parameters and drawing them into the corresponding video playback area according to the set layout to obtain a second synthesized video screen; decoding the audio in the Nth video segment, and mixing and aligning the second synthesized video screen and the decoded audio to obtain the target video.

[0085] For example, if a user wants to shoot a multi-perspective video of himself playing drums, playing the piano, and singing, he can use the shooting method of the embodiment of the present application. First, use a camera to shoot the drum performance video to obtain VideoA1, and then separate the video image VideoA2 and audio AudioA from the drum performance video VideoA1.

[0086] When playing the audio AudioA in the drum performance video VideoA1 as an accompaniment, the piano performance video is filmed to obtain VideoB1, and the video screen VideoB2 and the audio AudioB are separated from the piano performance video VideoB1. Here, the audio AudioB contains the sound of the drum performance and the sound of the piano performance.

[0087] When playing the audio AudioB in the piano playing video VideoB1 as an accompaniment, the singing video VideoC1 is shot, and the video picture VideoC2 and the audio AudioC are separated from the singing video VideoC1. Here, the audio AudioC contains the sound of drum playing, the sound of piano playing and the sound of singing.

[0088] Finally, the video screen VideoA2, the video screen VideoB2, the video screen VideoC2 and the audio AudioC are synthesized into a multi-perspective performance video including the user playing drums, playing the piano and singing.

[0089] The shooting method provided in the embodiment of the present application shoots N videos, and when shooting the i+1th video, plays the audio in the i-th video as accompaniment, and finally synthesizes the shot N videos and the audio in the N-th video into a target video. This solves the problems of users' lack of video editing technology and troublesome management of multi-file synthesis, improves the video synthesis effect, and can be applied to scenarios of synthesizing multiple videos such as recording musical instrument performances and singing and performance practice videos.

[0090] Second, refer to Figure 3 Another embodiment of the present application provides an electronic device, including: at least one processor 301; a memory 302, wherein at least one program is stored in the memory 302, and when the at least one program is executed by the at least one processor 301, any one of the above-mentioned shooting methods is implemented.

[0091] In some exemplary embodiments, the electronic device further includes: one or more I / O interfaces 303 connected between the processor 301 and the memory 302 , and configured to implement information interaction between the processor 301 and the memory 302 .

[0092] Among them, the processor 301 is a device with data processing capabilities, including but not limited to a central processing unit (CPU), etc.; the memory 302 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH); the I / O interface (read-write interface) 303 is connected between the processor 301 and the memory 302, and can realize information interaction between the processor 301 and the memory 302, including but not limited to a data bus (Bus), etc.

[0093] In some embodiments, the processor 301 , the memory 302 , and the I / O interface 303 are connected to each other via a bus 304 , and further connected to other components of the computing device.

[0094] In a third aspect, another embodiment of the present application provides a computer-readable medium, on which a computer program is stored, and when the computer program is executed by a processor, any one of the above-mentioned shooting methods is implemented.

[0095] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0096] Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted only in a general illustrative sense and not for limiting purposes. In some instances, it will be apparent to those skilled in the art that, unless otherwise expressly noted, features, characteristics, and / or elements described in conjunction with a particular embodiment may be used alone or in combination with features, characteristics, and / or elements described in conjunction with other embodiments. Therefore, those skilled in the art will appreciate that various changes in form and detail may be made without departing from the scope of the present application as set forth in the appended claims.

Claims

1. A shooting method, comprising: When receiving the command to start shooting, the basic accompaniment audio is read and played, and the first video is shot; Separating the video image of the first video segment and the audio of the first video segment from the first video segment; When receiving an instruction to continue shooting, play the audio of the i-th video segment and shoot the i+1-th video segment; separate the video image of the i+1-th video segment and the audio of the i+1-th video segment from the i+1-th video segment; wherein i is any integer greater than or equal to 1 and less than N, and N is the number of video segments to be shot; When receiving an instruction to complete shooting, the video screens in the first video segment to the Nth video segment are displayed on a display screen, and layout adjustment parameters for the N video screens displayed on the display screen are received; and according to the layout adjustment parameters, the video screens in the first video segment to the Nth video segment and the audio of the Nth video segment are saved as target videos.

2. The shooting method according to claim 1, wherein: Before receiving the instruction to start shooting, the method further includes: In case of receiving an instruction to shoot a composite video, displaying at least one control for obtaining basic accompaniment audio; Receiving a selection instruction for the control for obtaining the basic accompaniment audio, and in the case that the control for obtaining the basic accompaniment audio corresponding to the selection instruction is to shoot by camera, opening the camera to shoot the basic video; The audio in the basic video is separated from the basic video, and the audio in the basic video is used as the basic accompaniment audio.

3. The shooting method according to claim 1, wherein: Before receiving the instruction to start shooting, the method further includes: In case of receiving an instruction to shoot a composite video, displaying at least one control for obtaining basic accompaniment audio; Receiving a selection instruction for the control for obtaining the basic accompaniment audio, and in the case that the control for obtaining the basic accompaniment audio corresponding to the selection instruction is to obtain from an album, selecting a video from the album; The audio in the selected video is separated from the selected video, and the audio in the selected video is used as the basic accompaniment audio.

4. The shooting method according to claim 1, wherein: Before receiving the instruction to start shooting, the method further includes: In case of receiving an instruction to shoot a composite video, displaying at least one control for obtaining basic accompaniment audio; Receive a selection instruction for the control for obtaining the basic accompaniment audio, and when the control for obtaining the basic accompaniment audio corresponding to the selection instruction is to obtain from an audio list, open the audio list of a preset path and use the selected audio file as the basic accompaniment audio.

5. The shooting method according to any one of claims 1 to 3, wherein: The step of adjusting the layout parameters according to which the video screen in the first video segment is moved to the video screen in the Nth video segment, and the audio of the Nth video segment is saved as the target video includes: According to the layout adjustment parameters, the video screen corresponding to the basic accompaniment audio, the video screen in the first video segment to the video screen in the Nth video segment, and the audio in the Nth video segment are saved as the target video.

6. The shooting method according to any one of claims 1 to 4, wherein: The duration of the target video is the minimum value of the durations of the first video to the Nth video.

7. The shooting method according to any one of claims 1 to 4, wherein: Upon receiving an instruction to stop filming or when the basic accompaniment audio playback ends, executing the step of separating the video image of the first video segment and the audio of the first video segment from the first video segment; When an instruction to stop shooting is received or the audio playback in the i-th video ends, the step of separating the video image of the i+1-th video and the audio of the i+1-th video from the i+1-th video is performed.

8. The shooting method according to any one of claims 1 to 4, wherein: When receiving the instruction to start shooting, entering the countdown, after the countdown ends, executing the steps of reading and playing the basic accompaniment audio and shooting the first video; Alternatively, when an instruction to continue filming is received, a countdown is entered, and after the countdown ends, the steps of playing the audio of the i-th video and filming the (i+1)-th video are performed.

9. An electronic device, comprising: at least one processor; A memory, wherein at least one program is stored in the memory, and when the at least one program is executed by the at least one processor, the shooting method according to any one of claims 1 to 8 is implemented.

10. A computer-readable medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the shooting method according to any one of claims 1 to 8.

Citation Information

Cited By

  • Photography method, electronic device, and computer-readable medium

    EP4583524A1