Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Docker render image: colours shift (pinks look paler) because Debian's ffmpeg 5.1 encodes with the BT.601 formula but tags BT.709

未关闭
#4,899 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
68/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
docker, typescript

调研方向

Start by comparing the official render Dockerfile's Debian ffmpeg 5.1.9 with the reported static ffmpeg 8.1 render, then trace the project's encode-filter configuration. The issue identifies setting out_color_matrix=bt709 as a possible fix, but says it is untested. Done means a Docker render matches the macOS colors and remains correctly tagged BT.709; also consider the reported mid-render package update and the two disabling environment variables.

由索引模型根据 Issue 内容生成。

描述

Rendering the same project with hyperframes 0.8.78 on macOS (ffmpeg 8.0.1) and in the official render Dockerfile (node:22-bookworm-slim, Debian ffmpeg 5.1.9) gives different colours. Strong colours shift: a pink pixel of RGB 228,41,130 on the Mac comes out as 240,65,131 in Docker. Encoding with the BT.601 formula and decoding with BT.709 predicts 243,64,131 for that pixel. Both outputs are tagged BT.709.

Switching the image to a current static ffmpeg (8.1) makes the Docker render match the Mac to within 1–2 levels. Setting out_color_matrix=bt709 explicitly in the encode filters would probably fix it too. That second fix is untested.

Also, in the same image the background self-updater rewrote the global package mid-render, and we had to set HYPERFRAMES_NO_UPDATE_CHECK=1 and HYPERFRAMES_NO_AUTO_INSTALL=1.

主要语言
TypeScript
星标
54.1k
派生
4.9k
平均合并
7 小时 2 分钟
30 天内合并 PR
782

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

heygen-com/hyperframes 的其他 Issue

查看 heygen-com/hyperframes 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。