|
function name |
1 |
render_object |
2 |
render_motion |
3 |
render_transition |
4 |
add_clarity |
5 |
add_filter |
6 |
add_merge |
7 |
add_motion |
8 |
add_object |
9 |
add_timeline |
10 |
add_transition |
11 |
render |
12 |
render_clarity |
13 |
del_object |
14 |
del_filter |
15 |
del_transition |
16 |
getMask |
17 |
mov_object |
18 |
mov_transition |
19 |
core_import |
20 |
preview |
21 |
trans_alpha |
22 |
core_add_filter |
23 |
core_add_merge |
24 |
core_add_motion |
25 |
core_add_object |
26 |
core_add_transition |
27 |
core_add_transparency |
28 |
core_get_filter |
29 |
core_get_id |
30 |
core_get_motion |
31 |
core_get_transition |
32 |
core_get_transition_name |
33 |
core_get_transparency |
34 |
core_new_project |
35 |
core_open_project |
36 |
core_save_project |
37 |
core_preview_mat |
38 |
core_render |
39 |
core_set_duration |
40 |
core_set_project_info |
41 |
core_set_transition |
42 |
del_motion |
43 |
del_transparency |
1.render_object
img=render_object(now_t,vi,imtemp)
this function is used to render one frame through filter and motion,after that merge it with another frame.
2.render_motion
img=render_motion(now_t,i,vi,imtemp)
this function is used to render the motion and return the result after that.
3.render_transition
img=render_transition(now_t,va,vb)
this function is used to get the result of one frame through transition.
4.add_clarity
result = add_clarity(id,obj_timeline,clarity)
this function is used to set the transparency of the key frame.
5.add_filter
result = add_filter(id,obj_timeline,f_filter)
this function is used to add a filter in a object.
6.add_merge
result = add_merge(id,obj_timeline,merge)
this function is used to set the mode of merging in object identified with id.
7.add_motion
result = add_motion(id,obj_timeline,motion)
this function is used to add the motion in a object.
8.add_object
add_object(id,source,start_t,end_t,obj_timeline)
this function is used to add a object on a special timeline.
9.add_timeline
result=add_timeline(VN)
this function is used to add a new video axis named by parameter VN.
10.add_transition
add_transition(id,fun_name,start_t,end_t,start_r,end_r,direct,mod)
this function is used to add a new transition.
11.render
render(start_t,end_t,to_file)
this function is used to get the result video.
12.render_clarity
rate=render_clarity(now_t,i,vi)
this function is used to get the rate of the frame's transparency,and return the rate.
13.del_object
del_object(id,obj_timeline)
delete the object marked by id.
14.del_filter
result=del_filter(id,obj_timeline,f_filter)
this function is used to delete a filter in a object.
15.del_transition
del_transition(id)
delete the transition that marked by id.
16.getMask
img=getMask(im,r,g,b)
get a mask martix through filtrating a rgb color which is defined by r,g,b.
17.mov_object
result = mov_object(id,sou_timeline,obj_timeline,start_t,end_t)
this function is used to move the object from one timeline to another.
18.mov_transition
mov_transition(id,fun_name,start_t,end_t,start_r,end_r,direct,mod)
this function is used to change the information of the transition marked by id.
19.core_import
core_import(path,ip)
open the file by parameter path, and import it to source_list.
20.preview
preview(pre_t)
this function is used to preview.
21.trans_alpha
obj_Alpha=trans_alpha(i,vi,Alpha,im)
this function is used to get the Alpha martix.
22.core_add_filter
result = core_add_filter(fun_name,vi,id,arg_list)
interface function.it is used to add a filter in a object.
23.core_add_merge
result=core_add_merge(id,vi,label,im)
interface function.it is used to set the mode of merging in object identified with id.
24.core_add_motion
result = core_add_motion(id,vi,im)
interface function.it is used to add the motion in a object.
25.core_add_object
core_add_object(source_id,start_t,end_t,obj_timeline)
interface function.it is used to add a object on a special timeline.
26.core_add_transition
core_add_transition(fun_name,start_t,end_t,start_r,end_r,direct,mod)
interface function.it is used to add a new transition.
27.core_add_transparency
result = core_add_transparency(id,vi,im)
interface function.it is used to set the transparency of the key frame.
28.core_get_filter
filter_name=core_get_filter(f_filter)
this function is used to get the name of a filter function.
29.core_get_id
id=core_get_id()
this function is used to get id of a new object.
30.core_get_motion
result = core_get_motion(id,vi)
this function is used to get the motion of a object identified with id.
31.core_get_transition
result = core_get_transition(id)
this function is used to get the information of a transition identified with id.
32.core_get_transition_name
transition_name=core_get_transition_name(transition)
this function is used to get the name of a transition function.
33.core_get_transparency
result = core_get_transparency(id,vi)
this function is used to get the transparency of a object identified with id.
34.core_new_project
core_new_project()
reset the poject.
35.core_open_project
core_open_project(path)
open a poject.
36.core_save_project
result=core_save_project(path)
save the object to a file.
37.core_preview_mat
core_preview_mat(win_id, source_id, x, y)
preview a frame of the source identified with source_id.
38.core_render
core_render(start_t,end_t,to_file)
this function is used to produce the result video.
39.core_set_duration
core_set_duration(id,vi,duration)
change the duration of the object identified with id.
40.core_set_project_info
result=core_set_project_info(height,width,fps,bits,duration)
change the attribution of the project.
41.core_set_transition
core_set_transition(id,start_t,end_t,start_r,end_r,direct)
change the attribution of the transition identified with id.
42.del_motion
result=del_motion(id,obj_timeline)
this function is used to delete the motion of the object identified with id.
43.del_transparency
result=del_transparency(id,obj_timeline)
this function is used to delete the transparency of the object identified with id.