hevcencode:broken output stream

オープン
#342 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
c, linux, ubuntu

調査の方向性

hevcencode エントリポイントから開始し、指定された HEVC 環境で提供された 2 つのコマンドを再現して、use_features、use_block_sizes、p2b、intra-period のケースで出力ストリームをデコードできるか確認します。レポートで言及されている media-sdk encode sample と動作を比較します。これらの構成全体で影響を受けるストリームを正しくデコードできれば完了です。

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

説明

Issue:
  1. If enabling use_features and use_block_sizes, the whole output stream will be undecodable.
  2. If disabling use_features and use_block_sizes, it will be following situations:
    ①When p2b=0, if setting intra period size larger than 32, then all the pictures that its POC are larger than 31 are broken.
    ②When p2b=1, if setting intra period size more than 128, then the last picture of every gop is broken.
  3. It seems that it’s caused by the hevcencode sample itself, since when using the encode sample in media-sdk it doesn’t show this
    problem.
Test commandline:

sudo ./hevcencode -w 1920 -h 1080 -n 0 -f 30 --intra_period 150 --idr_period 150 --rcmode VBR --bitrate 4000 --syncmode --srcyuv nv12_yuv_file --fourcc NV12 --profile 1 --p2b 0 --lowpower 1 -o ./output_stream

sudo ./hevcencode -w 1920 -h 1080 -n 0 -f 30 --intra_period 150 --idr_period 150 --rcmode VBR --bitrate 4000 --syncmode --srcyuv nv12_yuv_file --fourcc NV12 --profile 1 --p2b 1 --lowpower 1 -o ./output_stream

Environment:

Hardware:intel ARC A380
OS: Ubuntu 22.04.3 LTS with 6.2.0-32-generic kernel
Media Driver version: Intel iHD driver for Intel(R) Gen Graphics - 23.2.4
VA-API version: 1.19 (libva 2.19.0)
Libva-utils version: 2.19.0
Display:drm

主要言語
C
スター
244
フォーク
175
平均マージ
9日 7時間
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

intel/libva-utils のほかの issue

intel/libva-utils の issue をすべて見る

似ている issue

C の issue をもっと見る

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

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