Repository navigation
diag(tools): a contiguity check for a run of produced segments (#561) - #571
Merged
Merged
Conversation
segverify answers whether each segment stands alone. Nothing answered whether the run of them is contiguous, which is the question AE#561 raised: a reported session where seg7's video ran to 34.034 s while seg8 opened at 33.492 s. Scripts/segment-spans.py reads every moof and prints [tfdt, tfdt + sum( sample_duration)] per track, flagging a gap or an overlap against the previous segment of the same track id. Pairs with `segverify --dump`, which already writes the files it needs. Measured against a healthy 4K HEVC fixture: contiguous on every line, both tracks, twelve segments. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_015PM3xUJB6ZQyqnmGK1fp6F
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
segverifyanswers whether each segment stands alone. Nothing answered whether the run of them is contiguous, which is the question AE#561 raised: a reported session where seg7's video ran to 34.034 s while seg8 opened at 33.492 s, half a second of overlap.Scripts/segment-spans.pyreads everymoofand prints[tfdt, tfdt + sum(sample_duration)]per track, flagging a gap or an overlap against the previous segment of the same track id. It pairs withsegverify --dump, which already writes the files it needs.Measured against
Patterns_Of_Nature_HDR10-P8.1_UHD_24_H265-10Mbps_DD+JOC-768Kbps.mp4:contiguouson every line, both tracks, twelve segments.No engine code touched.
🤖 Generated with Claude Code
https://claude.ai/code/session_015PM3xUJB6ZQyqnmGK1fp6F