Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

fix(engine): emit hvc1 for streaming H.265 GPU outputs

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

メンテナーはふだん 1 日以内に返信

@Monster-GM がすでに取り組んでいます。

2026年10月4日 から。

  • #5029 @Monster-GM による — オープン

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
78/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript

調査の方向性

Locate buildStreamingArgs() on current main and inspect the existing argument-construction tests. Verify how software, VideoToolbox, and supported GPU H.265 branches build their commands, then add coverage for H.265 and H.264 cases. Done means every H.265 path has exactly one hvc1 tag while H.264 and VP9 remain unchanged.

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

説明

Summary

The streaming encoder adds the MP4 hvc1 sample-entry tag for software H.265, but GPU H.265 branches can omit it. Those outputs may use FFmpeg's default hev1 tag even though the encoded HEVC stream itself is valid.

This reduces compatibility with Apple playback software and other consumers that expect parameter sets through an hvc1 sample entry.

Root cause

In buildStreamingArgs(), the existing:

args.push("-tag:v", "hvc1");

is nested inside the software-encoder branch. The common codec === "h265" decision is outside that branch, so VideoToolbox and the other supported GPU H.265 encoders do not necessarily receive the same container tag.

Affected version

Observed in HyperFrames v0.8.114 (01c6f6004a00ecfa6e77ab4025b47a46a5e925fc). Please confirm against current main.

Expected behavior

Every MP4 streaming H.265 path should append -tag:v hvc1 exactly once, independently of whether the selected encoder is libx265, VideoToolbox, NVENC, VAAPI, QSV, or AMF. H.264 and VP9 paths must remain unchanged.

Proposed change

Move the H.265 sample-entry decision after software/GPU encoder selection but keep it inside the common H.265 branch:

if (codec === "h265") {
  args.push("-tag:v", "hvc1");
}
Validation

Add argument-construction tests covering:

  • software H.265;
  • HDR VideoToolbox H.265;
  • each supported GPU H.265 encoder;
  • software and GPU H.264 negative cases;
  • exactly one hvc1 tag per H.265 command.

The change is container metadata only and does not alter encoded picture data, bitrate, transfer characteristics, or HDR metadata.

主要言語
TypeScript
スター
54.1k
フォーク
4.9k
平均マージ
7時間 19分
マージ済み PR(30日)
746

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

heygen-com/hyperframes のほかの issue

heygen-com/hyperframes の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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