Photography method, electronic device, and computer-readable medium

By using the audio of the previous video as accompaniment when shooting multiple videos, combined with the shooting method and the implementation of electronic devices, the problem of unsatisfactory video interaction and synthesis effects in the prior art is solved, and a more efficient video synthesis effect is achieved.

WO2025050963A1PCT designated stage expired Publication Date: 2025-03-13ZTE CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/112708
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-09-08
Filing Date
2024-08-16
Publication Date
2025-03-13

AI Technical Summary

Technical Problem

The prior art is difficult to effectively interact and synthesize videos of different spatial times, especially in the absence of video editing software, and the effect of synthesis using video editing software is not ideal.

Method used

A shooting method is provided, by reading and playing basic accompaniment audio when receiving the startup shooting command, shooting video, and when receiving the continuing shooting command, using the audio of the previous video as the accompaniment, shooting the next video, and finally synthesize the multiple videos and audio into the target video.

Benefits of technology

It realizes effective interaction and synthesis of multiple videos, improves the video synthesis effect, and solves the problems of lack of video editing technology and troublesome multi-file synthesis management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024112708_13032025_PF_FP_ABST
    Figure CN2024112708_13032025_PF_FP_ABST
Patent Text Reader

Abstract

The present application provides a photography method, an electronic device, and a computer-readable medium. The photography method comprises: when an instruction of starting photography is received, reading and playing basic accompaniment audio and filming a first video; separating the first video to obtain corresponding video pictures and corresponding audio; when an instruction of continuing the photography is received, playing audio of an i-th video and filming an (i+1)-th video; separating the (i+1)-th video to obtain corresponding video pictures and corresponding audio, wherein i is any integer greater than or equal to 1 and less than N, and N is the number of videos to be filmed; when an instruction of completing the photography is received, displaying the video pictures in the first video to video pictures of an N-th video on a display screen and receiving layout adjustment parameters; and on the basis of the layout adjustment parameters, saving the video pictures in the first video to the video pictures in the N-th video, and audio of the N-th video as a target video.
Need to check novelty before this filing date? Find Prior Art

Description

Shooting method, electronic device, and computer-readable medium

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to Chinese patent application No. 202311159816.4 filed with the China Patent Office on September 8, 2023, the entire contents of which are incorporated herein by reference. Technical Field

[0003] The embodiments of the present application relate to, but are not limited to, the field of audio and video processing technology. Background Art

[0004] Currently, when shooting videos with a camera, without video editing software, it is difficult to make videos shot in the previous second or at different times interact. Even if video editing software is used to synthesize videos with a certain rhythm, the effect is still not ideal.

[0005] Summary of the Invention

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

[0007] 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; separating the video image of the first video and the audio of the first video from the first video; upon receiving an instruction to continue shooting, playing the audio of the i-th video, and shooting an i+1-th video; 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; 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 images in the first video to the N-th video on a display screen, receiving layout adjustment parameters for the N displayed video images on the display screen; and saving the video images in the first video to the N-th video, and the audio of the N-th video as a target video according to the layout adjustment parameters.

[0008] 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 shooting methods described herein is implemented.

[0009] In a third aspect, an embodiment of the present application provides a computer-readable medium having a computer program stored thereon, and when the computer program is executed by a processor, any one of the shooting methods described herein is implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] FIG1 is a schematic diagram of a process of a photographing method provided by one embodiment of the present application;

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

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

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

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

[0015] FIG2( e ) is a schematic diagram of the countdown process for ending a performance video in an embodiment of the present application;

[0016] FIG2( f ) is a schematic diagram of a display page after a performance video is shot in an embodiment of the present application;

[0017] Figure 2(g) is a schematic diagram of the preview interface in an embodiment of the present application;

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

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

[0020] Figure 2(j) is a schematic diagram of a vertical layout in an embodiment of the present application;

[0021] Figure 2(k) is a schematic diagram of a custom layout in an embodiment of the present application;

[0022] FIG3 is a schematic block diagram of the composition of an electronic device provided in another embodiment of the present application. DETAILED DESCRIPTION

[0023] 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 in the present application are described in detail below with reference to the accompanying drawings.

[0024] Example embodiments will be described more fully hereinafter 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. Rather, these embodiments are provided so that this application will be thorough and complete and will fully convey the scope of this application to those skilled in the art.

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

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

[0027] The terms used herein are used only to describe specific embodiments and are not intended to limit this 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 group thereof is not excluded.

[0028] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one 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 expressly defined as such herein.

[0029] FIG1 is a flow chart of a shooting method provided by one embodiment of the present application.

[0030] In a first aspect, referring to FIG. 1 , an embodiment of the present application provides a photographing method, which may include steps 100 to 102 .

[0031] In step 100, when an instruction to start shooting is received, the basic accompaniment audio is read and played, and the first video segment is shot; the video image of the first video segment and the audio of the first video segment are separated from the first video segment.

[0032] In some exemplary embodiments, before receiving an instruction to initiate filming, the method further includes: upon receiving an instruction to film a composite video, displaying at least one control for obtaining basic accompaniment audio; receiving an instruction to select the control for obtaining basic accompaniment audio, and if the control corresponding to the selection instruction for obtaining basic accompaniment audio is to film with a camera, activating the camera to film the basic video; and separating the audio in the basic video from the basic video, using the audio in the basic video as the basic accompaniment audio. As shown in Figure 2(a), a user can enter the filming page for the basic video by clicking the "Camera" control.

[0033] In some exemplary embodiments, before receiving an instruction to initiate filming, the method further includes: upon receiving an instruction to film a composite video, displaying at least one control for obtaining basic accompaniment audio; receiving an instruction to select the control for obtaining basic accompaniment audio, and if the control corresponding to the selection instruction for obtaining basic accompaniment audio is to obtain from an album, selecting a video from an album; and separating the audio from the selected video, and using the audio from the selected video as the basic accompaniment audio. As shown in Figure 2(a), the user can enter the album page by clicking the "Open Album" control.

[0034] In some exemplary embodiments, before receiving an instruction to initiate filming, the method further includes: upon receiving an instruction to film a composite video, displaying at least one control for obtaining basic accompaniment audio; receiving an instruction to select the control for obtaining basic accompaniment audio, and if the control corresponding to the selection instruction for obtaining basic accompaniment audio is to obtain from an audio list, opening an audio list in a preset path and selecting the selected audio file as the basic accompaniment audio. As shown in Figure 2(a), the user can enter the audio list display page by clicking the "Open Audio List" control.

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

[0036] 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.

[0037] 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.

[0038] 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.

[0039] 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.

[0040] In some exemplary embodiments, in manual mode, when an instruction to enter the 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 playing, 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.

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

[0042] 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( a ).

[0043] 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 FIG2( c ).

[0044] In some exemplary embodiments, when an instruction to start shooting is received, a countdown is started, and after the countdown ends, the basic accompaniment audio starts to play and the first video starts to be shot.

[0045] 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.

[0046] 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.

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

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

[0049] 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 expanding and contracting from a center point to the surrounding areas.

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

[0051] In some exemplary embodiments, upon receiving a reshoot instruction, 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.

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

[0053] In step 101, when an instruction to continue shooting is received, the audio of the i-th video is played and the i+1-th video is shot; the video image of the i+1-th video and the audio of the i+1-th video are separated 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.

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

[0055] 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.

[0056] 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.

[0057] In some exemplary embodiments, the time interval between the moment when the audio in the i-th video starts to be played and the moment when the (i+1)-th video starts to be captured is less than or equal to a preset time interval.

[0058] 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 is started to play and the shooting of the i+1-th video is started; when an instruction to stop shooting is received or the audio playback of the i-th video is finished, the shooting of the i+1-th video is ended, and the video image of the i+1-th video and the audio of the i+1-th video are separated from the i+1-th video.

[0059] 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 FIG2( f ).

[0060] 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 FIG2( c ).

[0061] 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.

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

[0063] In some exemplary embodiments, the user can delete the second video by long pressing the box with number 2 in Figure 2(f). As shown in Figure 2(h), after the user long presses the box with number 2 in Figure 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 "×".

[0064] 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, the shooting of the i+1 video is ended when the audio playback in the i-th performance video ends or an instruction to stop shooting is received.

[0065] 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.

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

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

[0068] 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 expanding and contracting from a center point to the surrounding areas.

[0069] 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 Figure 2(e). If it is necessary to reshoot the i+1th video, the user can input the retake instruction by clicking the retake button. If it is not necessary to reshoot the i+1th video, the user can input the shooting completion instruction by clicking the finish button.

[0070] In some exemplary embodiments, upon receiving a reshoot instruction, 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.

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

[0072] In step 102, when an instruction to complete shooting is received, the video screens in the first video segment to the Nth video segment are displayed on the display screen, and layout adjustment parameters for the N displayed video screens on the display screen are received; 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 the target video.

[0073] In some exemplary embodiments, adjusting the layout parameters according to which the video screen in the first video segment is converted to the video screen in the Nth video segment, and saving the audio of the Nth video segment as the target video includes: adjusting the layout parameters according to which the video screen corresponding to the basic accompaniment audio, the video screen in the first video segment is converted to the video screen in the Nth video segment, and saving the audio of the Nth video segment as the target video.

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

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

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

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

[0078] 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.

[0079] 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 a grid layout, a vertical layout, a custom layout, etc., and the above-mentioned layout adjustment parameters are the layout adjustment parameters corresponding to the layout method.

[0080] In some exemplary embodiments, when synthesizing the target video, the video frames corresponding to the basic accompaniment audio, 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.

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

[0082] 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 FIG2(i).

[0083] 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.

[0084] In some exemplary embodiments, the custom layout is not limited to the video playback area. As shown in Figure 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 performance 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.

[0085] In some exemplary embodiments, synthesizing a target video from 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 according to the layout adjustment parameters includes: 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 the YUV format data according to the layout adjustment parameters and drawing it 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.

[0086] 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.

[0087] 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.

[0088] While playing the audio AudioA in the drumming video VideoA1 as accompaniment, a piano playing video is filmed to obtain VideoB1, and the piano playing video VideoB1 is separated into a video image VideoB2 and an audio AudioB. Here, the audio AudioB contains the sounds of the drumming and the piano.

[0089] While playing the audio AudioB in the piano performance video VideoB1 as an accompaniment, a singing video is filmed to obtain VideoC1, and the video image VideoC2 and the audio AudioC are separated from the singing video VideoC1. Here, the audio AudioC contains the sounds of drumming, piano playing, and singing.

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

[0091] 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 N shot videos and the audio in the Nth video into a target video. This solves the problems of users' lack of video editing technology and the troublesome management of multi-file synthesis, improves the video synthesis effect, and can be applied to scenarios of multi-video synthesis such as recording instrument performances and singing performance practice videos.

[0092] In the second aspect, referring to Figure 3, another embodiment of the present application provides an electronic device, including: at least one processor 301; a memory 302, and at least one program is stored in the memory 302. 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.

[0093] 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 .

[0094] Among them, the processor 301 is a device with data processing capabilities, including but not limited to a central processing unit (CPU); 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), and 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.

[0095] 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.

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

[0097] 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 is well 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 includes, but is 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 tape, 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, as is well known to those skilled in the art, communication media typically embodies 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.

[0098] 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 purposes of limitation. In some instances, it will be apparent to those skilled in the art that, unless otherwise expressly indicated, 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, it will be understood by those skilled in the art 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

Patent Citations

  • Video synthesis method, apparatus, device and storage medium

    CN109068166A

  • Video resource synthesis method and device, storage medium and electronic device

    CN112188307A

  • Co-shooting video processing method and device

    CN114401368A

  • Video processing method and device, electronic equipment and storage medium

    CN115515006A

  • Systems and methods for picture-in-picture video conference functionality

    US20160065880A1