Design a timestamped audio sample contract
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- python
调研方向
Read the existing FrameEngine contract and the Wave 5 design and fixture evidence; this issue names no files or tests. First review the proposed audio timing contract and acceptance scenarios, then present the design for a maintainer decision. Done means a decided contract covering timestamps, discontinuities, video synchronization and evidence retention; implementation and tests follow that decision.
由索引模型根据 Issue 内容生成。
描述
Scope
Propose a contract for decoded audio samples, time bases, discontinuities, synchronization with video and evidence retention. Include test scenarios with known offsets and document how the existing FrameEngine contract would remain usable.
This is a roadmap item for evidence or design. Implementation starts after a maintainer decision.
Proposed timing contract
An audio observation identifies the source stream, original block PTS and rational time base, starting sample index, samples per channel, sample rate, layout, and discontinuity segment. Derive time within a block as pts × time_base + sample_offset / sample_rate. Use half-open observation intervals. Normalize audio and video against one source presentation origin. Keep original PTS and time bases as evidence alongside any displayed milliseconds. Missing timestamps remain explicit and block cross-stream alignment until the timeline can be recovered with recorded provenance.
Keep frame engines callable with the existing RGB interface. Audio engines consume separate timestamped blocks and emit observations on the shared timeline. Persist a bounded audio window or a source reference according to the job's evidence policy, with its sample interval and any resampling mapping. A live reconnect or real timestamp break starts a new discontinuity segment.
On FFmpeg 9.1, a synthetic Matroska control with video at 30 FPS, 48 kHz PCM and an intentional +125 ms audio offset began at PTS 1250 for video and 1375 for audio on time base 1/1000. Consecutive 1,024-sample PCM blocks had 21 and 22 ms PTS steps, while their exact duration was about 21.333 ms. The acceptance tests should distinguish timestamp quantization from a real gap. Include a later annotated gap, missing PTS, a resampled source and a reconnect. Assert original sample intervals, the +125 ms alignment and the absence of fabricated events.
This is design and fixture evidence for Wave 5. The adapter and correlation path still require implementation and tests.
- 主要语言
- Python
- 星标
- 0
- 派生
- 0
- 平均合并
- 20 小时
- 30 天内合并 PR
- 5
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
JusticeGG-dev/CodeHunter 的其他 Issue
-
documentation good first issue help wanted validation
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
documentation engine-sdk good first issue help wanted
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
documentation good first issue
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 25/100
JusticeGG-dev/CodeHunter#21 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 25/100
JusticeGG-dev/CodeHunter#10 ·
维护者通常 1 天内回复
查看 JusticeGG-dev/CodeHunter 的全部 Issue
相似的 Issue
-
docs(contributing): the two things that silently block a PR可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭available documentation good first issue
难度 1/5 1-3 小时 新手友好度 95/100
Nixitov/Riptide-Native#944 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 88/100
JTHCode/secretguard#24 ·
维护者通常 1 天内回复
-
area: middleware documentation good first issue
难度 2/5 1-3 小时 新手友好度 88/100
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
good first issue
难度 1/5 1 小时以内 新手友好度 95/100
omarelshamy25x/shamy-hijri#63 ·
维护者通常 1 天内回复