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 天內回覆