quietvoid / dovi_tool

dovi_tool is a CLI tool combining multiple utilities for working with Dolby Vision.
MIT License
623 stars 59 forks source link

Missing frame/slices for metadata! Decoded index 53030 #129

Closed Harybo closed 2 years ago

Harybo commented 2 years ago

So I'm extracting the rpu from several episodes of a series but one episode is giving me problems.

It shows me the following error

image

quietvoid commented 2 years ago

Thanks. I can reproduce the issue. Not sure when I'll have the time to look into it.

Harybo commented 2 years ago

ok np

Harybo commented 2 years ago

Have you had time to test or not yet?

quietvoid commented 2 years ago

No

quietvoid commented 2 years ago

This is definitely an invalid file issue. There are two duplicate NALUs present after a frame's RPU: another RPU NALU and a SEI suffix NALU.

The solution is to ignore the duplicate RPUs when extracting. This is the way FFmpeg handles it as well.

Unfortunately, since the NALUs are only parsed when extracting, this means demuxing or converting does not discard the duplicates. This isn't something I'm interested in fixing, because it only happens for invalid files. Pull requests welcome.

clidx commented 2 years ago

I have a similar problem on the latest build but not exactly the same. Is it an evolution of this issue? Untitled

quietvoid commented 2 years ago

Seems to be the same issue, there are many warnings though.