ffmpeg-hdr-color
CommunityHDR to SDR with FFmpeg: tone-map and color-space.
Authordamionrashford
Version1.0.0
Installs0
System Documentation
What problem does it solve?
HDR content often cannot be played correctly on SDR devices due to missing tone-mapping and color-space handling. This Skill provides a unified FFmpeg-based workflow to convert HDR10/HLG/Dolby Vision to SDR with proper color primaries, transfer characteristics, and metadata.
Core Features & Use Cases
- HDR to SDR tone-mapping using ffmpeg tonemap or libplacebo, with linearization and careful color-space transitions.
- Color primaries and transfer conversions (BT.2020 → BT.709, PQ to gamma 2.4) for web and mobile SDR delivery.
- DoVi/DV content handling notes and how to produce SDR proxies when full DV decoding is not available.
- General use cases include producing SDR masters, streaming proxies, and quick-test SDR deliveries from HDR sources.
Quick Start
Run uv run ${CLAUDE_SKILL_DIR}/scripts/hdrcolor.py detect --input input.mkv to identify HDR type and then run the appropriate hdr-to-sdr or hlg-to-sdr command to produce an SDR output.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: ffmpeg-hdr-color Download link: https://github.com/damionrashford/media-os/archive/main.zip#ffmpeg-hdr-color Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.