mirror of
https://github.com/storytold/filmcraft.git
synced 2026-10-25 07:29:49 +00:00
226c139741
New L0 crate filmcraft-dnx, written from SMPTE ST 2019-1:2016 + Amd 1:2023 (tables extracted from the standard's text by tools/extract_tables.py). Decoder: every compression ID (DNxHD 1235-1260 incl. field-coded and macroblock-adaptive interlace, thin rasters, RGB 4:4:4; DNxHR 1270-1274 LB/SQ/HQ/HQX/444), 8/10/12-bit, 4:2:0/4:2:2/4:4:4, DCT and lossless alpha, macroblock rows in parallel. Matches ffmpeg within IDCT precision (max 2 LSB, <=50 per million beyond 1, 87-99% identical) on 22 ffmpeg fixtures; follows ffmpeg where it departs from the standard's text (reconstruction offset, CID 1271 weights, 4:4:4 signalling) - documented in the README. Encoder: DNxHR LB/SQ/HQ/HQX(10/12-bit)/444, CBR at the eq. 7.1 frame sizes, uniform-qsf binary search + per-macroblock refinement; ffmpeg decodes every profile with -xerror (HQ luma PSNR 58.8-66.3 dB). Wiring: MOV AVdn/AVdh import (codec label from the CID), export Format::DnxHr (MOV AVdh, dnxProfile lb|sq|hq|hqx) in the export dialog and file.exportMedia. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
23 lines
510 B
TOML
23 lines
510 B
TOML
[package]
|
|
name = "filmcraft-dnx"
|
|
description = "Clean-room Avid DNxHD / DNxHR (SMPTE ST 2019-1 VC-3) decoder and encoder"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
default = ["threads"]
|
|
threads = ["dep:rayon"]
|
|
|
|
[dependencies]
|
|
filmcraft-bitstream = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
rayon = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
filmcraft-testkit = { workspace = true }
|