mirror of
https://github.com/storytold/filmcraft.git
synced 2026-10-24 10:10:05 -06:00
Merge pull request #676 from vbasky/fix/592-import-replace
Add file.import replace mode for empty-project round-trips
This commit is contained in:
@@ -696,7 +696,9 @@ Video encoders implement `export::VideoEncoder`. Codec crates plug in with `regi
|
||||
|
||||
Timelines can be exchanged as EDL, FCP7 XML, FCPXML, OTIO, AAF or OMF. `file.import` detects these
|
||||
formats and merges the result into the project as one undoable step (AAF / OMF embedded audio is
|
||||
written next to the document first), and `file.exportInterchange`, `file.exportEdl`,
|
||||
written next to the document first). `file.import {replace: true}` starts from an empty project
|
||||
with the same name (`file.newProject`) so a headless import→export round-trip contains only the
|
||||
imported timeline. `file.exportInterchange`, `file.exportEdl`,
|
||||
`file.exportFcpxml`, `file.exportOtio`, `file.exportAaf` and `file.exportOmf` write them.
|
||||
`file.exportInterchange {format}` takes `edl`, `xml` (the default), `fcpxml`, `otio`, `aaf` or `omf`;
|
||||
any other value is a parameter error and nothing is written. For AAF and
|
||||
|
||||
Reference in New Issue
Block a user