Add ability to generate PSNR statistics for an encoded video frame
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 45/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 領域
- api, audio-video-rtc
調査の方向性
まず、VideoEncoderEncodeOptions と EncodedVideoChunkMetadata の WebCodecs 定義を確認し、次に、期待されるセマンティクスについてリンクされている webrtc-stats の PSNR フィールドを確認します。API で PSNR の生成を要求でき、利用可能な場合は Y、U、V の測定値を個別に報告し、エンコーダーがそれらを提供しない場合も best-effort の動作を維持できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Many video encoder implementations include efficient ways to calculate the PSNR of an encoded frame. This can be highly useful for analyzing the generated video quality. This is currently being added to webrtc-stats but is desirable also for WebCodecs.
Some examples of software encoders supporting this functionality include libvpx (VP8/VP9), libaom (AV1) and OpenH264. As for hardware encoders I'm aware of at least D3D12 and VideoToolbox exposing this, assuming the underlying implementation supports it.
There is however no guarantee that it will be available, so it should be generated on a best-effort basis.
I suggest adding a boolean generatePsnr to the VideoEncoderEncodeOptions dictionary (default to false) to request PSNR data from the encoder. If the encoder generated PSNR data, then put it in a new dictionary YuvVideoPsnr (containing separate measurements for the Y, U and V channels) inside the EncodedVideoChunkMetadata dictionary.
- 主要言語
- HTML
- スター
- 1.3k
- フォーク
- 192
- 平均マージ
- 3時間 36分
- マージ済み PR(30日)
- 7
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
w3c/webcodecs のほかの issue
-
privacy-needs-resolution
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
editorial
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
メンテナーはふだん 1 日以内に返信
-
TPAC2026
難易度 5/5 1週間以上 初心者へのやさしさ 8/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
maxrave-dev/SimpMusic#2649 ·
メンテナーはふだん 2 日以内に返信
-
product/backlog
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
TencentBlueKing/bk-nodemgr#3645 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 2 日以内に返信
-
Objects.List treats versions=false (and similar flags) as true対応中かも @andaaron が今日担当しました。 オープンpriority: p2 type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
googleapis/storage-testbench#829 ·
メンテナーはふだん 2 日以内に返信
-
[Bug]: memory provider treats 1:1 DMs as shared surfaces, so DM turns never receive reviewed recordsオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
rlaope/oh-my-hermes#2088 ·
メンテナーはふだん 1 日以内に返信