AcademySoftwareFoundation / AcademySoftwareFoundation/EncodingGuidelines
Ffmpeg colour bugs
- 主要语言
- Dockerfile
- 星标
- 55
- 派生
- 8
- PR 合并指标
- 30 天内没有已合并 PR
描述
So.. Pretty nice guide you have here, but I think you slightly misunderstood *the situation*.
It is true that "all unspecified things the same" they stick to bt601, but the problem isn't really that there are assumptions about unknown still image formats (or better yet \*videos\*, because from png to jpg and webp I'm really skeptical any of them wouldn't have pretty rigorously documented default properties).
Everything is kind of a disaster because despite all of this, the program is then completely silent about such decisions (including within the final metadata) - and it is ***then*** the video players that have to try to guess what the color matrix is for yuv-rgb conversion.
And this is only one of the many shortcomings.
Long story short we have:
* files aren't [tagged](https://trac.ffmpeg.org/ticket/9167) with their colorspace information (and I'd like to remember the SD=601 and HD=709 convention otherwise)
* unless using [zscale](https://trac.ffmpeg.org/ticket/9693), forget about extracting videos to jpeg (unsure about the other way around?)
* output pngs have [wrong](https://trac.ffmpeg.org/ticket/10000) gamma (in one of the tags at least? depending on the software you may be good)
* colorspace and scale are also [busted](https://trac.ffmpeg.org/ticket/9772) in their own ways with linear gamma conversions
There are too what you could call "slight rounding errors" (the last three links [here](https://github.com/n00mkrad/flowframes/issues/157#issuecomment-1171774927)), but for once they seem pretty minor.
贡献指南
调研方向
首先查看编码指南以及链接的 FFmpeg 工单 9167、9693、10000 和 9772,还有链接的 Flowframes 讨论。该 issue 涵盖多个与颜色标记、提取、伽马和色彩空间相关的问题,但没有指定任何仓库文件或测试;要提交贡献,需要确定范围并就完成定义达成一致。
由索引模型根据 Issue 内容生成。
评估
- 领域
- documentation
- Issue 类型
- 缺陷
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100