| Crates.io | edl |
| lib.rs | edl |
| version | 1.1.2 |
| created_at | 2022-10-06 08:50:36.258407+00 |
| updated_at | 2022-10-06 15:01:04.250992+00 |
| description | Parse EDL (edit decision list) files. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 681103 |
| size | 8,888 |
A very simple library to parse EDL (edit decision list) files.
Add the edl crate to your Cargo.toml.
[dependencies]
edl = "1"
let mut f = fs::File::open(Path::new("timeline.edl")).unwrap();
let mut data = String::new();
f.read_to_string(&mut data).unwrap();
let mut entries = edl::parser::parse(&data, 60)?;
entries.sort_by_key(|e| e.index);
Attention
Any read EDL contents passed to the parse function must have
CRLF line endings!