Video processing method and terminal equipment

文档序号:1652341 发布日期:2019-12-24 浏览:18次 中文

阅读说明:本技术 视频处理方法及终端设备 (Video processing method and terminal equipment ) 是由 宋启恒 李欣宇 刘江辉 于 2018-01-19 设计创作,主要内容包括:一种视频处理方法及终端设备,该方法包括:获取视频数据;从所述视频数据中获取多个视频片段;根据预设参数对所述多个视频片段进行处理得到目标视频。通过终端设备获取视频数据,从所述视频数据中获取多个视频片段,根据预设参数对所述多个视频片段进行处理得到目标视频,用户不需要对视频数据进行后期编辑,节省了后期编辑的繁琐过程,提高了视频处理效率。(A video processing method and terminal equipment are provided, the method comprises the following steps: acquiring video data; acquiring a plurality of video clips from the video data; and processing the plurality of video clips according to preset parameters to obtain a target video. The video data are obtained through the terminal equipment, the video fragments are obtained from the video data, the video fragments are processed according to preset parameters to obtain the target video, a user does not need to edit the video data in the later period, the tedious process of editing in the later period is saved, and the video processing efficiency is improved.)

A video processing method, comprising:

acquiring video data;

acquiring a plurality of video clips from the video data;

and processing the plurality of video clips according to preset parameters to obtain a target video.

The method of claim 1, wherein the obtaining video data comprises:

acquiring video data shot by shooting equipment;

the method further comprises the following steps:

receiving flight parameter information of the unmanned aerial vehicle or motion parameter information of the shooting equipment per se in the process of shooting the video data by the shooting equipment sent by the unmanned aerial vehicle;

the obtaining a plurality of video clips from the video data comprises:

and acquiring a plurality of video clips from the video data according to the flight parameter information of the unmanned aerial vehicle or the motion parameter information of the shooting equipment in the process of shooting the video data by the shooting equipment.

The method of claim 2, wherein the flight parameter information of the drone includes at least one of: the flight speed of the unmanned aerial vehicle, the acceleration of the unmanned aerial vehicle, the attitude of a cradle head of the unmanned aerial vehicle and the position information of the unmanned aerial vehicle;

the motion parameter information of the shooting device comprises at least one of the following:

the attitude of the photographing apparatus, the movement speed of the photographing apparatus, the acceleration of the photographing apparatus, and the position information of the photographing apparatus.

The method of claim 1, further comprising:

identifying a scene corresponding to the video data in a machine learning mode;

the processing the plurality of video segments according to the preset parameters to obtain the target video comprises:

and processing the plurality of video clips according to preset parameters corresponding to the scene to obtain a target video.

The method of claim 1, further comprising:

detecting a scene setting operation of a user;

determining a scene corresponding to the video data according to the detected scene setting operation;

the processing the plurality of video segments according to the preset parameters to obtain the target video comprises:

and processing the plurality of video clips according to preset parameters corresponding to the scene to obtain a target video.

The method according to claim 4 or 5, characterized in that the method further comprises:

detecting a scene switching operation of a user;

switching the scene according to the detected scene switching operation;

the processing the plurality of video clips according to the preset parameters corresponding to the scene to obtain the target video comprises:

and processing the plurality of video clips according to preset parameters corresponding to the switched scenes to obtain a target video.

The method of claim 1, wherein the preset parameters comprise a target property of at least one video segment.

The method according to claim 7, wherein the processing the plurality of video segments according to the preset parameters to obtain the target video comprises:

determining at least one target segment with the actual attribute matched with the target attribute from the plurality of video segments according to the actual attribute of each video segment in the plurality of video segments;

and processing the at least one target segment to obtain a target video.

The method of claim 8, wherein the preset parameters further comprise audio information;

the processing the at least one target segment to obtain a target video includes:

and processing the at least one target segment according to the key points in the audio information to obtain a target video, wherein adjacent target segments in the target video are transitioned at the key points.

The method of claim 9, further comprising:

detecting an audio information selection operation of a user;

determining audio information selected by a user according to the detected audio information selection operation;

the processing the at least one target segment according to the key point in the audio information to obtain a target video includes:

and processing the at least one target segment according to the key point in the audio information selected by the user to obtain a target video.

The method of claim 9, further comprising:

detecting switching operation of a user on the attribute of the audio information;

determining audio information after attribute switching according to the detected switching operation;

the processing the at least one target segment according to the key point in the audio information to obtain a target video includes:

and processing the at least one target segment according to the key point in the audio information after the attribute switching to obtain a target video.

The method according to any one of claims 9-11, wherein the preset parameters further include transition information of adjacent target segments;

the processing the at least one target segment according to the key point in the audio information to obtain a target video includes:

and processing the at least one target segment according to the key points in the audio information to obtain a target video, so that the adjacent target segments in the target video are transitioned at the key points according to the transition mode represented by the transition information.

The method according to any one of claims 8-12, wherein the preset parameters further include filter information;

the method further comprises the following steps:

and carrying out image processing on the image in the target video according to the filter information.

The method of claim 13, wherein the preset parameters further comprise a target duration of the target video;

the method further comprises the following steps:

and adjusting the playing speed of the target video according to the target duration of the target video.

The method of claim 14, wherein the adjusting the playing speed of the target video according to the target duration of the target video comprises:

and adjusting the playing speed of at least one target segment in the target video according to the target duration of the target video.

The method according to any one of claims 1-15, further comprising:

detecting an adjustment operation of a user on the sequence of the plurality of video clips;

adjusting the sequence of the plurality of video clips according to the detected adjustment operation;

the processing the plurality of video segments according to the preset parameters to obtain the target video comprises:

and processing the plurality of video clips after the sequence adjustment according to preset parameters to obtain a target video.

The method according to any one of claims 1-16, further comprising:

coding the target video according to the video parameter corresponding to the target video to obtain a coded target video;

and sending the coded target video to a server.

The method of claim 17, further comprising:

and storing the coded target video to the local.

A terminal device, comprising: a memory and a processor;

the memory is used for storing program codes;

the processor, invoking the program code, when executed, is configured to:

acquiring video data;

acquiring a plurality of video clips from the video data;

and processing the plurality of video clips according to preset parameters to obtain a target video.

The terminal device of claim 19, further comprising: the communication interface is used for receiving video data which are sent by the unmanned aerial vehicle and shot by shooting equipment;

when the processor acquires the video data, the processor is specifically configured to:

acquiring video data shot by shooting equipment through the communication interface;

the communication interface is further configured to:

receiving flight parameter information of the unmanned aerial vehicle, sent by the unmanned aerial vehicle, in the process of shooting the video data by the shooting equipment;

when the processor obtains a plurality of video segments from the video data, the processor is specifically configured to:

and acquiring a plurality of video clips from the video data according to the flight parameter information of the unmanned aerial vehicle in the process of shooting the video data by the shooting equipment.

The terminal device of claim 20, wherein the flight parameter information of the drone includes at least one of:

the flight speed of unmanned aerial vehicle, unmanned aerial vehicle's acceleration unmanned aerial vehicle's gesture the gesture of unmanned aerial vehicle's cloud platform unmanned aerial vehicle's positional information.

The terminal device of claim 19, wherein the terminal device is a camera with a processor, and wherein the program code, when executed, is further configured to:

and receiving the motion parameter information of the shooting equipment, and acquiring a plurality of video clips from the video data according to the motion parameter information of the shooting equipment.

The terminal device according to claim 22, wherein the motion parameter information of the photographing device itself includes at least one of: the attitude of the photographing apparatus, the movement speed of the photographing apparatus, the acceleration of the photographing apparatus, and the position information of the photographing apparatus.

The terminal device of claim 19, wherein the processor is further configured to:

identifying a scene corresponding to the video data in a machine learning mode;

when the processor processes the plurality of video segments according to preset parameters to obtain a target video, the processor is specifically configured to:

and processing the plurality of video clips according to preset parameters corresponding to the scene to obtain a target video.

The terminal device of claim 19, wherein the processor is further configured to:

detecting a scene setting operation of a user;

determining a scene corresponding to the video data according to the detected scene setting operation;

when the processor processes the plurality of video segments according to preset parameters to obtain a target video, the processor is specifically configured to:

and processing the plurality of video clips according to preset parameters corresponding to the scene to obtain a target video.

The terminal device of claim 24 or 25, wherein the processor is further configured to:

detecting a scene switching operation of a user;

switching the scene according to the detected scene switching operation;

the processor is specifically configured to, when processing the plurality of video segments according to the preset parameters corresponding to the scene to obtain the target video:

and processing the plurality of video clips according to preset parameters corresponding to the switched scenes to obtain a target video.

The terminal device of claim 19, wherein the preset parameter comprises a target property of at least one video clip.

The terminal device of claim 27, wherein when the processor processes the plurality of video segments according to preset parameters to obtain the target video, the processor is specifically configured to:

determining at least one target segment with the actual attribute matched with the target attribute from the plurality of video segments according to the actual attribute of each video segment in the plurality of video segments;

and processing the at least one target segment to obtain a target video.

The terminal device of claim 28, wherein the preset parameters further comprise audio information;

when the processor processes the at least one target segment to obtain a target video, the processor is specifically configured to:

and processing the at least one target segment according to the key points in the audio information to obtain a target video, wherein adjacent target segments in the target video are transitioned at the key points.

The terminal device of claim 29, wherein the processor is further configured to:

detecting an audio information selection operation of a user;

determining audio information selected by a user according to the detected audio information selection operation;

the processor, when processing the at least one target segment according to the key point in the audio information to obtain a target video, is specifically configured to:

and processing the at least one target segment according to the key point in the audio information selected by the user to obtain a target video.

The terminal device of claim 30, wherein the processor is further configured to:

detecting switching operation of a user on the attribute of the audio information;

determining audio information after attribute switching according to the detected switching operation;

the processor, when processing the at least one target segment according to the key point in the audio information to obtain a target video, is specifically configured to:

and processing the at least one target segment according to the key point in the audio information after the attribute switching to obtain a target video.

The terminal device according to any of claims 29-31, wherein the preset parameters further comprise transition information of adjacent target segments;

the processor, when processing the at least one target segment according to the key point in the audio information to obtain a target video, is specifically configured to:

and processing the at least one target segment according to the key points in the audio information to obtain a target video, so that the adjacent target segments in the target video are transitioned at the key points according to the transition mode represented by the transition information.

The terminal device according to any of claims 28-32, wherein the preset parameters further comprise filter information;

the processor is further configured to:

and carrying out image processing on the image in the target video according to the filter information.

The terminal device of claim 33, wherein the preset parameters further include a target duration of the target video;

the processor is further configured to:

and adjusting the playing speed of the target video according to the target duration of the target video.

The terminal device of claim 34, wherein when the processor adjusts the play speed of the target video according to the target duration of the target video, the processor is specifically configured to:

and adjusting the playing speed of at least one target segment in the target video according to the target duration of the target video.

The terminal device of any of claims 19-35, wherein the processor is further configured to:

detecting an adjustment operation of a user on the sequence of the plurality of video clips;

adjusting the sequence of the plurality of video clips according to the detected adjustment operation;

when the processor processes the plurality of video segments according to preset parameters to obtain a target video, the processor is specifically configured to:

and processing the plurality of video clips after the sequence adjustment according to preset parameters to obtain a target video.

The terminal device of any of claims 19-36, wherein the processor is further configured to:

coding the target video according to the video parameter corresponding to the target video to obtain a coded target video;

the communication interface is also used for:

and sending the coded target video to a server.

The terminal device of claim 37, wherein the processor is further configured to:

and storing the coded target video to the local.

1页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:对数字光场图像编码和解码的方法和设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类