Repository navigation
fix(hls): private PES registered as HEVC takes the #268 VOD ingest - #723
Merged
Merged
Conversation
The carriage probe only accepted PMT stream_type 0x24 as HEVC and skipped every
ES descriptor loop, so a finite HEVC-in-MPEG-TS VOD that declares its video as
private PES (stream_type 0x06) plus registration_descriptor("HEVC") stayed on the
native route, where AVFoundation builds no video track (0x0 dimensions).
stream_type 0x06 now counts as HEVC when its ES_info loop carries a well-formed
registration descriptor (tag 0x05, at least four bytes, format identifier "HEVC").
A descriptor or loop that runs past its own bounds is not evidence, and the
registration never reinterprets any other stream type. FFmpeg's mpegts demuxer
already maps that registration to HEVC, so the ingest needs nothing else.
Verified with aetherctl on a byte-matched twin of the offset fixture (PMT 0x24
patched to 0x06, CRC rewritten): before, native route with no displayable frame;
after, the AE#268 route with frames and seeks to 90 s and 30 s landing exactly
like the 0x24 original.
Refs #718
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WJcXkGQrMiBPixVEFTSBJS
This was referenced Oct 8, 2026
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.
Refs #718
MPEGTransportStreamCodecProbeonly accepted PMTstream_type 0x24as HEVC and skipped every ES descriptor loop. A finite HEVC-in-MPEG-TS VOD that declares its video as private PES (0x06) plusregistration_descriptor("HEVC")therefore stayed on the native route, where AVFoundation builds no video track.0x06counts as HEVC only when its ES_info loop carries a well-formed registration descriptor (tag0x05, length >= 4, format identifierHEVC).0x1B+HEVCstaysotherCarriage).Verification
0x1B). The accept cases fail without the fix.aetherctl playon a byte-matched twin ofhls-hevc-vod-offset(PMT0x24patched to0x06, CRC rewritten), seeks to 90 s and 30 s: before, native route withrfd=nthroughout; after,AE#268: finite HEVC-in-MPEG-TS HLSroute withrfd=y, telemetry identical to the0x24original.swift test: green apart fromIssue445VMRegionCensusTests, a memory accounting test that fails under full-suite load and passes on its own.🤖 Generated with Claude Code
https://claude.ai/code/session_01WJcXkGQrMiBPixVEFTSBJS