fix(engine): emit hvc1 for streaming H.265 GPU outputs
维护者通常 1 天内回复
评估
- 难度
- 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
hvc1tag 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 分钟
- 30 天内合并 PR
- 746
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
heygen-com/hyperframes 的其他 Issue
-
gcp-cloud-run image pins Chrome 148, which drops `background-clip: text` glyphs inside layered children; the CLI's Chrome 152 paints them可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 1/5 1 小时以内 新手友好度 84/100
heygen-com/hyperframes#5117 ·
维护者通常 1 天内回复
-
Docs: clarify that "Enable auto-update" is only available in the Claude Code terminal (CLI) /plugin UI可能已有人在做 @rumi7911 于 2 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 85/100
heygen-com/hyperframes#5027 ·
维护者通常 1 天内回复
-
fix(producer): propagate useGpu to HDR layered streaming encoder可能已有人在做 @Monster-GM 于 4 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 87/100
heygen-com/hyperframes#5002 ·
维护者通常 1 天内回复
-
skills: remoteHeadSha() can open a Git Credential Manager dialog on Windows (GIT_TERMINAL_PROMPT does not cover GUI helpers; slug unvalidated)可能已有人在做 @RaphaelFakhri 于 8 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
heygen-com/hyperframes#4702 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
Studio catalog prompt editor has no accessible name可能已有人在做 @lorenzozanee 于 14 天前认领。 未关闭bug difficulty/easy triage/ready
难度 2/5 1-3 小时 新手友好度 78/100
heygen-com/hyperframes#4384 ·
维护者通常 1 天内回复
查看 heygen-com/hyperframes 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 84/100
answerLoops/answerLoops#345 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 82/100
siyuan-note/siyuan#20313 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
LanternOps/breeze#8254 ·
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 82/100
gofish-graphics/gofish-graphics#1084 ·
维护者通常 1 天内回复