Problem:
MediaInfo currently reports Dolby Vision metadata (profile, level, layers) but not the Content Mapping Version (CMV), which identifies the mapping standard (v4.0 or v2.9).
Proposed Solution:
- Extract CMV from Dolby Vision streams using external tools (
dovi_tool + ffmpeg)
- Add a new field
Video_HDR_Format_CMV to expose the raw CMV value
- Display CMV in the HDR format line when known (CM v4.0 or CM v2.9) for clarity
- Use optimized single-frame extraction to minimize performance impact
Implementation Approach:
- Use
dovi_tool to extract RPU data and ffmpeg for efficient frame extraction
- Only activate when
MEDIAINFO_ADVANCED is enabled and external tools are available
- Gracefully degrade if tools are missing (no error, simply no CMV data)
Is this feature direction acceptable? If so, I can prepare a PR with the implementation. If you suggest a different approach, I can adjust.