Skip to content

Support multi-CVS mux/demux with per-sample-entry av2C configs - #9

Open
joelsole wants to merge 1 commit into
mainfrom
feature/multi_cvs
Open

Support multi-CVS mux/demux with per-sample-entry av2C configs#9
joelsole wants to merge 1 commit into
mainfrom
feature/multi_cvs

Conversation

@joelsole

Copy link
Copy Markdown
Contributor

Emit a new stsd sample entry whenever a CVS boundary changes the Sequence Header, and re-inject each CVS's config OBUs on demux keyed by sample description index. Also patches a vendored libisomedia off-by-one (SampleToChunkAtom::lookupSample) that misattributed the first sample of a new stsc run to the previous sample description index, corrupting config-OBU reinjection at CVS boundaries.

Verified byte-exact round-trip (MD5) across 18 single- and multi-CVS test streams.

Emit a new stsd sample entry whenever a CVS boundary changes the
Sequence Header, and re-inject each CVS's config OBUs on demux keyed
by sample description index. Also patches a vendored libisomedia
off-by-one (SampleToChunkAtom::lookupSample) that misattributed the
first sample of a new stsc run to the previous sample description
index, corrupting config-OBU reinjection at CVS boundaries.

Verified byte-exact round-trip (MD5) across 18 single- and multi-CVS
test streams.
@joelsole
joelsole requested a review from skotagiri August 28, 2026 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant