Movatterモバイル変換


[0]ホーム

URL:


CN111147779B - Video production method, electronic device, and medium - Google Patents

Video production method, electronic device, and medium
Download PDF

Info

Publication number
CN111147779B
CN111147779BCN201911414895.2ACN201911414895ACN111147779BCN 111147779 BCN111147779 BCN 111147779BCN 201911414895 ACN201911414895 ACN 201911414895ACN 111147779 BCN111147779 BCN 111147779B
Authority
CN
China
Prior art keywords
video
target
video content
input
shooting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911414895.2A
Other languages
Chinese (zh)
Other versions
CN111147779A (en
Inventor
罗子扬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xi'an Weiwo Software Technology Co ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co LtdfiledCriticalVivo Mobile Communication Co Ltd
Priority to CN201911414895.2ApriorityCriticalpatent/CN111147779B/en
Publication of CN111147779ApublicationCriticalpatent/CN111147779A/en
Application grantedgrantedCritical
Publication of CN111147779BpublicationCriticalpatent/CN111147779B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本发明实施例公开了一种视频制作方法、电子设备及介质。该方法包括:在控制第一目标镜头按照第一拍摄参数进行拍摄的过程中,控制至少一个第二目标镜头分别按照自身对应的第二拍摄参数进行拍摄;将第一目标镜头拍摄的第一视频内容和至少一个第二目标镜头分别拍摄的至少一个第二视频内容整合并保存为第一视频文件;对第一视频文件内包含的第一视频内容和至少一个第二视频内容中的至少一个进行剪辑,得到目标视频。利用本发明实施例能够解决视频制作复杂的问题。

Figure 201911414895

The embodiments of the present invention disclose a video production method, an electronic device and a medium. The method includes: in the process of controlling the first target lens to shoot according to the first shooting parameters, controlling at least one second target lens to shoot according to the second shooting parameter corresponding to itself; The content and at least one second video content captured by the at least one second target lens are integrated and saved as a first video file; at least one of the first video content and the at least one second video content contained in the first video file is performed. Clip to get the target video. By using the embodiments of the present invention, the problem of complex video production can be solved.

Figure 201911414895

Description

Translated fromChinese
视频制作方法、电子设备及介质Video production method, electronic device and medium

技术领域technical field

本发明实施例涉及视频处理技术领域,尤其涉及一种视频制作方法、电子设备及介质。Embodiments of the present invention relate to the technical field of video processing, and in particular, to a video production method, an electronic device, and a medium.

背景技术Background technique

目前,随着电子设备上的摄像技术的发展,人们已经逐步由使用照片记录生活走向使用视频记录生活。在一些难忘的生活场景中,人们会想使用录制视频来记录这些瞬间。慢动作、延时摄影、长焦等特效镜头为这些记录增添了更多趣味性,被人们应用的也越来越广泛。At present, with the development of camera technology on electronic devices, people have gradually shifted from using photos to record their lives to using videos to record their lives. In some unforgettable life scenes, people will want to use recorded video to record these moments. Special effects lenses such as slow motion, time-lapse photography, and telephoto add more interest to these recordings, and are more and more widely used by people.

在用户在通过电子设备进行视频制作的过程中,若想要把不同镜头拍摄的多个视频文件剪辑成一个流畅的视频,需要首先查找到各个视频文件,并将其分别剪辑后再进行整合,这个过程需要较为复杂的操作。In the process of video production through electronic devices, if users want to edit multiple video files shot by different lenses into a smooth video, they need to find each video file first, edit them separately, and then integrate them. This process requires more complex operations.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种视频制方法、电子设备及介质,以解决视频制作复杂的问题。Embodiments of the present invention provide a video production method, an electronic device, and a medium, so as to solve the problem of complex video production.

第一方面,本发明实施例提供了一种视频制作方法,应用于电子设备,包括:In a first aspect, an embodiment of the present invention provides a video production method, applied to an electronic device, including:

在控制第一目标镜头按照第一拍摄参数进行拍摄的过程中,控制至少一个第二目标镜头分别按照自身对应的第二拍摄参数进行拍摄;In the process of controlling the first target lens to shoot according to the first shooting parameters, at least one second target lens is controlled to shoot according to the second shooting parameters corresponding to itself;

将第一目标镜头拍摄的第一视频内容和至少一个第二目标镜头分别拍摄的至少一个第二视频内容整合并保存为第一视频文件;Integrating and saving the first video content captured by the first target lens and at least one second video content captured by the at least one second target lens as a first video file;

对第一视频文件内包含的第一视频内容和至少一个第二视频内容中的至少一个进行剪辑,得到目标视频。At least one of the first video content and the at least one second video content contained in the first video file is edited to obtain the target video.

第二方面,本发明实施例还提供了一种电子设备,包括:In a second aspect, an embodiment of the present invention further provides an electronic device, including:

拍摄模块,用于在控制第一目标镜头按照第一拍摄参数进行拍摄的过程中,控制至少一个第二目标镜头分别按照自身对应的第二拍摄参数进行拍摄;a shooting module, configured to control at least one second target lens to shoot according to its own corresponding second shooting parameters during the process of controlling the first target lens to shoot according to the first shooting parameters;

保存模块,用于将第一目标镜头拍摄的第一视频内容和至少一个第二目标镜头分别拍摄的至少一个第二视频内容整合并保存为第一视频文件;a saving module, configured to integrate and save the first video content captured by the first target lens and at least one second video content captured by the at least one second target lens as a first video file;

剪辑模块,用于对第一视频文件内包含的第一视频内容和至少一个第二视频内容中的至少一个进行剪辑,得到目标视频。The editing module is used for editing at least one of the first video content and the at least one second video content contained in the first video file to obtain a target video.

第三方面,本发明实施例提供了一种电子设备,包括处理器、存储器及存储在存储器上并可在处理器上运行的计算机程序,计算机程序被处理器执行时实现如第一方面的视频制作方法的步骤。In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored in the memory and running on the processor, the computer program being executed by the processor to implement the video of the first aspect The steps of the production method.

第四方面,本发明实施例提供了一种计算机可读存储介质,计算机可读存储介质上存储计算机程序,计算机程序被处理器执行时实现如第一方面的视频制作方法的步骤。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the video production method according to the first aspect are implemented.

在本发明实施例中,在用户选择的第一目标镜头的过程中,能够控制用户选择的至少一个第二目标镜头进行拍摄,并将第一目标镜头拍摄的第一视频内容和至少一个第二目标镜头分别拍摄的至少一个第二视频内容保存为同一个视频文件进行剪辑。由于本实施例将拍摄的多个视频保存为了同一个视频文件,使得在用户剪辑过程中,不需要去查找各个镜头的拍摄的视频文件,并且整个剪辑过程可以在该视频文件内完成,也不需要将多个视频文件进行整合的操作,降低了视频剪辑的复杂程度,简化了整个视频制作的过程。In the embodiment of the present invention, in the process of selecting the first target lens by the user, at least one second target lens selected by the user can be controlled to shoot, and the first video content captured by the first target lens and the at least one second target lens can be captured. At least one second video content shot by the target lens is saved as the same video file for editing. Since this embodiment saves the multiple videos shot into the same video file, in the process of editing, the user does not need to search for the video files shot by each shot, and the entire editing process can be completed in the video file, without The operation of integrating multiple video files reduces the complexity of video editing and simplifies the entire video production process.

附图说明Description of drawings

从下面结合附图对本发明的具体实施方式的描述中可以更好地理解本发明其中,相同或相似的附图标记表示相同或相似的特征。The present invention can be better understood from the following description of specific embodiments of the present invention in conjunction with the accompanying drawings, wherein the same or similar reference numerals denote the same or similar features.

图1为本发明实施例提供的一种视频制作方法的流程示意图;1 is a schematic flowchart of a video production method according to an embodiment of the present invention;

图2为本发明实施例提供的另一种视频制作方法的流程示意图;2 is a schematic flowchart of another video production method provided by an embodiment of the present invention;

图3为本发明实施例提供的一种镜头列表的示意图;3 is a schematic diagram of a lens list provided by an embodiment of the present invention;

图4为本发明实施例提供的一种拍摄预览界面的示意图;4 is a schematic diagram of a shooting preview interface provided by an embodiment of the present invention;

图5为本发明实施例提供的一种第一视频文件的进度条示意图;5 is a schematic diagram of a progress bar of a first video file provided by an embodiment of the present invention;

图6为本发明实施例提供的一种替换剪辑的示意图;6 is a schematic diagram of a replacement clip provided by an embodiment of the present invention;

图7为本发明实施例提供的一种插入剪辑的示意图;7 is a schematic diagram of inserting a clip according to an embodiment of the present invention;

图8为本发明实施例提供的一种电子设备的结构示意图;8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;

图9为本发明实施例提供的一种电子设备的硬件结构示意图。FIG. 9 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

现阶段,在用户在通过电子设备录制视频的过程中,若想要把不同镜头拍摄的多个视频文件剪辑成一个视频,需要首先查找到各个视频文件,并将其分别剪辑后再整合为一个文件,这个过程需要较为复杂的操作。At this stage, in the process of recording videos through electronic devices, if users want to edit multiple video files shot by different lenses into one video, they need to find each video file first, edit them separately, and then integrate them into one video. file, this process requires more complex operations.

因此,为了简化剪辑的流程,让普通用户能轻松制作有趣的视频,本发明实施例提供了一种视频制作方法,使得多个镜头拍摄的视频能够整个为一个文件进行保存,从而简化了后续的视频剪辑过程。Therefore, in order to simplify the editing process and allow ordinary users to easily create interesting videos, the embodiment of the present invention provides a video production method, so that the entire video captured by multiple lenses can be saved as one file, thereby simplifying the follow-up Video editing process.

具体的,参见图1所示,图1示出了本发明实施例提供的一种视频制作方法的流程示意图,该方法应用于电子设备,该方法包括:Specifically, referring to FIG. 1, FIG. 1 shows a schematic flowchart of a video production method provided by an embodiment of the present invention. The method is applied to an electronic device, and the method includes:

S101、在控制第一目标镜头按照第一拍摄参数进行拍摄的过程中,控制至少一个第二目标镜头分别按照自身对应的第二拍摄参数进行拍摄;S101, in the process of controlling the first target lens to shoot according to the first shooting parameter, control at least one second target lens to shoot according to the second shooting parameter corresponding to itself;

其中,第一目标镜头与至少一个第二目标镜头可以始终同时进行拍摄,或者,也可以在第一目标镜头进行拍摄的过程中,开启第二目标镜头,即第二目标镜头仅与第一目标镜头在一小段时间内共同拍摄。具体如何拍摄,取决于用户的拍摄需求以及开启镜头的方式。Wherein, the first target lens and at least one second target lens can always be photographed at the same time, or, the second target lens can also be turned on during the shooting process of the first target lens, that is, the second target lens is only compatible with the first target lens. The shots are shot together for a short period of time. How to shoot depends on the user's shooting needs and how to turn on the lens.

需要注意的是,由于本发明中的目标镜头指的是实体镜头,因此各个目标镜头之间是相互独立的,一个目标镜头终止拍摄不会影响其他目标镜头的拍摄。It should be noted that, since the target shots in the present invention refer to physical shots, each target shot is independent of each other, and the termination of shooting of one target shot will not affect the shooting of other target shots.

S102、将第一目标镜头拍摄的第一视频内容和至少一个第二目标镜头分别拍摄的至少一个第二视频内容整合并保存为第一视频文件;S102, integrating and saving the first video content captured by the first target lens and at least one second video content captured by at least one second target lens as a first video file;

由于不同镜头拍摄的视频通常是独立进行保存的,本实施例将预先选择的、在同一段时间范围内拍摄的多个视频内容保存为同一个视频文件,从而使得在后续对该视频文件进行剪辑时,不再需要进行视频查找以及文件融合等,简化了视频的制作过程。Since the videos shot by different lenses are usually saved independently, in this embodiment, multiple pre-selected video contents shot within the same period of time are saved as the same video file, so that the video file can be edited later , video search and file fusion are no longer required, which simplifies the video production process.

S103、对第一视频文件内包含的第一视频内容和至少一个第二视频内容中的至少一个进行剪辑,得到目标视频。S103. Edit at least one of the first video content and at least one second video content contained in the first video file to obtain a target video.

由于第一视频文件内包含有多个视频内容,因此基于用户需求,可以对其中的至少一个视频内容进行剪辑。Since the first video file contains multiple video contents, at least one of the video contents can be edited based on user requirements.

在本发明实施例中,在用户选择的第一目标镜头的过程中,能够控制用户选择的至少一个第二目标镜头进行拍摄,并将第一目标镜头拍摄的第一视频内容和至少一个第二目标镜头分别拍摄的至少一个第二视频内容保存为同一个视频文件进行剪辑。由于本实施例将拍摄的多个视频保存为了同一个视频文件,使得在用户剪辑过程中,不需要去查找各个镜头的拍摄的视频文件,并且整个剪辑过程可以在该视频文件内完成,也不需要将多个视频文件进行整合的操作,降低了视频剪辑的复杂程度,简化了整个视频制作的过程。In the embodiment of the present invention, in the process of selecting the first target lens by the user, at least one second target lens selected by the user can be controlled to shoot, and the first video content captured by the first target lens and the at least one second target lens can be captured. At least one second video content shot by the target lens is saved as the same video file for editing. Since this embodiment saves the multiple videos shot into the same video file, in the process of editing, the user does not need to search for the video files shot by each shot, and the entire editing process can be completed in the video file, without The operation of integrating multiple video files reduces the complexity of video editing and simplifies the entire video production process.

并且,本实施例不需要等待一个镜头拍摄完毕后再使用下一个镜头进行拍摄,而是能够使同一个电子设备上的不同镜头同时进行拍摄,从而实现让用户从不同维度,例如正常录制、慢镜头、特写等,来观察一次拍摄中拍到的精彩镜头,且提高了用户获取所需视频时的便利性。In addition, this embodiment does not need to wait for one lens to finish shooting before using the next lens to shoot, but enables different lenses on the same electronic device to shoot at the same time, so as to allow users to record from different dimensions, such as normal recording, slow recording Lenses, close-ups, etc., to observe the wonderful shots captured in one shooting, and improve the convenience for users to obtain the desired video.

可选的,由于电子设备通常仅有一个屏幕进行显示,并且该屏幕内通常仅能够显示一个镜头捕获的取景画面,在上述实施例中,由于第一目标镜头的拍摄时长是最长的,因此可以在拍摄预览界面内显示第一目标镜头捕获的取景画面,从而方便用户直观的了解到整个拍摄过程。当然,在其他实施例中,也可以在拍摄预览界面内同时分块显示各个所选中的目标镜头的取景画面。Optionally, since the electronic device usually has only one screen for display, and the screen usually only can display the viewfinder image captured by one lens, in the above embodiment, since the shooting time of the first target lens is the longest, so The framing image captured by the first target lens can be displayed in the shooting preview interface, so that the user can intuitively understand the entire shooting process. Of course, in other embodiments, the viewfinder images of each selected target lens may also be displayed in blocks simultaneously in the shooting preview interface.

其中,在一种具体实施例中,可选的,S101中还可以包括:Wherein, in a specific embodiment, optionally, S101 may further include:

接收用户对第一目标镜头或第二目标镜头的拍摄预览画面中的目标对象的对焦输入;receiving a user's focus input on the target object in the shooting preview screen of the first target lens or the second target lens;

响应于对焦输入,控制第一目标镜头和第二目标镜头均对焦目标对象进行拍摄。In response to the focus input, both the first target lens and the second target lens are controlled to focus on the target object to shoot.

即在本实施例中,在用户选择想要对焦拍摄的目标对象后,当前选择的全部目标镜头均对准该目标对象进行拍摄,从而使得各个目标镜头能够具有相同的拍摄内容,保证了各个目标镜头的拍摄一致性,方便了后续的剪辑操作。That is, in this embodiment, after the user selects the target object to be photographed in focus, all the currently selected target lenses are aimed at the target object for shooting, so that each target lens can have the same shooting content, ensuring that each target The consistent shooting of shots facilitates subsequent editing operations.

在本发明一些实施例中,如图2所示,图2示出了本发明实施例提供的另一种视频制作方法的流程示意图。该方法还可以包括:In some embodiments of the present invention, as shown in FIG. 2 , FIG. 2 shows a schematic flowchart of another video production method provided by an embodiment of the present invention. The method may also include:

S201、接收用户的第一输入;S201. Receive a first input from a user;

S202、响应于第一输入,确定第一目标镜头及与第一目标镜头对应的第一拍摄参数,以及,确定至少一个第二目标镜头及与每个第二目标镜头对应的第二拍摄参数;S202, in response to the first input, determine a first target lens and a first shooting parameter corresponding to the first target lens, and determine at least one second target lens and a second shooting parameter corresponding to each second target lens;

S203、接收用户的第二输入;S203, receiving the second input of the user;

S204、响应于第二输入,控制第一目标镜头按照第一拍摄参数进行拍摄。S204. In response to the second input, control the first target lens to shoot according to the first shooting parameters.

S205~S207与图1中的S101~S103相似,在此不再赘述。S205 to S207 are similar to S101 to S103 in FIG. 1 , and are not repeated here.

即在本发明实施例中,上述第一目标镜头和第二目标镜头是由用户自行选择的,即在拍摄预览界面内,可以设置用于供用户选择镜头的选择标识,在用户选中该选择标识后,显示用户可以选择的镜头列表,该镜头列表包括镜头的标识及其对应的选择控件,用户通过点击选择控件使其变为选中状态来对镜头进行选择,如图3所示,图3示出了本发明实施例提供的一种镜头列表的示意图。此外,由于一些特效镜头可能包含多种拍摄效果,例如慢镜头和延时摄影效果,因此可以分别为每种拍摄效果设置对应的选择控件。That is, in the embodiment of the present invention, the above-mentioned first target lens and second target lens are selected by the user, that is, in the shooting preview interface, a selection mark for the user to select a lens can be set, and the user selects the selection mark. After that, a list of lenses that can be selected by the user is displayed. The lens list includes the ID of the lens and its corresponding selection control. The user selects the lens by clicking the selection control to make it selected, as shown in Fig. 3 and Fig. 3 A schematic diagram of a lens list provided by an embodiment of the present invention is shown. In addition, since some special effects shots may contain multiple shooting effects, such as slow motion and time-lapse photography effects, you can set the corresponding selection controls for each shooting effect separately.

由于通常电子设备会预先设置有每个镜头对应的拍摄参数,因此对于不精通摄影的用户,多数情况下不需要对这些预设的拍摄参数进行调整,可以直接在选择目标镜头之后,按照目标镜头对应的预设拍摄参数直接进行拍摄。但是对于部分用户,这些预设拍摄参数可能无法满足自身的拍摄需求,因此用户可以对拍摄参数进行自定义设置,来提高用户拍摄效果的灵活性和多样性。具体的,对于拍摄慢镜头或者延时摄影的特效镜头来说,可调整的拍摄参数可以包括帧率;对于拍摄特写场景的特效镜头来说,可调整的拍摄参数可以包括焦距;此外还可以额外设置动态贴纸以及滤镜等,来进一步丰富视频的拍摄效果。当然,第一拍摄参数和第二拍摄参数具体如何设置,本发明不作具体限定。Because the electronic device is usually preset with the shooting parameters corresponding to each lens, for users who are not proficient in photography, in most cases, they do not need to adjust these preset shooting parameters. The corresponding preset shooting parameters are directly shot. However, for some users, these preset shooting parameters may not meet their own shooting needs, so the user can customize the shooting parameters to improve the flexibility and diversity of the user's shooting effects. Specifically, for special effects shots for shooting slow motion or time-lapse photography, the adjustable shooting parameters may include frame rate; for special effects shots for shooting close-up scenes, the adjustable shooting parameters may include focal length; in addition, additional Set dynamic stickers and filters to further enrich the video shooting effect. Of course, how to set the first shooting parameter and the second shooting parameter is not specifically limited in the present invention.

此外,由于本发明实施例中的第一目标镜头的拍摄时间是最长的,即可以认为第一目标镜头为主镜头,因此这种情况下,可选的,可以设置第一目标镜头为非特效的普通镜头,而其他第二目标镜头为特效镜头。电子设备通过设置有一个非特效镜头,用于进行正常情况下的视频拍摄,以及至少一个特效镜头,用于拍摄具有特殊效果的视频。其中,这里的特效镜头可以包括慢镜头镜头、5倍焦距的镜头、10倍焦距的镜头等,不同类型的镜头可以调整的拍摄参数不同。In addition, since the shooting time of the first target lens in the embodiment of the present invention is the longest, that is, it can be considered that the first target lens is the main lens. Therefore, in this case, optionally, the first target lens can be set as a non-contact lens. Normal shots for special effects, while other secondary target shots are special effects shots. The electronic device is provided with one non-special effect lens for shooting video under normal conditions, and at least one special effect lens for shooting video with special effects. Among them, the special effects lenses here may include slow motion lenses, lenses with 5x focal length, lenses with 10x focal length, etc. Different types of lenses can adjust different shooting parameters.

在本发明一些具体实施例中,在控制第一目标镜头和第二目标镜头开始和结束拍摄时,可以通过以下几种方式进行控制:In some specific embodiments of the present invention, when controlling the first target lens and the second target lens to start and end shooting, the control can be performed in the following ways:

方式一:在拍摄预览界面上显示有第一目标镜头对应的第一控件以及至少一个第二目标镜头分别对应的第二控件。即在拍摄预览界面内显示分别对应于每个目标镜头的一个控件。其中,控件的显示方式可以为按钮的形式。如图4所示,图4示出了本发明实施例提供的一种拍摄预览界面的示意图。Manner 1: A first control corresponding to the first target lens and a second control corresponding to at least one second target lens are displayed on the shooting preview interface. That is, a control corresponding to each target lens is displayed in the shooting preview interface. The display mode of the control may be in the form of a button. As shown in FIG. 4 , FIG. 4 shows a schematic diagram of a shooting preview interface provided by an embodiment of the present invention.

上述第二输入可以包括:针对第一控件的第一触发输入以及分别针对各个第二控件的第二触发输入。在用户点击控件后,该控件对应的目标镜头即开始拍摄,在用户再次点击同一个控件后,该控件对应的目标镜头即停止拍摄。这种方式中,各个目标镜头可以分别进行控制,从而方便了用户控制各个目标镜头的拍摄时间,视频拍摄的可控性高。The above-mentioned second input may include: a first trigger input for the first control and a second trigger input for each of the second controls respectively. After the user clicks the control, the target lens corresponding to the control starts to shoot, and after the user clicks the same control again, the target lens corresponding to the control stops shooting. In this way, each target lens can be controlled separately, so that it is convenient for the user to control the shooting time of each target lens, and the controllability of video shooting is high.

方式二:拍摄预览界面上显示有第三控件。即拍摄预览界面内仅显示一个控件,该控件用于同时控制全部目标镜头的开闭。上述第二输入包括:针对第三控件的第三触发输入。上述S101的过程可以为:响应于第二输入,同时控制第一目标镜头和至少一个第二目标镜头分别按照对应的第一拍摄参数和第二拍摄参数进行拍摄。Method 2: A third control is displayed on the shooting preview interface. That is, only one control is displayed in the shooting preview interface, and the control is used to control the opening and closing of all target lenses at the same time. The above-mentioned second input includes: a third trigger input for the third control. The above process of S101 may be: in response to the second input, simultaneously controlling the first target lens and the at least one second target lens to shoot according to the corresponding first shooting parameters and the second shooting parameters, respectively.

方式三:分别为第一目标镜头和第二目标镜头预先设置对应的开启和关闭的手势,用户通过在屏幕内进行手势输入,即可以控制该手势输入对应的目标镜头开始或终止拍摄。上述第二输入可以包括:针对第一目标镜头的第一手势输入以及分别针对第二目标镜头的第二手势输入。其中,为了简化用户的操作,可以设置每个目标镜头对应的开启手势和关闭手势是相同的,例如可以为长按输入,在第一次接收到该手势输入时控制全部目标镜头开始拍摄,在第二次接收到该手势输入时控制全部目标镜头终止拍摄。这种方式能够减少控件对屏幕显示区域的遮挡。Mode 3: Preset corresponding opening and closing gestures for the first target lens and the second target lens respectively, and the user can control the target lens corresponding to the gesture input to start or stop shooting by performing gesture input on the screen. The above-mentioned second input may include: a first gesture input for the first target shot and a second gesture input for the second target shot respectively. Among them, in order to simplify the user's operation, the opening gesture and closing gesture corresponding to each target lens can be set to be the same, for example, it can be a long-press input, when the gesture input is received for the first time, all target lenses are controlled to start shooting, and then When the gesture input is received for the second time, all target lenses are controlled to terminate shooting. This method can reduce the occlusion of the control on the screen display area.

当然,还可以采用其他拍摄方式进行拍摄,本发明对此不作限定。Of course, other shooting methods can also be used for shooting, which is not limited in the present invention.

在本发明的另一些实施例中,上述S101或S205中还可以包括:In other embodiments of the present invention, the foregoing S101 or S205 may further include:

分别记录第一目标镜头以及每个第二目标镜头拍摄的起止时间点。The start and end time points of the first target shot and the shooting of each second target shot are respectively recorded.

由于第二目标镜头可能仅在第一目标镜头的拍摄过程中的一小段时间内,与第一目标镜头同时拍摄,因此,为了能够准确确定各个目标镜头拍摄的视频的时间范围,本实施例记录了第一目标镜头和第二目标镜头拍摄的起止时间点,从而方便了后续依据该起止时间点来对第一目标镜头以及第二目标镜头的拍摄视频进行剪辑。Since the second target shot may be shot simultaneously with the first target shot only for a short period of time during the shooting process of the first target shot, in order to accurately determine the time range of the video shot by each target shot, this embodiment records The start and end time points of the shooting of the first target shot and the second target shot are determined, thereby facilitating subsequent editing of the shooting video of the first target shot and the second target shot according to the start and end time points.

基于上述实施例,本发明还提供了一些其他实施例,在S103或S207之前,该方法还可以包括:Based on the above embodiments, the present invention also provides some other embodiments. Before S103 or S207, the method may further include:

接收用户对第一视频文件的触发输入;receiving a trigger input from the user to the first video file;

响应于触发输入,播放第一视频文件。In response to the trigger input, the first video file is played.

由于在进行视频剪辑之前,通常需要对视频进行播放,用户才能够根据播放的视频内容进行剪辑。因此,通过播放第一视频文件,即能够方便后续的用户剪辑操作。Because before video editing, it is usually necessary to play the video, so that the user can edit the video according to the played video content. Therefore, by playing the first video file, subsequent user editing operations can be facilitated.

在本发明的再一些实施例中,参见图5,图5示出了本发明实施例提供的一种第一视频文件的进度条示意图。上述第一视频文件的播放界面内包括对应于第一视频内容的进度条,这是因为第一视频内容是时间范围最长的视频,各个第二视频内容均不超出第一视频内容的时间范围。此外,进度条上设置有对应于第一视频内容的起止时间点信息、分别对应于每个第二视频内容的起止时间点信息以及每个第二视频内容对应的视频标识,如图5中的第二视频内容1、第二视频内容2等。该视频标识作为第二视频内容的链接,用户可以像播放普通视频一样点击第一视频文件后播放完整的第一视频内容。In still other embodiments of the present invention, referring to FIG. 5 , FIG. 5 shows a schematic diagram of a progress bar of a first video file provided by an embodiment of the present invention. The playback interface of the above-mentioned first video file includes a progress bar corresponding to the first video content. This is because the first video content is the video with the longest time range, and each second video content does not exceed the time range of the first video content. . In addition, the progress bar is provided with the start and end time point information corresponding to the first video content, the start and end time point information corresponding to each second video content respectively, and the video identifier corresponding to each second video content, as shown in FIG. 5 . The second video content 1, thesecond video content 2, and so on. The video identifier is used as a link to the second video content, and the user can click the first video file to play the complete first video content like a normal video.

可选的,在S102或S206之后,该方法还可以包括:Optionally, after S102 or S206, the method may further include:

接收用户对进度条上的目标视频标识的第三输入;receiving the third input from the user to the target video identification on the progress bar;

响应于第三输入,播放目标视频标识对应的目标第二视频内容。In response to the third input, the target second video content corresponding to the target video identifier is played.

即用户能够通过分别对各个目标视频标识进行第三输入,来分别查看各个第二目标镜头的录制效果,从而方便后续对各个第二视频内容进行剪辑操作。That is, the user can view the recording effect of each second target shot by separately inputting the third input for each target video identifier, thereby facilitating subsequent editing operations on each second video content.

需要注意的是,在用户仅播放第一视频文件而没有选择播放第二视频内容的情况下,则第一视频文件的播放界面内仅播放第一视频内容的内容。而在接收到第三输入的情况下,则通过新增独立的播放界面或者播放窗口,来播放目标第二视频内容。在播放目标第二视频内容的过程中,第一视频内容也可以继续播放。It should be noted that, when the user only plays the first video file and does not choose to play the second video content, only the content of the first video content is played in the play interface of the first video file. In the case of receiving the third input, the target second video content is played by adding an independent play interface or play window. During the process of playing the target second video content, the first video content may also continue to be played.

此外,在其他实施例中,可选的,还可以在进度条上显示每个第二视频内容对应的镜头的特征,例如“高帧率慢镜头:由于帧率稿,慢动作播放的时间会比正常录制视频长”,“特写镜头:一般由高倍焦距镜头实现,播放时间与正常录制相同”等,这种方式,能够方便用户直观的了解到各个第二视频内容的特征,从而方便用户的后续剪辑。In addition, in other embodiments, optionally, the characteristics of the shots corresponding to each second video content may also be displayed on the progress bar, for example, "High frame rate slow motion: due to the frame rate draft, the slow motion playback time will It is longer than the normal recording video”, “Close-up shot: usually realized by a high-magnification focal length lens, and the playback time is the same as the normal recording”, etc. This method can facilitate the user to intuitively understand the characteristics of each second video content, so as to facilitate the user’s Subsequent clips.

用户可以在播放第一视频内容或者第二视频内容的过程中,对当前所播放的视频进行各种剪辑操作,例如长短裁剪、添加背景音乐、调整时间轴等。In the process of playing the first video content or the second video content, the user can perform various editing operations on the currently playing video, such as length cropping, adding background music, adjusting the timeline, and so on.

可选的,在播放目标第二视频内容的过程中,该方法还可以包括:Optionally, in the process of playing the target second video content, the method may further include:

在接收到用户对目标第二视频内容的第四输入的情况下,将目标第二视频内容保存为第二视频文件,以使对第二视频文件进行剪辑。In the case of receiving the fourth input from the user on the target second video content, the target second video content is saved as a second video file, so that the second video file is edited.

即本发明能够第二视频内容从第一视频文件中独立出来,另存为独立的第二视频文件,这种情况下,后续可以独立利用第二视频内容进行其他方面的使用,视频剪辑的可操作空间更大。That is, the present invention can separate the second video content from the first video file and save it as an independent second video file. In this case, the second video content can be independently used for other purposes in the future. More space.

此外,本发明还提供了一些实现方式,可以在不限制是否播放第二视频内容的情况下,来实现对第二视频内容和第一视频内容的剪辑操作。In addition, the present invention also provides some implementation manners, which can realize the editing operation on the second video content and the first video content without restricting whether to play the second video content.

可选的,在本发明的一种实现方式中,上述S103或S207中对第一视频文件内包含的第一视频内容进行剪辑的过程,可以包括:Optionally, in an implementation manner of the present invention, the process of editing the first video content contained in the first video file in the above S103 or S207 may include:

接收用户对进度条上的目标视频标识的第五输入;receiving the fifth input from the user to the target video identification on the progress bar;

响应于第五输入,利用目标视频标识对应的第二视频内容替换第一视频内容中相同时间段内的视频片段。如图6所示,图6为本发明实施例提供的一种替换剪辑的示意图。In response to the fifth input, the video segments in the same time period in the first video content are replaced with the second video content corresponding to the target video identifier. As shown in FIG. 6 , FIG. 6 is a schematic diagram of a replacement clip provided by an embodiment of the present invention.

即本实现方式中,由于在录制时,第一目标镜头与第二目标镜头的画面和时间是同步的,基于此,用户能够直接利用第二视频内容替换第一视频内容内相同时段中的视频片段,从而简化原始的视频替换操作,提高了用户进行视频剪辑时的便利性。并且,这种剪辑模式能够使不同镜头拍摄的视频连贯过渡,得到与事件发生顺序相同的连贯画面。That is, in this implementation manner, since the pictures and time of the first target shot and the second target shot are synchronized during recording, the user can directly use the second video content to replace the video in the same period of the first video content. clips, thereby simplifying the original video replacement operation and improving the convenience of users when editing videos. In addition, this editing mode can make the video shot in different shots make a coherent transition to obtain a coherent picture in the same sequence as the events.

可选的,在本发明的另一种实现方式中,上述S103或S207中对第一视频文件内包含的第一视频内容进行剪辑,还可以包括:Optionally, in another implementation manner of the present invention, in the above S103 or S207, the first video content contained in the first video file is edited, which may further include:

接收用户对进度条上的目标视频标识以及进度条上的目标时间点的第六输入;其中,这里的第六输入可以为点击目标视频标识后不松手拖动目标视频标识在进度条上移动的输入操作。如图7所示,图7为本发明实施例提供的一种插入剪辑的示意图。Receive the sixth input from the user to the target video logo on the progress bar and the target time point on the progress bar; wherein, the sixth input here can be the target video logo that does not let go and drag the target video logo to move on the progress bar after clicking the target video logo. Enter an action. As shown in FIG. 7 , FIG. 7 is a schematic diagram of inserting a clip according to an embodiment of the present invention.

响应于第六输入,将目标视频标识对应的第二视频内容在目标时间点插入第一视频内容。In response to the sixth input, the second video content corresponding to the target video identifier is inserted into the first video content at the target time point.

即在本实现方式中,用户通过第六输入即能够实现将第二视频内容插入第一视频内容的目的,而不需要对第一视频内容进行剪辑也不需要进行视频拼接等操作,简化了视频的剪辑过程。并且,这种方式会增长视频的时间长度,可以从不同特效下看到相同时间录制的画面。That is, in this implementation manner, the user can achieve the purpose of inserting the second video content into the first video content through the sixth input, without the need to edit the first video content or perform operations such as video splicing, which simplifies the video content. the editing process. Moreover, this method will increase the time length of the video, and you can see the pictures recorded at the same time from different special effects.

此外,在完成剪辑后可,可选的,还可以将剪辑后的第一视频文件进行导出保存,在接收到用户对“剪辑原件”标识的选择输入的情况下,则可以利用剪辑后的第一视频文件覆盖原第一视频文件;在接收到用户对“生成新视频”标识的选择输入的情况下,则可以将剪辑后的第一视频文件另存为一个新的视频文件,此时原第一视频文件仍旧保留,可以方便后续进行剪辑。In addition, after the editing is completed, optionally, the edited first video file can be exported and saved, and in the case of receiving the user's selection input for the "edited original" logo, the edited first video file can be used. A video file overwrites the original first video file; in the case of receiving the user's selection input for the "generate new video" sign, the edited first video file can be saved as a new video file, and the original first video file can be saved as a new video file. A video file is still retained, which can facilitate subsequent editing.

在本发明的又一些实施例中,在S103或S207之后,该方法还可以包括:In still other embodiments of the present invention, after S103 or S207, the method may further include:

根据镜头的切换、慢镜头与特写的时间点、持续时间长度、用户对视频风格选项的选择输入,为剪辑后的第一视频文件匹配与镜头变换速度对应的背景音乐。According to the switching of shots, the time point of slow motion and close-up, the duration of time, and the user's selection and input of video style options, the edited first video file is matched with background music corresponding to the speed of shot change.

这种方式能够根据剪辑后的第一视频文件中各个视频部分中的镜头变换速度,来分别播放对应节奏下的背景音乐,从而解决慢镜头播放时声音通道拖慢的问题,并且也能为视频增添趣味性。This method can play the background music at the corresponding rhythm according to the changing speed of the shots in each video part in the edited first video file, so as to solve the problem that the sound channel is slowed down during slow motion playback, and it can also be used for the video. Add fun.

基于上述方法实施例,本发明还提供了一种电子设备,如图8所示,图8为本发明实施例提供的一种电子设备的结构示意图。该电子设备包括:Based on the foregoing method embodiment, the present invention further provides an electronic device, as shown in FIG. 8 , which is a schematic structural diagram of an electronic device provided by an embodiment of the present invention. The electronic equipment includes:

拍摄模块301,用于在控制第一目标镜头按照第一拍摄参数进行拍摄的过程中,控制至少一个第二目标镜头分别按照自身对应的第二拍摄参数进行拍摄;Theshooting module 301 is configured to control at least one second target lens to shoot according to the second shooting parameter corresponding to itself in the process of controlling the first target lens to shoot according to the first shooting parameter;

保存模块302,用于将第一目标镜头拍摄的第一视频内容和至少一个第二目标镜头分别拍摄的至少一个第二视频内容整合并保存为第一视频文件;A savingmodule 302, configured to integrate and save the first video content captured by the first target lens and at least one second video content captured by the at least one second target lens as a first video file;

剪辑模块303,用于对第一视频文件内包含的第一视频内容和至少一个第二视频内容中的至少一个进行剪辑,得到目标视频。Theediting module 303 is configured to edit at least one of the first video content and the at least one second video content contained in the first video file to obtain a target video.

在本发明实施例中,在用户选择的第一目标镜头的过程中,能够控制用户选择的至少一个第二目标镜头进行拍摄,并将第一目标镜头拍摄的第一视频内容和至少一个第二目标镜头分别拍摄的至少一个第二视频内容保存为同一个视频文件进行剪辑。由于本实施例将拍摄的多个视频保存为了同一个视频文件,使得在用户剪辑过程中,不需要去查找各个镜头的拍摄的视频文件,并且整个剪辑过程可以在该视频文件内完成,也不需要将多个视频文件进行整合的操作,降低了视频剪辑的复杂程度,简化了整个视频制作的过程。In the embodiment of the present invention, in the process of selecting the first target lens by the user, at least one second target lens selected by the user can be controlled to shoot, and the first video content captured by the first target lens and the at least one second target lens can be captured. At least one second video content shot by the target lens is saved as the same video file for editing. Since this embodiment saves the multiple videos shot into the same video file, in the process of editing, the user does not need to search for the video files shot by each shot, and the entire editing process can be completed in the video file, without The operation of integrating multiple video files reduces the complexity of video editing and simplifies the entire video production process.

可选的,上述电子设备还可以包括:Optionally, the above electronic device may also include:

显示模块,用于在拍摄预览界面内显示第一目标镜头捕获的取景画面。从而方便用户直观的了解到整个拍摄过程。The display module is used for displaying the viewfinder image captured by the first target lens in the shooting preview interface. Thereby, it is convenient for the user to intuitively understand the whole shooting process.

需要注意的是,由于本发明中的目标镜头指的是实体镜头,因此各个目标镜头之间是相互独立的,一个目标镜头终止拍摄不会影响其他目标镜头的拍摄。It should be noted that, since the target shots in the present invention refer to physical shots, each target shot is independent of each other, and the termination of shooting of one target shot will not affect the shooting of other target shots.

其中,在一种具体实施例中,可选的,上述拍摄模块301还可以用于:Wherein, in a specific embodiment, optionally, the above-mentionedshooting module 301 can also be used for:

接收用户对第一目标镜头或第二目标镜头的拍摄预览画面中的目标对象的对焦输入;响应于对焦输入,控制第一目标镜头和第二目标镜头均对焦目标对象进行拍摄。Receive a user's focus input on the target object in the shooting preview screen of the first target lens or the second target lens; in response to the focus input, control both the first target lens and the second target lens to focus on the target object to shoot.

在本实施例中,在用户选择想要对焦拍摄的目标对象后,当前选择的全部目标镜头均对准该目标对象进行拍摄,从而使得各个目标镜头能够具有相同的拍摄内容,保证了各个目标镜头的拍摄一致性,方便了后续的剪辑操作。In this embodiment, after the user selects the target object that the user wants to focus on shooting, all the currently selected target lenses are aimed at the target object for shooting, so that each target lens can have the same shooting content, ensuring that each target lens The shooting consistency is convenient for subsequent editing operations.

在本发明一些实施例中,该电子设备还可以包括:In some embodiments of the present invention, the electronic device may further include:

镜头选择模块,用于接收用户的第一输入;响应于第一输入,确定第一目标镜头及与第一目标镜头对应的第一拍摄参数,以及,确定至少一个第二目标镜头及与每个第二目标镜头对应的第二拍摄参数;a shot selection module, configured to receive a first input from a user; in response to the first input, determine a first target shot and a first shooting parameter corresponding to the first target shot, and determine at least one second target shot and each the second shooting parameter corresponding to the second target lens;

上述拍摄模块301还可以用于:接收用户的第二输入;响应于第二输入,控制第一目标镜头按照第一拍摄参数进行拍摄。The above-mentionedshooting module 301 can also be used to: receive a second input from the user; and in response to the second input, control the first target lens to shoot according to the first shooting parameters.

在本发明实施例中,上述第一目标镜头和第二目标镜头是由用户自行选择的,即在拍摄预览界面内,可以设置用于供用户选择镜头的选择标识,在用户选中该选择标识后,显示用户可以选择的镜头列表,该镜头列表包括镜头的标识及其对应的选择控件,用户通过点击选择控件使其变为选中状态来对镜头进行选择。In the embodiment of the present invention, the above-mentioned first target lens and second target lens are selected by the user, that is, in the shooting preview interface, a selection mark for the user to select a lens can be set, and after the user selects the selection mark , displays a list of lenses that the user can select, the lens list includes the ID of the lens and its corresponding selection control, and the user selects the lens by clicking the selection control to change it to a selected state.

并且,为了保证能够拍摄出满足用户需求的视频,本实施例可以允许用户进行拍摄参数的设置,对于一些拍摄要求较高的用户,这种参数设置方式能够满足其较高的拍摄需求。同时,对于一些拍摄要求较低的用户,则可以通过预先保存的预设拍摄参数直接进行拍摄。In addition, in order to ensure that a video that meets user requirements can be captured, this embodiment may allow users to set shooting parameters. For some users with higher shooting requirements, this parameter setting method can meet their higher shooting requirements. At the same time, for some users with lower shooting requirements, they can directly shoot through the pre-saved preset shooting parameters.

可选的,可以设置第一目标镜头为非特效的普通镜头,而其他第二目标镜头为特效镜头。电子设备通过设置有一个非特效镜头,用于进行正常情况下的视频拍摄,以及至少一个特效镜头,用于拍摄具有特殊效果的视频。其中,这里的特效镜头可以包括慢镜头镜头、5倍焦距的镜头、10倍焦距的镜头等,不同类型的镜头可以调整的拍摄参数不同。Optionally, the first target lens can be set as a normal lens without special effects, and the other second target lenses are special effect lenses. The electronic device is provided with one non-special effect lens for shooting video under normal conditions, and at least one special effect lens for shooting video with special effects. Among them, the special effects lenses here may include slow motion lenses, lenses with 5x focal length, lenses with 10x focal length, etc. Different types of lenses can adjust different shooting parameters.

在本发明一些具体实施例中,拍摄预览界面上可以显示有第一目标镜头对应的第一控件以及至少一个第二目标镜头分别对应的第二控件。上述第二输入接收单元可以用于:接收针对第一控件的第一触发输入以及分别针对各个第二控件的第二触发输入。这种方式中,各个目标镜头可以分别进行控制,从而方便了用户控制各个目标镜头的拍摄时间,视频拍摄的可控性高。In some specific embodiments of the present invention, a first control corresponding to the first target lens and a second control corresponding to at least one second target lens may be displayed on the shooting preview interface. The above-mentioned second input receiving unit may be configured to: receive a first trigger input for the first widget and a second trigger input for each of the second widgets respectively. In this way, each target lens can be controlled separately, so that it is convenient for the user to control the shooting time of each target lens, and the controllability of video shooting is high.

在本发明的另一些具体实施例中,拍摄预览界面上可以显示有第三控件。上述第二输入接收单元可以用于:接收针对第三控件的第三触发输入;第一拍摄单元用于响应于第三触发输入,控制第一目标镜头按照第一拍摄参数进行拍摄;第二拍摄单元用于响应于第三触发输入,控制第二目标镜头按照第二拍摄参数进行拍摄。这种方式能够保证全部目标镜头能够同时进行拍摄。In other specific embodiments of the present invention, a third control may be displayed on the shooting preview interface. The above-mentioned second input receiving unit can be used for: receiving a third trigger input for the third control; the first shooting unit is used for responding to the third trigger input, controlling the first target lens to shoot according to the first shooting parameters; the second shooting The unit is configured to control the second target lens to shoot according to the second shooting parameter in response to the third trigger input. This method can ensure that all target shots can be shot at the same time.

在本发明的再一些具体实施例中,上述第二输入接收单元可以用于:接收针对第一目标镜头的第一手势输入以及分别针对第二目标镜头的第二手势输入。In still other specific embodiments of the present invention, the above-mentioned second input receiving unit may be configured to: receive a first gesture input for the first target shot and a second gesture input for the second target shot respectively.

在本发明的另一些实施例中,该电子设备还可以包括:In other embodiments of the present invention, the electronic device may further include:

时间记录模块,用于分别记录第一目标镜头以及每个第二目标镜头拍摄的起止时间点。The time recording module is used to separately record the start and end time points of the first target shot and the shooting of each second target shot.

本实施例记录了第一目标镜头和第二目标镜头拍摄的起止时间点,从而方便了后续依据该起止时间点来对第一目标镜头以及第二目标镜头的拍摄视频进行剪辑。This embodiment records the start and end time points of the shooting of the first target shot and the second target shot, thereby facilitating subsequent editing of the shooting videos of the first target shot and the second target shot according to the start and end time points.

基于上述实施例,本发明还提供了一些其他实施例,该电子设备还可以包括:Based on the above embodiments, the present invention also provides some other embodiments, and the electronic device may further include:

第一播放模块,用于接收用户对第一视频文件的触发输入;响应于触发输入,播放第一视频文件。The first playing module is configured to receive a user's trigger input on the first video file; in response to the trigger input, play the first video file.

由于在进行视频剪辑之前,通常需要对视频进行播放,用户才能够根据播放的视频内容进行剪辑。因此,通过播放第一视频文件,即能够方便后续的用户剪辑操作。Because before video editing, it is usually necessary to play the video, so that the user can edit the video according to the played video content. Therefore, by playing the first video file, subsequent user editing operations can be facilitated.

在本发明的再一些实施例中,上述第一视频文件的播放界面内包括对应于第一视频内容的进度条。此外,进度条上设置有对应于第一视频内容的起止时间点信息、分别对应于每个第二视频内容的起止时间点信息以及每个第二视频内容对应的视频标识,该视频标识作为第二视频内容的链接,用户可以像播放普通视频一样点击第一视频文件后播放完整的第一视频内容。In still other embodiments of the present invention, the playback interface of the first video file includes a progress bar corresponding to the first video content. In addition, the progress bar is provided with the start and end time point information corresponding to the first video content, the start and end time point information corresponding to each second video content respectively, and the video identification corresponding to each second video content, and the video identification is used as the first video content. Second, the link of the video content, the user can play the complete first video content after clicking on the first video file like a normal video.

可选的,该电子设备还可以包括:Optionally, the electronic device may further include:

第二播放模块,用于接收用户对进度条上的目标视频标识的第三输入;响应于第三输入,播放目标视频标识对应的目标第二视频内容。The second playing module is configured to receive a third input from the user on the target video identifier on the progress bar; in response to the third input, play the target second video content corresponding to the target video identifier.

即用户能够通过分别对各个目标视频标识进行第三输入,来分别查看各个第二目标镜头的录制效果,从而方便后续对各个第二视频内容进行剪辑操作。That is, the user can view the recording effect of each second target shot by separately inputting the third input for each target video identifier, thereby facilitating subsequent editing operations on each second video content.

在其他实施例中,可选的,还可以在进度条上显示每个第二视频内容对应的镜头的特征,从而方便用户的后续剪辑。In other embodiments, optionally, the feature of the shot corresponding to each second video content may also be displayed on the progress bar, so as to facilitate subsequent editing by the user.

可选的,该电子设备还可以包括:Optionally, the electronic device may further include:

另存为模块,用于在接收到用户对目标第二视频内容的第四输入的情况下,将目标第二视频内容保存为第二视频文件,以使对第二视频文件进行剪辑。The save as module is configured to save the target second video content as a second video file in the case of receiving the fourth input from the user on the target second video content, so that the second video file is edited.

即本发明能够第二视频内容从第一视频文件中独立出来,另存为独立的第二视频文件,这种情况下,后续可以独立利用第二视频内容进行其他方面的使用,视频剪辑的可操作空间更大。That is, the present invention can separate the second video content from the first video file and save it as an independent second video file. In this case, the second video content can be independently used for other purposes in the future. More space.

可选的,在本发明的一种实现方式中,该电子设备可以包括:Optionally, in an implementation manner of the present invention, the electronic device may include:

替换模块,用于接收用户对进度条上的目标视频标识的第五输入;响应于第五输入,利用目标视频标识对应的第二视频内容替换第一视频内容内相同时间段内的视频片段。The replacement module is configured to receive a fifth input of the target video identifier on the progress bar by the user; in response to the fifth input, replace the video clips in the same time period in the first video content with the second video content corresponding to the target video identifier.

即本实现方式中,由于在录制时,第一目标镜头与第二目标镜头的画面和时间是同步的,基于此,用户能够直接利用第二视频内容替换第一视频内容内相同时段中的视频片段,从而简化原始的视频替换操作,提高了用户进行视频剪辑时的便利性。并且,这种剪辑模式能够使不同镜头拍摄的视频连贯过渡,得到与事件发生顺序相同的连贯画面。That is, in this implementation manner, since the pictures and time of the first target shot and the second target shot are synchronized during recording, the user can directly use the second video content to replace the video in the same period of the first video content. clips, thereby simplifying the original video replacement operation and improving the convenience of users when editing videos. In addition, this editing mode can make the video shot in different shots make a coherent transition to obtain a coherent picture in the same sequence as the events.

可选的,在本发明的另一种实现方式中,该电子设备还可以包括:Optionally, in another implementation manner of the present invention, the electronic device may further include:

插入模块,用于接收用户对进度条上的目标视频标识以及进度条上的目标时间点的第六输入;其中,这里的第六输入可以为点击目标视频标识后不松手拖动目标视频标识在进度条上移动的输入操作。响应于第六输入,将目标视频标识对应的第二视频内容在目标时间点插入第一视频内容。The insert module is used to receive the sixth input from the user to the target video logo on the progress bar and the target time point on the progress bar; wherein, the sixth input here can be to click the target video logo and drag the target video logo without letting go. The input action to move on the progress bar. In response to the sixth input, the second video content corresponding to the target video identifier is inserted into the first video content at the target time point.

即在本实现方式中,用户通过第六输入即能够实现将第二视频内容插入第一视频内容的目的,而不需要对第一视频内容进行剪辑也不需要进行视频拼接等操作,简化了视频的剪辑过程。并且,这种方式会增长视频的时间长度,可以从不同特效下看到相同时间录制的画面。That is, in this implementation manner, the user can achieve the purpose of inserting the second video content into the first video content through the sixth input, without the need to edit the first video content or perform operations such as video splicing, which simplifies the video content. the editing process. Moreover, this method will increase the time length of the video, and you can see the pictures recorded at the same time from different special effects.

此外,在完成剪辑后可,可选的,上述另存为模块还可以用于:将剪辑后的第一视频文件进行导出保存。具体的,在接收到用户对“剪辑原件”标识的选择输入的情况下,则可以利用剪辑后的第一视频文件覆盖原第一视频文件;在接收到用户对“生成新视频”标识的选择输入的情况下,则可以将剪辑后的第一视频文件另存为一个新的视频文件,此时原第一视频文件仍旧保留,可以方便后续进行剪辑。In addition, after the editing is completed, optionally, the above-mentioned save as module can also be used to: export and save the edited first video file. Specifically, in the case of receiving the user's selection input of the "edit original" logo, the edited first video file can be used to overwrite the original first video file; after receiving the user's selection of the "generate new video" logo In the case of input, the edited first video file can be saved as a new video file. At this time, the original first video file is still retained, which can facilitate subsequent editing.

在本发明的又一些实施例中,该电子设备还可以包括:In still other embodiments of the present invention, the electronic device may further include:

音乐匹配模块,用于根据镜头的切换、慢镜头与特写的时间点、持续时间长度、用户对视频风格选项的选择输入,为剪辑后的第一视频文件匹配与镜头变换速度对应的背景音乐。The music matching module is used to match the background music corresponding to the change speed of the shot for the edited first video file according to the switching of shots, the time point of slow motion and close-up, the duration of time, and the user's selection and input of video style options.

这种方式能够根据剪辑后的第一视频文件中各个视频部分的镜头变换速度,来分别播放对应节奏下的背景音乐,从而解决慢镜头播放时声音通道拖慢的问题,并且也能为视频增添趣味性。In this way, the background music at the corresponding rhythm can be played separately according to the lens changing speed of each video part in the edited first video file, so as to solve the problem that the sound channel is slowed down during slow motion playback, and can also add to the video. fun.

本发明实施例提供的电子设备能够实现图1至图2的方法实施例中实现的各个方法步骤,为避免重复,这里不再赘述。The electronic device provided in the embodiment of the present invention can implement each method step implemented in the method embodiment of FIG. 1 to FIG. 2 , and to avoid repetition, details are not described here.

图9示出了本发明实施例提供的一种电子设备的硬件结构示意图。FIG. 9 shows a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present invention.

该电子设备400包括但不限于:射频单元401、网络模块402、音频输出单元403、输入单元404、传感器405、显示单元406、用户输入单元407、接口单元408、存储器409、处理器410、以及电源411等部件。本领域技术人员可以理解,图9中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。Theelectronic device 400 includes but is not limited to: aradio frequency unit 401, anetwork module 402, anaudio output unit 403, aninput unit 404, asensor 405, adisplay unit 406, auser input unit 407, aninterface unit 408, amemory 409, aprocessor 410, andPower 411 and other components. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 9 does not constitute a limitation on the electronic device, and the electronic device may include more or less components than the one shown, or combine some components, or different components layout. In this embodiment of the present invention, the electronic device includes but is not limited to a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.

其中,处理器410,用于在控制第一目标镜头按照第一拍摄参数进行拍摄的过程中,控制至少一个第二目标镜头分别按照自身对应的第二拍摄参数进行拍摄;将所述第一目标镜头拍摄的第一视频内容和所述至少一个第二目标镜头分别拍摄的至少一个第二视频内容整合并保存为第一视频文件;对所述第一视频文件内包含的所述第一视频内容和所述至少一个第二视频内容中的至少一个进行剪辑,得到目标视频。Theprocessor 410 is configured to control at least one second target lens to shoot according to its own corresponding second shooting parameters during the process of controlling the first target lens to shoot according to the first shooting parameters; The first video content captured by the lens and the at least one second video content captured by the at least one second target lens respectively are integrated and saved as a first video file; the first video content contained in the first video file is Editing with at least one of the at least one second video content to obtain a target video.

在本发明实施例中,在用户选择的第一目标镜头的过程中,能够控制用户选择的至少一个第二目标镜头进行拍摄,并将第一目标镜头拍摄的第一视频内容和至少一个第二目标镜头分别拍摄的至少一个第二视频内容保存为同一个视频文件进行剪辑。由于本实施例将拍摄的多个视频保存为了同一个视频文件,使得在用户剪辑过程中,不需要去查找各个镜头的拍摄的视频文件,并且整个剪辑过程可以在该视频文件内完成,也不需要将多个视频文件进行整合的操作,降低了视频剪辑的复杂程度,简化了整个视频制作的过程。In the embodiment of the present invention, in the process of selecting the first target lens by the user, at least one second target lens selected by the user can be controlled to shoot, and the first video content captured by the first target lens and the at least one second target lens can be captured. At least one second video content shot by the target lens is saved as the same video file for editing. Since this embodiment saves the multiple videos shot into the same video file, in the process of editing, the user does not need to search for the video files shot by each shot, and the entire editing process can be completed in the video file, without The operation of integrating multiple video files reduces the complexity of video editing and simplifies the entire video production process.

应理解的是,本发明实施例中,射频单元401可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器410处理;另外,将上行的数据发送给基站。通常,射频单元401包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元401还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present invention, theradio frequency unit 401 can be used for receiving and sending signals during sending and receiving information or during a call. Specifically, after receiving the downlink data from the base station, it is processed by theprocessor 410; The uplink data is sent to the base station. Generally, theradio frequency unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, theradio frequency unit 401 can also communicate with the network and other devices through a wireless communication system.

电子设备通过网络模块402为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides the user with wireless broadband Internet access through thenetwork module 402, such as helping the user to send and receive emails, browse web pages, access streaming media, and the like.

音频输出单元403可以将射频单元401或网络模块402接收的或者在存储器409中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元403还可以提供与电子设备400执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元403包括扬声器、蜂鸣器以及受话器等。Theaudio output unit 403 may convert audio data received by theradio frequency unit 401 or thenetwork module 402 or stored in thememory 409 into audio signals and output as sound. Also, theaudio output unit 403 may also provide audio output related to a specific function performed by the electronic device 400 (eg, call signal reception sound, message reception sound, etc.). Theaudio output unit 403 includes a speaker, a buzzer, a receiver, and the like.

输入单元404用于接收音频或视频信号。输入单元404可以包括图形处理器(Graphics Processing Unit,GPU)4041和麦克风4042,图形处理器4041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元406上。经图形处理器4041处理后的图像帧可以存储在存储器409(或其它存储介质)中或者经由射频单元401或网络模块402进行发送。麦克风4042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元401发送到移动通信基站的格式输出。Theinput unit 404 is used to receive audio or video signals. Theinput unit 404 may include a graphics processor (Graphics Processing Unit, GPU) 4041 and amicrophone 4042. Thegraphics processor 4041 captures images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode data is processed. The processed image frames may be displayed on thedisplay unit 406 . The image frames processed by thegraphics processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via theradio frequency unit 401 or thenetwork module 402 . Themicrophone 4042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be transmitted to a mobile communication base station via theradio frequency unit 401 for output in the case of a telephone call mode.

电子设备400还包括至少一种传感器405,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板4061的亮度,接近传感器可在电子设备400移动到耳边时,关闭显示面板4061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器405还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。Theelectronic device 400 also includes at least onesensor 405, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of thedisplay panel 4061 according to the brightness of the ambient light, and the proximity sensor can turn off thedisplay panel 4061 and thedisplay panel 4061 when theelectronic device 400 is moved to the ear. / or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games , magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; thesensor 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, Infrared sensors, etc., are not repeated here.

显示单元406用于显示由用户输入的信息或提供给用户的信息。显示单元406可包括显示面板4061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板4061。Thedisplay unit 406 is used to display information input by the user or information provided to the user. Thedisplay unit 406 may include adisplay panel 4061, and thedisplay panel 4061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.

用户输入单元407可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元407包括触控面板4071以及其他输入设备4072。触控面板4071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板4071上或在触控面板4071附近的操作)。触控面板4071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器410,接收处理器410发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板4071。除了触控面板4071,用户输入单元407还可以包括其他输入设备4072。具体地,其他输入设备4072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。Theuser input unit 407 may be used to receive input numerical or character information, and generate key signal input related to user settings and function control of the electronic device. Specifically, theuser input unit 407 includes atouch panel 4071 andother input devices 4072 . Thetouch panel 4071, also referred to as a touch screen, can collect the user's touch operations on or near it (such as the user's finger, stylus, etc., any suitable object or accessory on or near the touch panel 4071). operate). Thetouch panel 4071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To theprocessor 410, the command sent by theprocessor 410 is received and executed. In addition, thetouch panel 4071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to thetouch panel 4071 , theuser input unit 407 may also includeother input devices 4072 . Specifically,other input devices 4072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.

进一步的,触控面板4071可覆盖在显示面板4061上,当触控面板4071检测到在其上或附近的触摸操作后,传送给处理器410以确定触摸事件的类型,随后处理器410根据触摸事件的类型在显示面板4061上提供相应的视觉输出。虽然在图9中,触控面板4071与显示面板4061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板4071与显示面板4061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, thetouch panel 4071 can be covered on thedisplay panel 4061. When thetouch panel 4071 detects a touch operation on or near it, it transmits it to theprocessor 410 to determine the type of the touch event, and then theprocessor 410 determines the type of the touch event according to the touch The type of event provides corresponding visual output ondisplay panel 4061. Although in FIG. 9, thetouch panel 4071 and thedisplay panel 4061 are used as two independent components to realize the input and output functions of the electronic device, in some embodiments, thetouch panel 4071 and thedisplay panel 4061 may be integrated The implementation of the input and output functions of the electronic device is not specifically limited here.

接口单元408为外部装置与电子设备400连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元408可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备400内的一个或多个元件或者可以用于在电子设备400和外部装置之间传输数据。Theinterface unit 408 is an interface for connecting an external device to theelectronic device 400 . For example, external devices may include wired or wireless headset ports, external power (or battery charger) ports, wired or wireless data ports, memory card ports, ports for connecting devices with identification modules, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. Theinterface unit 408 may be used to receive input (eg, data information, power, etc.) from external devices and transmit the received input to one or more elements within theelectronic device 400 or may be used between theelectronic device 400 and external Transfer data between devices.

存储器409可用于存储软件程序以及各种数据。存储器409可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器409可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。Thememory 409 may be used to store software programs as well as various data. Thememory 409 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program (such as a sound playback function, an image playback function, etc.) required for at least one function, and the like; Data created by the use of the mobile phone (such as audio data, phone book, etc.), etc. Additionally,memory 409 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.

处理器410是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器409内的软件程序和/或模块,以及调用存储在存储器409内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器410可包括一个或多个处理单元;优选的,处理器410可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器410中。Theprocessor 410 is the control center of the electronic device, using various interfaces and lines to connect various parts of the entire electronic device, by running or executing the software programs and/or modules stored in thememory 409, and calling the data stored in thememory 409. , perform various functions of electronic equipment and process data, so as to monitor electronic equipment as a whole. Theprocessor 410 may include one or more processing units; preferably, theprocessor 410 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into theprocessor 410.

电子设备400还可以包括给各个部件供电的电源411(比如电池),优选的,电源411可以通过电源管理系统与处理器410逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。Theelectronic device 400 may also include a power supply 411 (such as a battery) for supplying power to various components. Preferably, thepower supply 411 may be logically connected to theprocessor 410 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system and other functions.

另外,电子设备400包括一些未示出的功能模块,在此不再赘述。In addition, theelectronic device 400 includes some functional modules not shown, which will not be repeated here.

优选的,本发明实施例还提供一种电子设备,包括处理器410,存储器409,存储在存储器409上并可在所述处理器410上运行的计算机程序,该计算机程序被处理器410执行时实现上述视频制作方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, an embodiment of the present invention further provides an electronic device, including aprocessor 410, amemory 409, and a computer program stored in thememory 409 and running on theprocessor 410, when the computer program is executed by theprocessor 410 Various processes of the above video production method embodiments are implemented, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述视频制作方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。Embodiments of the present invention also provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above video production method embodiments can be implemented, and the same technology can be achieved. The effect, in order to avoid repetition, is not repeated here. The computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk, or an optical disk.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present invention.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of the present invention, without departing from the spirit of the present invention and the scope protected by the claims, many forms can be made, which all belong to the protection of the present invention.

Claims (11)

Translated fromChinese
1.一种视频制作方法,应用于电子设备,其特征在于,包括:1. a video production method, applied to electronic equipment, is characterized in that, comprises:在控制第一目标镜头按照第一拍摄参数进行拍摄的过程中,控制至少一个第二目标镜头分别按照自身对应的第二拍摄参数进行拍摄;In the process of controlling the first target lens to shoot according to the first shooting parameters, at least one second target lens is controlled to shoot according to the second shooting parameters corresponding to itself;将所述第一目标镜头拍摄的第一视频内容和所述至少一个第二目标镜头分别拍摄的至少一个第二视频内容整合并保存为第一视频文件;Integrating and saving the first video content captured by the first target lens and at least one second video content captured by the at least one second target lens as a first video file;对所述第一视频文件内包含的所述第一视频内容和所述至少一个第二视频内容中的至少一个进行剪辑,得到目标视频;Editing at least one of the first video content and the at least one second video content contained in the first video file to obtain a target video;所述第一视频文件的播放界面包括对应于所述第一视频内容的进度条,所述进度条上设置有每个所述第二视频内容对应的视频标识;The playback interface of the first video file includes a progress bar corresponding to the first video content, and the progress bar is provided with a video identifier corresponding to each of the second video content;对所述第一视频文件内包含的所述第一视频内容进行剪辑,包括:Editing the first video content contained in the first video file includes:接收用户对所述进度条上的目标视频标识的第五输入;receiving the fifth input from the user to the target video identification on the progress bar;响应于所述第五输入,利用所述目标视频标识对应的第二视频内容替换所述第一视频内容中相同时间段内的视频片段。In response to the fifth input, the video segments in the same time period in the first video content are replaced with the second video content corresponding to the target video identifier.2.根据权利要求1所述的方法,其特征在于,在所述控制至少一个第二目标镜头分别按照自身对应的第二拍摄参数进行拍摄之前,还包括:2 . The method according to claim 1 , wherein before the controlling at least one second target lens to shoot according to the second shooting parameters corresponding to itself, the method further comprises: 2 .接收用户的第一输入;receiving the first input from the user;响应于所述第一输入,确定所述第一目标镜头及与所述第一目标镜头对应的第一拍摄参数,以及,确定所述至少一个第二目标镜头及与每个所述第二目标镜头对应的第二拍摄参数;In response to the first input, determining the first target shot and a first shooting parameter corresponding to the first target shot, and determining the at least one second target shot and each of the second targets the second shooting parameter corresponding to the lens;接收用户的第二输入;receiving a second input from the user;响应于所述第二输入,控制所述第一目标镜头按照所述第一拍摄参数进行拍摄。In response to the second input, the first target lens is controlled to shoot according to the first shooting parameter.3.根据权利要求2所述的方法,其特征在于,所述接收用户的第一输入之后,还包括:在拍摄预览界面内显示所述第一目标镜头捕获到的取景画面。3 . The method according to claim 2 , wherein after receiving the first input from the user, the method further comprises: displaying a viewfinder image captured by the first target lens in a shooting preview interface. 4 .4.根据权利要求3的方法,其特征在于,所述方法还包括以下任意一项:4. The method according to claim 3, wherein the method further comprises any of the following:所述拍摄预览界面上显示有所述第一目标镜头对应的第一控件以及所述至少一个第二目标镜头分别对应的第二控件;所述第二输入包括:针对所述第一控件的第一触发输入以及分别针对各个所述第二控件的第二触发输入;A first control corresponding to the first target lens and a second control corresponding to the at least one second target lens are displayed on the shooting preview interface; the second input includes: a first control for the first control; a trigger input and a second trigger input for each of the second controls;所述拍摄预览界面上显示有第三控件;所述第二输入包括:针对所述第三控件的第三触发输入;所述在控制第一目标镜头按照第一拍摄参数进行拍摄的过程中,控制至少一个第二目标镜头分别按照自身对应的第二拍摄参数进行拍摄;包括:响应于所述第二输入,同时控制所述第一目标镜头和所述至少一个第二目标镜头分别按照对应的所述第一拍摄参数和所述第二拍摄参数进行拍摄;A third control is displayed on the shooting preview interface; the second input includes: a third trigger input for the third control; in the process of controlling the first target lens to shoot according to the first shooting parameters, Controlling at least one second target lens to shoot according to the second shooting parameter corresponding to itself; including: in response to the second input, simultaneously controlling the first target lens and the at least one second target lens to shoot according to the corresponding second shooting parameters. shooting with the first shooting parameters and the second shooting parameters;所述第二输入包括:针对所述第一目标镜头的第一手势输入以及分别针对所述第二目标镜头的第二手势输入。The second input includes: a first gesture input for the first target shot and a second gesture input for the second target shot respectively.5.根据权利要求1的方法,其特征在于,所述控制至少一个第二目标镜头分别按照自身对应的第二拍摄参数进行拍摄的过程中,还包括:5. The method according to claim 1, wherein, in the process of controlling at least one second target lens to shoot according to the second shooting parameter corresponding to itself, further comprising:分别记录所述第一目标镜头以及每个所述第二目标镜头拍摄的起止时间点。The start and end time points of the first target shot and the shooting of each of the second target shots are respectively recorded.6.根据权利要求5的方法,其特征在于,所述进度条上设置有对应于所述第一视频内容的起止时间点信息以及分别对应于每个所述第二视频内容的起止时间点信息;6. The method according to claim 5, wherein the progress bar is provided with start and end time point information corresponding to the first video content and start and end time point information corresponding to each of the second video content respectively ;所述将所述第一目标镜头拍摄的第一视频内容和所述至少一个第二目标镜头分别拍摄的至少一个第二视频内容整合并保存为第一视频文件之后,还包括:After integrating and saving the first video content captured by the first target lens and the at least one second video content captured by the at least one second target lens as the first video file, the method further includes:接收用户对所述进度条上的目标视频标识的第三输入;receiving the third input from the user to the target video identification on the progress bar;响应于所述第三输入,播放所述目标视频标识对应的目标第二视频内容。In response to the third input, the target second video content corresponding to the target video identifier is played.7.根据权利要求6的方法,其特征在于,在所述播放所述目标视频标识对应的目标第二视频内容的过程中,还包括:7. The method according to claim 6, wherein, in the process of playing the target second video content corresponding to the target video identifier, further comprising:在接收到用户对所述目标第二视频内容的第四输入的情况下,将所述目标第二视频内容保存为第二视频文件。In the case of receiving the fourth input of the target second video content by the user, the target second video content is saved as a second video file.8.根据权利要求6的方法,其特征在于,对所述第一视频文件内包含的所述第一视频内容进行剪辑,包括:8. The method according to claim 6, wherein the editing of the first video content contained in the first video file comprises:接收用户对所述进度条上的目标视频标识以及所述进度条上的目标时间点的第六输入;receiving a sixth input from the user on the target video identifier on the progress bar and the target time point on the progress bar;响应于所述第六输入,将所述目标视频标识对应的第二视频内容在所述目标时间点插入所述第一视频内容。In response to the sixth input, the second video content corresponding to the target video identifier is inserted into the first video content at the target time point.9.一种电子设备,其特征在于,包括:9. An electronic device, characterized in that, comprising:拍摄模块,用于在控制第一目标镜头按照第一拍摄参数进行拍摄的过程中,控制至少一个第二目标镜头分别按照自身对应的第二拍摄参数进行拍摄;a shooting module, configured to control at least one second target lens to shoot according to its own corresponding second shooting parameters during the process of controlling the first target lens to shoot according to the first shooting parameters;保存模块,用于将所述第一目标镜头拍摄的第一视频内容和所述至少一个第二目标镜头分别拍摄的至少一个第二视频内容整合并保存为第一视频文件;a saving module, configured to integrate and save the first video content captured by the first target lens and at least one second video content captured by the at least one second target lens as a first video file;剪辑模块,用于对所述第一视频文件内包含的所述第一视频内容和所述至少一个第二视频内容中的至少一个进行剪辑,得到目标视频;a clipping module, configured to clip at least one of the first video content and the at least one second video content contained in the first video file to obtain a target video;所述第一视频文件的播放界面包括对应于所述第一视频内容的进度条,所述进度条上设置有每个所述第二视频内容对应的视频标识;The playback interface of the first video file includes a progress bar corresponding to the first video content, and the progress bar is provided with a video identifier corresponding to each of the second video content;剪辑模块,具体用于接收用户对所述进度条上的目标视频标识的第五输入;Editing module, specifically for receiving the fifth input of the user to the target video identification on the progress bar;响应于所述第五输入,利用所述目标视频标识对应的第二视频内容替换所述第一视频内容中相同时间段内的视频片段。In response to the fifth input, the video segments in the same time period in the first video content are replaced with the second video content corresponding to the target video identifier.10.一种电子设备,其特征在于,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至8中任一项所述的视频制作方法的步骤。10. An electronic device, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program being executed by the processor to achieve the right Steps of the video production method described in any one of claims 1 to 8.11.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至8中任一项所述的视频制作方法的步骤。11. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the video according to any one of claims 1 to 8 is realized The steps of the production method.
CN201911414895.2A2019-12-312019-12-31Video production method, electronic device, and mediumActiveCN111147779B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201911414895.2ACN111147779B (en)2019-12-312019-12-31Video production method, electronic device, and medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201911414895.2ACN111147779B (en)2019-12-312019-12-31Video production method, electronic device, and medium

Publications (2)

Publication NumberPublication Date
CN111147779A CN111147779A (en)2020-05-12
CN111147779Btrue CN111147779B (en)2022-07-29

Family

ID=70522799

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201911414895.2AActiveCN111147779B (en)2019-12-312019-12-31Video production method, electronic device, and medium

Country Status (1)

CountryLink
CN (1)CN111147779B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112261218B (en)*2020-10-212022-09-20维沃移动通信有限公司Video control method, video control device, electronic device and readable storage medium
CN112422846B (en)*2020-11-182022-08-30维沃移动通信有限公司Video recording method and electronic equipment
CN112887618B (en)*2021-01-282023-03-24维沃移动通信有限公司Video shooting method and device
CN115701093B (en)*2021-07-152024-11-05上海幻电信息科技有限公司 Video shooting information acquisition method, and video shooting and processing instruction method
CN115002335B (en)*2021-11-262024-04-09荣耀终端有限公司Video processing method, apparatus, electronic device, and computer-readable storage medium
CN119277184A (en)*2024-04-152025-01-07荣耀终端有限公司 Video processing method, electronic device, chip system and storage medium
CN119027549B (en)*2024-10-102025-03-28广东咏声动漫股份有限公司Animation shot sequence processing method and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103391403A (en)*2013-08-232013-11-13北京奇艺世纪科技有限公司Method and device for realizing multi-lens video shooting real-time editing
CN103635967A (en)*2011-06-212014-03-12诺基亚公司Video remixing system
CN106534775A (en)*2016-11-032017-03-22北京小米移动软件有限公司Video editing method and device as well as video shooting method and device
CN107786827A (en)*2017-11-072018-03-09维沃移动通信有限公司Video capture method, video broadcasting method, device and mobile terminal
CN107872620A (en)*2017-11-222018-04-03北京小米移动软件有限公司 Video recording method and device
CN110072056A (en)*2019-05-102019-07-30北京迈格威科技有限公司Data processing method and device based on multiple camera modules
CN110336968A (en)*2019-07-172019-10-15广州酷狗计算机科技有限公司Video recording method, device, terminal device and storage medium
CN110557566A (en)*2019-08-302019-12-10维沃移动通信有限公司Video shooting method and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US8441548B1 (en)*2012-06-152013-05-14Google Inc.Facial image quality assessment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103635967A (en)*2011-06-212014-03-12诺基亚公司Video remixing system
CN103391403A (en)*2013-08-232013-11-13北京奇艺世纪科技有限公司Method and device for realizing multi-lens video shooting real-time editing
CN106534775A (en)*2016-11-032017-03-22北京小米移动软件有限公司Video editing method and device as well as video shooting method and device
CN107786827A (en)*2017-11-072018-03-09维沃移动通信有限公司Video capture method, video broadcasting method, device and mobile terminal
CN107872620A (en)*2017-11-222018-04-03北京小米移动软件有限公司 Video recording method and device
CN110072056A (en)*2019-05-102019-07-30北京迈格威科技有限公司Data processing method and device based on multiple camera modules
CN110336968A (en)*2019-07-172019-10-15广州酷狗计算机科技有限公司Video recording method, device, terminal device and storage medium
CN110557566A (en)*2019-08-302019-12-10维沃移动通信有限公司Video shooting method and electronic equipment

Also Published As

Publication numberPublication date
CN111147779A (en)2020-05-12

Similar Documents

PublicationPublication DateTitle
CN111147779B (en)Video production method, electronic device, and medium
CN108668083B (en)Photographing method and terminal
CN110557566B (en)Video shooting method and electronic equipment
WO2020125334A1 (en)Music playing method, device, terminal and storage medium
CN107707828B (en) A video processing method and mobile terminal
CN107786827B (en)Video shooting method, video playing method and device and mobile terminal
CN111093023B (en) Video shooting method and electronic device
WO2019196929A1 (en)Video data processing method and mobile terminal
WO2020042890A1 (en)Video processing method, terminal, and computer readable storage medium
CN111182213A (en) Video production method, electronic device and medium
CN108391171A (en)Control method and device, the terminal of video playing
WO2021104236A1 (en)Method for sharing photographing parameter, and electronic apparatus
CN111050070B (en)Video shooting method and device, electronic equipment and medium
CN111726525A (en) Video recording method, device, electronic device and storage medium
CN108259761B (en)Shooting method and terminal
CN110769174B (en)Video viewing method and electronic equipment
CN110855921B (en)Video recording control method and electronic equipment
CN111601174A (en)Subtitle adding method and device
CN110602386A (en)Video recording method and electronic equipment
CN108616771A (en)Video broadcasting method and mobile terminal
CN109257649B (en) A kind of multimedia file generation method and terminal device
CN109656461B (en) A screen capture method and terminal
CN111491205A (en)Video processing method and device and electronic equipment
CN109672845B (en)Video call method and device and mobile terminal
WO2020259090A1 (en)Operation method and terminal device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
TR01Transfer of patent right
TR01Transfer of patent right

Effective date of registration:20230802

Address after:710076 Floor 9, block G4, HUanPu Science Park, No. 211, Tiangu 8th Road, high tech Zone, Xi'an, Shaanxi Province

Patentee after:Xi'an Weiwo Software Technology Co.,Ltd.

Address before:523860 No. 283 BBK Avenue, Changan Town, Changan, Guangdong.

Patentee before:VIVO MOBILE COMMUNICATION Co.,Ltd.


[8]ページ先頭

©2009-2025 Movatter.jp