quietvoid / dovi_tool

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

Feature: Provide frame numbers in RPU.json #275

Closed aboulfad closed 5 months ago

aboulfad commented 5 months ago

Hello,

I sometimes want to check individual frames metadata, the only way I found was to specify the frame using info -f. However, it would be very useful if the RPU.json file contained frame numbers (via an option so not to impact current behaviour).

It's possible I missed another method to accomplish the above, thank you.

quietvoid commented 5 months ago

The full RPU.json export is not intended to be human readable, you should be able to easily script something. It's a JSON array.

For example with jq you can do jq '.[index]' RPU_export.json where index is the frame number.