Skip to main content
9 votes
Accepted

How to identify HDR video?

Assuming your file is ${F}, the below is an efficient means I have been able to create: COLORS=$(ffprobe -show_streams -v error "${F}" |egrep "^color_transfer|^color_space=|^color_primaries=" |head -...
Fmstrat's user avatar
  • 206
7 votes
Accepted

How does HDR relate to color space and bit depth?

TV technology and video encoding is in principle outside the scope of this site. Still, as photographers we are presumably interested in new display standards that promise both more dynamic range and ...
j-g-faustus's user avatar
7 votes

How to identify HDR video?

Well, and yeah, all answers are wrong here. HDR is only the new transfer function, PQ or HLG. So that means you need to look into that, PQ is SMPTE 2084 and HLG is ARIB STD-B67. Yes, 8 bit file tagged ...
Валерий Заподовников's user avatar
6 votes

How to identify HDR video?

This answer relies on but simplifies the answer by Валерий Заподовников who seems to know his stuff. ffprobe -v quiet -show_streams -select_streams v:0 video.mp4 | grep ^color_transfer= IF ...
danday74's user avatar
  • 161
5 votes

How to identify HDR video?

I've found how to get this information from color primaries attribute. Considering color primaries BT.2020 as a HDR video. mediainfo video.mp4 --Inform="Video;%colour_primaries%" In this example ...
Douglas Lise's user avatar
3 votes

SDR to HDR (High Dynamic Range) Converter?

I'd suspect anything purely automated is going to be pretty marginal. There's a lot of complexity to getting a good curve with the right gamma, but there's a variety of possible levels of what would ...
AJ Henderson's user avatar
  • 19.4k
3 votes

Does HDR content have anything to do with codecs?

You can do HDR with almost any modern codec. All it means in practice is that the boundary between the highest and lowest intensities in the image goes beyond what a non-HDR image could portray; if ...
Michael Macha's user avatar
2 votes

How to read 10-bit RGB values from HDR video?

The ProRes input will have YUV encoding, not RGB. If you need a raw dump, save as rawvideo. ffmpeg -i in.mov -f rawvideo raw.yuv Note that bit depths which aren't multiples of 8 are still stored in ...
Gyan's user avatar
  • 33.3k
2 votes

Convert video to 10 bit images

To preserve as much detail as possible, convert it to a 16-bit TIFF, eg: ffmpeg -i "DF HDR Sampler.mp4" -pix_fmt rgb48 _Frames/out%05d.tiff Example from Digital Foundry's GT Sport HEVC 10-bit H.265 ...
SaltySub2's user avatar
  • 151
2 votes

How to identify HDR video?

Checking color_primaries is the right approach. I use ffprobe to get the JSON output. Then you can parse the JSON output instead of searching for a string in the normal output. $ ffprobe -v error -...
Sam Soffes's user avatar
1 vote

How to fix a presumably HDR video file that displays super washed out in all video players?

Was the footage straight from a camera, or is it an edited, finished video? If it's from a camera, it may have been shot using a gamma curve, such as Slog3. This is where the image is recorded ...
tomh's user avatar
  • 7,908
1 vote
Accepted

How to convert Dolby Vision HDR to HDR10+?

Sadly no, not without expensive specialist broadcast processing hardware. From the Reddit link, Dolby Vision is 100% proprietary. There is no incentive at all for Dolby to convert anything to HDR10+ ...
Chris Woods's user avatar
1 vote

How to remaster the Old movies to the High Resolution Quality using FFMPEG?

You cannot magically pull out more resolution than the material you have. If it's 1920x1080, the resolution can only get smaller, i.e. 1280x720. There are options like Nvidia's Ai-Upscaling, but it ...
Florian Claaßen's user avatar
1 vote

How does HDR relate to color space and bit depth?

HDR in the modern TV sense refers to one of several different HDR specifications for color. To understand what High Dynamic Range means, we first need to understand what dynamic range is. Dynamic ...
AJ Henderson's user avatar
  • 19.4k
1 vote

How does HDR relate to color space and bit depth?

HDR doesn't relate to color space at all, as it stands for "High Dynamic Range", ie. brightness, not color, contrast. Traditional TV signals had a rather low contrast ratio, as old TV sets had a ...
ths's user avatar
  • 119

Only top scored, non community-wiki answers of a minimum length are eligible