#ffmpeg #resolve #audio-video #edl #edit-decision-list #davinci

app extract-clips

Extract clips of audio and video from source files according to a DaVinci Resolve 16 exported EDL file, using ffmpeg

1 unstable release

0.0.0 Oct 15, 2019

#44 in #resolve

ISC license

6KB

extract-clips

Extract clips of audio and video from source files according to a DaVinci Resolve 16 exported EDL file, using ffmpeg.

Usage

In DaVinci Resolve 16, go to File > Export AAF, XML... and then, in the dialog that appears, select EDL Files (*.edl). Finally, press Save.

Run extract-clips with the name of the EDL file as argument.

E.g.:

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

DaVinci Resolve 16 exported EDL file format

EDL files exported by DaVinci Resolve 16 look like so:

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

Dependencies

~2MB
~29K SLoC