Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#4,899 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
docker, typescript

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
54.1k
Fork
4.9k
Merge trung bình
7 giờ 2 phút
Pull request đã merge (30 ngày)
782

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của heygen-com/hyperframes

Tất cả issue của heygen-com/hyperframes

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.