Okay, you're right.quietvoid wrote: ↑Sun May 01, 2022 1:38 pmNo, it wouldn't be able to know how many frames there are.manuelrn wrote: ↑Sun May 01, 2022 1:36 pmAnd in those cases, would it be possible for dovi_tool to omit those EOS/EOB NALUs and keep only the last one? (when muxing and injecting)
That is, if dovi_tool finds any EOS/EOB NALUs it checks if it is the last frame of the video, and if it is the last frame then dovi_tool keeps EOS/EOB NALUs but if it is not the last frame then it does not write that EOS/EOB NALUs.
I'd also rather not discard anything unnecessarily.
There's indeed a bug in 1.5.0 for files with multiple EOS NALUs present.
I'll add some tests and push the fix later.
Just to make sure, that bug is already fixed in version 1.5.1, correct?
Thank you!