Skip to content

FilmCraft: An open-source, nonlinear video editor written by scratch in pure Rust

Merge #2287: fix(interchange): OTIO export stops writing nested-sequence copies past a limit

aiongg9cfbf1e2b014
diff --cc crates/interchange/README.md
index b0cd33577,5acdb8a19..3d9a1dc9f
--- a/crates/interchange/README.md
+++ b/crates/interchange/README.md
@@@ -85,7 -85,11 +85,11 @@@ OMF carries no video at all
## Tests
+ - `src/otio.rs` (unit tests): OTIO repeats a nested sequence for every use, so compound clips that each hold
+ several uses of the next are exponential (a 3 KB FCPXML nested 12 deep made the export run for minutes and grow to
+ gigabytes). After 25 000 clips written inside nested sequences the rest are gaps, with one warning; an ordinary
+ project is far below that and unchanged.
-- `tests/aaf_omf.rs`: AAF round trips at 25, 29.97 DF, 23.976 and 59.94 DF (clips, gaps,
+- `tests/it/aaf_omf.rs`: AAF round trips at 25, 29.97 DF, 23.976 and 59.94 DF (clips, gaps,
two-sided and one-sided transitions, links, markers, start timecodes, constant and keyframed
gain, media markers and timecode); 512-byte sectors; breakout to mono; embedded trimmed audio
(sample data and source offsets); separate consolidated files with a video mixdown; OMF round