Repository navigation
fix: the items left open after 0.71.1 (first-sample fallback, DVB budget, keyframe walk, concat subtitle offset) - #36
Merged
Conversation
…at and colour from the SPS its samples carry
…ransfer SEI of its first sample says so
… from the sequence extension, a VP8 track its pixel format
…f it, not four planes
…sing elements too
…ation, not the keyframes met so far
…he option now covers
…n the container states the scan type too
… the first moof for the first-sample fallback
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.
The items left open after 0.71.1, each reproduced by a failing test before its fix (or measured on a real file), one commit per point.
First-sample fallback (
WithInBandColourFallback,-in-band,mp4.Options.InBandColour):avc3) gets its profile, level, pixel format and colour from its samples: in Matroska whether or not the container states the scan type, and in a fragmented MP4 read head-only, whose firstmoofis now read for where the first samples are. Measured on a public browser test file in its three forms: High, level 31, yuv420p, as ffprobe.Elsewhere:
Commits:
c1b2a77- fix(mp4): a fragmented MP4 read head-only gets its first samples from the first moof for the first-sample fallback1ae242a- fix(reader): an H.264 record with no SPS is read from its samples when the container states the scan type too6b24995- docs(changelog): the fixes since 0.71.1, and the first-sample cases the option now coversad3c348- fix(hls): a concatenation applies the subtitle offset, full pass and on demand05c14e4- fix(reader): a keyframe walk cancelled on its way returns the cancellation, not the keyframes met so fard0dc90c- test(cli): the writing commands announce stray bytes ahead of the closing elements tooc02baa2- fix(subtitle): a DVB block fills and draws a region and one picture of it, not four planesb379d6f- fix(reader): an MPEG-2 track gets its profile, level and pixel format from the sequence extension, a VP8 track its pixel format773b921- fix(reader): an HEVC track declared bt2020-10 is read as HLG when a transfer SEI of its first sample says so2e15297- fix(reader): an H.264 record with no SPS gets its profile, pixel format and colour from the SPS its samples carryChecks, on
c1b2a77:make preflight RELEASE=v0.71.2exit 0 in a container (gorelease asks for v0.71.2);FuzzReadMeta,FuzzInBandScan,FuzzCodecColour, 20 s each, exit 0, on6b24995(not run again on the two commits after it).Cost: under the option, one more bounded read for an HEVC track declared bt2020-10, an MPEG-2 track with no profile, an avc3 track, and the first
moofof a fragmented MP4.Left as is: the strict walks of
reindexandretimereport the offset where the read breaks, not where the stray bytes start (fixing it would need a check that could refuse a valid file).