Skip to content

Feed extradata parameter sets to the decoder - #166

Merged
mpeg5 merged 1 commit into
mainfrom
feed_extradata_parameter_sets
Sep 18, 2026
Merged

mpeg5 merged 1 commit into
mainfrom
feed_extradata_parameter_sets

Conversation

@kpchoi

@kpchoi kpchoi commented Sep 18, 2026

Copy link
Copy Markdown
Owner

MP4 (evcC) streams carry SPS/PPS in extradata only, so after a seek the
decoder receives slices without parameter sets and produces no frames.

Parse the EVCDecoderConfigurationRecord in extradata and feed the
parameter sets to the decoder on init and after flushing, so decoding
resumes at any random access point. Streams without extradata are
unaffected.

Signed-off-by: KP Choi <19379257+kpchoi@users.noreply.github.com>

@cpncf cpncf left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mpeg5 mpeg5 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mpeg5
mpeg5 merged commit 9028837 into main Sep 18, 2026
2 checks passed
@mpeg5
mpeg5 deleted the feed_extradata_parameter_sets branch September 18, 2026 09:29
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.

3 participants