Skip to content

fix: rewrite SI table filtering guidance and add rewrite requirement - #19

Merged
mondain merged 1 commit into
mainfrom
feat/si-rewrite
Jul 21, 2026
Merged

fix: rewrite SI table filtering guidance and add rewrite requirement#19
mondain merged 1 commit into
mainfrom
feat/si-rewrite

Conversation

@gwendalsimon

Copy link
Copy Markdown
Collaborator

Problem

The SI table paragraph added in PR #11 had two gaps:

  1. Style: The paragraph used "PMT-centric" as a label for the filter rule, referenced "the retain list above," used "well-known" informally, and bundled two SHOULD obligations into one sentence.

  2. Substance: No guidance existed on rewriting SI tables when filtering from an MPTS. A retained SDT or EIT carried verbatim from an MPTS still advertises all programs in the multiplex, which is non-conformant for a derived single-program track.

This is raised in issue #13.

Changes

  • Rewrite the SI paragraph: start from the PMT's actual scope (elementary stream and PCR PIDs only), introduce all acronyms with full names on first use, and explain clearly why the filter drops SI tables.
  • Split the two SHOULD obligations (retain SI, declare via m2tsSiPids) into separate sentences.
  • Add rewrite guidance: because SDT and EIT from an MPTS describe all programs, publishers SHOULD filter or rewrite them to include only entries for the carried program. NIT and TDT/TOT are broadcast-wide and do not require per-program rewriting.

Closes #13.

The existing SI paragraph (added in PR #11) had several style issues:
vague framing, a confusing "PMT-centric" label, and no guidance on
rewriting SDT/EIT when derived from an MPTS source.

* Replace the paragraph with a clear explanation: the PMT references
  only program elementary-stream PIDs and never references the fixed
  service information tables (NIT, SDT/BAT, EIT, TDT/TOT); the filter
  therefore drops them silently.
* Expand all acronyms on first use.
* Split the two SHOULD obligations (retain, declare) into separate
  sentences.
* Add rewrite guidance: because SDT and EIT from an MPTS describe all
  programs, publishers SHOULD filter or rewrite them to include only
  entries for the carried program. NIT and TDT/TOT are broadcast-wide
  and do not require per-program rewriting.

Addresses issue #13.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@gwendalsimon
gwendalsimon requested a review from mondain as a code owner July 21, 2026 12:43
@mondain
mondain merged commit 1fc1039 into main Jul 21, 2026
2 checks passed
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.

Per-program (SPTS) filter drops DVB/ATSC SI (SDT/EIT/TDT/TOT/NIT); SI rewrite unspecified

2 participants