Press "Enter" to skip to content

Posts tagged as “n-log”

Huahua HDR LrC 发布:Final Cut Pro 的一键 HDR 转换插件

我做了一个新的 Final Cut Pro 插件:Huahua HDR LrC,当前版本1.12-46。它的目标很简单:让各家的Log素材在 Final Cut Pro 里更轻松地进入 HLG HDR 或 PQ HDR 工作流,不需要手动套一堆 LUT,也不需要反复搓色轮来调整曝光。

这个插件适合在 Wide Gamut HDR 时间线中使用,主要用于把相机 Log 素材转换到 HDR,同时提供一些类似 Lightroom / Camera Raw 的基础调色控制,例如曝光、对比度、高光、阴影、白场、黑场、自然饱和度和饱和度。它不是一个风格化 LUT 包,而是一个更偏实用的 HDR 转换和微调工具。

目前支持的输入格式包括:

  • Nikon N-Log / Rec.2020
  • Sony S-Log3 / S-Gamut3.Cine
  • Sony S-Log3 / S-Gamut3
  • Canon C-Log2 / Cinema Gamut
  • HLG / Rec.2020
  • PQ / Rec.2020

输出格式支持:

  • Rec.2020 HLG
  • PQ 1000 / 2000 / 4000 nits

如果你的素材是 Nikon N-Log、Sony S-Log3、Canon C-Log2,或者已经是 HLG / PQ HDR,这个插件可以直接在 FCP 里作为一个 Effect 使用。安装后会出现在:

Huahua HDR Tools / Huahua HDR LrC

它适合想快速完成 HDR 交付、YouTube HDR 上传、或者同时制作 HLG / PQ 版本的用户。

I made a new Final Cut Pro plug-in: Huahua HDR LrC, current version 1.12-46.

Its goal is simple: to make it easier to bring Log footage from different camera systems into an HLG HDR or PQ HDR workflow directly inside Final Cut Pro. No need to stack multiple LUTs manually, and no need to keep fighting the color wheels just to fix exposure.

The plug-in is designed for Wide Gamut HDR timelines. It mainly converts camera Log footage to HDR, while also providing Lightroom / Camera Raw style basic adjustment controls, including Exposure, Contrast, Highlights, Shadows, Whites, Blacks, Vibrance, and Saturation.

It is not a stylized LUT pack. It is more of a practical HDR technical conversion and trimming tool.

Currently supported input formats:

  • Nikon N-Log / Rec.2020
  • Sony S-Log3 / S-Gamut3.Cine
  • Sony S-Log3 / S-Gamut3
  • Canon C-Log2 / Cinema Gamut
  • HLG / Rec.2020
  • PQ / Rec.2020

Supported output formats:

  • Rec.2020 HLG
  • PQ 1000 / 2000 / 4000 nits

If your footage is Nikon N-Log, Sony S-Log3, Canon C-Log2, or already HLG / PQ HDR, you can use this plug-in directly as a Final Cut Pro Effect.

After installation, it appears under:

Huahua HDR Tools / Huahua HDR LrC

It is designed for users who want a faster HDR delivery workflow, whether for YouTube HDR uploads, HLG mastering, PQ mastering, or creating both HLG and PQ versions from the same edit.

为什么 N-Log 做 Rec.709 更需要 ETTR,而做 HDR/HLG 反而不一定

现代手机上的 SDR 已经不是传统意义上的 100 nits SDR 了。很多 OLED 手机、平板和 XDR 屏幕在播放普通 SDR 内容时,也能把白场或高亮 UI 推到几百甚至 1000 nits。也就是说,一个 Rec.709 视频虽然技术上仍是 SDR,但它在真实观看环境里的亮度,早就和“100 nits 参考监视器”相差很远。这个变化会直接影响我们怎么曝光 N-Log。

我用 Nikon 官方 N-Log 到 Rec.709/BT.1886 LUT 做了一组计算,并和一个不经过 LUT 的 HLG 技术转换比较。两边都假设显示器峰值是 1000 nits;拍摄端假设中灰曝光到 35 IRE,HLG 漫射白锚定到 203 nits。

结果很说明问题。中灰 0 stop 时,N-Log 经过 Rec.709 LUT 后是 42.07 IRE,在 1000 nits SDR 显示模型下约为 125 nits;同一个输入做 direct HLG 只有约 29 nits。也就是说,Rec.709 版本的中灰比 HLG 亮大约 2.09 stops。再看 -2 stops 的暗部,Rec.709 是 15.4 nits,HLG 是 5.6 nits,前者仍然亮约 1.47 stops。

StopsN-Log IRERec.709 SDR nitsDirect HLG nitsRec.709 vs HLG
-416.491.61.1+0.61 stops
-223.0015.45.6+1.47 stops
035.00125.229.4+2.09 stops
+2.3257.20545.5203.0+1.43 stops
+474.26786.7819.7-0.06 stops
+584.42874.21000.0-0.19 stops

这就是为什么 N-Log 还原到 709 后,暗部噪点经常显得特别多。噪点不是 LUT “凭空制造”的,而是拍摄时落在低码值、低信噪比区域里的暗部信息,被 Rec.709 tone curve 和现代高亮 SDR 屏幕一起抬到了很容易看见的位置。以前 100 nits SDR 时代,暗部可能藏在几 nit 里;现在它可能被显示到十几、几十 nit,观众自然更容易看到脏、浮、彩噪和压缩痕迹。

所以如果最终目标是 Rec.709 SDR,尤其是给手机、OLED 电视、XDR 屏幕观看,N-Log 往往更需要 ETTR。ETTR 的目的不是让成片更亮,而是在不剪掉重要高光的前提下,把主体、中间调和暗部尽量放到更高、更干净的编码区域。后期再用 LUT 或调色压回正常亮度时,噪声不会被放大得那么难看。

HDR/HLG 的逻辑不一样。HLG 技术转换会把中灰放得更低,给高光保留空间。表格里 +2.32 stops 的漫射白是 203 nits,到了 +4 stops,HLG 已经约 820 nits,而 Rec.709 SDR 约 787 nits;+5 和 +6 stops 时 HLG 直接到 1000 nits,Rec.709 则被压在 874 和 927 nits 附近。HDR 的价值就在这里:不是把整张画面抬亮,而是保留真实光比,让亮的东西真的亮。

因此,做 HDR 时盲目 ETTR 反而可能有害。你把 N-Log 整体往右推,确实能让暗部更干净,但也更容易把天空、灯光、反射和皮肤高光推到 HLG 顶部,失去 HDR 最珍贵的高光层次。HDR 交付更应该优先保护高光、保持自然中灰,而不是单纯追求波形图“用满”。

一句话总结:Rec.709 SDR 在现代 1000 nits 屏幕上会把 N-Log 的暗部和中间调显示得很亮,所以更需要 ETTR 来换信噪比;HDR/HLG 则把中灰放低、把空间留给高光,所以不一定需要激进 ETTR,除非场景本身没有重要高光可失去。

Why N-Log Needs More ETTR for Rec.709, but Not Necessarily for HDR/HLG

Modern phone SDR is no longer the old 100-nit SDR we used to imagine. Many OLED phones, tablets, and XDR displays can show ordinary SDR content at several hundred nits, sometimes close to 1000 nits. So even if a video is technically Rec.709 SDR, its real viewing brightness can be far beyond the traditional 100-nit reference. That changes how we should expose N-Log.

I compared Nikon’s official N-Log to Rec.709/BT.1886 LUT against a direct technical HLG conversion. Both are viewed on a 1000-nit display. The exposure assumption is middle gray at 35 IRE, with HLG diffuse white anchored at 203 nits.

The numbers are revealing. At 0 stop middle gray, the Nikon Rec.709 LUT outputs 42.07 IRE, which becomes about 125 nits on a 1000-nit SDR display model. The direct HLG conversion for the same input is only about 29 nits. Rec.709 middle gray is therefore about 2.09 stops brighter than HLG. At -2 stops, Rec.709 is about 15.4 nits, while HLG is about 5.6 nits, still a 1.47-stop lift.

This is why N-Log can look noisy after being restored to Rec.709. The LUT is not magically creating noise. It is taking shadow information that was recorded in low-code-value, low-SNR regions and lifting it into a much more visible display range. In the old 100-nit SDR world, those shadows might have stayed hidden at only a few nits. On a modern bright SDR screen, they may sit at tens of nits, where noise, chroma crawl, and compression artifacts become obvious.

So for a Rec.709 SDR delivery, especially for phones, OLED TVs, and XDR displays, N-Log often benefits from ETTR. The goal is not to make the final image brighter. The goal is to record the subject, midtones, and shadows in cleaner code values without clipping important highlights. Then, when the image is brought back down in grading, the noise floor is not amplified as aggressively.

HDR/HLG works differently. A technical HLG conversion keeps middle gray lower and saves room for highlights. In the table, diffuse white at +2.32 stops is 203 nits. By +4 stops, HLG reaches about 820 nits while Rec.709 SDR is about 787 nits. At +5 and +6 stops, HLG hits 1000 nits, while Rec.709 is compressed around 874 and 927 nits. That is the point of HDR: not making everything bright, but preserving scene contrast so bright things can actually be bright.

This is why aggressive ETTR can be counterproductive for HDR. It may clean up shadows, but it also pushes skies, lamps, reflections, and skin highlights closer to the top of the HLG range, where highlight separation can be lost. For HDR delivery, the priority is often highlight protection and natural midtone placement, not simply filling the waveform.

In short: modern 1000-nit SDR makes Rec.709 N-Log shadows and midtones very visible, so ETTR is often valuable for noise control. HDR/HLG keeps middle gray lower and reserves headroom for highlights, so it does not always need aggressive ETTR unless the scene has no important highlights to protect.

Nikon Z8/Z9 HLG Deepdive | HLG 详解 VS N-LOG

网上关于HLG的资料相对来说还是比较匮乏的,更别说是针对Nikon Z系列了。之前做过一期简单的HLG直出视频,但是没人感兴趣…

首先HLG是一条用于交付的Gamma曲线,向下兼容SDR内容,这也就注定了它的上限比较低,这也是为什么大部分人对它不感兴趣的原因(另一个原因是它是HDR)。HLG的动态范围(尤其高光)比不过N-LOG,更别说Slog3了。暗部表现则比其他LOG曲线要好一些。它最大的优点就是所见即所得,不需要LUT还原,也(基本)不需要向右曝光,特别适合HDR直出。不过如果你只做SDR的话,还是选N-LOG吧。只是2025年了,拍N-LOG/NRAW获得12+档动态范围,然后再压缩到8档,我只能说历史的包袱太沉重了。可以参见:再谈苹果XDR显示器与HDR之殇

响应曲线

我在Z8上实测响应曲线,测试方法:调整曝光,记录不同曝光值下中灰的IRE,并和理论值做对比。为了统一起见,我将中灰(Stop 0)都曝光到36%。Note: HLG中灰的理论值应该是38%,不过差别不大,大概0.2档左右。结果实测N-LOG的时候,同样用了95 (37.2%)的斑马线,最后得到的曝光是38%,不管了,差不多就行了。

Z8 HLG实测曲线和理论曲线在[-7, +3]的范围内贴合的非常不错。实测的HLG底噪大约是3%,。两者在高光部分差别比较大,HLG中灰以上一档就开始变成对数曲线,和Stops应该是线性关系,但实测下来,Nikon对+3档以上的高光做了一些保护,曲线非常平滑,因此也比理论多了1档的高光,中灰以上5.3档才会完全过曝。 但比起N-LOG还是差了一档多。另外HLG模式下,IRE最大值不是100,而是97左右,斑马线需要设置在245才会有效果。

N-LOG的曲线大致上贴合的还是不错的。noise floor,13%左右。-7档开始就贴着了。只有在+1档到+2档的附近有点波动。高光部分的斜率还是太大了,竟然比理论值还大一些。中灰以上6档就过曝了。只比HLG好了不到1档。

名义ISO

众所周知,N-LOG的基础ISO是800,第二档则是ISO 4000。HLG的基础ISO是400,第二档是ISO 2000。无论是N-LOG还是HLG,它们的ISO都是名义ISO,或者说等效ISO。在相同照度下,我使用相同的参数(1/400s F/4 ISO800)拍摄灰卡,N-LOG和HLG的IRE是36%左右,SDR则为52%。三者还原之后中灰的亮度大体上相同(SDR稍微亮了一点),证实了”名义”ISO。但实际上传感器使用的ISO是多少呢?其实都是ISO 100左右,如何证明呢?拍摄同样的白卡,记录刚刚过曝时的曝光参数。
N-LOG: 1/30s F/4 ISO 800
HLG: 1/30s F/4 ISO 400
SDR: 1/30s F/4 ISO 80 (NL profile, Active D-lighting off)
进光量相同,传感器同时过曝了,表明实际ISO是相同的。
等效ISO也可以这么理解:
N-LOG拍摄时欠曝3档,后期还原时把中灰提亮3档,以起到保护高光的目的。
HLG拍摄时欠曝2档,后期还原时把中灰提亮2档,以起到保护高光的目的。
这也就是为什么按照标准曝光(将中灰曝到36% IRE),N-LOG暗部噪点爆炸,需要使用向右曝光的原因之一。
HLG则相当于找了一个平衡点,欠曝2档,等效于使用ISO 400拍视频,对于全画幅来说勉强可以接受吧。

HLG quality 设置

由于是面向直出的交付曲线,只有H.265编码支持HLG。虽然Nikon贴心的提供了HLG质量选项,但这里有个坑,在默认的设置下,相机是会对HLG的画面进行锐化的,导致使用超级锐的Z卡扣镜头时会产生过度锐化的情况。需要将Quick Sharp设置成-1才能获得未锐化的画面。有需要的话,也可以将对比度和饱和度也降低一些,推荐-1。

不同Quick Sharp模式下的波形图

调整对比度

调整饱和度