tkhd should parse track height and width as fixed point numbers
还没有人认领这个 Issue。
评估
调研方向
从 mp4parse/src/lib.rs 中第 1098 行附近的 tkhd 解析器开始,然后将 mp4parse_capi/src/lib.rs:725 中的 C API 处理与 MPEG4 规范进行比较。确定 fixed-point 宽度和高度应如何表示和解析;完成的标准是这些值不再相差 65536 倍,同时不依赖关于 fixed crate 的不受支持的假设。
由索引模型根据 Issue 内容生成。
描述
the tkhd parser currently parses the width and height fields of a track as u32.
According to the MPEG4 spec, these fields are fixed-points.
This leads to the parsed values being off by a factor of 65536.
It looks like this is handled in the C API by shifting the number right 16 bits
Unfortunately, Rust doesn't provide built-in fixed-point support but it looks like a couple of crates implement it (see fixed), but this would require adding a dependency. I'm also not sure if that crate provides an interface for parsing fixed-point numbers from binary.
- 主要语言
- Rust
- 星标
- 448
- 派生
- 73
- 平均合并
- 6 天 4 小时
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
mozilla/mp4parse-rust 的其他 Issue
-
AVIF metadata is improperly marked as private可能已有人在做 @amyspark 于 186 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 48/100
mozilla/mp4parse-rust#444 · 5 条评论 ·
-
Allow reading Exif metadata from AVIF images可能已有人在做 @amyspark 于 186 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 45/100
mozilla/mp4parse-rust#441 ·
-
senc box未关闭
难度 5/5 一周以上 新手友好度 15/100
mozilla/mp4parse-rust#415 ·
-
难度 4/5 3-5 天 新手友好度 28/100
mozilla/mp4parse-rust#414 · 4 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 35/100
mozilla/mp4parse-rust#412 · 2 条评论 ·
查看 mozilla/mp4parse-rust 的全部 Issue
相似的 Issue
-
ai_p2
难度 2/5 1-3 小时 新手友好度 68/100
ClickHouse/ClickHouse#125522 ·
维护者通常 1 天内回复
-
[Bug]: OpenRouter streaming chunks report the requested router name instead of the model OpenRouter served可能已有人在做 @Mrun25 今天认领。 未关闭bug llm translation
难度 2/5 1-3 小时 新手友好度 75/100
BerriAI/litellm#46095 · 1 条评论 ·
维护者通常 1 天内回复
-
bug effort:low flow:bug
难度 2/5 1-3 小时 新手友好度 74/100
jaroslawherod/micold-ai-ide#788 ·
维护者通常 1 天内回复
-
Docs: refresh target-app-parity and file-format-parity against main可能已有人在做 @vangel76 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
storytold/photocraft#4417 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
bevyengine/dlss_wgpu#37 ·