Files
Sylpheed/docs/re/data/voice-region-start-audit.txt
sylph-decoder 3e8235ddbd re: resolve_movie_voice_region starts INSIDE the first stream, 8 of 10 multichannel regions
Found because the port refused to apply my stream assignment and did the
arithmetic instead: the running decoder's three ADV contexts sum to 3 584 000 B
against a resolved region of 3 114 352 -- 15 % too small to hold them. Two spans,
one wrong, and it was the disc side.

The gap is 238 packets exactly (487 424 B), which is what a start offset looks
like; ctx0 declares 632 packets and the resolver's leading chunk has 394.

Verified against the decoder's own byte_sizes, which cannot be fitted to: at
-238 packets to_xma_riffs yields [1294336, 1118208, 1171456], all three exactly.
It is a real boundary and not the end of a sweep -- at -300 the previous asset's
chunks appear while the three ADV sizes stay stable.

Disc-wide: 24 of 24 single-chunk regions start at a boundary; 8 of 10 three-chunk
regions start mid-stream. The defect is specific to the multichannel case.

The audit's per-movie number is an UPPER BOUND, not the clip -- its stopping rule
is the chunk count changing, and to_xma_riffs absorbs a few packets of the
previous asset first (243 reported for ADV against a true 238). Only ADV has
external ground truth.

Consequence: in those 8 movies the leading chunk is a truncated first stream, not
a spurious artefact, and anything measured on it was measured on a fragment --
including this corpus's own chunk-0 level, though the assignment survives because
its ratio test was chosen to be immune to the clipping.

The resolver is NOT patched. Why the predecessor cue's trailer lands 238 packets
into the next asset is unanswered, and a fix guessed from one movie would be
worse than a documented defect.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wuu56cE8vJGTBtn1ppsk8v
2026-08-30 08:41:22 +00:00

64 lines
4.1 KiB
Plaintext

movie chunks first chunk clip pkts verdict
ADV 3 806912 243 STARTS MID-STREAM
S00A 3 1323008 243 STARTS MID-STREAM
S01A 3 1153024 243 STARTS MID-STREAM
RT01A 1 284672 0 starts at a boundary
RT01B 1 350208 0 starts at a boundary
RT01C_1 1 352256 0 starts at a boundary
RT01C_2 1 354304 0 starts at a boundary
S02A 3 665600 0 starts at a boundary
S02B 3 430080 243 STARTS MID-STREAM
S02C 3 1867776 243 STARTS MID-STREAM
RT02A 1 321536 0 starts at a boundary
RT02B 1 387072 0 starts at a boundary
RT02C 1 436224 0 starts at a boundary
RT02D_1 1 190464 0 starts at a boundary
RT02D_2 1 243712 0 starts at a boundary
hokyu_LS_s02A 1 51200 0 starts at a boundary
hokyu_LS_s02H 1 38912 0 starts at a boundary
S03A 3 251904 243 STARTS MID-STREAM
RT03A 1 319488 0 starts at a boundary
RT03B 1 266240 0 starts at a boundary
RT03C 1 397312 0 starts at a boundary
RT03D 1 612352 0 starts at a boundary
hokyu_LS_s03A 1 51200 0 starts at a boundary
hokyu_LS_s03H 1 38912 0 starts at a boundary
S04B 3 555008 243 STARTS MID-STREAM
RT04A 1 229376 0 starts at a boundary
RT04B 1 219136 0 starts at a boundary
hokyu_DS_s02A 1 53248 0 starts at a boundary
S05A 3 161792 0 starts at a boundary
RT05A 1 307200 0 starts at a boundary
RT05B 1 344064 0 starts at a boundary
RT05C 1 188416 0 starts at a boundary
hokyu_LS_s02A 1 51200 0 starts at a boundary
S06A 3 350208 243 STARTS MID-STREAM
S06B 3 606208 243 STARTS MID-STREAM
RT06A 1 301056 0 starts at a boundary
RT06B 1 325632 0 starts at a boundary
RT06C 1 227328 0 starts at a boundary
RT06D 1 120832 0 starts at a boundary
hokyu_LS_s06A 1 51200 0 starts at a boundary
hokyu_LS_s06H 1 38912 0 starts at a boundary
S07A 3 503808 243 STARTS MID-STREAM
S07B 3 53248 0 starts at a boundary
RT07A 1 505856 0 starts at a boundary
RT07B 1 258048 0 starts at a boundary
RT07C 1 133120 0 starts at a boundary
hokyu_DS_s07A 1 53248 0 starts at a boundary
hokyu_DS_s07H 1 57344 0 starts at a boundary
RT08A 1 180224 0 starts at a boundary
RT08B 1 174080 0 starts at a boundary
RT08C 1 143360 0 starts at a boundary
hokyu_DS_s08A 1 53248 0 starts at a boundary
S09B 3 176128 243 STARTS MID-STREAM
RT09A 1 307200 0 starts at a boundary
RT09B 1 468992 0 starts at a boundary
RT09C 1 245760 0 starts at a boundary
RT09D 1 385024 0 starts at a boundary
hokyu_LS_s09A 1 53248 0 starts at a boundary
hokyu_LS_s09H 1 38912 0 starts at a boundary
RT10A 1 106496 0 starts at a boundary
RT10B 1 67584 0 starts at a boundary
S11A 3 81920 0 starts at a boundary