WO2021237619A1 - Video file editing method, and device, system and computer-readable storage medium - Google Patents

Video file editing method, and device, system and computer-readable storage medium Download PDF

Info

Publication number
WO2021237619A1
WO2021237619A1 PCT/CN2020/093038 CN2020093038W WO2021237619A1 WO 2021237619 A1 WO2021237619 A1 WO 2021237619A1 CN 2020093038 W CN2020093038 W CN 2020093038W WO 2021237619 A1 WO2021237619 A1 WO 2021237619A1
Authority
WO
WIPO (PCT)
Prior art keywords
video file
editing
target
video
terminal device
Prior art date
Application number
PCT/CN2020/093038
Other languages
French (fr)
Chinese (zh)
Inventor
张志鹏
朱磊
肖巍
Original Assignee
深圳市大疆创新科技有限公司
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 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to CN202080005965.3A priority Critical patent/CN112997506A/en
Priority to PCT/CN2020/093038 priority patent/WO2021237619A1/en
Publication of WO2021237619A1 publication Critical patent/WO2021237619A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440281Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the temporal resolution, e.g. by frame skipping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440218Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440263Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the spatial resolution, e.g. for displaying on a connected PDA

Definitions

  • This application relates to the field of data transmission technology, and in particular to a video file editing method, device, system, and computer-readable storage medium.
  • users can take high-definition pictures and high-definition videos through shooting equipment, such as drones and cameras.
  • the captured high-definition pictures and high-definition videos and other media files are stored on the shooting device.
  • the media files on the shooting device need to be completely downloaded to local devices, such as PCs, smart phones and tablets, etc., and then the media files can be edited on the local devices.
  • complete media files are usually large, take a long time to download, and the downloaded media files will take up a lot of storage space.
  • the time for downloading media files is much longer than the time for editing media files, and the local device has insufficient storage space.
  • the user experience is not good when the media file download fails.
  • the preprocessed video file is sent to the terminal device for the terminal device to display a video file editing page containing the preprocessed video file, wherein the preprocessing includes adjusting the resolution of the video file, At least one of frame rate and format;
  • the drone can be a rotorcraft.
  • the drone may be a multi-rotor aircraft that may include multiple rotors. Multiple rotors can rotate to generate lift for the drone.
  • the rotor can be a propulsion unit, allowing the drone to move freely in the air.
  • the rotor can rotate at the same rate and/or can generate the same amount of lift or thrust.
  • the rotor can rotate at different speeds at will, generating different amounts of lifting force or thrust and/or allowing the drone to rotate.
  • one, two, three, four, five, six, seven, eight, nine, ten or more rotors can be provided on the drone. These rotors can be arranged such that their rotation axes are parallel to each other. In some cases, the rotation axis of the rotors can be at any angle relative to each other, which can affect the movement of the drone.
  • the first preset threshold and the second preset threshold can be set based on actual conditions, which are not specifically limited in this application.
  • the first preset threshold is 0.2m/s
  • the second preset threshold is 10m/s. s.
  • the user can further adjust the playback speed of the video file through the playback speed adjustment icon, which can increase the adjustment range of the playback speed of the video file.
  • the download instruction of the target video file triggered by the user is acquired, and the target video file is downloaded from the shooting device according to the download instruction. Since the target video file is edited, and the size of the target video file is much smaller than the video file before editing, the time required to download the target video file is short, and the user does not need to wait for a long time, which greatly improves the user experience.
  • the video file editing method provided by the foregoing embodiment obtains the editing parameter information of the video file sent by the terminal device, and executes the video file editing operation according to the editing parameter information to generate the target video file, so that the video file editing operation is performed on the side of the shooting device Completed, the performance requirements of the terminal device are low, which is convenient for users to edit video files under various terminal devices, and improves user experience.
  • FIG. 7 is a schematic block diagram of a structure of a terminal device according to an embodiment of the present application.
  • the video file editing page is displayed by the display device, wherein the video file editing page is loaded with a video file preprocessed by the shooting device, and the preprocessing includes adjusting the resolution, frame rate, and format of the video file. At least one of
  • the target specification information is sent to the shooting device, so that the shooting device performs the preprocessing based on the target specification information, and transmits the preprocessed video file to a terminal device.
  • the acquiring target specification information of the video file includes:
  • the specification information of the target video file is sent to the shooting device, so that the shooting device performs a video file editing operation based on the editing parameter information and the specification information of the target video file to generate a target video file.
  • the specification information includes at least one of the resolution, frame rate, aspect ratio, and format of the target video file.
  • the processor is further configured to implement the following steps:
  • the processor 401 may be a micro-controller unit (MCU), a central processing unit (CPU), a digital signal processor (Digital Signal Processor, DSP), or the like.
  • MCU micro-controller unit
  • CPU central processing unit
  • DSP Digital Signal Processor
  • the specification information includes at least one of the resolution, frame rate, aspect ratio, and format of the target video file.
  • the editing parameter information includes editing parameters of a plurality of video clips, and the editing parameters of each video clip are the same or different.
  • the display parameters include at least one of exposure, contrast, brightness, saturation, color temperature, sharpening, special effects, and filters of the video clip.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

Disclosed are a video file editing method, and a device, a system and a computer-readable storage medium. The method comprises: displaying a video file editing page (S101); when an editing operation of a user for a video file is acquired, acquiring editing parameter information corresponding to the editing operation (S102); and sending the editing parameter information to a photographing device, such that the photographing device generates a target video file on the basis of the editing parameter information (S103). By means of the present application, the user convenience of editing a video file is improved.

Description

视频文件编辑方法、设备、系统及计算机可读存储介质Video file editing method, equipment, system and computer readable storage medium 技术领域Technical field
本申请涉及数据传输技术领域,尤其涉及一种视频文件编辑方法、设备、系统及计算机可读存储介质。This application relates to the field of data transmission technology, and in particular to a video file editing method, device, system, and computer-readable storage medium.
背景技术Background technique
目前,用户可以通过拍摄设备,例如无人机和相机等,拍摄高清图片和高清视频,拍摄的高清图片和高清视频等媒体文件存储在拍摄设备上,当用户需要编辑拍摄设备上的媒体文件时,需要将拍摄设备上的媒体文件完整的下载至本地设备,例如PC机、智能手机和平板电脑等,然后再在本地设备对媒体文件进行编辑。然而,完整的媒体文件通常较大,需要花费较长的下载时间,且下载的媒体文件会占用大量的存储空间,存在下载媒体文件的时间远大于编辑媒体文件的时间以及本地设备由于存储空间不足导致媒体文件下载失败的情况,用户体验不好。At present, users can take high-definition pictures and high-definition videos through shooting equipment, such as drones and cameras. The captured high-definition pictures and high-definition videos and other media files are stored on the shooting device. When the user needs to edit the media files on the shooting device , The media files on the shooting device need to be completely downloaded to local devices, such as PCs, smart phones and tablets, etc., and then the media files can be edited on the local devices. However, complete media files are usually large, take a long time to download, and the downloaded media files will take up a lot of storage space. The time for downloading media files is much longer than the time for editing media files, and the local device has insufficient storage space. The user experience is not good when the media file download fails.
发明内容Summary of the invention
基于此,本申请提供了一种视频文件编辑方法、设备、系统及计算机可读存储介质,旨在提高用户编辑视频文件的便利性。Based on this, the present application provides a video file editing method, device, system, and computer-readable storage medium, aiming to improve the convenience of users in editing video files.
第一方面,本申请提供了一种视频文件编辑方法,应用于终端设备,所述终端设备与一拍摄设备通信连接,所述方法包括:In the first aspect, this application provides a method for editing a video file, which is applied to a terminal device, and the terminal device is in communication connection with a shooting device, and the method includes:
显示视频文件编辑页面,其中,所述视频文件编辑页面加载有经所述拍摄设备预处理后的视频文件,所述预处理包括调整视频文件的分辨率、帧率和格式中的至少一项;Displaying a video file editing page, where the video file editing page is loaded with a video file preprocessed by the shooting device, and the preprocessing includes adjusting at least one of the resolution, frame rate, and format of the video file;
当获取到用户对所述视频文件编辑页面内加载的视频文件的编辑操作时,获取所述编辑操作对应的编辑参数信息;When the user's editing operation on the video file loaded in the video file editing page is acquired, the editing parameter information corresponding to the editing operation is acquired;
将所述编辑参数信息发送至所述拍摄设备,以供所述拍摄设备基于所述编辑参数信息执行视频文件编辑操作,以生成目标视频文件。The editing parameter information is sent to the shooting device, so that the shooting device performs a video file editing operation based on the editing parameter information to generate a target video file.
第二方面,本申请还提供了一种视频文件编辑方法,应用于拍摄设备,所述拍摄设备与终端设备通信连接;所述方法包括:In the second aspect, the present application also provides a method for editing a video file, which is applied to a photographing device, and the photographing device is in communication connection with a terminal device; the method includes:
将预处理后的视频文件发送给所述终端设备,以供所述终端设备显示包含 所述预处理后的视频文件的视频文件编辑页面,其中,所述预处理包括调整视频文件的分辨率、帧率和格式中的至少一项;The preprocessed video file is sent to the terminal device for the terminal device to display a video file editing page containing the preprocessed video file, wherein the preprocessing includes adjusting the resolution of the video file, At least one of frame rate and format;
获取所述终端设备发送的视频文件的编辑参数信息;Acquiring editing parameter information of the video file sent by the terminal device;
根据所述编辑参数信息执行视频文件编辑操作,以生成目标视频文件。Perform a video file editing operation according to the editing parameter information to generate a target video file.
第三方面,本申请还提供了一种终端设备,所述终端设备包括显示装置、存储器和处理器,所述终端设备与一拍摄设备通信连接;所述存储器用于存储计算机程序;In a third aspect, this application also provides a terminal device, the terminal device includes a display device, a memory, and a processor, the terminal device is in communication connection with a photographing device; the memory is used to store a computer program;
所述处理器,用于执行所述计算机程序并在执行所述计算机程序时,实现如上所述的视频文件编辑方法的步骤。The processor is configured to execute the computer program and, when the computer program is executed, realize the steps of the video file editing method as described above.
第四方面,本申请还提供了一种拍摄设备,所述拍摄设备包括存储器、处理器和拍摄装置,所述拍摄设备与一终端设备通信连接;所述存储器用于存储计算机程序;In a fourth aspect, the present application also provides a photographing equipment, the photographing equipment includes a memory, a processor, and a photographing device, the photographing equipment is communicatively connected with a terminal device; the memory is used to store a computer program;
所述处理器,用于执行所述计算机程序并在执行所述计算机程序时,实现如上所述的视频文件编辑方法的步骤。The processor is configured to execute the computer program and, when the computer program is executed, realize the steps of the video file editing method as described above.
第五方面,本申请还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器实现如上所述的视频文件编辑方法的步骤。In a fifth aspect, the present application also provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor realizes the video file as described above. Edit method steps.
本申请实施例提供了一种视频文件编辑方法、设备、系统及计算机可读存储介质,通过在终端设备显示加载有经拍摄设备预处理后的视频文件的视频文件编辑页面,并当获取到用户对该视频文件编辑页面内的视频文件的编辑操作时,获取该编辑操作对应的编辑参数信息,并将该编辑参数信息发送至该拍摄设备,由该拍摄设备基于该编辑参数信息执行视频文件编辑操作,以生成目标视频文件,不需要将完整的视频文件下载至终端设备后才能对视频文件进行编辑,极大的提高了用户编辑视频文件的便利性。The embodiments of the application provide a video file editing method, device, system, and computer-readable storage medium. The video file editing page loaded with the video file preprocessed by the shooting device is displayed on the terminal device, and the user During the editing operation of the video file in the video file editing page, the editing parameter information corresponding to the editing operation is obtained, and the editing parameter information is sent to the shooting device, and the shooting device executes the video file editing based on the editing parameter information Operation to generate the target video file, the video file can be edited without downloading the complete video file to the terminal device, which greatly improves the convenience for the user to edit the video file.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the application.
附图说明Description of the drawings
为了更清楚地说明本申请实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present application more clearly, the following will briefly introduce the drawings used in the description of the embodiments. Obviously, the drawings in the following description are some embodiments of the present application. Ordinary technicians can obtain other drawings based on these drawings without creative work.
图1是实施本申请实施例提供的视频文件编辑方法的场景示意图;FIG. 1 is a schematic diagram of a scene for implementing a method for editing a video file provided by an embodiment of the present application;
图2是本申请实施例提供的一种视频文件编辑方法的步骤示意流程图;2 is a schematic flowchart of steps of a video file editing method provided by an embodiment of the present application;
图3是本申请实施例中的视频文件编辑页面的一示意图;Fig. 3 is a schematic diagram of a video file editing page in an embodiment of the present application;
图4是本申请实施例中的视频文件编辑页面的另一示意图;FIG. 4 is another schematic diagram of a video file editing page in an embodiment of the present application;
图5是本申请实施例中的视频文件编辑页面的另一示意图;FIG. 5 is another schematic diagram of a video file editing page in an embodiment of the present application;
图6是本申请实施例提供的又一种视频文件编辑方法的步骤示意流程图;FIG. 6 is a schematic flowchart of the steps of another video file editing method provided by an embodiment of the present application;
图7是本申请实施例提供的一种终端设备的结构示意性框图;FIG. 7 is a schematic block diagram of the structure of a terminal device according to an embodiment of the present application;
图8是本申请实施例提供的一种拍摄设备的结构示意性框图;FIG. 8 is a schematic block diagram of the structure of a photographing device provided by an embodiment of the present application;
图9是本申请实施例提供的一种视频文件编辑系统的结构示意性框图。FIG. 9 is a schematic block diagram of the structure of a video file editing system provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of them. Based on the embodiments in this application, all other embodiments obtained by a person of ordinary skill in the art without creative work shall fall within the protection scope of this application.
附图中所示的流程图仅是示例说明,不是必须包括所有的内容和操作/步骤,也不是必须按所描述的顺序执行。例如,有的操作/步骤还可以分解、组合或部分合并,因此实际执行的顺序有可能根据实际情况改变。The flowchart shown in the drawings is only an example, and does not necessarily include all contents and operations/steps, nor does it have to be executed in the described order. For example, some operations/steps can also be decomposed, combined or partially combined, so the actual execution order may be changed according to actual conditions.
下面结合附图,对本申请的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Hereinafter, some embodiments of the present application will be described in detail with reference to the accompanying drawings. In the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.
本申请实施例提供了一种视频文件编辑方法、设备、系统及计算机可读存储介质,请参照图1,图1是实施本申请实施例提供的视频文件编辑方法的场景示意图,如图1所示,该场景包括终端设备100和拍摄设备200,终端设备100与拍摄设备200通信连接,例如,终端设备100通过数据线与拍摄设备200通信连接,或者终端设备100通过无线与拍摄设备200通信连接。The embodiment of this application provides a video file editing method, device, system and computer-readable storage medium. Please refer to FIG. 1. As shown, the scene includes a terminal device 100 and a photographing device 200. The terminal device 100 is in communication with the photographing device 200. For example, the terminal device 100 is connected to the photographing device 200 through a data cable, or the terminal device 100 is connected to the photographing device 200 through wireless communication. .
在一实施例中,终端设备100包括显示装置110,拍摄设备200包括拍摄装置210,拍摄设备200通过拍摄装置210拍摄视频或者图片,并存储在拍摄设备中,当用户需要编辑拍摄设备200上的视频文件时,终端设备100显示加载有经拍摄设备预处理后的视频文件的视频文件编辑页面,当获取到用户对该视频文件编辑页面内的视频文件的编辑操作时,获取该编辑操作对应的编辑参数信息,然后将该编辑参数信息发送至拍摄设备,以供拍摄设备200基于该编辑参数信息执行视频文件编辑操作,以生成目标视频文件。In one embodiment, the terminal device 100 includes a display device 110, and the shooting device 200 includes a shooting device 210. The shooting device 200 uses the shooting device 210 to shoot videos or pictures and store them in the shooting device. When the user needs to edit the information on the shooting device 200 For video files, the terminal device 100 displays the video file editing page loaded with the video file preprocessed by the shooting device. When the user's editing operation of the video file in the video file editing page is obtained, the corresponding editing operation is obtained. The parameter information is edited, and then the edited parameter information is sent to the shooting device for the shooting device 200 to perform a video file editing operation based on the editing parameter information to generate a target video file.
其中,终端设备100包括遥控器、地面控制平台、手机、平板电脑、笔记本电脑和PC电脑等,拍摄设备200包括相机和搭载有拍摄装置210的无人机等。无人机可具有一个或多个推进单元,以允许无人机可在空中飞行。该一个或多个推进单元可使得无人机以一个或多个、两个或多个、三个或多个、四个或多个、五个或多个、六个或多个自由角度移动。在某些情形下,无人机可以绕一个、两个、三个或多个旋转轴旋转。旋转轴可彼此垂直。旋转轴在无人机的整个飞行过程中可维持彼此垂直。旋转轴可包括俯仰轴、横滚轴和/或偏航轴。无人机可沿一个或多个维度移动。例如,无人机能够因一个或多个旋翼产生的提升力而向上移动。在某些情形下,无人机可沿Z轴(可相对无人机方向向上)、X轴和/或Y轴(可为横向)移动。无人机可沿彼此垂直的一个、两个或三个轴移动。Among them, the terminal equipment 100 includes a remote control, a ground control platform, a mobile phone, a tablet computer, a notebook computer, a PC computer, etc., and the photographing equipment 200 includes a camera and a drone equipped with a photographing device 210. The drone may have one or more propulsion units to allow the drone to fly in the air. The one or more propulsion units can make the drone move at one or more, two or more, three or more, four or more, five or more, six or more free angles . In some cases, the drone can rotate around one, two, three, or more rotation axes. The rotation axes can be perpendicular to each other. The rotation axis can be maintained perpendicular to each other during the entire flight of the UAV. The rotation axis may include a pitch axis, a roll axis, and/or a yaw axis. The drone can move in one or more dimensions. For example, a drone can move upward due to the lifting force generated by one or more rotors. In some cases, the drone can move along the Z axis (upward relative to the drone direction), X axis, and/or Y axis (which can be lateral). The drone can move along one, two or three axes that are perpendicular to each other.
无人机可以是旋翼飞机。在某些情形下,无人机可以是可包括多个旋翼的多旋翼飞行器。多个旋翼可旋转而为无人机产生提升力。旋翼可以是推进单元,可使得无人机在空中自由移动。旋翼可按相同速率旋转和/或可产生相同量的提升力或推力。旋翼可按不同的速率随意地旋转,产生不同量的提升力或推力和/或允许无人机旋转。在某些情形下,在无人机上可提供一个、两个、三个、四个、五个、六个、七个、八个、九个、十个或更多个旋翼。这些旋翼可布置成其旋转轴彼此平行。在某些情形下,旋翼的旋转轴可相对于彼此呈任意角度,从而可影响无人机的运动。The drone can be a rotorcraft. In some cases, the drone may be a multi-rotor aircraft that may include multiple rotors. Multiple rotors can rotate to generate lift for the drone. The rotor can be a propulsion unit, allowing the drone to move freely in the air. The rotor can rotate at the same rate and/or can generate the same amount of lift or thrust. The rotor can rotate at different speeds at will, generating different amounts of lifting force or thrust and/or allowing the drone to rotate. In some cases, one, two, three, four, five, six, seven, eight, nine, ten or more rotors can be provided on the drone. These rotors can be arranged such that their rotation axes are parallel to each other. In some cases, the rotation axis of the rotors can be at any angle relative to each other, which can affect the movement of the drone.
无人机可具有多个旋翼。旋翼可连接至无人机的本体,本体可包含控制单元、惯性测量单元(inertial measuring unit,IMU)、处理器、电池、电源和/或其他传感器。旋翼可通过从本体中心部分分支出来的一个或多个臂或延伸而连接至本体。例如,一个或多个臂可从无人机的中心本体放射状延伸出来,而且在臂末端或靠近末端处可具有旋翼。The drone can have multiple rotors. The rotor can be connected to the main body of the drone, and the main body can include a control unit, an inertial measurement unit (IMU), a processor, a battery, a power supply, and/or other sensors. The rotor can be connected to the body by one or more arms or extensions branching from the central part of the body. For example, one or more arms may extend radially from the central body of the drone, and may have rotors at or near the end of the arms.
请参阅图2,图2是本申请实施例提供的一种视频文件编辑方法的步骤示意流程图。该视频文件编辑方法可以应用在终端设备中,用于用户编辑视频文件。如图2所示,该视频文件编辑方法包括步骤S101至步骤S103。Please refer to FIG. 2. FIG. 2 is a schematic flowchart of steps of a video file editing method provided by an embodiment of the present application. The video file editing method can be applied to a terminal device for users to edit video files. As shown in Figure 2, the video file editing method includes steps S101 to S103.
S101、显示视频文件编辑页面,其中,所述视频文件编辑页面加载有经所述拍摄设备预处理后的视频文件。S101. Display a video file editing page, where the video file editing page is loaded with a video file preprocessed by the shooting device.
当用户想要编辑拍摄设备上的视频文件时,终端设备显示视频文件编辑页面,其中,该视频文件编辑页面加载有经拍摄设备预处理后的视频文件,预处理可以包括调整视频文件的分辨率、帧率和格式中的至少一项。When the user wants to edit the video file on the shooting device, the terminal device displays the video file editing page, where the video file editing page is loaded with the video file preprocessed by the shooting device, and the preprocessing may include adjusting the resolution of the video file At least one of, frame rate and format.
该视频文件是由用户选择的视频文件,该视频文件编辑页面内加载的预处理后的视频文件是拍摄设备实时发送的,拍摄设备对视频文件进行预处理的方式为调整视频文件的规格,以减低发送的视频流的数据量,确保终端设备和拍摄设备之间的通信链路有足够带宽支持流畅的传输。The video file is a video file selected by the user. The preprocessed video file loaded in the video file editing page is sent by the shooting device in real time. The method of preprocessing the video file by the shooting device is to adjust the specifications of the video file to Reduce the data volume of the sent video stream, and ensure that the communication link between the terminal device and the shooting device has sufficient bandwidth to support smooth transmission.
在一实施例中,当用户想要编辑拍摄设备上的视频文件时,终端设备显示视频文件阅览页面,其中,视频文件阅览页面显示有拍摄设备内存储的各视频文件的缩略图,该缩略图用于标识视频文件的内容,使得用户通过阅览缩略图知晓视频文件的内容;获取用户对该视频文件阅览页面中的视频文件的缩略图的触发操作,并根据该触发操作,确定待编辑的视频文件的标识符;将待编辑的视频文件的标识符发送至拍摄设备,由拍摄设备基于待编辑的视频文件的标识符获取待编辑的视频文件,并基于预设规格信息对待编辑的视频文件进行预处理,也即,对视频文件的规格进行调整,然后以视频流的方式,将调整规格后的视频文件发送至终端设备;终端设备基于接收到的视频流,显示包含调整规格后的视频文件的视频文件编辑页面。In one embodiment, when a user wants to edit a video file on the shooting device, the terminal device displays a video file viewing page, where the video file viewing page displays thumbnails of each video file stored in the shooting device. Used to identify the content of the video file, so that the user can know the content of the video file by viewing the thumbnail; obtain the user's trigger operation of the thumbnail of the video file in the video file viewing page, and determine the video to be edited according to the trigger operation The identifier of the file; the identifier of the video file to be edited is sent to the shooting device, and the shooting device obtains the video file to be edited based on the identifier of the video file to be edited, and performs processing on the video file to be edited based on the preset specification information Preprocessing, that is, adjusting the specifications of the video file, and then sending the adjusted video file to the terminal device in the form of a video stream; the terminal device displays the video file containing the adjusted specifications based on the received video stream The video file editing page.
在一实施例中,终端设备获取视频文件的目标规格信息,并将该目标规格信息发送至拍摄设备,由拍摄设备基于该目标规格信息调整视频文件的规格,并以视频流的方式将调整规格后的视频文件传输至终端设备,终端设备接收包含调整规格后的视频文件的视频流,并基于该视频流显示包含调整规格后的视频文件的视频文件编辑页面。其中,目标规格信息包括视频文件的分辨率、帧率和格式中的至少一项,目标规格信息的获取方式可以为:将预设规格信息作为视频文件的目标规格信息;或者获取用户选择的规格信息,并将用户选择的规格信息作为视频文件的目标规格信息。通过调整视频文件的规格,以减低发送的视频流的数据量,确保终端设备和拍摄设备之间的通信链路有足够带宽支持流畅的传输,减少传输所需的时间,提高用户体验。In one embodiment, the terminal device obtains the target specification information of the video file, and sends the target specification information to the shooting device, and the shooting device adjusts the specifications of the video file based on the target specification information, and adjusts the specifications in the form of a video stream. The latter video file is transmitted to the terminal device, and the terminal device receives the video stream containing the adjusted video file, and displays a video file editing page containing the adjusted video file based on the video stream. Wherein, the target specification information includes at least one of the resolution, frame rate, and format of the video file, and the target specification information can be obtained by using preset specification information as the target specification information of the video file; or obtaining the specification selected by the user Information, and use the specification information selected by the user as the target specification information of the video file. By adjusting the specifications of the video files, the data volume of the video stream sent is reduced, and the communication link between the terminal device and the shooting device has sufficient bandwidth to support smooth transmission, reducing the time required for transmission, and improving user experience.
S102、当获取到用户对所述视频文件编辑页面内的视频文件的编辑操作时,获取所述编辑操作对应的编辑参数信息。S102: When the user's editing operation on the video file in the video file editing page is acquired, acquire editing parameter information corresponding to the editing operation.
在显示视频文件编辑页面后,用户可以通过该视频文件编辑页面对视频文件进行视频片段截取、设置视频片段的曝光、对比度、亮度、饱和度、色温、锐化、特效和滤镜等显示参数,设置视频片段的播放模式等,还可以调整视频文件的播放速度、对播放的视频文件进行快进、快退和暂停等。After the video file editing page is displayed, the user can use the video file editing page to intercept video clips of the video file, set the exposure, contrast, brightness, saturation, color temperature, sharpening, special effects, filters and other display parameters of the video clip. Set the playback mode of the video clip, etc., you can also adjust the playback speed of the video file, fast forward, rewind, and pause the played video file.
在一实施例中,该视频文件编辑页面包括播放速度调整图标,该播放速度调整图标用于供用户调整视频文件编辑页面的视频文件的播放速度,例如,当 获取到用户对该播放速度调整图标的触发操作时,根据该触发操作调整视频文件编辑页面的视频文件的播放速度。其中,该播放速度调整图标在视频文件编辑页面内的位置、形状、大小和颜色可基于实际情况进行设置,本申请对此不做具体限定,该触发操作包括单击操作、双击操作和长按操作中的任一项,视频文件的播放速度包括0.1倍播放速度、0.2倍播放速度、0.5倍播放速度、1倍播放速度、1.5倍播放速度、2倍播放速度、5倍播放速度和10倍播放速度。通过调整视频文件编辑页面的视频文件的播放速度,便于用户对视频文件进行视频片段截取,提高视频片段截取的准确性,提高用户体验。In an embodiment, the video file editing page includes a playback speed adjustment icon, and the playback speed adjustment icon is used for the user to adjust the playback speed of the video file on the video file editing page. For example, when the user obtains the playback speed adjustment icon During the trigger operation, adjust the playback speed of the video file on the video file editing page according to the trigger operation. Among them, the position, shape, size and color of the playback speed adjustment icon in the video file editing page can be set based on actual conditions, and this application does not specifically limit this. The trigger operations include single-click operations, double-click operations, and long presses. In any of the operations, the playback speed of the video file includes 0.1 times the playback speed, 0.2 times the playback speed, 0.5 times the playback speed, 1 times the playback speed, 1.5 times the playback speed, 2 times the playback speed, 5 times the playback speed, and 10 times the playback speed. Play speed. By adjusting the playback speed of the video file on the video file editing page, it is convenient for users to intercept video clips of the video file, improve the accuracy of video clip interception, and improve user experience.
示例性的,如图3所示,终端设备显示有视频文件编辑页面,视频文件编辑页面的右下侧区域显示有快进图标、快退图标、暂停图标和播放速度调整图标,且视频文件的当前播放速度为1倍播放速度,即正常播放,且视频文件编辑页面还显示有视频文件的播放进度条。Exemplarily, as shown in Figure 3, the terminal device displays a video file editing page, the lower right area of the video file editing page displays a fast forward icon, a fast rewind icon, a pause icon, and a playback speed adjustment icon, and the video file’s The current playback speed is 1 times the playback speed, that is, normal playback, and the video file editing page also displays the playback progress bar of the video file.
在一实施例中,视频文件编辑页面的视频文件的播放速度默认为1倍播放速度,即正常播放,当获取到用户对播放速度调整图标的单击操作时,将视频文件的播放速度调整为0.1倍播放速度、0.2倍播放速度和0.5倍播放速度中的任一项,具体为当获取到用户对播放速度调整图标的单击操作时,将视频文件的播放速度调整为0.5倍播放速度,当获取到用户再次对播放速度调整图标的单击操作时,将视频文件的播放速度由0.5倍播放速度调整为0.2倍播放速度,当获取到用户又一次对播放速度调整图标的单击操作时,将视频文件的播放速度由0.2倍播放速度调整为0.1倍播放速度。In one embodiment, the playback speed of the video file on the video file editing page defaults to 1 times the playback speed, that is, normal playback. When the user's click operation on the playback speed adjustment icon is obtained, the playback speed of the video file is adjusted to Any one of 0.1 times playback speed, 0.2 times playback speed, and 0.5 times playback speed, specifically when the user clicks on the playback speed adjustment icon is obtained, the playback speed of the video file is adjusted to 0.5 times the playback speed, When the user clicks the playback speed adjustment icon again, the playback speed of the video file is adjusted from 0.5 times the playback speed to 0.2 times the playback speed, when the user clicks the playback speed adjustment icon again , Adjust the playback speed of the video file from 0.2 times the playback speed to 0.1 times the playback speed.
在一实施例中,当获取到用户对播放速度调整图标的双击操作时,将视频文件的播放速度调整为1.5倍播放速度、2倍播放速度、5倍播放速度和10倍播放速度中的任一项,具体为当获取到用户对播放速度调整图标的双击操作时,将视频文件的播放速度调整为1.5倍播放速度,当获取到用户再次对播放速度调整图标的双击操作时,将视频文件的播放速度由1.5倍播放速度调整为2倍播放速度,当获取到用户又一次对播放速度调整图标的双击操作时,将视频文件的播放速度由2倍播放速度调整为5倍播放速度,当获取到用户再一次对播放速度调整图标的双击操作时,将视频文件的播放速度由5倍播放速度调整为10倍播放速度。当视频文件编辑页面的视频文件以快速模式或者慢速模式播放的过程中,当获取到用户对播放速度调整图标的长按操作时,将视频文件编辑页面的视频文件的播放速度调整为1倍播放速度,即恢复正常的播放速度。In one embodiment, when the user's double-click operation on the playback speed adjustment icon is obtained, the playback speed of the video file is adjusted to any of 1.5 times the playback speed, 2 times the playback speed, 5 times the playback speed, and 10 times the playback speed. One item is to adjust the playback speed of the video file to 1.5 times the playback speed when the user's double-click operation on the playback speed adjustment icon is obtained, and when the user double-clicks the playback speed adjustment icon again, the video file The playback speed of the video file is adjusted from 1.5 times the playback speed to 2 times the playback speed. When the user double-clicks the playback speed adjustment icon again, the playback speed of the video file is adjusted from 2 times the playback speed to 5 times the playback speed. When the user's double-click operation on the playback speed adjustment icon is acquired again, the playback speed of the video file is adjusted from 5 times the playback speed to 10 times the playback speed. When the video file on the video file editing page is played in fast mode or slow mode, when the user's long-press operation on the playback speed adjustment icon is obtained, the playback speed of the video file on the video file editing page is adjusted to 1 times Play speed, that is, return to normal play speed.
在一实施例中,该视频文件编辑页面的视频文件的播放速度与视频文件中 的目标对象的移动速度有关,该目标对象的移动速度是根据视频文件中的包含目标对象的相邻帧图像确定的,该目标对象包括图像背景和/或运动目标,该目标对象的移动速度是根据相邻帧图像中的图像背景对应的特征点的像素位置和/或运动目标对应的特征点的像素位置确定的,该图像背景可以包括草地、天空、建筑物等。通过视频文件中的目标对象的移动速度自适应的调整视频文件的播放速度,便于用户对视频文件进行视频片段截取,提高视频片段截取的准确性,提高用户体验。In an embodiment, the playback speed of the video file on the video file editing page is related to the moving speed of the target object in the video file, and the moving speed of the target object is determined according to the adjacent frame image containing the target object in the video file. Yes, the target object includes an image background and/or a moving target, and the moving speed of the target object is determined according to the pixel position of the feature point corresponding to the image background in the adjacent frame image and/or the pixel position of the feature point corresponding to the moving target Yes, the image background can include grass, sky, buildings, etc. By adaptively adjusting the playback speed of the video file through the moving speed of the target object in the video file, it is convenient for the user to intercept the video clip of the video file, improve the accuracy of the video clip interception, and improve the user experience.
在一实施例中,终端设备获取相邻帧图像中的图像背景对应的特征点的像素位置和/或运动目标对应的特征点的像素位置;根据相邻帧图像中的图像背景对应的特征点的像素位置和/或运动目标对应的特征点的像素位置,确定目标对象的移动速度;根据目标对象的移动速度,调整视频文件编辑页面的视频文件的播放速度,例如,在目标对象的移动速度小于或等于第一预设阈值时,根据目标对象的移动速度,调高视频文件编辑页面内的视频文件的播放速度,而在目标对象的移动速度大于或等于第二预设阈值时,根据目标对象的移动速度,调低视频文件编辑页面内的视频文件的播放速度。其中,第一预设阈值和第二预设阈值可基于实际情况进行设置,本申请对此不做具体限定,例如,第一预设阈值为0.2m/s,第二预设阈值为10m/s。通过在目标对象的移动速度较慢时,调高视频文件的播放速度,减少用户的阅览时间,而在目标对象的移动速度较快时,调低视频文件的播放速度,便于用户阅览视频文件内的目标对象,提高视频片段截取的准确性,提高用户体验。In an embodiment, the terminal device obtains the pixel positions of the feature points corresponding to the image background in the adjacent frame images and/or the pixel positions of the feature points corresponding to the moving target; according to the feature points corresponding to the image background in the adjacent frame images Determine the moving speed of the target object based on the pixel position and/or the pixel position of the feature point corresponding to the moving target; adjust the playback speed of the video file on the video file editing page according to the moving speed of the target object, for example, the moving speed of the target object When it is less than or equal to the first preset threshold, the playback speed of the video file in the video file editing page is increased according to the moving speed of the target object, and when the moving speed of the target object is greater than or equal to the second preset threshold, according to the target The moving speed of the object, reduce the playback speed of the video file in the video file editing page. Among them, the first preset threshold and the second preset threshold can be set based on actual conditions, which are not specifically limited in this application. For example, the first preset threshold is 0.2m/s, and the second preset threshold is 10m/s. s. When the moving speed of the target object is slow, the playback speed of the video file is increased to reduce the user's viewing time, and when the moving speed of the target object is fast, the playback speed of the video file is reduced to facilitate the user to read the video file. To improve the accuracy of video clip interception and improve user experience.
在一实施例中,终端设备根据目标对象的移动速度调整视频文件的播放速度后,用户还可以通过播放速度调整图标进一步地调整视频文件的播放速度,可以提高视频文件的播放速度的调整范围。In one embodiment, after the terminal device adjusts the playback speed of the video file according to the moving speed of the target object, the user can further adjust the playback speed of the video file through the playback speed adjustment icon, which can increase the adjustment range of the playback speed of the video file.
在一实施例中,该编辑操作包括用户对视频文件的片段标记操作,该编辑参数信息包括片段标记信息,当获取到用户对视频文件编辑页面内的视频文件的片段标记操作时,获取片段标记操作对应的片段标记信息。其中,视频文件编辑页面包括视频文件的片段标记图标,片段标记图标在视频文件编辑页面内的显示位置、形状、大小和颜色可基于实际情况进行设置,本申请对此不做具体限定,该片段标记操作包括用户对片段标记图标的触控操作,该片段标记信息包括视频片段的起始帧标记和结束帧标记,通过起始帧标记和结束帧标记可以从视频文件中截取对应的视频片段。用户通过片段标记图标可以对视频文件进行标记,得到视频片段的起始帧标记和结束帧标记,便于后续对视频片段进 行编辑。In one embodiment, the editing operation includes a segment mark operation of the user on the video file, and the editing parameter information includes segment mark information. When the user's segment mark operation on the video file in the video file editing page is obtained, the segment mark is obtained Operate the corresponding fragment mark information. Among them, the video file editing page includes the segment mark icon of the video file. The display position, shape, size, and color of the segment mark icon in the video file editing page can be set based on actual conditions. This application does not specifically limit this. The segment The marking operation includes the user's touch operation on the segment marking icon. The segment marking information includes the start frame mark and the end frame mark of the video segment, and the corresponding video segment can be intercepted from the video file through the start frame mark and the end frame mark. The user can mark the video file through the clip mark icon to get the start frame mark and end frame mark of the video clip, which is convenient for subsequent editing of the video clip.
示例性的,如图4所示,视频文件编辑页面右下侧区域显示有快进图标、快退图标、暂停图标、播放速度调整图标和片段标记图标,且视频文件的当前播放速度为1倍播放速度,即正常播放,且视频文件编辑页面还显示有视频文件的播放进度条,当用户首次触控该片段标记图标时,将当前播放的视频帧标记为视频片段的起始帧,得到起始帧标记,经过一段时间播放后,当用户再次触控该片段标记图标时,将当前播放的视频帧标记为视频片段的结束帧,得到结束帧标记,从而得到片段标记信息。Exemplarily, as shown in Figure 4, a fast forward icon, a fast rewind icon, a pause icon, a playback speed adjustment icon, and a segment mark icon are displayed in the lower right area of the video file editing page, and the current playback speed of the video file is 1 times The playback speed, that is, normal playback, and the video file editing page also displays the playback progress bar of the video file. When the user touches the clip mark icon for the first time, the currently playing video frame will be marked as the start frame of the video clip. The start frame mark, after a period of playing, when the user touches the clip mark icon again, the currently played video frame is marked as the end frame of the video clip, the end frame mark is obtained, and the clip mark information is obtained.
在一实施例中,在获取到片段标记操作对应的片段标记信息之后,在该视频文件编辑页面内显示该片段标记信息对应的视频片段;获取用户对视频片段的编辑操作对应的编辑参数。其中,该编辑参数包括视频片段的显示参数、背景音和播放模式中的至少一项,显示参数包括视频片段的曝光、对比度、亮度、饱和度、色温、锐化、特效和滤镜中的至少一项,播放模式包括快放模式、慢放模式、顺序模式和倒序模式中的至少一项,快放模式是指视频片段的播放速度快于视频片段的正常播放速度的模式,慢放模式是指视频片段的播放速度慢于视频片段的正常播放速度的模式,顺序模式是指视频片段中的各视频帧按照时间轴的顺序进行播放的模式,倒序模式的指视频片段中的各视频帧按照时间轴的倒序进行播放的模式。In one embodiment, after the segment marking information corresponding to the segment marking operation is obtained, the video segment corresponding to the segment marking information is displayed in the video file editing page; the editing parameters corresponding to the editing operation of the video segment by the user are acquired. Wherein, the editing parameters include at least one of the display parameters, background sound, and playback mode of the video clip, and the display parameters include at least one of the exposure, contrast, brightness, saturation, color temperature, sharpening, special effects, and filters of the video clip. One item, the play mode includes at least one of fast play mode, slow play mode, sequence mode and reverse order mode. The fast play mode refers to the mode in which the playback speed of the video clip is faster than the normal playback speed of the video clip, and the slow play mode is Refers to the mode in which the playback speed of the video clip is slower than the normal playback speed of the video clip. The sequential mode refers to the mode in which each video frame in the video clip is played in the order of the time axis. The reverse mode refers to the mode in which each video frame in the video clip is played in accordance with the The mode of playback in the reverse order of the timeline.
示例性的,如图5所示,该视频文件编辑页面的右侧显示有曝光、对比度、亮度、饱和度、色温、锐化、特效、滤镜、背景音和播放速度的编辑图标,用户通过显示的曝光、对比度、亮度、饱和度、色温、锐化、特效、滤镜、背景音和播放速度的编辑图标,可以编辑视频片段的曝光、对比度、亮度、饱和度、色温、锐化、特效、滤镜、背景音和播放速度等参数。Exemplarily, as shown in Figure 5, the right side of the video file editing page displays editing icons for exposure, contrast, brightness, saturation, color temperature, sharpening, special effects, filters, background sounds, and playback speed. The user passes Display the editing icons for exposure, contrast, brightness, saturation, color temperature, sharpening, special effects, filters, background sound, and playback speed, and you can edit the exposure, contrast, brightness, saturation, color temperature, sharpening, and special effects of video clips , Filters, background sound and playback speed and other parameters.
S103、将所述编辑参数信息发送至所述拍摄设备,以供所述拍摄设备基于所述编辑参数信息执行视频文件编辑操作,以生成目标视频文件。S103. Send the editing parameter information to the shooting device, so that the shooting device performs a video file editing operation based on the editing parameter information, so as to generate a target video file.
在用户编辑视频文件的过程中,每编辑一次视频文件,得到编辑参数信息,就将该编辑参数信息发送至拍摄设备,由拍摄设备基于该编辑参数信息执行视频文件编辑操作,以生成目标视频文件,当然,也可以在用户编辑完成视频文件后,获取到用户的编辑参数信息的确认上传指令时,基于该确认上传指令将用户在对视频文件进行编辑时所记录的全部编辑参数信息发送至拍摄设备,由拍摄设备基于该编辑参数信息执行视频文件编辑操作,以生成目标视频文件。In the process of editing a video file by the user, every time the video file is edited and the editing parameter information is obtained, the editing parameter information is sent to the shooting device, and the shooting device executes the video file editing operation based on the editing parameter information to generate the target video file Of course, after the user has finished editing the video file, when the user's editing parameter information confirmation upload instruction is obtained, based on the confirmation upload instruction, all the editing parameter information recorded by the user when editing the video file is sent to the shooting Device, the shooting device executes the video file editing operation based on the editing parameter information to generate the target video file.
在一实施例中,获取用户选择的目标视频文件的规格信息,并将目标视频 文件的规格信息发送至拍摄设备,以供拍摄设备基于编辑参数信息和目标视频文件的规格信息执行视频文件编辑操作,以生成目标视频文件。其中,该规格信息包括目标视频文件的分辨率、帧率、画面比例和格式中的至少一项。通过将用户选择的目标视频文件的规格信息发送至拍摄设备,使得拍摄设备能够基于目标视频文件的规格信息和编辑参数信息,直接生成目标视频文件,不需要在终端设备侧生成目标视频文件,对终端设备的性能要求较低,便于用户在各种终端设备下实现对视频文件的编辑。In one embodiment, the specification information of the target video file selected by the user is acquired, and the specification information of the target video file is sent to the shooting device, so that the shooting device can perform the video file editing operation based on the editing parameter information and the specification information of the target video file To generate the target video file. Wherein, the specification information includes at least one of the resolution, frame rate, aspect ratio, and format of the target video file. By sending the specification information of the target video file selected by the user to the shooting device, the shooting device can directly generate the target video file based on the specification information and editing parameter information of the target video file. There is no need to generate the target video file on the terminal device side. The performance requirements of terminal equipment are low, which is convenient for users to edit video files under various terminal equipment.
在一实施方式中,获取用户触发的目标视频文件的下载指令,并根据该下载指令从该拍摄设备中下载目标视频文件。由于目标视频文件是编辑好的,且目标视频文件的大小远远小于编辑前的视频文件,下载目标视频文件所需的时间较短,不需要用户长时间等待,极大的提高了用户体验。In one embodiment, the download instruction of the target video file triggered by the user is acquired, and the target video file is downloaded from the shooting device according to the download instruction. Since the target video file is edited, and the size of the target video file is much smaller than the video file before editing, the time required to download the target video file is short, and the user does not need to wait for a long time, which greatly improves the user experience.
上述实施例提供的视频文件编辑方法,通过在终端设备显示加载有经拍摄设备预处理后的视频文件的视频文件编辑页面,并当获取到用户对该视频文件编辑页面内的视频文件的编辑操作时,获取该编辑操作对应的编辑参数信息,并将该编辑参数信息发送至该拍摄设备,由该拍摄设备基于该编辑参数信息执行视频文件编辑参照,以生成目标视频文件,不需要将完整的视频文件下载至终端设备后才能对视频文件进行编辑,极大的提高了用户编辑视频文件的便利性。The video file editing method provided in the foregoing embodiment displays a video file editing page loaded with a video file preprocessed by the shooting device on the terminal device, and when the user's editing operation of the video file in the video file editing page is obtained At the time, the editing parameter information corresponding to the editing operation is obtained, and the editing parameter information is sent to the shooting device, and the shooting device executes the video file editing reference based on the editing parameter information to generate the target video file. The video file can be edited only after the video file is downloaded to the terminal device, which greatly improves the convenience for the user to edit the video file.
请参阅图6,图6是本申请实施例提供的另一种视频文件编辑方法的步骤示意流程图。该视频文件编辑方法应用于拍摄设备,该拍摄设备包括相机和搭载有拍摄装置的无人机。如图4所示,该视频文件编辑方法包括步骤S201至S203。Please refer to FIG. 6, which is a schematic flowchart of the steps of another video file editing method provided by an embodiment of the present application. The video file editing method is applied to a shooting device, which includes a camera and a drone equipped with a shooting device. As shown in FIG. 4, the video file editing method includes steps S201 to S203.
S201、将预处理后的视频文件发送给所述终端设备。S201: Send the preprocessed video file to the terminal device.
在一实施例中,拍摄设备将预处理后的视频文件发送给所述终端设备,以供终端设备显示包含预处理后的视频文件的视频文件编辑页面,其中,预处理包括调整视频文件的分辨率、帧率和格式中的至少一项。In one embodiment, the shooting device sends the preprocessed video file to the terminal device for the terminal device to display a video file editing page containing the preprocessed video file, wherein the preprocessing includes adjusting the resolution of the video file. At least one of rate, frame rate, and format.
S202、获取所述终端设备发送的视频文件的编辑参数信息。S202: Acquire editing parameter information of the video file sent by the terminal device.
拍摄设备与终端设备通信连接,终端设备显示视频文件编辑页面,该视频文件编辑页面加载有经拍摄设备预处理后的视频文件;当获取到用户对视频文件编辑页面内的视频文件的编辑操作时,获取编辑操作对应的编辑参数信息,并将该编辑参数信息发送至拍摄设备,拍摄设备获取终端设备发送的视频文件的编辑参数信息。The shooting device is in communication with the terminal device, and the terminal device displays the video file editing page, and the video file editing page is loaded with the video file preprocessed by the shooting device; when the user's editing operation of the video file in the video file editing page is obtained , Acquire editing parameter information corresponding to the editing operation, and send the editing parameter information to the shooting device, and the shooting device obtains the editing parameter information of the video file sent by the terminal device.
在一实施例中,拍摄设备获取终端设备发送的视频文件的目标规格信息,并根据该目标规格信息,进行所述预处理,也即,调整视频文件的规格;将调整规格后的视频文件传输至终端设备,以供终端设备显示包含调整规格后的视频文件的视频文件编辑页面。其中,该目标规格信息包括视频文件的分辨率、帧率和格式中的至少一项。In an embodiment, the shooting device obtains the target specification information of the video file sent by the terminal device, and performs the preprocessing according to the target specification information, that is, adjusts the specifications of the video file; and transmits the adjusted video file To the terminal device, for the terminal device to display the video file editing page containing the video file after adjusting the specifications. Wherein, the target specification information includes at least one of the resolution, frame rate, and format of the video file.
S203、根据所述编辑参数信息执行视频文件编辑操作,以生成目标视频文件。S203: Perform a video file editing operation according to the editing parameter information to generate a target video file.
其中,该编辑参数信息包括片段标记信息和该片段标记信息对应的视频片段的编辑参数,该编辑参数信息包括多个视频片段的编辑参数,每个视频片段的编辑参数相同或不同,该编辑参数包括视频片段的显示参数、背景音和播放模式中的至少一项,该显示参数包括视频片段的曝光、对比度、亮度、饱和度、色温、锐化、特效和滤镜中的至少一项,该播放模式包括快放模式、慢放模式、顺序模式和倒序模式中的至少一项。Wherein, the editing parameter information includes segment mark information and editing parameters of the video segment corresponding to the segment mark information. The editing parameter information includes editing parameters of multiple video segments. The editing parameters of each video segment are the same or different. It includes at least one of the display parameters, background sound, and playback mode of the video clip. The display parameters include at least one of the exposure, contrast, brightness, saturation, color temperature, sharpening, special effects, and filters of the video clip. The playback mode includes at least one of a fast play mode, a slow play mode, a sequence mode, and a reverse sequence mode.
在一实施例中,根据该片段标记信息获取对应的视频片段;根据视频片段的编辑参数对视频片段进行编辑,以生成目标视频文件。其中,当该编辑参数信息包括多个视频片段的编辑参数时,从编辑参数信息中获取每个视频片段的片段标记信息和每个视频片段的编辑参数,并根据每个视频片段的片段标记信息,从视频文件中截取对应的视频片段,然后根据每个视频片段的编辑参数编辑对应的已截取视频片段,以生成目标视频文件。In an embodiment, the corresponding video segment is obtained according to the segment mark information; the video segment is edited according to the editing parameters of the video segment to generate the target video file. Wherein, when the editing parameter information includes editing parameters of multiple video clips, the clip mark information of each video clip and the editing parameters of each video clip are obtained from the editing parameter information, and the clip mark information of each video clip is obtained. , Intercept the corresponding video segment from the video file, and then edit the corresponding intercepted video segment according to the editing parameters of each video segment to generate the target video file.
在一实施例中,该编辑参数信息还包括目标视频文件的规格信息,根据编辑参数对视频片段进行编辑,以生成目标视频文件的方式可以为:根据该编辑参数和目标视频文件的规格信息,对该视频片段进行编辑,以生成目标视频文件,即先根据该编辑参数对该视频片段进行编辑,得到编辑好的视频片段,再根据目标视频文件的规格信息,调整编辑好的视频片段的规格,得到目标视频文件。其中,目标视频文件的规格信息包括目标视频文件的分辨率、帧率、画面比例和格式中的至少一项。In an embodiment, the editing parameter information further includes specification information of the target video file, and editing the video clip according to the editing parameters to generate the target video file may be: according to the editing parameters and the specification information of the target video file, Edit the video clip to generate the target video file, that is, first edit the video clip according to the editing parameters to obtain the edited video clip, and then adjust the specifications of the edited video clip according to the specification information of the target video file , Get the target video file. Wherein, the specification information of the target video file includes at least one of the resolution, frame rate, aspect ratio, and format of the target video file.
上述实施例提供的视频文件编辑方法,通过获取终端设备发送的视频文件的编辑参数信息,并根据编辑参数信息执行视频文件编辑操作,以生成目标视频文件,使得视频文件编辑操作是在拍摄设备侧完成的,对终端设备的性能要求较低,便于用户在各种终端设备下实现对视频文件的编辑,提高用户体验。The video file editing method provided by the foregoing embodiment obtains the editing parameter information of the video file sent by the terminal device, and executes the video file editing operation according to the editing parameter information to generate the target video file, so that the video file editing operation is performed on the side of the shooting device Completed, the performance requirements of the terminal device are low, which is convenient for users to edit video files under various terminal devices, and improves user experience.
请参阅图7,图7是本申请实施例提供的一种终端设备的结构示意性框图。Please refer to FIG. 7, which is a schematic block diagram of a structure of a terminal device according to an embodiment of the present application.
如图7所示,该终端设备300包括处理器301、存储器302和显示装置303, 处理器301、存储器302和显示装置303通过总线304连接,该总线304比如为I2C(Inter-integrated Circuit)总线。其中,该终端设备与一拍摄设备通信连接,该终端设备包括但不限于遥控器、地面控制平台、手机、平板电脑、笔记本电脑和PC电脑等,该拍摄设备包括相机和搭载有拍摄装置的无人机等。As shown in FIG. 7, the terminal device 300 includes a processor 301, a memory 302, and a display device 303. The processor 301, the memory 302, and the display device 303 are connected by a bus 304. The bus 304 is, for example, an I2C (Inter-integrated Circuit) bus. . Wherein, the terminal device is in communication connection with a shooting device, the terminal device includes but not limited to remote control, ground control platform, mobile phone, tablet computer, notebook computer, PC computer, etc., the shooting device includes a camera and a camera equipped with a shooting device. Human and machine etc.
具体地,处理器301可以是微控制单元(Micro-controller Unit,MCU)、中央处理单元(Central Processing Unit,CPU)或数字信号处理器(Digital Signal Processor,DSP)等。Specifically, the processor 301 may be a micro-controller unit (MCU), a central processing unit (Central Processing Unit, CPU), a digital signal processor (Digital Signal Processor, DSP), or the like.
具体地,存储器302可以是Flash芯片、只读存储器(ROM,Read-Only Memory)磁盘、光盘、U盘或移动硬盘等。Specifically, the memory 302 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) disk, an optical disk, a U disk, or a mobile hard disk.
具体地,显示装置303包括液晶显示屏和触摸显示屏等。Specifically, the display device 303 includes a liquid crystal display screen, a touch display screen, and the like.
其中,所述处理器301用于运行存储在存储器302中的计算机程序,并在执行所述计算机程序时实现如下步骤:Wherein, the processor 301 is configured to run a computer program stored in the memory 302, and implement the following steps when the computer program is executed:
通过所述显示装置显示视频文件编辑页面,其中,所述视频文件编辑页面加载有经所述拍摄设备预处理后的视频文件,所述预处理包括调整视频文件的分辨率、帧率和格式中的至少一项;The video file editing page is displayed by the display device, wherein the video file editing page is loaded with a video file preprocessed by the shooting device, and the preprocessing includes adjusting the resolution, frame rate, and format of the video file. At least one of
当获取到用户对所述视频文件编辑页面内加载的视频文件的编辑操作时,获取所述编辑操作对应的编辑参数信息;When the user's editing operation on the video file loaded in the video file editing page is acquired, the editing parameter information corresponding to the editing operation is acquired;
将所述编辑参数信息发送至所述拍摄设备,以供所述拍摄设备基于所述编辑参数信息执行视频文件编辑操作,以生成目标视频文件。The editing parameter information is sent to the shooting device, so that the shooting device performs a video file editing operation based on the editing parameter information to generate a target video file.
在一实施例中,所述显示视频文件编辑页面之前,还包括:In an embodiment, before the displaying the video file editing page, the method further includes:
获取视频文件的目标规格信息;Obtain the target specification information of the video file;
将所述目标规格信息发送至所述拍摄设备,以供所述拍摄设备基于所述目标规格信息进行所述预处理,并将所述预处理后的视频文件传输至终端设备。The target specification information is sent to the shooting device, so that the shooting device performs the preprocessing based on the target specification information, and transmits the preprocessed video file to a terminal device.
在一实施例中,所述获取视频文件的目标规格信息,包括:In an embodiment, the acquiring target specification information of the video file includes:
将预设规格信息作为视频文件的目标规格信息;或者Use the preset specification information as the target specification information of the video file; or
获取用户选择的规格信息,并将用户选择的规格信息作为视频文件的目标规格信息。Obtain the specification information selected by the user, and use the specification information selected by the user as the target specification information of the video file.
在一实施例中,所述目标规格信息包括视频文件的分辨率、帧率和格式中的至少一项。In an embodiment, the target specification information includes at least one of the resolution, frame rate, and format of the video file.
在一实施例中,所述视频文件编辑页面内加载的所述预处理后的视频文件是所述拍摄设备实时发送的。In an embodiment, the pre-processed video file loaded in the video file editing page is sent by the shooting device in real time.
在一实施例中,所述视频文件编辑页面包括播放速度调整图标,所述播放 速度调整图标用于供用户调整所述视频文件编辑页面的视频文件的播放速度。In an embodiment, the video file editing page includes a playback speed adjustment icon, and the playback speed adjustment icon is used for a user to adjust the playback speed of the video file on the video file editing page.
在一实施例中,所述视频文件编辑页面的视频文件的播放速度与所述视频文件中的目标对象的移动速度有关。In an embodiment, the playing speed of the video file on the video file editing page is related to the moving speed of the target object in the video file.
在一实施例中,所述目标对象的移动速度是根据所述视频文件中的包含所述目标对象的相邻帧图像确定的。In an embodiment, the moving speed of the target object is determined according to adjacent frame images in the video file containing the target object.
在一实施例中,所述目标对象包括图像背景和/或运动目标。In an embodiment, the target object includes an image background and/or a moving target.
在一实施例中,所述目标对象的移动速度是根据所述相邻帧图像中所述图像背景对应的特征点的像素位置和/或所述运动目标对应的特征点的像素位置确定的。In an embodiment, the moving speed of the target object is determined according to the pixel positions of the feature points corresponding to the image background in the adjacent frame images and/or the pixel positions of the feature points corresponding to the moving target.
在一实施例中,所述编辑操作包括用户对视频文件的片段标记操作,所述编辑参数信息包括片段标记信息;所述当获取到用户对所述视频文件编辑页面内的视频文件的编辑操作时,获取所述编辑操作对应的编辑参数信息,包括:In an embodiment, the editing operation includes a user's segment marking operation on the video file, and the editing parameter information includes segment marking information; when the user's editing operation on the video file in the video file editing page is obtained When, obtaining the editing parameter information corresponding to the editing operation includes:
当获取到用户对所述视频文件编辑页面内的视频文件的片段标记操作时,获取所述片段标记操作对应的片段标记信息。When the segment marking operation of the video file in the video file editing page by the user is acquired, the segment marking information corresponding to the segment marking operation is acquired.
在一实施例中,所述视频文件编辑页面包括视频文件的片段标记图标,所述片段标记操作包括用户对所述片段标记图标的触控操作。In an embodiment, the video file editing page includes a segment mark icon of the video file, and the segment mark operation includes a user's touch operation on the segment mark icon.
在一实施例中,所述编辑参数信息还包括视频片段的编辑参数;所述获取所述片段标记操作对应的片段标记信息之后,还包括:In an embodiment, the editing parameter information further includes editing parameters of the video clip; after the obtaining the segment marking information corresponding to the segment marking operation, it further includes:
在所述视频文件编辑页面内显示所述片段标记信息对应的视频片段;Displaying the video clip corresponding to the clip tag information in the video file editing page;
获取用户对所述视频片段的编辑操作对应的所述编辑参数。Acquire the editing parameter corresponding to the editing operation of the user on the video clip.
在一实施例中,所述编辑参数信息包括多个视频片段的编辑参数,每个所述视频片段的编辑参数相同或不同。In an embodiment, the editing parameter information includes editing parameters of a plurality of video clips, and the editing parameters of each video clip are the same or different.
在一实施例中,所述编辑参数包括所述视频片段的显示参数、背景音和播放模式中的至少一项。In an embodiment, the editing parameters include at least one of a display parameter, a background sound, and a playback mode of the video clip.
在一实施例中,所述显示参数包括视频片段的曝光、对比度、亮度、饱和度、色温、锐化、特效和滤镜中的至少一项。In an embodiment, the display parameters include at least one of exposure, contrast, brightness, saturation, color temperature, sharpening, special effects, and filters of the video clip.
在一实施例中,所述播放模式包括快放模式、慢放模式、顺序模式和倒序模式中的至少一项。In an embodiment, the play mode includes at least one of a fast play mode, a slow play mode, a sequence mode, and a reverse sequence mode.
在一实施例中,所述处理器还用于实现以下步骤:In an embodiment, the processor is further configured to implement the following steps:
获取用户选择的所述目标视频文件的规格信息;Acquiring the specification information of the target video file selected by the user;
将所述目标视频文件的规格信息发送至所述拍摄设备,以供所述拍摄设备基于所述编辑参数信息和所述目标视频文件的规格信息执行视频文件编辑操作, 以生成目标视频文件。The specification information of the target video file is sent to the shooting device, so that the shooting device performs a video file editing operation based on the editing parameter information and the specification information of the target video file to generate a target video file.
在一实施例中,所述规格信息包括所述目标视频文件的分辨率、帧率、画面比例和格式中的至少一项。In an embodiment, the specification information includes at least one of the resolution, frame rate, aspect ratio, and format of the target video file.
在一实施例中,所述处理器还用于实现以下步骤:In an embodiment, the processor is further configured to implement the following steps:
获取用户触发的所述目标视频文件的下载指令,并根据所述下载指令从所述拍摄设备中下载所述目标视频文件。Acquire the download instruction of the target video file triggered by the user, and download the target video file from the shooting device according to the download instruction.
需要说明的是,所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的终端设备的具体工作过程,可以参考前述视频文件编辑方法实施例中的对应过程,在此不再赘述。It should be noted that those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific working process of the terminal device described above can refer to the corresponding process in the foregoing video file editing method embodiment. Repeat it again.
请参阅图8,图8是本申请实施例提供的一种拍摄设备的结构示意性框图。Please refer to FIG. 8, which is a schematic block diagram of a structure of a photographing device according to an embodiment of the present application.
如图8所示,该拍摄设备400包括处理器401、存储器402和拍摄装置403,处理器401、存储器402和拍摄装置403通过总线404连接,该总线404比如为I2C(Inter-integrated Circuit)总线。其中,拍摄装置403包括单目拍摄装置和双目拍摄装置等。As shown in FIG. 8, the photographing device 400 includes a processor 401, a memory 402, and a photographing device 403. The processor 401, the memory 402, and the photographing device 403 are connected by a bus 404, such as an I2C (Inter-integrated Circuit) bus. . Among them, the camera 403 includes a monocular camera, a binocular camera, and the like.
具体地,处理器401可以是微控制单元(Micro-controller Unit,MCU)、中央处理单元(Central Processing Unit,CPU)或数字信号处理器(Digital Signal Processor,DSP)等。Specifically, the processor 401 may be a micro-controller unit (MCU), a central processing unit (CPU), a digital signal processor (Digital Signal Processor, DSP), or the like.
具体地,存储器402可以是Flash芯片、只读存储器(ROM,Read-Only Memory)磁盘、光盘、U盘或移动硬盘等。Specifically, the memory 402 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) disk, an optical disk, a U disk, or a mobile hard disk, or the like.
其中,所述处理器401用于运行存储在存储器402中的计算机程序,并在执行所述计算机程序时实现如下步骤:Wherein, the processor 401 is configured to run a computer program stored in the memory 402, and implement the following steps when the computer program is executed:
将预处理后的视频文件发送给所述终端设备,以供所述终端设备显示包含所述预处理后的视频文件的视频文件编辑页面,其中,所述预处理包括调整视频文件的分辨率、帧率和格式中的至少一项;The preprocessed video file is sent to the terminal device for the terminal device to display a video file editing page containing the preprocessed video file, wherein the preprocessing includes adjusting the resolution of the video file, At least one of frame rate and format;
获取所述终端设备发送的视频文件的编辑参数信息;Acquiring editing parameter information of the video file sent by the terminal device;
根据所述编辑参数信息执行视频文件编辑操作,以生成目标视频文件。Perform a video file editing operation according to the editing parameter information to generate a target video file.
在一实施例中,所述编辑参数信息包括片段标记信息和所述片段标记信息对应的视频片段的编辑参数;所述根据所述编辑参数信息执行视频文件编辑操作,以生成目标视频文件,包括:In an embodiment, the editing parameter information includes segment tag information and editing parameters of the video segment corresponding to the segment tag information; the performing a video file editing operation according to the editing parameter information to generate a target video file includes :
根据所述片段标记信息获取对应的视频片段;Obtaining a corresponding video segment according to the segment mark information;
根据所述编辑参数对所述视频片段进行编辑,以生成目标视频文件。Edit the video segment according to the editing parameters to generate a target video file.
在一实施例中,所述编辑参数信息还包括所述目标视频文件的规格信息; 所述根据所述编辑参数对所述视频片段进行编辑,以生成目标视频文件,包括:In an embodiment, the editing parameter information further includes specification information of the target video file; the editing the video clip according to the editing parameters to generate the target video file includes:
根据所述编辑参数和所述目标视频文件的规格信息,对所述视频片段进行编辑,以生成目标视频文件。Edit the video segment according to the editing parameters and the specification information of the target video file to generate a target video file.
在一实施例中,所述规格信息包括所述目标视频文件的分辨率、帧率、画面比例和格式中的至少一项。In an embodiment, the specification information includes at least one of the resolution, frame rate, aspect ratio, and format of the target video file.
在一实施例中,所述编辑参数信息包括多个视频片段的编辑参数,每个所述视频片段的编辑参数相同或不同。In an embodiment, the editing parameter information includes editing parameters of a plurality of video clips, and the editing parameters of each video clip are the same or different.
在一实施例中,所述编辑参数包括所述视频片段的显示参数、背景音和播放模式中的至少一项。In an embodiment, the editing parameters include at least one of a display parameter, a background sound, and a playback mode of the video clip.
在一实施例中,所述显示参数包括视频片段的曝光、对比度、亮度、饱和度、色温、锐化、特效和滤镜中的至少一项。In an embodiment, the display parameters include at least one of exposure, contrast, brightness, saturation, color temperature, sharpening, special effects, and filters of the video clip.
在一实施例中,所述播放模式包括快放模式、慢放模式、顺序模式和倒序模式中的至少一项。In an embodiment, the play mode includes at least one of a fast play mode, a slow play mode, a sequence mode, and a reverse sequence mode.
在一实施例中,所述处理器还用于实现以下步骤:In an embodiment, the processor is further configured to implement the following steps:
获取所述终端设备发送的视频文件的目标规格信息,并根据所述目标规格信息,进行所述预处理。Obtain the target specification information of the video file sent by the terminal device, and perform the preprocessing according to the target specification information.
在一实施例中,所述目标规格信息包括视频文件的分辨率、帧率和格式中的至少一项。In an embodiment, the target specification information includes at least one of the resolution, frame rate, and format of the video file.
在一实施例中,所述拍摄设备包括相机和搭载有拍摄装置的无人机。In an embodiment, the photographing equipment includes a camera and a drone equipped with a photographing device.
需要说明的是,所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的拍摄设备的具体工作过程,可以参考前述视频文件编辑方法实施例中的对应过程,在此不再赘述。It should be noted that those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the shooting device described above can refer to the corresponding process in the foregoing video file editing method embodiment. Repeat it again.
请参阅图9,图9是本申请实施例提供的一种视频文件编辑系统的结构示意性框图。Please refer to FIG. 9, which is a schematic block diagram of the structure of a video file editing system provided by an embodiment of the present application.
如图9所示,该视频文件编辑系统500包括终端设备510和拍摄设备520,终端设备510与拍摄设备520通信连接,终端设备510但不限于遥控器、地面控制平台、手机、平板电脑、笔记本电脑和PC电脑等,该拍摄设备520包括相机和搭载有拍摄装置的无人机等。As shown in Figure 9, the video file editing system 500 includes a terminal device 510 and a shooting device 520. The terminal device 510 is in communication connection with the shooting device 520. The terminal device 510 is but not limited to a remote control, a ground control platform, a mobile phone, a tablet computer, and a notebook. A computer and a PC computer, etc., the photographing equipment 520 includes a camera and a drone equipped with a photographing device.
需要说明的是,所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的视频文件编辑系统的具体工作过程,可以参考前述视频文件编辑方法实施例中的对应过程,在此不再赘述。It should be noted that those skilled in the art can clearly understand that for the convenience and concise description, the specific working process of the video file editing system described above can refer to the corresponding process in the foregoing video file editing method embodiment. This will not be repeated here.
本申请的实施例中还提供一种计算机可读存储介质,所述计算机可读存储 介质存储有计算机程序,所述计算机程序中包括程序指令,所述处理器执行所述程序指令,实现上述实施例提供的视频文件编辑方法的步骤。The embodiments of the present application also provide a computer-readable storage medium, the computer-readable storage medium stores a computer program, the computer program includes program instructions, and the processor executes the program instructions to implement the foregoing implementation The example provides the steps of the video file editing method.
其中,所述计算机可读存储介质可以是前述任一实施例所述的终端设备或拍摄设备的内部存储单元,例如所述终端设备或拍摄设备的硬盘或内存。所述计算机可读存储介质也可以是所述终端设备或拍摄设备的外部存储设备,例如所述终端设备或拍摄设备上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。The computer-readable storage medium may be the internal storage unit of the terminal device or the photographing device described in any of the foregoing embodiments, for example, the hard disk or memory of the terminal device or the photographing device. The computer-readable storage medium may also be an external storage device of the terminal device or the shooting device, for example, a plug-in hard disk equipped on the terminal device or the shooting device, a smart memory card (Smart Media Card, SMC), and a safe Digital (Secure Digital, SD) card, Flash Card (Flash Card), etc.
应当理解,在此本申请说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本申请。如在本申请说明书和所附权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。It should be understood that the terms used in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in the specification of this application and the appended claims, unless the context clearly indicates other circumstances, the singular forms "a", "an" and "the" are intended to include plural forms.
还应当理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It should also be understood that the term "and/or" used in the specification and appended claims of this application refers to any combination of one or more of the items listed in the associated and all possible combinations, and includes these combinations.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above are only specific implementations of this application, but the scope of protection of this application is not limited to this. Anyone familiar with the technical field can easily think of various equivalents within the technical scope disclosed in this application. Modifications or replacements, these modifications or replacements shall be covered within the scope of protection of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.

Claims (63)

  1. 一种视频文件编辑方法,其特征在于,应用于终端设备,所述终端设备与一拍摄设备通信连接,所述方法包括:A video file editing method, characterized in that it is applied to a terminal device, the terminal device is in communication connection with a shooting device, and the method includes:
    显示视频文件编辑页面,其中,所述视频文件编辑页面加载有经所述拍摄设备预处理后的视频文件,所述预处理包括调整视频文件的分辨率、帧率和格式中的至少一项;Displaying a video file editing page, where the video file editing page is loaded with a video file preprocessed by the shooting device, and the preprocessing includes adjusting at least one of the resolution, frame rate, and format of the video file;
    当获取到用户对所述视频文件编辑页面内加载的视频文件的编辑操作时,获取所述编辑操作对应的编辑参数信息;When the user's editing operation on the video file loaded in the video file editing page is acquired, the editing parameter information corresponding to the editing operation is acquired;
    将所述编辑参数信息发送至所述拍摄设备,以供所述拍摄设备基于所述编辑参数信息执行视频文件编辑操作,以生成目标视频文件。The editing parameter information is sent to the shooting device, so that the shooting device performs a video file editing operation based on the editing parameter information to generate a target video file.
  2. 根据权利要求1所述的视频文件编辑方法,其特征在于,所述显示视频文件编辑页面之前,还包括:The video file editing method according to claim 1, wherein before the displaying the video file editing page, the method further comprises:
    获取视频文件的目标规格信息;Obtain the target specification information of the video file;
    将所述目标规格信息发送至所述拍摄设备,以供所述拍摄设备基于所述目标规格信息进行所述预处理,并将所述预处理后的视频文件传输至终端设备。The target specification information is sent to the shooting device, so that the shooting device performs the preprocessing based on the target specification information, and transmits the preprocessed video file to a terminal device.
  3. 根据权利要求2所述的视频文件编辑方法,其特征在于,所述获取视频文件的目标规格信息,包括:The method for editing a video file according to claim 2, wherein the obtaining target specification information of the video file comprises:
    将预设规格信息作为视频文件的目标规格信息;或者Use the preset specification information as the target specification information of the video file; or
    获取用户选择的规格信息,并将用户选择的规格信息作为视频文件的目标规格信息。Obtain the specification information selected by the user, and use the specification information selected by the user as the target specification information of the video file.
  4. 根据权利要求2所述的视频文件编辑方法,其特征在于,所述目标规格信息包括视频文件的分辨率、帧率和格式中的至少一项。The video file editing method according to claim 2, wherein the target specification information includes at least one of the resolution, frame rate, and format of the video file.
  5. 根据权利要求1所述的视频文件编辑方法,其特征在于,所述视频文件编辑页面内加载的所述预处理后的视频文件是所述拍摄设备实时发送的。The video file editing method according to claim 1, wherein the preprocessed video file loaded in the video file editing page is sent by the shooting device in real time.
  6. 根据权利要求1所述的视频文件编辑方法,其特征在于,所述视频文件编辑页面包括播放速度调整图标,所述播放速度调整图标用于供用户调整所述视频文件编辑页面的视频文件的播放速度。The video file editing method according to claim 1, wherein the video file editing page includes a playback speed adjustment icon, and the playback speed adjustment icon is used for a user to adjust the playback of the video file on the video file editing page speed.
  7. 根据权利要求1所述的视频文件编辑方法,其特征在于,所述视频文件编辑页面的视频文件的播放速度与所述视频文件中的目标对象的移动速度有关。The video file editing method according to claim 1, wherein the playing speed of the video file on the video file editing page is related to the moving speed of the target object in the video file.
  8. 根据权利要求7所述的视频文件编辑方法,其特征在于,所述目标对象 的移动速度是根据所述视频文件中的包含所述目标对象的相邻帧图像确定的。The video file editing method according to claim 7, wherein the moving speed of the target object is determined according to adjacent frame images in the video file containing the target object.
  9. 根据权利要求8所述的视频文件编辑方法,其特征在于,所述目标对象包括图像背景和/或运动目标。The video file editing method according to claim 8, wherein the target object includes an image background and/or a moving target.
  10. 根据权利要求9所述的视频文件编辑方法,其特征在于,所述目标对象的移动速度是根据所述相邻帧图像中所述图像背景对应的特征点的像素位置和/或所述运动目标对应的特征点的像素位置确定的。The video file editing method according to claim 9, wherein the moving speed of the target object is based on the pixel position of the feature point corresponding to the image background in the adjacent frame image and/or the moving target The pixel position of the corresponding feature point is determined.
  11. 根据权利要求1至10中任一项所述的视频文件编辑方法,其特征在于,所述编辑操作包括用户对视频文件的片段标记操作,所述编辑参数信息包括片段标记信息;所述当获取到用户对所述视频文件编辑页面内的视频文件的编辑操作时,获取所述编辑操作对应的编辑参数信息,包括:The video file editing method according to any one of claims 1 to 10, wherein the editing operation includes a segment marking operation of the video file by a user, and the editing parameter information includes segment marking information; When the user performs an editing operation on the video file in the video file editing page, obtaining editing parameter information corresponding to the editing operation includes:
    当获取到用户对所述视频文件编辑页面内的视频文件的片段标记操作时,获取所述片段标记操作对应的片段标记信息。When the segment marking operation of the video file in the video file editing page by the user is acquired, the segment marking information corresponding to the segment marking operation is acquired.
  12. 根据权利要求11所述的视频文件编辑方法,其特征在于,所述视频文件编辑页面包括视频文件的片段标记图标,所述片段标记操作包括用户对所述片段标记图标的触控操作。The video file editing method according to claim 11, wherein the video file editing page includes a segment mark icon of the video file, and the segment mark operation includes a user's touch operation on the segment mark icon.
  13. 根据权利要求11所述的视频文件编辑方法,其特征在于,所述编辑参数信息还包括视频片段的编辑参数;所述获取所述片段标记操作对应的片段标记信息之后,还包括:The video file editing method according to claim 11, wherein the editing parameter information further comprises editing parameters of the video clip; after the obtaining the segment marking information corresponding to the segment marking operation, the method further comprises:
    在所述视频文件编辑页面内显示所述片段标记信息对应的视频片段;Displaying the video clip corresponding to the clip tag information in the video file editing page;
    获取用户对所述视频片段的编辑操作对应的所述编辑参数。Acquire the editing parameter corresponding to the editing operation of the user on the video clip.
  14. 根据权利要求13所述的视频文件编辑方法,其特征在于,所述编辑参数信息包括多个视频片段的编辑参数,每个所述视频片段的编辑参数相同或不同。The method for editing a video file according to claim 13, wherein the editing parameter information includes editing parameters of a plurality of video segments, and the editing parameters of each of the video segments are the same or different.
  15. 根据权利要求13所述的视频文件编辑方法,其特征在于,所述编辑参数包括所述视频片段的显示参数、背景音和播放模式中的至少一项。The method for editing a video file according to claim 13, wherein the editing parameters include at least one of a display parameter, a background sound, and a playback mode of the video clip.
  16. 根据权利要求15所述的视频文件编辑方法,其特征在于,所述显示参数包括视频片段的曝光、对比度、亮度、饱和度、色温、锐化、特效和滤镜中的至少一项。The video file editing method according to claim 15, wherein the display parameters include at least one of exposure, contrast, brightness, saturation, color temperature, sharpening, special effects, and filters of the video clip.
  17. 根据权利要求15所述的视频文件编辑方法,其特征在于,所述播放模式包括快放模式、慢放模式、顺序模式和倒序模式中的至少一项。The video file editing method according to claim 15, wherein the playback mode includes at least one of a fast play mode, a slow play mode, a sequence mode, and a reverse sequence mode.
  18. 根据权利要求1至10中任一项所述的视频文件编辑方法,其特征在于,所述方法还包括:The method for editing a video file according to any one of claims 1 to 10, wherein the method further comprises:
    获取用户选择的所述目标视频文件的规格信息;Acquiring the specification information of the target video file selected by the user;
    将所述目标视频文件的规格信息发送至所述拍摄设备,以供所述拍摄设备基于所述编辑参数信息和所述目标视频文件的规格信息执行视频文件编辑操作,以生成目标视频文件。The specification information of the target video file is sent to the shooting device, so that the shooting device performs a video file editing operation based on the editing parameter information and the specification information of the target video file to generate a target video file.
  19. 根据权利要求18所述的视频文件编辑方法,其特征在于,所述规格信息包括所述目标视频文件的分辨率、帧率、画面比例和格式中的至少一项。The method for editing a video file according to claim 18, wherein the specification information includes at least one of the resolution, frame rate, aspect ratio, and format of the target video file.
  20. 根据权利要求1至10中任一项所述的视频文件编辑方法,其特征在于,所述方法还包括:The method for editing a video file according to any one of claims 1 to 10, wherein the method further comprises:
    获取用户触发的所述目标视频文件的下载指令,并根据所述下载指令从所述拍摄设备中下载所述目标视频文件。Acquire the download instruction of the target video file triggered by the user, and download the target video file from the shooting device according to the download instruction.
  21. 一种视频文件编辑方法,其特征在于,应用于拍摄设备,所述拍摄设备与终端设备通信连接;所述方法包括:A video file editing method, characterized in that it is applied to a photographing device, and the photographing device is in communication connection with a terminal device; the method includes:
    将预处理后的视频文件发送给所述终端设备,以供所述终端设备显示包含所述预处理后的视频文件的视频文件编辑页面,其中,所述预处理包括调整视频文件的分辨率、帧率和格式中的至少一项;The preprocessed video file is sent to the terminal device for the terminal device to display a video file editing page containing the preprocessed video file, wherein the preprocessing includes adjusting the resolution of the video file, At least one of frame rate and format;
    获取所述终端设备发送的视频文件的编辑参数信息;Acquiring editing parameter information of the video file sent by the terminal device;
    根据所述编辑参数信息执行视频文件编辑操作,以生成目标视频文件。Perform a video file editing operation according to the editing parameter information to generate a target video file.
  22. 根据权利要求21所述的视频文件编辑方法,其特征在于,所述编辑参数信息包括片段标记信息和所述片段标记信息对应的视频片段的编辑参数;所述根据所述编辑参数信息执行视频文件编辑操作,以生成目标视频文件,包括:The method for editing a video file according to claim 21, wherein the editing parameter information includes segment mark information and editing parameters of the video segment corresponding to the segment mark information; and the execution of the video file according to the editing parameter information Editing operations to generate target video files, including:
    根据所述片段标记信息获取对应的视频片段;Obtaining a corresponding video segment according to the segment mark information;
    根据所述编辑参数对所述视频片段进行编辑,以生成目标视频文件。Edit the video segment according to the editing parameters to generate a target video file.
  23. 根据权利要求22所述的视频文件编辑方法,其特征在于,所述编辑参数信息还包括所述目标视频文件的规格信息;所述根据所述编辑参数对所述视频片段进行编辑,以生成目标视频文件,包括:The method for editing a video file according to claim 22, wherein the editing parameter information further includes specification information of the target video file; and the video clip is edited according to the editing parameters to generate the target Video files, including:
    根据所述编辑参数和所述目标视频文件的规格信息,对所述视频片段进行编辑,以生成目标视频文件。Edit the video segment according to the editing parameters and the specification information of the target video file to generate a target video file.
  24. 根据权利要求23所述的视频文件编辑方法,其特征在于,所述规格信息包括所述目标视频文件的分辨率、帧率、画面比例和格式中的至少一项。The video file editing method according to claim 23, wherein the specification information includes at least one of the resolution, frame rate, aspect ratio, and format of the target video file.
  25. 根据权利要求22所述的视频文件编辑方法,其特征在于,所述编辑参数信息包括多个视频片段的编辑参数,每个所述视频片段的编辑参数相同或不同。The method for editing a video file according to claim 22, wherein the editing parameter information includes editing parameters of a plurality of video segments, and the editing parameters of each of the video segments are the same or different.
  26. 根据权利要求22所述的视频文件编辑方法,其特征在于,所述编辑参数包括所述视频片段的显示参数、背景音和播放模式中的至少一项。The method for editing a video file according to claim 22, wherein the editing parameters include at least one of a display parameter, a background sound, and a playback mode of the video clip.
  27. 根据权利要求26所述的视频文件编辑方法,其特征在于,所述显示参数包括视频片段的曝光、对比度、亮度、饱和度、色温、锐化、特效和滤镜中的至少一项。The video file editing method according to claim 26, wherein the display parameters include at least one of exposure, contrast, brightness, saturation, color temperature, sharpening, special effects, and filters of the video clip.
  28. 根据权利要求26所述的视频文件编辑方法,其特征在于,所述播放模式包括快放模式、慢放模式、顺序模式和倒序模式中的至少一项。The video file editing method according to claim 26, wherein the playback mode includes at least one of a fast play mode, a slow play mode, a sequence mode, and a reverse sequence mode.
  29. 根据权利要求21至28中任一项所述的视频文件编辑方法,其特征在于,所述方法还包括:The method for editing a video file according to any one of claims 21 to 28, wherein the method further comprises:
    获取所述终端设备发送的视频文件的目标规格信息,并根据所述目标规格信息进行所述预处理。Obtain the target specification information of the video file sent by the terminal device, and perform the preprocessing according to the target specification information.
  30. 根据权利要求29所述的视频文件编辑方法,其特征在于,所述目标规格信息包括视频文件的分辨率、帧率和格式中的至少一项。The video file editing method according to claim 29, wherein the target specification information includes at least one of the resolution, frame rate, and format of the video file.
  31. 一种终端设备,其特征在于,所述终端设备包括显示装置、存储器和处理器,所述终端设备与一拍摄设备通信连接;A terminal device, characterized in that the terminal device includes a display device, a memory, and a processor, and the terminal device is in communication connection with a photographing device;
    所述存储器用于存储计算机程序;The memory is used to store a computer program;
    所述处理器,用于执行所述计算机程序并在执行所述计算机程序时,实现如下步骤:The processor is configured to execute the computer program and, when executing the computer program, implement the following steps:
    通过所述显示装置显示视频文件编辑页面,其中,所述视频文件编辑页面加载有经所述拍摄设备预处理后的视频文件,所述预处理包括调整视频文件的分辨率、帧率和格式中的至少一项;The video file editing page is displayed by the display device, wherein the video file editing page is loaded with a video file preprocessed by the shooting device, and the preprocessing includes adjusting the resolution, frame rate, and format of the video file. At least one of
    当获取到用户对所述视频文件编辑页面内加载的视频文件的编辑操作时,获取所述编辑操作对应的编辑参数信息;When the user's editing operation on the video file loaded in the video file editing page is acquired, the editing parameter information corresponding to the editing operation is acquired;
    将所述编辑参数信息发送至所述拍摄设备,以供所述拍摄设备基于所述编辑参数信息执行视频文件编辑操作,以生成目标视频文件。The editing parameter information is sent to the shooting device, so that the shooting device performs a video file editing operation based on the editing parameter information to generate a target video file.
  32. 根据权利要求31所述的终端设备,其特征在于,所述显示视频文件编辑页面之前,还包括:The terminal device according to claim 31, wherein before said displaying the video file editing page, it further comprises:
    获取视频文件的目标规格信息;Obtain the target specification information of the video file;
    将所述目标规格信息发送至所述拍摄设备,以供所述拍摄设备基于所述目标规格信息进行所述预处理,并将所述预处理后的视频文件传输至终端设备。The target specification information is sent to the shooting device, so that the shooting device performs the preprocessing based on the target specification information, and transmits the preprocessed video file to a terminal device.
  33. 根据权利要求32所述的终端设备,其特征在于,所述获取视频文件的目标规格信息,包括:The terminal device according to claim 32, wherein said obtaining the target specification information of the video file comprises:
    将预设规格信息作为视频文件的目标规格信息;或者Use the preset specification information as the target specification information of the video file; or
    获取用户选择的规格信息,并将用户选择的规格信息作为视频文件的目标规格信息。Obtain the specification information selected by the user, and use the specification information selected by the user as the target specification information of the video file.
  34. 根据权利要求32所述的终端设备,其特征在于,所述目标规格信息包括视频文件的分辨率、帧率和格式中的至少一项。The terminal device according to claim 32, wherein the target specification information includes at least one of the resolution, frame rate, and format of the video file.
  35. 根据权利要求31所述的终端设备,其特征在于,所述视频文件编辑页面内加载的所述预处理后的视频文件是所述拍摄设备实时发送的。The terminal device according to claim 31, wherein the preprocessed video file loaded in the video file editing page is sent by the shooting device in real time.
  36. 根据权利要求31所述的终端设备,其特征在于,所述视频文件编辑页面包括播放速度调整图标,所述播放速度调整图标用于供用户调整所述视频文件编辑页面的视频文件的播放速度。The terminal device according to claim 31, wherein the video file editing page includes a playback speed adjustment icon, and the playback speed adjustment icon is used for a user to adjust the playback speed of the video file on the video file editing page.
  37. 根据权利要求31所述的终端设备,其特征在于,所述视频文件编辑页面的视频文件的播放速度与所述视频文件中的目标对象的移动速度有关。The terminal device according to claim 31, wherein the playing speed of the video file on the video file editing page is related to the moving speed of the target object in the video file.
  38. 根据权利要求37所述的终端设备,其特征在于,所述目标对象的移动速度是根据所述视频文件中的包含所述目标对象的相邻帧图像确定的。The terminal device according to claim 37, wherein the moving speed of the target object is determined according to adjacent frame images in the video file containing the target object.
  39. 根据权利要求38所述的终端设备,其特征在于,所述目标对象包括图像背景和/或运动目标。The terminal device according to claim 38, wherein the target object comprises an image background and/or a moving target.
  40. 根据权利要求39所述的终端设备,其特征在于,所述所述目标对象的移动速度是根据所述相邻帧图像中所述图像背景对应的特征点的像素位置和/或所述运动目标对应的特征点的像素位置确定的。The terminal device according to claim 39, wherein the moving speed of the target object is based on the pixel position of the feature point corresponding to the image background in the adjacent frame image and/or the moving target The pixel position of the corresponding feature point is determined.
  41. 根据权利要求31至40中任一项所述的终端设备,其特征在于,所述编辑操作包括用户对视频文件的片段标记操作,所述编辑参数信息包括片段标记信息;所述当获取到用户对所述视频文件编辑页面内的视频文件的编辑操作时,获取所述编辑操作对应的编辑参数信息,包括:The terminal device according to any one of claims 31 to 40, wherein the editing operation includes a segment marking operation of the video file by the user, and the editing parameter information includes segment marking information; During the editing operation of the video file in the video file editing page, obtaining the editing parameter information corresponding to the editing operation includes:
    当获取到用户对所述视频文件编辑页面内的视频文件的片段标记操作时,获取所述片段标记操作对应的片段标记信息。When the segment marking operation of the video file in the video file editing page by the user is acquired, the segment marking information corresponding to the segment marking operation is acquired.
  42. 根据权利要求41所述的终端设备,其特征在于,所述视频文件编辑页面包括视频文件的片段标记图标,所述片段标记操作包括用户对所述片段标记图标的触控操作。The terminal device according to claim 41, wherein the video file editing page includes a segment mark icon of the video file, and the segment mark operation includes a user's touch operation on the segment mark icon.
  43. 根据权利要求41所述的终端设备,其特征在于,所述编辑参数信息还包括视频片段的编辑参数;所述获取所述片段标记操作对应的片段标记信息之后,还包括:The terminal device according to claim 41, wherein the editing parameter information further comprises editing parameters of the video clip; after the obtaining the segment marking information corresponding to the segment marking operation, the method further comprises:
    在所述视频文件编辑页面内显示所述片段标记信息对应的视频片段;Displaying the video clip corresponding to the clip tag information in the video file editing page;
    获取用户对所述视频片段的编辑操作对应的所述编辑参数。Acquire the editing parameter corresponding to the editing operation of the user on the video clip.
  44. 根据权利要求43所述的终端设备,其特征在于,所述编辑参数信息包括多个视频片段的编辑参数,每个所述视频片段的编辑参数相同或不同。The terminal device according to claim 43, wherein the editing parameter information includes editing parameters of multiple video clips, and the editing parameters of each video clip are the same or different.
  45. 根据权利要求43所述的终端设备,其特征在于,所述编辑参数包括所述视频片段的显示参数、背景音和播放模式中的至少一项。The terminal device according to claim 43, wherein the editing parameters include at least one of a display parameter, a background sound, and a playback mode of the video clip.
  46. 根据权利要求45所述的终端设备,其特征在于,所述显示参数包括视频片段的曝光、对比度、亮度、饱和度、色温、锐化、特效和滤镜中的至少一项。The terminal device according to claim 45, wherein the display parameters include at least one of exposure, contrast, brightness, saturation, color temperature, sharpening, special effects, and filters of the video clip.
  47. 根据权利要求45所述的终端设备,其特征在于,所述播放模式包括快放模式、慢放模式、顺序模式和倒序模式中的至少一项。The terminal device according to claim 45, wherein the play mode includes at least one of a fast play mode, a slow play mode, a sequential mode, and a reverse mode.
  48. 根据权利要求31至40中任一项所述的终端设备,其特征在于,所述处理器还用于实现以下步骤:The terminal device according to any one of claims 31 to 40, wherein the processor is further configured to implement the following steps:
    获取用户选择的所述目标视频文件的规格信息;Acquiring the specification information of the target video file selected by the user;
    将所述目标视频文件的规格信息发送至所述拍摄设备,以供所述拍摄设备基于所述编辑参数信息和所述目标视频文件的规格信息执行视频文件编辑操作,以生成目标视频文件。The specification information of the target video file is sent to the shooting device, so that the shooting device performs a video file editing operation based on the editing parameter information and the specification information of the target video file to generate a target video file.
  49. 根据权利要求48所述的终端设备,其特征在于,所述规格信息包括所述目标视频文件的分辨率、帧率、画面比例和格式中的至少一项。The terminal device of claim 48, wherein the specification information includes at least one of a resolution, a frame rate, an aspect ratio, and a format of the target video file.
  50. 根据权利要求31至40中任一项所述的终端设备,其特征在于,所述处理器还用于实现以下步骤:The terminal device according to any one of claims 31 to 40, wherein the processor is further configured to implement the following steps:
    获取用户触发的所述目标视频文件的下载指令,并根据所述下载指令从所述拍摄设备中下载所述目标视频文件。Acquire the download instruction of the target video file triggered by the user, and download the target video file from the shooting device according to the download instruction.
  51. 一种拍摄设备,其特征在于,所述拍摄设备包括存储器、处理器和拍摄装置,所述拍摄设备与一终端设备通信连接;A photographing equipment, characterized in that the photographing equipment includes a memory, a processor, and a photographing device, and the photographing equipment is communicatively connected with a terminal device;
    所述存储器用于存储计算机程序;The memory is used to store a computer program;
    所述处理器,用于执行所述计算机程序并在执行所述计算机程序时,实现如下步骤:The processor is configured to execute the computer program and, when executing the computer program, implement the following steps:
    将预处理后的视频文件发送给所述终端设备,以供所述终端设备显示包含所述预处理后的视频文件的视频文件编辑页面,其中,所述预处理包括调整视频文件的分辨率、帧率和格式中的至少一项;The preprocessed video file is sent to the terminal device for the terminal device to display a video file editing page containing the preprocessed video file, wherein the preprocessing includes adjusting the resolution of the video file, At least one of frame rate and format;
    获取所述终端设备发送的视频文件的编辑参数信息;Acquiring editing parameter information of the video file sent by the terminal device;
    根据所述编辑参数信息执行视频文件编辑操作,以生成目标视频文件。Perform a video file editing operation according to the editing parameter information to generate a target video file.
  52. 根据权利要求51所述的拍摄设备,其特征在于,所述编辑参数信息包括片段标记信息和所述片段标记信息对应的视频片段的编辑参数;所述根据所述编辑参数信息执行视频文件编辑操作,以生成目标视频文件,包括:The shooting device according to claim 51, wherein the editing parameter information includes segment mark information and editing parameters of the video segment corresponding to the segment mark information; and the video file editing operation is performed according to the editing parameter information To generate the target video file, including:
    根据所述片段标记信息获取对应的视频片段;Obtaining a corresponding video segment according to the segment mark information;
    根据所述编辑参数对所述视频片段进行编辑,以生成目标视频文件。Edit the video segment according to the editing parameters to generate a target video file.
  53. 根据权利要求52所述的拍摄设备,其特征在于,所述编辑参数信息还包括所述目标视频文件的规格信息;所述根据所述编辑参数对所述视频片段进行编辑,以生成目标视频文件,包括:The shooting device according to claim 52, wherein the editing parameter information further includes specification information of the target video file; and the editing of the video clip according to the editing parameter to generate the target video file ,include:
    根据所述编辑参数和所述目标视频文件的规格信息,对所述视频片段进行编辑,以生成目标视频文件。Edit the video segment according to the editing parameters and the specification information of the target video file to generate a target video file.
  54. 根据权利要求53所述的拍摄设备,其特征在于,所述规格信息包括所述目标视频文件的分辨率、帧率、画面比例和格式中的至少一项。The photographing device according to claim 53, wherein the specification information includes at least one of a resolution, a frame rate, an aspect ratio, and a format of the target video file.
  55. 根据权利要求52所述的拍摄设备,其特征在于,所述编辑参数信息包括多个视频片段的编辑参数,每个所述视频片段的编辑参数相同或不同。The shooting device according to claim 52, wherein the editing parameter information includes editing parameters of a plurality of video clips, and the editing parameters of each video clip are the same or different.
  56. 根据权利要求52所述的拍摄设备,其特征在于,所述编辑参数包括所述视频片段的显示参数、背景音和播放模式中的至少一项。The shooting device according to claim 52, wherein the editing parameters include at least one of a display parameter, a background sound, and a playback mode of the video clip.
  57. 根据权利要求56所述的拍摄设备,其特征在于,所述显示参数包括视频片段的曝光、对比度、亮度、饱和度、色温、锐化、特效和滤镜中的至少一项。The photographing device according to claim 56, wherein the display parameters include at least one of exposure, contrast, brightness, saturation, color temperature, sharpening, special effects, and filters of the video clip.
  58. 根据权利要求56所述的拍摄设备,其特征在于,所述播放模式包括快放模式、慢放模式、顺序模式和倒序模式中的至少一项。The photographing device according to claim 56, wherein the playback mode includes at least one of a fast play mode, a slow play mode, a sequential mode, and a reverse mode.
  59. 根据权利要求51至58中任一项所述的拍摄设备,其特征在于,所述处理器还用于实现以下步骤:The photographing device according to any one of claims 51 to 58, wherein the processor is further configured to implement the following steps:
    获取所述终端设备发送的视频文件的目标规格信息,并根据所述目标规格信息,进行所述预处理。Obtain the target specification information of the video file sent by the terminal device, and perform the preprocessing according to the target specification information.
  60. 根据权利要求59所述的拍摄设备,其特征在于,所述目标规格信息包括视频文件的分辨率、帧率和格式中的至少一项。The photographing device according to claim 59, wherein the target specification information includes at least one of a resolution, a frame rate, and a format of the video file.
  61. 根据权利要求51至58中任一项所述的拍摄设备,其特征在于,所述拍摄设备包括相机和搭载有拍摄装置的无人机。The photographing equipment according to any one of claims 51 to 58, wherein the photographing equipment comprises a camera and a drone equipped with a photographing device.
  62. 一种视频文件编辑系统,其特征在于,包括如权利要求31至50中任一项所述的终端设备和如权利要求51至61中任一项所述的拍摄设备,所述终端设备与所述拍摄设备通信连接。A video file editing system, characterized by comprising the terminal device according to any one of claims 31 to 50 and the shooting device according to any one of claims 51 to 61, and the terminal device is The communication connection of the shooting device.
  63. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器实现如权利要求1至30中任一项所述的视频文件编辑方法。A computer-readable storage medium, characterized in that, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor realizes the method described in any one of claims 1 to 30. The video file editing method described.
PCT/CN2020/093038 2020-05-28 2020-05-28 Video file editing method, and device, system and computer-readable storage medium WO2021237619A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202080005965.3A CN112997506A (en) 2020-05-28 2020-05-28 Video file editing method, device, system and computer readable storage medium
PCT/CN2020/093038 WO2021237619A1 (en) 2020-05-28 2020-05-28 Video file editing method, and device, system and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/093038 WO2021237619A1 (en) 2020-05-28 2020-05-28 Video file editing method, and device, system and computer-readable storage medium

Publications (1)

Publication Number Publication Date
WO2021237619A1 true WO2021237619A1 (en) 2021-12-02

Family

ID=76344783

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/093038 WO2021237619A1 (en) 2020-05-28 2020-05-28 Video file editing method, and device, system and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN112997506A (en)
WO (1) WO2021237619A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114845171A (en) * 2022-03-21 2022-08-02 维沃移动通信有限公司 Video editing method and device and electronic equipment
CN115515008A (en) * 2022-09-19 2022-12-23 深圳市天和荣科技有限公司 Video processing method, terminal and video processing system
WO2023104078A1 (en) * 2021-12-09 2023-06-15 北京字跳网络技术有限公司 Method and apparatus for generating video editing template, device, and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115567655A (en) * 2022-09-16 2023-01-03 广西电网有限责任公司南宁供电局 Circuit breaker mechanism image acquisition system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130086277A1 (en) * 2003-02-05 2013-04-04 Silver Screen Tele-Reality, Inc. System, method, and computer readable medium for creating a video clip
CN103942273A (en) * 2014-03-27 2014-07-23 北京空间机电研究所 Dynamic monitoring system and method for aerial quick response
US20180102143A1 (en) * 2016-10-12 2018-04-12 Lr Acquisition, Llc Modification of media creation techniques and camera behavior based on sensor-driven events
CN108886579A (en) * 2017-12-26 2018-11-23 深圳市大疆创新科技有限公司 Unmanned plane shoots processing method, shooting camera and the remote controler of video
CN110383820A (en) * 2018-05-07 2019-10-25 深圳市大疆创新科技有限公司 Method for processing video frequency, system, the system of terminal device, movable fixture
CN110495166A (en) * 2017-12-15 2019-11-22 斯纳普公司 Spherical video editing

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016095072A1 (en) * 2014-12-14 2016-06-23 深圳市大疆创新科技有限公司 Video processing method, video processing device and display device
JP6367334B2 (en) * 2014-12-14 2018-08-01 エスゼット ディージェイアイ テクノロジー カンパニー リミテッドSz Dji Technology Co.,Ltd Video processing method, apparatus, and playback apparatus
EP3167604B1 (en) * 2014-12-14 2021-06-30 SZ DJI Technology Co., Ltd. Methods and systems of video processing
CN104796767B (en) * 2015-03-31 2019-02-12 北京奇艺世纪科技有限公司 A kind of cloud video editing method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130086277A1 (en) * 2003-02-05 2013-04-04 Silver Screen Tele-Reality, Inc. System, method, and computer readable medium for creating a video clip
CN103942273A (en) * 2014-03-27 2014-07-23 北京空间机电研究所 Dynamic monitoring system and method for aerial quick response
US20180102143A1 (en) * 2016-10-12 2018-04-12 Lr Acquisition, Llc Modification of media creation techniques and camera behavior based on sensor-driven events
CN110495166A (en) * 2017-12-15 2019-11-22 斯纳普公司 Spherical video editing
CN108886579A (en) * 2017-12-26 2018-11-23 深圳市大疆创新科技有限公司 Unmanned plane shoots processing method, shooting camera and the remote controler of video
CN110383820A (en) * 2018-05-07 2019-10-25 深圳市大疆创新科技有限公司 Method for processing video frequency, system, the system of terminal device, movable fixture

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023104078A1 (en) * 2021-12-09 2023-06-15 北京字跳网络技术有限公司 Method and apparatus for generating video editing template, device, and storage medium
CN114845171A (en) * 2022-03-21 2022-08-02 维沃移动通信有限公司 Video editing method and device and electronic equipment
CN115515008A (en) * 2022-09-19 2022-12-23 深圳市天和荣科技有限公司 Video processing method, terminal and video processing system
CN115515008B (en) * 2022-09-19 2024-02-27 深圳市天和荣科技有限公司 Video processing method, terminal and video processing system

Also Published As

Publication number Publication date
CN112997506A (en) 2021-06-18

Similar Documents

Publication Publication Date Title
WO2021237619A1 (en) Video file editing method, and device, system and computer-readable storage medium
US20200162682A1 (en) Video processing method, device, aircraft, and system
EP3167604B1 (en) Methods and systems of video processing
CN110254716A (en) Information processing unit, information processing method and imaging system
US20120293613A1 (en) System and method for capturing and editing panoramic images
JP2022537614A (en) Multi-virtual character control method, device, and computer program
KR20170136750A (en) Electronic apparatus and operating method thereof
WO2018157464A1 (en) Image display method and electronic device
CN106791354A (en) Control the intelligent display device and its control system of unmanned plane cloud platform rotation
CN113273172A (en) Panorama shooting method, device and system and computer readable storage medium
KR20190055064A (en) METHOD AND APPARATUS FOR SUPPORTING SESSION CONTROL FOR VIDEO VIRTUAL REALITY STREAMING
US20210004005A1 (en) Image capture method and device, and machine-readable storage medium
WO2019127376A1 (en) Video acquisition method, control terminal, aircraft, and system
US20160012851A1 (en) Image processing device, image processing method, and program
CN111479059B (en) Photographing processing method and device, electronic equipment and storage medium
WO2018170725A1 (en) Image transmission method, device, and apparatus
CN109155820B (en) Spherical panorama synthesis method, unmanned aerial vehicle system, unmanned aerial vehicle, terminal and control method thereof
CN108496351B (en) Unmanned aerial vehicle and control method thereof, control terminal and control method thereof
WO2022041013A1 (en) Control method, handheld gimbal, system, and computer readable storage medium
US10148874B1 (en) Method and system for generating panoramic photographs and videos
WO2022133782A1 (en) Video transmission method and system, video processing method and device, playing terminal, and movable platform
WO2022141122A1 (en) Control method for unmanned aerial vehicle, and unmanned aerial vehicle and storage medium
JP2019080165A (en) Image provision method
CN111311477B (en) Image editing method and device and corresponding storage medium
WO2021056259A1 (en) File download control method, terminal, system, movable platform, and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20937602

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20937602

Country of ref document: EP

Kind code of ref document: A1