Special effect processing method and device, electronic equipment and storage medium

文档序号:1613961 发布日期:2020-01-10 浏览:16次 中文

阅读说明:本技术 特效处理方法、装置、电子设备及存储介质 (Special effect processing method and device, electronic equipment and storage medium ) 是由 杜晶 于 2019-09-11 设计创作,主要内容包括:本发明提供一种特效处理方法、装置、电子设备及存储介质,其中的方法包括:收到启动特效处理软件的指令时,展示所述特效处理软件的可视化特效处理界面;所述可视化特效处理界面配置有若干时间轨道,所述时间轨道用于被触发以从预存的特效素材库中导入特效素材,并控制特效素材的播放时间;收到时间轨道被触发所产生的指令时,获取导入到当前被触发的时间轨道中的特效素材及特效素材的播放时间;根据各时间轨道中的特效素材的播放时间的时序组合所有特效素材,以生成目标特效素材。(The invention provides a special effect processing method, a special effect processing device, electronic equipment and a storage medium, wherein the method comprises the following steps: when an instruction for starting special effect processing software is received, a visual special effect processing interface of the special effect processing software is displayed; the visual special effect processing interface is configured with a plurality of time tracks, and the time tracks are used for being triggered to introduce special effect materials from a pre-stored special effect material library and control the playing time of the special effect materials; when an instruction generated by triggering a time track is received, acquiring special effect materials led into the currently triggered time track and playing time of the special effect materials; and combining all the special effect materials according to the time sequence of the playing time of the special effect materials in each time track to generate the target special effect materials.)

1. A special effect processing method is characterized by comprising the following steps:

when an instruction for starting special effect processing software is received, a visual special effect processing interface of the special effect processing software is displayed; the visual special effect processing interface is configured with a plurality of time tracks, and the time tracks are used for being triggered to introduce special effect materials from a pre-stored special effect material library and control the playing time of the special effect materials;

when an instruction generated by triggering a time track is received, acquiring special effect materials led into the currently triggered time track and playing time of the special effect materials;

and combining all the special effect materials according to the time sequence of the playing time of the special effect materials in each time track to generate the target special effect materials.

2. The method of claim 1, wherein after obtaining special effects material imported into a currently triggered time track, the method further comprises:

displaying the special effect parameters of the currently imported special effect material;

when an instruction generated by triggering the special effect parameters is received, displaying a parameter editing interface corresponding to the currently triggered special effect parameters; a coordinate system area for editing the special effect parameters and a linear selection control for controlling the change trend of the special effect parameters in the coordinate system area are configured in the parameter editing interface; the horizontal axis of the coordinate in the coordinate system area indicates playing time, and the vertical axis of the coordinate indicates the value of the special effect parameter; the line type options configured in the line type selection control comprise: straight lines, curves and piecewise curves;

when detecting that an input operation exists in a coordinate system area, determining a special effect parameter coordinate point input into the coordinate system area according to the input operation;

connecting and inputting all special effect parameter coordinate points in a coordinate system area by using a line type corresponding to a currently selected line type option in a line type selection control so as to generate a curve graph for describing the change trend of the currently triggered special effect parameter along with the playing time;

and updating the currently triggered special effect parameters according to the graph so as to update the currently imported special effect materials.

3. The method of claim 1, wherein after generating the target special effects material, the method further comprises:

when an instruction for indicating to play a target special effect material is received, acquiring an input original video;

adding the target special effect material into a video frame of a corresponding time period of the original video according to the playing time of the target special effect material to generate a corresponding special effect video;

and playing the special effect video.

4. The method of claim 1, wherein for any of the library of special effects materials, the generating of the special effects material comprises:

displaying a visual special effect editing interface; the visual special effect editing interface is configured with a special effect design area and a plurality of special effect modules, and different special effect modules are bound with different special effect components;

when a special effect design instruction is received, inputting a target special effect module corresponding to the special effect design instruction into a special effect design area and/or establishing a connection relation between the target special effect module corresponding to the special effect design instruction and other target special effect modules in the special effect design area;

combining the target special effect components bound by the corresponding target special effect modules according to the connection relation between the target special effect modules in the special effect design area to generate corresponding special effect shader programs;

and generating corresponding special effect materials based on the special effect coloring program.

5. The method of claim 4, wherein for each special effects module, the special effects module is configured with an input port and/or an output port, each port configured with a number of module options; different module options are bound with different special effect modules.

6. The method of claim 5, wherein the special effects design instruction is triggered by any one of the following user actions: inserting a target special effect module into the special effect design area, selecting a module option of the target special effect module in the special effect design area, and connecting ports between the target special effect modules in the special effect design area;

the inputting the target special effect module corresponding to the special effect design instruction into the special effect design area and establishing the connection relation between the target special effect module corresponding to the special effect design instruction and other target special effect modules in the special effect design area comprise:

when the special effect design instruction is triggered by the operation that the module option of the target special effect module in the special effect design area is selected, the port where the selected module option is located is accessed to the target special effect module bound by the selected module option.

7. The method of claim 4, further comprising:

and for the target special effect modules with the connection relation established, displaying the target special effect modules and the connection relation between the target special effect modules in a logic node graph mode.

8. A special effect processing apparatus, comprising:

the first display module is used for displaying a visual special effect processing interface of the special effect processing software when receiving an instruction for instructing to start the special effect processing software; the visual special effect processing interface is configured with a plurality of time tracks, and the time tracks are used for being triggered to introduce special effect materials from a pre-stored special effect material library and control the playing time of the special effect materials;

the first acquisition module is used for acquiring the special effect material led into the currently triggered time track and the playing time of the special effect material when receiving an instruction generated by triggering the time track;

the first generation module is used for combining all the special effect materials according to the time sequence of the playing time of the special effect materials in each time track so as to generate the target special effect materials.

9. An electronic device, comprising:

a processor;

a memory for storing a computer program executable by the processor;

a display;

wherein the processor implements the steps of the method of any one of claims 1 to 7 when executing the program, and controls the display state of the display.

10. A machine-readable storage medium having a program stored thereon; characterized in that the program is adapted to carry out the steps of the method according to any one of claims 1 to 7 when executed by a processor.

33页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:查询目标图像的方法和装置

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!