Skip to content

cli/hevc: exit with error if input files are not Dolby Vision - #406

Merged
quietvoid merged 1 commit into
mainfrom
parse-improve-invalid-inputs
Jul 12, 2026
Merged

cli/hevc: exit with error if input files are not Dolby Vision#406
quietvoid merged 1 commit into
mainfrom
parse-improve-invalid-inputs

Conversation

@quietvoid

@quietvoid quietvoid commented Jul 12, 2026

Copy link
Copy Markdown
Owner

extract-rpu: when the file doesn't contain any RPU
demux: when the file doesn't contain any enhancement layer NAL

Only the first parsed frame is checked before erroring, as they are supposed to be present for every frame in the bitstream.

Fixes #404

Need analysis to see if it's feasible to avoid creating the empty files initially.
Most likely it isn't as the data is written directly as the file is processed.
Though it could be reasonable to delete the empty files if there's an error..

extract-rpu: when the file doesn't contain any RPU
demux: when the file doesn't contain any enhancement layer NAL

Only the first parsed frame is checked before erroring, as they
are supposed to be present for every frame in the bitstream.

Fixes #404
@quietvoid
quietvoid force-pushed the parse-improve-invalid-inputs branch from 0d687e3 to b4c34ec Compare July 12, 2026 17:32
@quietvoid
quietvoid merged commit b4c34ec into main Jul 12, 2026
1 check passed
@quietvoid
quietvoid deleted the parse-improve-invalid-inputs branch July 12, 2026 17:38
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.

demux should error out when used on a .hevc file with no DV EL

1 participant