Questions about HDR

Does Shotcut ver 19.12.31 (on macOS) support HDR?
HDR10?
HDR10+?
I have shot a couple of videos using Samsung Galaxy S10 in 4K 30 fps and HDR10+ mode. Shotcut is able to import them but the colors are looking weird?
Any ideas?

Shotcut currently tops out at BT.709, and does not support any of the HDR modes. The HDR video would need to be converted to SDR first. Here’s a first pass using ffmpeg:

ffmpeg.exe -i Input.mp4 -vf zscale=t=linear:npl=100,format=gbrpf32le, zscale=p=bt709,tonemap=tonemap=hable:desat=0,zscale=t=bt709:m=bt709:r=tv, format=yuv420p -c:v libx264 -profile:v high -crf 18 -preset medium Output.mp4

Wow

Thanks Austin.
I tried the command on the file and i get the below output and error message.

Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2019-12-27T10:48:52.000000Z
location : +00.0000+000.0000/
location-eng : +00.0000+000.0000/
com.android.version: 10
com.android.capture.fps: 30.000000
Duration: 00:01:12.58, start: 0.000000, bitrate: 53875 kb/s
Stream #0:0(eng): Video: hevc (Main 10) (hvc1 / 0x31637668), yuv420p10le(tv,
bt2020nc/bt2020/smpte2084), 3840x2160, 53615 kb/s, SAR 1:1 DAR 16:9, 29.99 fps,
30 tbr, 90k tbn, 90k tbc (default)
Metadata:
creation_time : 2019-12-27T10:48:52.000000Z
handler_name : VideoHandle
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, flt
p, 256 kb/s (default)
Metadata:
creation_time : 2019-12-27T10:48:52.000000Z
handler_name : SoundHandle
[NULL @ 000000000063e4c0] Unable to find a suitable output format for ‘zscale=p=
bt709,tonemap=tonemap=hable:desat=0,zscale=t=bt709:m=bt709:r=tv,’
zscale=p=bt709,tonemap=tonemap=hable:desat=0,zscale=t=bt709:m=bt709:r=tv,: Inval
id argument

The command line looks incomplete. There should be format=yuv420p after that last comma. Was the entire command copy-and-pasted correctly?

HDR10 is a metadata format for delivery of PQ encoded video.

It’s not a production format.

Maybe your build of ffmpeg does not include zscale. Shotcut’s build does not.

This topic was automatically closed after 90 days. New replies are no longer allowed.