Repository navigation
Make sRGB transfer tags optional for ProRes exports - #464
sanyamsingh001 wants to merge 1 commit into
Conversation
|
@sanyamsingh001 Thanks for this! The tag does describe the pixels more accurately. We're holding it for one decision, because the project's bar is parity with After Effects: AE tags its ProRes output 1-1-1 (BT.709), and some NLEs and players mishandle transfer 13 (sRGB). Switching to the sRGB tag would make our files behave differently from AE's in those tools. We'll leave this open for the maintainers to decide which behaviour we want (possibly as an option). Everything else in it looked solid. Generated by Claude Code |
|
If it's related to my issue, that's not fixed - because Resolve still chucks out Media Not Found errors on a premulti or straight alpha ProRes 4444 or XQ file, with motion blending on or off. Oddly Capcut works fine, so something to do with the alpha that's causing issues with Resolve. |
Keep BT.709 transfer tags by default and expose opt-in sRGB metadata through output modules, commands, CLI and the existing render-queue menu. Retain existing tags for unmanaged Gamma 2.4, non-sRGB and alpha-only output. Make the relative-footage regression independent of temporary-root ordering while retaining its path and missing-footage assertions. Refs storytold#340. Co-authored-by: Codex <codex@openai.com>
2f0c38c to
7147093
Compare
|
Hi @sanyamsingh001, thanks for this PR! Most of the conflict comes from the shared module layout (#2491), which moved or split files this PR touches:
When you rebase, please also make sure it fits the other recent changes:
CI ( |
ProRes renders had no colr atom, so the stream reported no primaries, transfer or matrix. Write an nclc atom, as FilmCraft does for MOV, with the codes of what the render path makes: the project's output space when it has a working space, BT.709 otherwise. sRGB output stays at transfer 1, which is still open on #340 and #464. The frames don't change, so the pinned ProRes bytes move by exactly the atom's 18 bytes.
ProRes exports keep transfer characteristic 1 (BT.709) by default. The optional sRGB setting writes characteristic 13 for eligible sRGB color output without changing pixels. Unmanaged Gamma 2.4, managed non-sRGB and alpha-only output retain existing tags.
The setting uses the existing Output Module menu, the CLI's
--prores-srgb-transferflag and theproresSrgbTransfercommand option. Older projects leave it off. An existing relative-footage test now sorts expected paths to avoid temporary-directory ordering failures.Validation status: published head
71470935729299a026165ce1f03f6b7de5e801b5does not include the unpublished conflict-repair candidate (tree8185526eb5826abdf7fa5401bf3a65155c30766e). That candidate passed the focused ProRes checks, but requiredcargo xtask cihas not passed: its latest run failed eight GPU tests. For the separately reproduced dust-threshold failure, the test and CPU/GPU implementation paths are unchanged from the candidate's base and reviewed mainf37f20ffd07d0f79e163eef1ad703b87db427dc3. No GPU production fix has been made. The candidate's original three-view native check passed on Linux with Mesa llvmpipe/OpenGL: the ProRes sRGB tag was off by default, showed a checkmark after one toggle, and was absent for H.264. Required full CI still has not passed. The Linux notes below describe earlier reported validation and do not qualify this pending repair.Linux validation used Mesa llvmpipe, one test thread and disabled release LTO. NVIDIA OpenGL could not create a device in this headless session. Resolve's reported ProRes 4444/XQ alpha import failure (#293) remains unverified.
Refs #340.