Commit Graph
5394 Commits
Author SHA1 Message Date
FredApps 0fbf652f49 test: report stalls in the ProRes MOV roundtrip (#4019) 2026-11-21 17:07:08 +07:00
FredAppsandCodex c4bf4f5925 Round recorded MXF start timecodes to the nearest video frame (#4018)
Co-authored-by: Codex <codex@openai.com>
2026-11-21 16:31:31 +07:00
Dylan M. Taylor c03539fafb media: route AVI, MPEG-TS, and MPEG-PS through craft-media (#4010)
* media: route AVI, MPEG-TS, and MPEG-PS through craft-media

* media: add tick_to_rational_units and unwrap CodecParams dims

* media: deduplicate container source builder and add AVI/MPEG unit test

* media: import avi mux types from craft_media::avi root in test

* media: test estimate_mpeg_frame_rate via pts helper

* media: expand AVI and MPEG-TS unit test coverage

* media: write >=5 TS packets in MPEG-TS unit test for sniff

* media: expect MPEG-2 TS container name in unit test

* media: restore ContainerFile::Avi arm in target_sample
2026-11-21 04:24:37 -05:00
Dylan M. Taylor 05f181cc04 media: route MXF video and PCM/AES3 sound through craft-media::mxf (#4006)
* media: route MXF video and PCM/AES3 sound through craft-media::mxf

* media: use SoundFormat::Aes3Element for MXF AES3 sound

* media: address MXF presentation window, timecode rate, reorder fallback, and unit coverage

* media: fix StartTimecode and MediaSource::audio calls in MXF unit test

* media: fix unnecessary cast and add MXF video/trim unit test

* media: use PictureCoding::Avc and smoke-test open_mxf video+sound

* media: pass raw_bytes Vec<u8> to open_bytes in MXF unit test

* media: disambiguate Arc<[u8]> type in MXF unit test

* media: remove duplicate AudioBackend enum after merge

* media: match AudioBackend::Decoder struct variant

* media: fix MXF sync_sample_before assertion in unit test
2026-11-21 03:37:05 -05:00
FredApps c821d6e0e7 media: avoid scanning Opus payloads at open (#4011)
* Avoid scanning Opus payloads during track open

* Apply rustfmt to the Opus timing regression

* Split Opus regression scenarios for Clippy
2026-11-21 14:46:35 +07:00
Dylan M. Taylor a29e69d257 media: generate pure-Rust AAC fixtures for gap and seek tests (#4015) 2026-11-21 01:22:53 -05:00
FredApps 70c195ec28 Preserve recorded MOV timecode in the shared reader (#4012)
Use the timecode track's presentation clock to rebase EDL source timecodes for compatible continuous edits. Leave ambiguous origins unset.
2026-11-21 12:46:35 +07:00
Dylan M. Taylor 1c9892264c media: preserve durationless laced audio and narrow overlap reads (#4013) 2026-11-21 00:25:07 -05:00
Dylan M. Taylor 3561194af3 media: route standalone audio (WAV/AIFF/MP3/AAC/AC-3/Ogg Opus) through craft-audio (#4009)
* media: route standalone WAV, AIFF, MP3, ADTS AAC, AC-3, and Ogg Opus through craft-audio

* media: fix slice indexing and exhaustive SampleFormat match

* media: gate standalone audio for wasm, handle rate 0, and read wav markers

* media: use ext_of(path) == "wav" for wav_markers in probe

* media: deduplicate native_audio_window and drain_audio_window
2026-11-20 23:55:20 -05:00
Dylan M. Taylorandippsec aa623b7577 media: preserve contiguous audio packet placement across rounding and gaps (#4008)
* media: preserve contiguous audio packet placement across rounding and gaps

Port @IppSec's contiguous_starts packet-placement logic from storytold/filmcraft#359 into CraftMediaSource so fixed-frame and Opus packets stay contiguous across 1ms Matroska timestamp rounding and laced blocks, while honoring real silence gaps, overlaps, and delayed first packets on both sequential playback and cold/backward seeks.

Refs: storytold/effectcraft#1546
Refs: storytold/filmcraft#359
Co-authored-by: ippsec <root@ippsec.rocks>

* media: fix opus_packet_samples helper and TrackDecoder borrow

* media: use Footage and re-exported matroska mux types in audio gap tests

---------

Co-authored-by: ippsec <root@ippsec.rocks>
2026-11-20 22:10:32 -05:00
FredApps 7cbdf73b15 Merge pull request #4007 from FredApps/fix/778-matroska-cold-seek
fix(media): preserve Matroska audio position on cold seek
2026-11-21 09:25:39 +07:00
FredApps e084232b70 Match Matroska cold-seek audio frame rounding 2026-11-21 08:52:03 +07:00
FredApps b9ab1eaa2e fix(media): preserve Matroska audio position on cold seek 2026-11-21 01:56:10 +01:00
Dylan M. Taylor 88a59fd77d media: route audio-only ISO-BMFF and Matroska/WebM through craft-audio (#4004)
* media: route audio-only ISO-BMFF and Matroska/WebM through craft-audio

* media: use MediaKind::AudioOnly for audio-only CraftMediaSource

* media: take max duration across all Matroska audio tracks
2026-11-20 19:32:40 -05:00
FredApps decad372fd Merge pull request #4003 from FredApps/fix/778-mov-clean-aperture
fix(media): honor clean aperture on movie import
2026-11-21 06:48:30 +07:00
FredApps 46391758e0 fix(media): resolve clean aperture on the decoded picture 2026-11-21 00:16:54 +01:00
FredApps 09bfaf1028 fix(media): honor clean aperture on movie import 2026-11-20 23:18:34 +01:00
FredApps 86a4828cb6 Merge pull request #3999 from FredApps/fix/778-prores-import-alpha
fix(media): preserve coded ProRes alpha on import
2026-11-21 04:58:30 +07:00
FredApps f2b569469f test(media): use array chunks in ProRes alpha fixture 2026-11-20 22:20:31 +01:00
FredApps 9a74bb992c test(media): make ProRes alpha parity coverage unconditional 2026-11-20 21:40:23 +01:00
FredApps 799c687031 fix(media): probe coded ProRes alpha for import defaults 2026-11-20 21:27:51 +01:00
Dylan M. Taylor 3376eaa06a media: route ISO-BMFF and Matroska/WebM codecs through craft-video (#3989)
* media: route ISO-BMFF and Matroska/WebM codecs through craft-video

* media: fix rotation, WebM alpha fallback, draft cache separation, and Matroska audio timing

* media: remove nonexistent discard_padding_ns field on matroska::Sample

* test: use MediaPool::audio_samples in matroska_opus_audio_timing_and_seek

* media: support 8-bit planes stored in Samples::U16 (AV1)

* media: fix clippy lints, wasm cfg, and expand unit test coverage

* test: include kind field in isobmff::ColorInfo::Icc test literal

* test: avoid clippy::assertions_on_constants in craft_source unit tests

* media: avoid double-inverting container PAR fallback on rotated frames
2026-11-20 14:33:25 -05:00
Dylan M. Taylor c561e7352f mcp: add protocol transcript tests for initialize, cancel, and batch (#3990) 2026-11-20 11:54:22 -05:00
Dylan M. Taylor ff1cd02409 svg: add SVG render and scene-mapping parity regression tests (#3984)
* svg: add SVG render and scene-mapping parity regression tests

* svg: fix expected CSS/inherited-opacity/pixel-center assertions in parity tests

* svg: fix inline style override and square-cap dash gap in parity tests
2026-11-20 10:53:53 -05:00
FredApps 02b9ac978b Merge pull request #1710 from MarekSpodBiedry/issue-1682
Keep Essential Graphics instance keyframes in the comp so valueAtTime and numKeys see them (#1682)
2026-11-20 21:05:34 +07:00
5a0dde4e62 Adopt the shared AGENTS.md (RFC-0072) (#3973)
* Adopt the shared AGENTS.md (RFC-0072) and test rules (RFC-0071)

* Drop local conventions from This repository

* AGENTS.md: correct the repository facts

Store the file with LF line endings so the craft-agents sha256 matches, point to crates/engine/src/home/demo.rs, and name the example plug-in that uses unsafe outside the workspace.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: FredApps <FredApps@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 18:09:23 +07:00
Dylan M. Taylor f32ad3aa3b chore: unify craft-time/frame/color/audio pins to craft-libs main (#3972) 2026-11-19 21:59:13 -05:00
Dylan M. Taylor be292487d6 svg: use shared craft-svg document/CSS interpretation helpers (#3969)
* svg: cut over document/CSS interpretation helpers to craft-svg (storytold/craft-libs#778)

* chore: repin craft-svg to craft-libs main
2026-11-19 21:04:51 -05:00
Dylan M. Taylor 13d281b957 media: route software MP4/H.264 through craft-video and craft-media-source (#3970)
* media: route software MP4/H.264 through craft-video and craft-media-source (#781)

* chore: bump craft-video to ad50e51

* fix(media): convert FrameRate::new args to i64

* media: bump craft-libs pin to ce9ff47 and add #781 B-frame acceptance tests

* test(media): use h264_encoder() in h264 b-frame test

* chore: repin craft-video and craft-media to craft-libs main
2026-11-19 20:40:05 -05:00
Dylan M. Taylor ab5c4751f3 svg: use craft-svg preflight::parse_text for document setup (storytold/craft-libs#778) (#3968) 2026-11-19 18:48:27 -05:00
Dylan M. Taylor cb45fb0e34 automation: share JSON-RPC envelope framing via craft-jsonrpc (#3967)
* automation: share JSON-RPC envelope framing via craft-jsonrpc

* chore: update Cargo.lock for craft-jsonrpc
2026-11-19 18:34:19 -05:00
7be2b0dc27 psd: use shared borrowed descriptor and block writers (#3949)
* psd: use borrowed iterative descriptor writer

* psd: reuse shared borrowed descriptor block framing

* psd: use shared SoLd data prefix [skip ci]

* psd: remove unused descriptor module import [skip ci]

* psd: pin reviewed current-main shared writer stack [skip ci]

* deps: pin craft-psd and craft-svg to craft-libs main (08da5e14)

---------

Co-authored-by: FredApps <FredApps@users.noreply.github.com>
Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2026-11-19 15:56:31 -05:00
FredApps 13e6e6c67e Merge pull request #3301 from vangel76/cache-defaults-3298
Caching rebuilt: footage decoded once, one RAM budget for all caches, eviction by value, idle caching on
2026-11-19 21:05:38 +07:00
vangel76 98ada1e8ff Watch Folder renders take the host's memory budget; docs and test comment (#3941 review) 2026-11-19 10:37:00 +01:00
vangel76 0d9c69563f Exports, the Render Queue and command-line renders use the memory budget (#3941)
The command-line tool reads the system's memory once at start, so its caches
share the budget of the installed RAM instead of the budget for unknown RAM.
A Render Queue run's two layer caches and a one-off export's own caches take
the session's layer cache budget instead of a fixed 512 MiB; they are in the
memory accountant, which keeps them within the common budget together with the
other caches. In the browser each gets half the layer cache's cap.
2026-11-19 10:29:54 +01:00
vangel76 6bea5fa6ae Merge upstream/main into cache-defaults-3298 2026-11-19 10:21:55 +01:00
Dylan M. Taylor 665bfac0b3 export: cut over exr_out to craft-exr (#3937)
* export: cut over exr_out to craft-exr

* fix(export): keep exr in dev-dependencies for tests
2026-11-18 21:55:05 -05:00
FredApps c6eb66b937 Merge pull request #3940 from FredApps/fix/786-psd-hue-level-adapter
psd: share hue and levels writer framing
2026-11-19 08:47:16 +07:00
FredApps 686fb3fa04 Merge pull request #3922 from FredApps/fix/786-psd-fixed-writer-adapter
psd: delegate raw brightness and exposure writers
2026-11-19 07:24:22 +07:00
nicolafalcier99andNicola Falcier f6ed0b2500 #3391: a Views 1 | 2 | 4 switch in the Composition viewer's control row (#3848)
* contributors: Nicola Falcier

* #3391: a Views 1 | 2 | 4 switch in the Composition viewer's control row

---------

Co-authored-by: Nicola Falcier <298941634+nicolafalcier99@users.noreply.github.com>
2026-11-18 18:12:26 -06:00
FredApps 27ce4e9fa2 psd: share hue and levels writer framing 2026-11-19 01:02:42 +01:00
FredApps 993c1c78b3 Merge main retaining PSD cleanup ancestry 2026-11-19 00:47:52 +01:00
FredApps 85dc8d90e2 Merge descriptor parser and preserve shared writer pin 2026-11-19 00:45:53 +01:00
FredApps 2e6150b734 Merge pull request #3931 from FredApps/fix/786-psd-unused-reader
psd: remove unused reader after shared parser integration
2026-11-19 06:12:00 +07:00
FredApps 4139f5db59 Remove unused PSD reader after shared parser integration 2026-11-18 23:39:26 +01:00
FredApps 851642f6ec Merge pull request #3921 from FredApps/fix/786-psd-tagged-descriptor-adapter
psd: share recovering descriptor-block headers
2026-11-19 04:29:05 +07:00
FredApps b7c311d106 Merge main preserving scalar reader integration 2026-11-18 21:27:47 +01:00
FredApps a089c3f312 Delegate raw adjustment writers to craft-psd 2026-11-18 21:23:52 +01:00
FredApps ad95291762 Merge pull request #3916 from FredApps/fix/786-psd-scalar-blocks
psd: share scalar layer-block reading
2026-11-19 03:21:10 +07:00
FredApps f3ba7a5cd2 psd: share recovering descriptor-block headers 2026-11-18 20:38:43 +01:00