Import: numbered stills import as stills unless the Sequence option is on; dropped folders make sequences (#431)
Cause: SequenceOptions::from_params defaulted `sequence` to true for file.import, so any numbered still (IMG_0001.jpg) brought its whole numbered run from its folder, and several picked or dropped stills with a common prefix became one sequence. Dropped files never asked, and the Import dialog's "<format> Sequence" checkbox started ticked. Fix, matching After Effects: file.import takes picked and dropped files as stills unless `sequence: true` (the Import dialog's Sequence checkbox, which now starts unticked; Force Alphabetical Order implies it), while the numbered stills inside a picked or dropped folder still import as sequences (SequenceOptions::folders), and `sequence: false` (Alt-drag of a folder) imports a folder's files one by one. Replace Footage, reload, proxies and render outputs keep detecting their sequence (SequenceOptions::default and from_params are unchanged), and mediaBrowser.import keeps bringing a numbered still's run unless `sequence: false`. docs/footage.md and docs/agents.md describe the new defaults. Tests: sequence import_takes_stills_unless_asked_for_a_sequence and engine numbered_stills_import_as_stills_by_default (one dropped still and two picked IMG_ stills stay stills, a dropped folder makes one sequence, the checkbox brings the run); the existing sequence tests pass `sequence: true`; ui import_dialog_offers_the_image_sequence_option (unticked by default: a still; ticked: the run) and a_dropped_folder_imports_as_one_sequence_with_sequence_interpretation (two dropped frames: two stills; the folder: one sequence). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QiAJeFttZp83Fh7YuzAR5f (cherry picked from commit aa3c31db9ab3a774ee2f8ba867e1bafc1fce7aba)
This commit is contained in:
+4
-3
@@ -251,9 +251,10 @@ build real projects through these interfaces; they are worked examples of everyt
|
||||
then `keys.velocity {"outSpeed":0,"outInfluence":33.33}`.
|
||||
* **Gradients**: `set_property {"path":"contents/gfill/colors","value":["#0080ff","#ffff00"]}` or
|
||||
`{"colors":[[0,"#0080ff"],[1,[1,1,0]]],"opacities":[[0,1],[1,0.5]]}`.
|
||||
* **Image sequences**: `file.import {"paths":["/r/shot_0001.png"]}` imports the file's whole
|
||||
numbered run as one item (several picked frames: that range; a folder: each run in it;
|
||||
`"sequence": false`: one still; `"alphabetical": true`: Force Alphabetical Order, the files
|
||||
* **Image sequences**: `file.import {"paths":["/r/shot_0001.png"], "sequence": true}` imports the
|
||||
file's whole numbered run as one item (several picked frames: that range; a folder, even without
|
||||
`sequence`: each run in it; without `sequence` picked files import as stills, as in After
|
||||
Effects; `"alphabetical": true`: Force Alphabetical Order, the files
|
||||
play one after another) at `frameRate` or 30 fps (Settings ▸ Import). Missing frames show
|
||||
colour bars, as in After Effects. `file.interpretFootage {"items":[id], "frameRate":12,
|
||||
"startTimecode":1001}` conforms them and sets Override Start (the item and layers that ran to its end get the new
|
||||
|
||||
+11
-6
@@ -26,7 +26,7 @@ dialog shows the run it found (and any missing frames) with these options:
|
||||
|
||||
| Option | What it does |
|
||||
|---|---|
|
||||
| **PNG Sequence** (EXR, TIFF, JPG… after the file type) | On: the whole run imports as one sequence. Off: just the picked file imports, as a still. |
|
||||
| **PNG Sequence** (EXR, TIFF, JPG… after the file type) | On: the whole run imports as one sequence. Off (the default, as in After Effects): the picked files import as stills. |
|
||||
| **Force alphabetical order** | Imports every image of that type in the folder in name order, whatever the numbering, and plays the files one after another (gaps in the numbering don't count). Use it for files that aren't numbered consistently. |
|
||||
| **Frame rate (fps)** | The sequence's frame rate. The default comes from Settings ▸ Import ▸ Sequence Footage (30 fps). |
|
||||
|
||||
@@ -34,10 +34,14 @@ Other ways in:
|
||||
|
||||
- **Pick part of a run** (Shift-click the first and the last frame in the file dialog) to import
|
||||
just that range as one sequence.
|
||||
- **Pick or drop every frame** of the run: it arrives as one sequence, not one item per frame.
|
||||
- **Pick every frame** of the run with the Sequence option on: it arrives as one sequence, not
|
||||
one item per frame.
|
||||
- **Drop a folder**: its media files import, and each numbered run in it becomes a sequence.
|
||||
- **In the browser** (the web app) there are no folders to look in, so pick or drop all the
|
||||
frames of the sequence at once.
|
||||
Alt-drag the folder to import its files one by one.
|
||||
- **Dropped files** import as stills, one item each, as in After Effects; drop the folder (or use
|
||||
File ▸ Import ▸ File… with the Sequence option) for a sequence.
|
||||
- **In the browser** (the web app) there are no folders to look in, so pick all the frames of
|
||||
the sequence at once with the Sequence option on.
|
||||
|
||||
Stills of any format EffectCraft reads can form a sequence: PNG, JPEG, TIFF, OpenEXR, BMP and
|
||||
WebP. Layered and vector documents (PSD, SVG, PDF) import one by one.
|
||||
@@ -48,8 +52,9 @@ Effects does, so every other frame stays at its number. Render or copy the missi
|
||||
folder and choose File ▸ Reload Footage to fill the gaps.
|
||||
|
||||
Agents: `file.import {"paths": ["/shots/shot_0001.png"], "sequence": true, "frameRate": 24}`.
|
||||
`sequence` is on by default; `"sequence": false` imports the file as a still, and
|
||||
`"alphabetical": true` is Force Alphabetical Order.
|
||||
Without `sequence`, picked files import as stills and a folder's numbered runs as sequences;
|
||||
`"sequence": true` is the Sequence option (one file brings its whole run), `"sequence": false`
|
||||
imports a folder's files one by one, and `"alphabetical": true` is Force Alphabetical Order.
|
||||
|
||||
## Interpret Footage
|
||||
|
||||
|
||||
Reference in New Issue
Block a user