AcademySoftwareFoundation / AcademySoftwareFoundation/EncodingGuidelines

Ffmpeg colour bugs

オープン
#10 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
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 では、カラータグ付け、抽出、ガンマ、色空間に関する複数の懸念が扱われていますが、リポジトリのファイルやテストは指定されていません。コントリビューションには、対象範囲を決定し、Definition of Done について合意する必要があります。

索引モデルが issue の本文から書いたものです。

評価

領域
documentation
issue の種類
バグ
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。