AcademySoftwareFoundation / AcademySoftwareFoundation/EncodingGuidelines

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

未关闭 适合新手
#120 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Dockerfile
星标
55
派生
8
PR 合并指标
30 天内没有已合并 PR

描述

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!

贡献指南

打开贡献指南

调研方向

从 FfmpegOcio.md 开始,将其中现有的基于 scale 的指导与链接的 ffmpeg-ocio-zscale-command commit 进行比较。确认 zscale 注释和替代示例准确反映所报告的差异,并在纳入这些补充内容且示例与现有指导保持一致后,认为文档已完成。

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

评估

领域
documentation
Issue 类型
文档
难度
1/5
预计耗时
1-3 小时
活跃度
活跃
描述清晰度
描述清楚
新手友好度
68/100

把新 issue 发到你的邮箱

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