Repository navigation
NAT-545: Inspect Android media samples (2 of 2) - #168
Merged
eugene-mux merged 3 commits intoOct 16, 2026
Merged
eugene-mux merged 3 commits into
eugene-mux merged 3 commits into
Conversation
eugene-mux
marked this pull request as ready for review
October 6, 2026 17:57
daytime-em
approved these changes
Oct 14, 2026
eugene-mux
force-pushed
the
em/nat-545-sample-inspection
branch
2 times, most recently
from
October 16, 2026 18:09
82e26df to
29f8f40
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 29f8f40. Configure here.
eugene-mux
force-pushed
the
em/nat-545-sample-inspection
branch
from
October 16, 2026 18:35
29f8f40 to
c9f486a
Compare
Base automatically changed from
em/nat-545-metadata-inspection
to
feature/nat-534-hevc-standard-ingest
October 16, 2026 19:57
eugene-mux
force-pushed
the
em/nat-545-sample-inspection
branch
from
October 16, 2026 19:58
c9f486a to
b037dcc
Compare
eugene-mux
merged commit Oct 16, 2026
12f4349
into
feature/nat-534-hevc-standard-ingest
1 of 2 checks passed
Open
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.

Description
Inspect compressed AVC/HEVC video samples for Standard Input planning. Complete scans supply cadence, bitrate and GOP evidence; incomplete scans retain metadata and leave sample facts unknown.
Changes
Validation
Note
Medium Risk
New binary parsing and MediaExtractor loops affect upload standardization evidence; behavior is defensive (unknown/partial discard) but incorrect GOP or edit classification could change planner decisions.
Overview
Adds compressed-sample inspection for Android standard-input planning:
MediaSampleInspectorwalks single-track AVC/HEVC viaMediaExtractor, derives cadence, timestamps, average/per-GOP bitrate and keyframe spacing, and inspects sync-sample NALs for IDR vs open-GOP structure. Scans are capped (sample size, count, bytes read, elapsed time); partial, encrypted, or interrupted runs return status without publishing sample-derived facts.ISO edit-list classification is new in
IsoContainerMetadataReader: it readsmoov/trakidentity and classifieselstas none/simple/complex by track ID for video edits only—no timeline application. Matroska is treated as no ISO edits; malformed edit lists leaveeditListunknown while preserving other track metadata.TimestampFactsrenamesisMonotonictopresentationOrderMatchesDecodeOrderand documents that B-frame reordering is expected, not invalid PTS.Reviewed by Cursor Bugbot for commit b037dcc. Bugbot is set up for automated code reviews on this repo. Configure here.