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 -...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 -...
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 ...
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+ ...
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 ...
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
hdr × 23ffmpeg × 6
video × 3
premiere × 2
h.264 × 2
transcoding × 2
color × 2
colorspace × 2
vlc × 2
video-quality × 1
software-recommendation × 1
conversion × 1
davinci-resolve × 1
software × 1
dslr × 1
video-capture × 1
hardware × 1
color-correction × 1
canon × 1
filming × 1
export × 1
iphone × 1
raw × 1
h.265 × 1
hevc × 1