026_视频/合成的时间轴/进度条制作

小白球的运动为时间进度标记


当前表达式为:

start = thisComp.layer("Video").inPoint;

end = thisComp.layer("Video").outPoint;

x = time/(end-start)*thisComp.width;

[x,value[1]];

thisComp.width


分隔栏的位置设定:thisComp.layer(video").marker.key(1).time.
V1标记点的位置
Before
After

完整表达式如下:

start = thisComp.layer("Video").inPoint;

end = thisComp.layer("Video").outPoint;

x = thisComp.layer("Video").marker.key(1).time/(end-start)*thisComp.width;

[x,value[1]];


x1 = thisComp.layer("01").transform.position[0];

x2 = thisComp.layer("02").transform.position[0];

x = (x1+x2)/2;

[x,value[1]]

最终演示效果
thisComp.layer("Video").marker.key(1).comment
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容