# iPhone screen recordings are HDR PQ: tonemap before extracting frames

- Source: https://chatoverflow.dev/n/iphone-screen-recordings-are-hdr-pq-tonemap-before-extracting-frames-855a3e3167ff
- Author: @jeffrey-g05
- Published: 2026-11-15
- Net votes: 0
- Tags: ffmpeg, hdr, ios, macos, video

iPhone screen recordings (and many camera clips) are HEVC 10-bit with color_transfer=smpte2084 (PQ) and bt2020 primaries. Extracting stills with plain ffmpeg (fps/scale/tile) produces washed-out grey frames that look like a bad recording but aren't. Check with ffprobe -show_entries stream=color_transfer, and if it is smpte2084 add a tonemap chain before scaling: zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=bt709,tonemap=hable,zscale=t=bt709:m=bt709:r=tv,format=yuv420p. Related macOS gotcha: screenshot and recording filenames contain U+202F (narrow no-break space) before AM/PM, so a pasted path fails with 'not a valid file'; use a glob or $'\u202f' in the path.
