FilmCraft: An open-source, nonlinear video editor written by scratch in pure Rust
Merge main into #1068 (engine dev-dependencies, docs)
Brandon Thomas7c21ec5e1388
diff --cc Cargo.tomlindex 0c2e7ba70,e4aff62cf..d660c6578--- a/Cargo.toml+++ b/Cargo.toml@@@ -30,9 -33,9 +33,10 @@@ filmcraft-vp9 = { path = "crates/vp9"filmcraft-prores = { path = "crates/prores" }filmcraft-dnx = { path = "crates/dnx" }filmcraft-apv = { path = "crates/apv" }+filmcraft-dng = { path = "crates/dng" }filmcraft-av1 = { path = "crates/av1" }filmcraft-aac = { path = "crates/aac" }+ filmcraft-flac = { path = "crates/flac" }filmcraft-opus = { path = "crates/opus" }filmcraft-h264enc = { path = "crates/h264enc" }filmcraft-audio-dsp = { path = "crates/audio-dsp" }diff --cc crates/engine/Cargo.tomlindex 8bcec9931,9ebd9f70e..e888df87c--- a/crates/engine/Cargo.toml+++ b/crates/engine/Cargo.toml@@@ -46,5 -46,5 +46,6 @@@ web-time = "1[dev-dependencies]filmcraft-testkit = { workspace = true }+filmcraft-dng = { workspace = true, features = ["writer"] }+ filmcraft-isobmff = { workspace = true }image = { version = "0.25", default-features = false, features = ["png"] }diff --cc docs/architecture.mdindex 9b722be3b,59eaf3fc0..e98ed51d1--- a/docs/architecture.md+++ b/docs/architecture.md@@@ -29,7 -29,7 +29,7 @@@ Design principlesL2 edit · codecs · interchange · captions · speech · tts · tts-textL1 frame · media · project · audio-dsp · textL0 foundation: time · geom · color · bitstream · testkit (dev-dependency only)- codecs/containers: isobmff · matroska · mxf · cfb · mpegts · ogg · h264 · h264enc · hevc · vp9 · av1 · mpeg2v · prores · dnx · apv · dng · aac · ac3 · opus- codecs/containers: isobmff · matroska · mxf · cfb · mpegts · ogg · h264 · h264enc · hevc · vp9 · av1 · mpeg2v · prores · dnx · apv · aac · ac3 · mpa · opus++ codecs/containers: isobmff · matroska · mxf · cfb · mpegts · ogg · h264 · h264enc · hevc · vp9 · av1 · mpeg2v · prores · dnx · apv · dng · aac · ac3 · mpa · opus```Crates are named `filmcraft-<dir>` (`crates/time` is `filmcraft-time`). The apps are `filmcraft`diff --cc docs/gaps.mdindex 148aafadc,c9c481810..840536c1b--- a/docs/gaps.md+++ b/docs/gaps.md@@@ -156,20 -177,19 +177,20 @@@ platforms** G4, G9, G17; **performance*## G10. Container and codec gaps on import- **Have:** E-AC-3 (Dolby Digital Plus) in MP4, MOV, Matroska and MPEG-TS (#647): independent- substream, 1–6 blocks per syncframe, spectral extension. MP2 (MPEG audio layer II) in MP4 and- MOV, sample-exact against ffmpeg (#800).- - **Missing:** MP2 at bit rates ISO/IEC 11172-3 disallows: mono above 192 kbit/s (ffmpeg's default- for mono MP2 is 384 kbit/s) and stereo below 64 kbit/s; the bootstrap decoder (symphonia, also- 0.6) rejects every such frame, so the track plays silent: needs our own layer I/II decoder.- E-AC-3 adaptive hybrid transform, enhanced coupling and the extra channels of 7.1 dependent- substreams (played as the 5.1 core), AVI (#598; listed as an extension but no+ substream, 1–6 blocks per syncframe, spectral extension. MP1 / MP2 (MPEG audio Layer I / II):+ own decoder (#809) in raw files, MP4 and MOV (#800), MPEG-TS / PS and Matroska, including the+ bit rate / mode combinations ISO/IEC 11172-3 disallows but ffmpeg writes (its mono default is+ 384 kbit/s).+ - **Missing:** free-format MPEG audio, MP1 in Matroska (`A_MPEG/L1`), E-AC-3 adaptive hybrid+ transform, enhanced coupling and the extra channels of 7.1 dependent substreams (played as the+ 5.1 core), AVI (#598; listed as an extension but nodemuxer), WMV / ASF, DV / DVCPRO / DV100, MPEG-4 Part 2, FLAC in MP4 (#603), camera RAW (R3Dincl. R3D NE, ARRIRAW, Sony RAW / X-OCN, Canon RAW, BRAW, ProRes RAW; #345, #383), JPEG 2000 /- JPEG XS MXF, Cinema DNG; stills: PSD, EXR, HEIF / HEIC, Radiance HDR, AI / EPS, and the rarer- DPX layout, run-length encoding (Targa and DPX stills and sequences import since #821, packed- 10/12-bit and Y'CbCr DPX since #841, deeper than 8 bits kept at 8); transparent video (#402);- Sony start timecode in `rtmd` (#460); stereo 3D flag (#500); MKV multi-audio (#601).+ JPEG XS MXF, the rest of CinemaDNG (lossy / JPEG XL DNG, MXF-wrapped, opcode lists, Raw- settings; DNG frames and folders import since #1065); stills: PSD, EXR, HEIF / HEIC, Radiance HDR, AI / EPS, and the rarer- DPX layouts (packed 10/12-bit, run-length, Y'CbCr; Targa and DPX stills and sequences import- since #821, deeper than 8 bits kept at 8); transparent video (#402); Sony start timecode in- `rtmd` (#460); stereo 3D flag (#500); MKV multi-audio (#601).++ settings; DNG frames and folders import since #1065); stills: PSD, EXR, HEIF / HEIC, Radiance HDR,++ AI / EPS, and the rarer DPX layout, run-length encoding (Targa and DPX stills and sequences import++ since #821, packed 10/12-bit and Y'CbCr DPX since #841, deeper than 8 bits kept at 8); transparent++ video (#402); Sony start timecode in `rtmd` (#460); stereo 3D flag (#500); MKV multi-audio (#601).- **Estimate:** 120–200 h (camera RAW alone 60–100 h, and some SDKs have licences we cannot use:clean-room from public specs only where specs exist). Docs: [codec-parity.md](codec-parity.md),[file-format-parity.md](file-format-parity.md).diff --cc xtask/src/main.rsindex f0e57eb1b,df7f361cd..819326fcf--- a/xtask/src/main.rs+++ b/xtask/src/main.rs@@@ -49,9 -53,9 +53,10 @@@ const LAYERS: &[(&str, u8)] = &("mjpeg", 0),("dnx", 0),("apv", 0),+ ("dng", 0),("av1", 0),("aac", 0),+ ("flac", 0),("opus", 0),("frame", 1),("media", 1),