4561 Commits
Author SHA1 Message Date
Dylan M. Taylor 61dfd6c4dc EPS: enable sampled images, scale step budget, and align CMYK with After Effects (#4057)
* pdf,eps: enable EPS image rendering, scale step budget, and align CMYK with After Effects (#3677)

* chore: repin craft-ps to 068e079c for save/restore dictionary journaling (#790)

* chore: align craft-pdf/hayro revs and xtask pdf-deps pin to 068e079c
2026-11-21 14:34:09 -05:00
Terra854 2f16feb12f media: present full-range high-depth RGB from the shared decoder (#4063) 2026-11-21 14:10:33 -05:00
Terra854andDylan M. Taylor 8fc2bc99c6 media: route MXF through the shared header probe (#4058)
Co-authored-by: Dylan M. Taylor <[email protected]>
2026-11-21 14:02:47 -05:00
Terra854andDylan M. Taylor 563fea6582 media: use the shared GIF text control fix (#4040)
* media: use the shared GIF text control fix

* chore: repin craft-gif to storytold/craft-libs main (ba25ccd2)

---------

Co-authored-by: Dylan M. Taylor <[email protected]>
2026-11-21 13:33:27 -05:00
Terra854andDylan M. Taylor f70208cef3 media: route MP4 and Matroska FLAC through craft-audio (#4049)
* media: route MP4 and Matroska FLAC through craft-audio

* media: propagate errors when generating FLAC test fixtures

---------

Co-authored-by: Dylan M. Taylor <[email protected]>
2026-11-21 13:31:03 -05:00
Terra854andDylan M. Taylor a28fcd18dd media: route standalone FLAC through craft-audio (#4045)
Co-authored-by: Dylan M. Taylor <[email protected]>
2026-11-21 13:30:18 -05:00
Terra854 716d03e462 media: probe Matroska ProRes coded alpha (#4034)
* media: probe Matroska ProRes coded alpha

* Keep shared Matroska reads when ProRes alpha is unknown
2026-11-21 13:28:05 -05:00
Terra854andDylan M. Taylor ea64796b6e media: derive audio-only AVI PCM duration from indexed blocks (#4042)
Co-authored-by: Dylan M. Taylor <[email protected]>
2026-11-21 13:24:09 -05:00
Terra854 abb7b66de5 psd: share legacy Mac Roman layer-name decoding (#4056) 2026-11-21 13:22:30 -05:00
FredAppsandCodex 951c8b4da7 Seek independent ProRes frames in scanned AVI streams (#4047)
Co-authored-by: Codex <[email protected]>
2026-11-21 13:03:31 -05:00
FredAppsandCodex f02e6412ce media: read AAC configuration through the shared byte source (#4046)
Co-authored-by: Codex <[email protected]>
2026-11-21 13:03:27 -05:00
Terra854 887c08b31e media: present full-range 8-bit RGB from the shared decoder (#4052) 2026-11-21 12:53:55 -05:00
Terra854 f7ab031c3c media: present monochrome frames from the shared decoder (#4051) 2026-11-21 12:53:50 -05:00
Terra854 6e3459a8eb media: use the shared reader for uncompressed RGB AVI (#4050) 2026-11-21 12:53:47 -05:00
Terra854 fcf35f3f9f media: derive AVI video duration from indexed frames (#4037) 2026-11-21 12:53:44 -05:00
Terra854 4e97ebe0ae media: include the final AAC transport packet in duration (#4033) 2026-11-21 12:53:40 -05:00
Terra854 8bc329ac19 media: preserve Matroska presentation duration (#4032) 2026-11-21 12:53:37 -05:00
Terra854 eb5fa36bcf media: preserve Matroska display aspect on import (#4029) 2026-11-21 12:53:34 -05:00
fae7ad7641 media: avoid nested ProRes decode work under the MOV reader lock (#4028)
Co-authored-by: FredApps <[email protected]>
Co-authored-by: Codex <[email protected]>
2026-11-22 00:17:12 +07:00
f4d45dfef3 media: fence fractional MOV PCM edits on the packet clock (#778) (#4031)
Co-authored-by: Codex <[email protected]>
Co-authored-by: FredApps <[email protected]>
2026-11-21 11:35:49 -05:00
FredAppsandCodex c22f034bf3 media: preserve Matroska FFV1 metadata without CodecPrivate (#4041)
Co-authored-by: Codex <[email protected]>
2026-11-21 11:30:25 -05:00
FredAppsandCodex 8de16e41ba media: preserve APV fallback outside the guarded MP4 subset (#4039)
Co-authored-by: Codex <[email protected]>
2026-11-21 11:14:13 -05:00
FredAppsandCodex b76b883e90 media: keep shared AVI playback when ProRes alpha cannot be inferred (#4035)
Co-authored-by: Codex <[email protected]>
2026-11-21 11:06:55 -05:00
Dylan M. Taylor d46142eb69 media: preserve container audio resampling phase across seeks (#4026) 2026-11-21 10:42:03 -05:00
FredAppsandCodex 52c78fd252 media: preserve the final picture in regular H.264 transport streams (#778) (#4030)
* Preserve the final picture duration in regular H.264 transport streams

* Test TS duration through the public H.264 encoder API

---------

Co-authored-by: Codex <[email protected]>
2026-11-21 22:18:42 +07:00
Dylan M. Taylor 7334a14ac2 media: enable FFV1 and APV decode in craft-video route (#4027)
* media: enable FFV1 and APV decode in craft-video route

* media: supply FFV1 config_record extradata in TrackDecoder unit test
2026-11-21 09:43:57 -05:00
Dylan M. Taylor 775b157e66 media: probe AVI ProRes coded alpha parity (#4025)
* media: probe AVI ProRes coded alpha parity

* media: fix prores::Profile, ChromaFormat, and Encoder::with_config in AVI alpha test
2026-11-21 09:03:46 -05:00
FredAppsandCodex b71670634a media: honor MXF descriptor color fallback for ProRes (#778) (#4023)
* media: honor MXF descriptor color fallback for ProRes (#778)

* style: format MXF descriptor color fallback

---------

Co-authored-by: Codex <[email protected]>
2026-11-21 21:01:09 +07:00
Terra854 5f435d45ef fix(media): silence reads past the MOV audio edit end (#4024)
* Stop presenting MOV audio at the edit end

* Credit Terra854 in EffectCraft About
2026-11-21 08:24:47 -05:00
FredAppsandCodex 917a68783a Preserve MXF descriptor pixel aspect in the shared reader (#4022)
Co-authored-by: Codex <[email protected]>
2026-11-21 19:31:33 +07:00
FredAppsandCodex bf85299410 media: clamp MXF picture duration and seeking to indexed frames (#4021)
* Use the same indexed MXF picture window for duration and seek

* Apply hosted rustfmt to MXF window test

---------

Co-authored-by: Codex <[email protected]>
2026-11-21 18:34:46 +07:00
FredAppsandCodex 0ecc246f05 media: preserve standalone audio resampling phase across seeks (#4017)
Co-authored-by: Codex <[email protected]>
2026-11-21 17:50:20 +07:00
Terra854andDylan M. Taylor fd2e7d7b6f fix(media): preserve leading MOV audio silence and saturate positions (#4005)
* fix(media): honor MOV audio edit lists on first read

* fix(media): preserve sign on ISO-BMFF edit-list position overflow

---------

Co-authored-by: Dylan M. Taylor <[email protected]>
2026-11-21 05:30:06 -05:00
Dylan M. Taylor 7003f0a056 media: switch non-fallback AUDIO_EXTENSIONS and convert tests to craft-libs (#4020)
* media: switch non-fallback AUDIO_EXTENSIONS and convert tests to craft-libs

* media: accept FrameView in frame_to_image
2026-11-21 05:19:23 -05:00
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 <[email protected]>
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 <[email protected]>

* 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 <[email protected]>
2026-11-20 22:10:32 -05: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 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 f2b569469f test(media): use array chunks in ProRes alpha fixture 2026-11-20 22:20:31 +01:00