https://github.com/shellshape/chapterize
A CLI tool to convert EDL marker files (for example from DaVinci Resolve) to YouTube video timestamps.
https://github.com/shellshape/chapterize
cli davinci-resolve edl rust
Last synced: 6 months ago
JSON representation
A CLI tool to convert EDL marker files (for example from DaVinci Resolve) to YouTube video timestamps.
- Host: GitHub
- URL: https://github.com/shellshape/chapterize
- Owner: shellshape
- License: mit
- Created: 2022-10-05T21:31:48.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-06T17:18:23.000Z (over 3 years ago)
- Last Synced: 2025-02-25T05:51:27.244Z (11 months ago)
- Topics: cli, davinci-resolve, edl, rust
- Language: Rust
- Homepage: https://docs.rs/edl
- Size: 23.4 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# chapterize [](https://github.com/zekroTJA/chapterize/actions/workflows/cd.yml) [](https://github.com/zekroTJA/chapterize/releases) [](https://crates.io/edl) [](https://docs.rs/edl/latest/edl)
A CLI tool to convert EDL marker files (for example from DaVinci Resolve) to YouTube video timestamps.
## Usage
```
❯ chapterize --help
Parse EDLs to generate YouTube timestamps.
Usage: chapterize [OPTIONS] [INPUT]
Arguments:
[INPUT] The input EDL file. When not specified, input will be read from STDIN
Options:
-o, --output
The output TXT file. When not specified, output will be printed to STDOUT
-f, --frame-rate
The frame rate (FPS) of the timeline [default: 60]
-c, --color-filter
Color filter
-h, --help
Print help information
-V, --version
Print version information
```
You can export your timeline markers in DaVinci Resolve by right-clicking your timeline, navigating to `Timelines` → `Export` → `Timeline Markers to EDL...`.

Then simply use the CLI to convert the markers to timestamps. Let's take the following EDL export as example.
> timeline.edl
```edl
TITLE: Example Video
FCM: NON-DROP FRAME
001 001 V C 00:00:00:00 00:00:00:01 00:00:00:00 00:00:00:01
|C:ResolveColorBlue |M:Intro |D:1
002 001 V C 00:02:10:15 00:02:10:16 00:02:10:15 00:02:10:16
|C:ResolveColorBlue |M:Stuff |D:1
003 001 V C 00:01:03:54 00:02:10:16 00:02:10:15 00:02:10:16
|C:ResolveColorGreen |M:Don't export this! |D:1
004 001 V C 00:04:32:13 00:04:32:14 00:04:32:13 00:04:32:14
|C:ResolveColorBlue |M:Outro |D:1
```
Now, you can execute the tool with the following arguments.
```
chapterize timeline.edl \
-c ResolveColorBlue \
-f 60 \
-o timeline.txt
```
The result will look like following.
> timeline.txt
```
00:00 Intro
02:10 Stuff
04:32 Outro
```