AcademySoftwareFoundation / AcademySoftwareFoundation/EncodingGuidelines

Perceptual difference between `scale` and `zscale` after the OCIO filter

Đang mở Phù hợp với người mới
#120 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Dockerfile
Star
55
Fork
8
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

When following the `FfmpegOcio.md` guidance to convert from RGB (OCIO filter output) to YCbCr using the `scale` filter, I noticed a perceptible difference from the EXR source. Swapping `scale` for `zscale` resolved it and much closer to the source in my testing.

**Example:**

```
ffmpeg -y -framerate 24 -start_number -i SOURCEFRAMES.%05d.exr \
-c:v prores_ks -profile:v 1 -pix_fmt yuv422p10le \
-vf "ocio=input=ACEScg:output=ACEScct:format=rgb48,zscale=matrix=709:primaries=709:primariesin=709:transfer=unspecified:transferin=unspecified:rangein=pc:range=limited" \
-movflags +faststart+write_colr -vendor apl0 OUTPUTFILE.mov
```

I don't have CLA clearance setup yet, so sharing my branch here instead: [`ffmpeg-ocio-zscale-command`](https://github.com/johnjoumaa/EncodingGuidelines/commit/0ca5457c3ad7a989aa77c7b59ffed3068f458940) on my fork, which adds a `zscale` note + alternate examples to `FfmpegOcio.md` alongside the existing `scale`-based ones. Happy to edit, have someone pick it up, or I can open the PR myself once CLA is sorted.

Let me know what your prefer,

Cheers!

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu với FfmpegOcio.md và so sánh hướng dẫn hiện có dựa trên scale với commit ffmpeg-ocio-zscale-command được liên kết. Xác nhận rằng ghi chú về zscale và các ví dụ thay thế phản ánh chính xác khác biệt đã được báo cáo, đồng thời coi tài liệu là hoàn chỉnh khi các phần bổ sung đó được tích hợp và các ví dụ vẫn nhất quán với hướng dẫn hiện có.

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

Đánh giá

Lĩnh vực
documentation
Loại issue
Tài liệu
Độ khó
1/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
68/100

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.