#resolve #ffmpeg #audio-video #edl #编辑决策列表 #davinci

应用 extract-clips

使用ffmpeg根据DaVinci Resolve 16导出的EDL文件从源文件中提取音频和视频片段

1个不稳定版本

0.0.0 2019年10月15日

#39 in #resolve

ISC许可证

6KB

extract-clips

使用ffmpeg根据DaVinci Resolve 16导出的EDL文件从源文件中提取音频和视频片段。

用法

在DaVinci Resolve 16中,转到 文件 > 导出AAF, XML...,然后在出现的对话框中,选择 EDL文件 (*.edl)。最后,按 保存

使用EDL文件的名称作为参数运行 extract-clips

例如。

extract-clips "Timeline 1 (Resolve).edl"

DaVinci Resolve 16导出的EDL文件格式

DaVinci Resolve 16导出的EDL文件看起来像这样

TITLE: Timeline 1
FCM: NON-DROP FRAME

001  AX       V     C        00:00:00:00 00:00:01:23 01:00:00:00 01:00:01:23  
* FROM CLIP NAME: IMG_2926.TRIM.mov

002  AX       V     C        00:00:01:23 00:00:02:02 01:00:01:23 01:00:02:02  
* FROM CLIP NAME: IMG_2926.TRIM.mov

003  AX       V     C        00:00:02:02 00:00:02:17 01:00:02:02 01:00:02:17  
* FROM CLIP NAME: IMG_2926.TRIM.mov

004  AX       V     C        00:00:02:17 00:00:02:20 01:00:02:17 01:00:02:20  
* FROM CLIP NAME: IMG_2926.TRIM.mov

005  AX       V     C        00:00:02:20 00:00:02:25 01:00:02:20 01:00:02:25  
* FROM CLIP NAME: IMG_2926.TRIM.mov

006  AX       V     C        00:00:02:25 00:00:04:14 01:00:02:25 01:00:04:14  
* FROM CLIP NAME: IMG_2926.TRIM.mov

007  AX       V     C        00:00:04:14 00:00:04:23 01:00:04:14 01:00:04:23  
* FROM CLIP NAME: IMG_2926.TRIM.mov

008  AX       V     C        00:00:04:23 00:00:04:27 01:00:04:23 01:00:04:27  
* FROM CLIP NAME: IMG_2926.TRIM.mov

009  AX       V     C        00:00:04:27 00:00:05:00 01:00:04:27 01:00:05:00  
* FROM CLIP NAME: IMG_2926.TRIM.mov

010  AX       V     C        00:00:05:00 00:00:06:20 01:00:05:00 01:00:06:20  
* FROM CLIP NAME: IMG_2926.TRIM.mov

011  AX       V     C        00:00:06:20 00:00:07:01 01:00:06:20 01:00:07:01  
* FROM CLIP NAME: IMG_2926.TRIM.mov

012  AX       V     C        00:00:07:01 00:00:09:19 01:00:07:01 01:00:09:19  
* FROM CLIP NAME: IMG_2926.TRIM.mov

013  AX       V     C        00:00:09:19 00:00:09:22 01:00:09:19 01:00:09:22  
* FROM CLIP NAME: IMG_2926.TRIM.mov

014  AX       V     C        00:00:09:22 00:00:09:28 01:00:09:22 01:00:09:28  
* FROM CLIP NAME: IMG_2926.TRIM.mov

015  AX       V     C        00:00:09:28 00:00:11:14 01:00:09:28 01:00:11:14  
* FROM CLIP NAME: IMG_2926.TRIM.mov

依赖关系

~1MB
~11K SLoC