分享python全自动视频剪辑开源免费工具auto-editor
auto-editor是一款AI自动剪辑工具,这款是来自国外的一位技术大牛所开发的脚本,依托于python和C++环境进行的自动化剪辑脚本工具,其中有个最好用的功能就是剔除视频中的无声片段,功能和 Wondershare Filmora 11 的去除无声片段结果基本一致,可以设置参数,但是还有多了一个目标动作识别的功能。
安装和使用
安装使用 auto-editor 。pip3 install auto-editor
常用功能
剪辑掉无声片段
auto-editor data/test.mp4
视频切割 --margin
--margin 在视频前后添加“无声”部分单位 sec/秒。
单位 帧(默认6帧)。
剪辑片段前后添加 0.2 秒。auto-editor data/test.mp4 --margin 0.2sec
设置切割方式
使用 --edit 选项更改自动编辑器进行自动剪切的方式。motion:threshold=2%
audio:threshold=4%
剪切掉视频中声音阈值小于30%的部分。auto-editor data/test.mp4 --edit audio:threshold=30%
剪切掉视频中画面不动的部分小于30%的部分。!auto-editor data/test.mp4 --edit audio:threshold=30%
导出编辑文件
没想到还支持导入到各种视频剪辑软件,例如 PR。...点击查看剩余70%
网友评论