News for hackers. Stuff that matters.
Re:Support HDR images in your app [video] by Night_Thastus on Friday October 06, 2023 @02:13PM (#37794140)
HDR is such a clusterf*ck right now.

Especially with monitors. I am so sick of every monitor with Vesa HDR-400 claiming they're an "HDR" monitor. I'm sorry, but that standard is garbage. It's so bad it's meaningless.

Not only is that a pathetic amount of brightness, but the local dimming required is just awful. You can have a screen with a whopping 4 zones that react terribly and slap an HDR label on it.

HDR-600 is barely any better, frankly.

Re:Support HDR images in your app [video] by crazygringo on Friday October 06, 2023 @02:21PM (#37794259)
Not just monitors but video players too.

Trying to play HDR content on a regular SDR screen is a mess.

If you rip an HDR version of a movie:

- VLC does nothing. It shows it as so dark it's unwatchable

- IINA shows it as brightness comparable to an SDR version of the movie, but with a weird green tint

- QuickTime is weirdly in-between, brighter than VLC but not as bright as an SDR version

- Infuse got fixed this year so that it plays HDR content to visually match the SDR version of the same content on a SDR screen (the only player I've found that can on Macs)

And if you want to convert your file in ffmpeg, good luck. I still haven't found the magic settings that reverses whatever entertainment studios are doing to translate their SDR into HDR. (The magic settings that Infuse has somehow figured out.) There's no flag or setting for it -- you have to input a bunch of custom values.

Re:Support HDR images in your app [video] by zimpenfish on Friday October 06, 2023 @02:40PM (#37794530)
I can't remember where I found this but it's what I've been using to downscale and convert the occasional 10bit downloads (using the nvenc GPU acceleration.)

    ffmpeg -hide_banner -y -probesize 100M -i "$file" -map 0:v:0 -c:v h264_nvenc -x264-params b_pyramid=2:ref=4:vbv-maxrate=30000:vbv-bufsize=15000 -refs 4
 -crf 17 -preset:v fast -profile:v high -b_strategy 2 -rc-lookahead 900 -level 4.1 -pix_fmt yuv420p -color_range 1 -colorspace 1 -color_primaries bt709 -color_trc bt709 -subq 10 -vf zscale=tin=smpte2084:min=bt2020nc:pin=bt2020:rin=tv:t=smpte2084:m=bt2020nc:p=bt2020:r=tv,zscale=t=linear,format=gbrpf32le,zscale=p=bt709,tonemap=tonemap=hable:desat=0,zscale=t=bt709:m=bt709:r=tv,format=yuv420p,zscale=s=1280x720 -c:a copy output.mkv
Re:Support HDR images in your app [video] by PaulBGD_ on Friday October 06, 2023 @02:36PM (#37794467)
Plex does a fairly good conversion too, iirc using ffmpeg.
Re:Support HDR images in your app [video] by lldb on Friday October 06, 2023 @02:29PM (#37794384)
mpv with --tone-mapping=bt.2446a (or whichever you like from https://mpv.io/manual/stable/#options-tone-mapping), --hdr-compute-peak=yes, and --target-peak=SDR monitor nits, does the best I've seen yet.
Re:Support HDR images in your app [video] by radicality on Friday October 06, 2023 @07:29PM (#37797634)
I haven’t tried it yet (since it’s quite expensive at $99 for a video player), but I read good things about Screen. https://videovillage.com/screen/
Re:Support HDR images in your app [video] by Trigg3r on Friday October 06, 2023 @02:27PM (#37794336)
Have had 3 monitors claiming "HDR-400" now; all look equally as shit with HDR enabled in Windows & Gaming, first two where between £120 - £250, third was a "premium" monitor @ £500. Current "HDR" can get te fuck ;)
Re:Support HDR images in your app [video] by formerly_proven on Friday October 06, 2023 @04:44PM (#37796149)
Most of these are IPS and struggle reaching contrast ratios of 700:1 and black levels darker than noon. Some of the LG ones barely manage 500:1 in sRGB mode…
Re:Support HDR images in your app [video] by Trigg3r on Friday October 06, 2023 @04:57PM (#37796342)
All 3 have been VA to be fair. I do wonder if have missed a trick with IPS but have been lead to believe VA has the speed (and HDR as a plus)? that is kind of the point though I suppose, buying a "HDR ready screen" - it's been a real pain for a few years now from what I have seen >_<
Re:Support HDR images in your app [video] by jwells89 on Saturday October 07, 2023 @06:27AM (#37800546)
Most decent IPS panels I’ve seen in the past several years have around 1000:1 contrast which still isn’t amazing, but better. Some manage to push that a little further.
Re:Support HDR images in your app [video] by wilg on Friday October 06, 2023 @02:21PM (#37794262)
What’s the * stand for?
Re:Support HDR images in your app [video] by clnq on Friday October 06, 2023 @02:38PM (#37794502)
[delayed]
Re:Support HDR images in your app [video] by Night_Thastus on Friday October 06, 2023 @03:01PM (#37794794)
It's a regex wildcard symbol.
Re:Support HDR images in your app [video] by Culonavirus on Friday October 06, 2023 @03:13PM (#37794944)
The standard may suck due to too few local dimming zones, but the "pathetic amount of brightness" is a hard "for you" kind of deal. It depends on your use case.

I use an LG OLED TV as a monitor for work (and a game here and there), 4k 120Hz and I'm more than happy with the brightness in HDR content. In fact, it's kind of just at the edge of being too bright for me... given the distance.

Re:Support HDR images in your app [video] by Night_Thastus on Friday October 06, 2023 @05:24PM (#37796627)
My complaint about HDR 400 was mostly with LCD monitors, not OLEDs. OLEDs may not get bright, but at least they get infinite contrast and perfect blacks.

That's a huge improvement compared to a lot of the garbage HDR 400 rated LCD monitors.