[FFmpeg-user] vf_lut3d supports type 3 ?

Mahesh Pittala mahesh at multicorewareinc.com
Sun May 8 22:28:01 EEST 2022


Hello,

I am trying to convert HLG to SDR using 3D LUT cubes freely distributed by
NBCUniversal. (3-NBCU_HLG2SDR_DL_v1.1.cube
<https://github.com/digitaltvguy/NBCU-HDR-SDR-Single-Stream_Workflow_Recommendation/blob/main/LUTS_for_Hardware_Devices/3-NBCU_HLG2SDR_DL_v1.1.cube>
)
https://github.com/digitaltvguy/NBCU-HDR-SDR-Single-Stream_Workflow_Recommendation/tree/main/LUTS_for_Hardware_Devices

It seems the LUT conversion appears to be a modified “Type 1” which is
mapping absolute signal peak to narrow range (10bit code value 940).  This
value should allow code values all the way up to 1019

Does ffmpeg's lut3d implementation support type 3 ?

My CLI:
./ffmpeg  -i Input_hlg_422_10bit.mov -vcodec v210  -vf
"lut3d=interp=tetrahedral:file= 3-NBCU_HLG2SDR_DL_v1.1.cube
<https://github.com/digitaltvguy/NBCU-HDR-SDR-Single-Stream_Workflow_Recommendation/blob/main/LUTS_for_Hardware_Devices/3-NBCU_HLG2SDR_DL_v1.1.cube>
" -an  output_SDR_422.mov

Thanks,
Mahesh


More information about the ffmpeg-user mailing list