* 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]>
* Use the same indexed MXF picture window for duration and seek
* Apply hosted rustfmt to MXF window test
---------
Co-authored-by: Codex <[email protected]>
* 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]>
* 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
* 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
* 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
* 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]>
* 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
* 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
* 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 <[email protected]>
---------
Co-authored-by: FredApps <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
* 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