HDR Mastering Display Metadata

HandBrake for Mac support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
jduke
Posts: 1
Joined: Wed Apr 11, 2018 3:30 pm

HDR Mastering Display Metadata

Post by jduke »

Description of problem or question:

ProRes 10 bit video HDR Mastering Display Metadata from FCPX is

Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : BT.709
Mastering display luminance : min: 0.0000 cd/m2, max: 1000 cd/m2
Maximum Content Light Level : 1000 cd/m2
Maximum Frame-Average Light Level : 180 cd/m2

After H.264 10 bit codec last 4 lines are stripped, resulting in
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant

Please help understand if this is how it should work.

Thanks.
Steps to reproduce the problem (If Applicable):

see above


HandBrake version (e.g., 1.0.0):

1.1.0


Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):

Mac OS v 10.13.4 (17E199)




HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all


[11:41:52] macgui: Handbrake Version: 1.1.0  (2018040700)
[11:41:52] hb_init: starting libhb thread
[11:41:52] hb_init: starting libhb thread
[11:48:49] macgui: trying to open a folder or file
[11:48:49] macgui: ScanCore scanning titles with a duration of 10 seconds or more
[11:48:49] CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
[11:48:49]  - Intel microarchitecture Skylake
[11:48:49]  - logical processor count: 8
[11:48:49] hb_scan: path=/Volumes/3 A-V/Assets/Spain/Corrida/Corrida de Rejónes.mov, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:323: failed opening UDF image /Volumes/3 A-V/Assets/Spain/Corrida/Corrida de Rejónes.mov
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
[11:48:49] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.3
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[11:48:49] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Volumes/3 A-V/Assets/Spain/Corrida/Corrida de Rejónes.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 0
    compatible_brands: qt  
    creation_time   : 2018-04-05 17:19:51
  Duration: 00:05:23.79, start: 0.000000, bitrate: 874217 kb/s
    Stream #0:0(und): Audio: pcm_s24le [lpcm / 0x6D63706C]
      48000 Hz, 5.1, s32, 6912 kb/s (default)
    Metadata:
      creation_time   : 2018-04-05 17:19:51
      handler_name    : Core Media Data Handler
    Stream #0:1(und): Video: prores [apch / 0x68637061]
      yuv422p10le, bt2020nc/bt2020/smpte2084
      3840x2160, 866791 kb/s, PAR 1:1 DAR 16:9
      29.97 fps, 30k tbn (default)
    Metadata:
      creation_time   : 2018-04-05 17:19:51
      handler_name    : Core Media Data Handler
      encoder         : Apple ProRes 422 HQ
    Stream #0:2(und): Data: tmcd / 0x64636D74 (default)
    Metadata:
      creation_time   : 2018-04-05 17:19:51
      handler_name    : Core Media Data Handler
[11:48:50] scan: decoding previews for title 1
[11:48:50] scan: audio 0x0: pcm_s24le, rate=48000Hz, bitrate=6912000 Unknown (pcm_s24le) (5.1 ch)
[11:48:54] scan: 10 previews, 3840x2160, 29.970 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[11:48:54] libhb: scan thread found 1 valid title(s)
[11:48:54] macgui: ScanCore scan done
[11:49:41] macgui: QueueCore scanning specifically for title: 1
[11:49:41] CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
[11:49:41]  - Intel microarchitecture Skylake
[11:49:41]  - logical processor count: 8
[11:49:41] hb_scan: path=/Volumes/3 A-V/Assets/Spain/Corrida/Corrida de Rejónes.mov, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:323: failed opening UDF image /Volumes/3 A-V/Assets/Spain/Corrida/Corrida de Rejónes.mov
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
[11:49:41] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.3
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[11:49:41] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Volumes/3 A-V/Assets/Spain/Corrida/Corrida de Rejónes.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 0
    compatible_brands: qt  
    creation_time   : 2018-04-05 17:19:51
  Duration: 00:05:23.79, start: 0.000000, bitrate: 874217 kb/s
    Stream #0:0(und): Audio: pcm_s24le [lpcm / 0x6D63706C]
      48000 Hz, 5.1, s32, 6912 kb/s (default)
    Metadata:
      creation_time   : 2018-04-05 17:19:51
      handler_name    : Core Media Data Handler
    Stream #0:1(und): Video: prores [apch / 0x68637061]
      yuv422p10le, bt2020nc/bt2020/smpte2084
      3840x2160, 866791 kb/s, PAR 1:1 DAR 16:9
      29.97 fps, 30k tbn (default)
    Metadata:
      creation_time   : 2018-04-05 17:19:51
      handler_name    : Core Media Data Handler
      encoder         : Apple ProRes 422 HQ
    Stream #0:2(und): Data: tmcd / 0x64636D74 (default)
    Metadata:
      creation_time   : 2018-04-05 17:19:51
      handler_name    : Core Media Data Handler
[11:49:41] scan: decoding previews for title 1
[11:49:41] scan: audio 0x0: pcm_s24le, rate=48000Hz, bitrate=6912000 Unknown (pcm_s24le) (5.1 ch)
[11:49:45] scan: 10 previews, 3840x2160, 29.970 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[11:49:45] libhb: scan thread found 1 valid title(s)
[11:49:45] macgui: QueueCore scan done
[11:49:45] macgui: QueueCore started encoding Corrida de Rejónes.mp4
[11:49:45] macgui: QueueCore with preset H.264 10 bit Qual 24 (Modified)
[11:49:45] 1 job(s) to process
[11:49:45] starting job
[11:49:45] decomb filter thread started for segment 0
[11:49:45] decomb filter thread started for segment 1
[11:49:45] decomb filter thread started for segment 2
[11:49:45] decomb filter thread started for segment 3
[11:49:45] decomb filter thread started for segment 4
[11:49:45] decomb filter thread started for segment 5
[11:49:45] decomb filter thread started for segment 6
[11:49:45] decomb filter thread started for segment 7
[11:49:45] decomb check thread started for segment 0
[11:49:45] decomb check thread started for segment 1
[11:49:45] decomb check thread started for segment 2
[11:49:45] decomb check thread started for segment 3
[11:49:45] decomb check thread started for segment 4
[11:49:45] decomb check thread started for segment 5
[11:49:45] decomb check thread started for segment 7
[11:49:45] decomb check thread started for segment 6
[11:49:45] mask filter thread started for segment 0
[11:49:45] mask filter thread started for segment 1
[11:49:45] mask filter thread started for segment 2
[11:49:45] mask filter thread started for segment 3
[11:49:45] mask filter thread started for segment 4
[11:49:45] mask filter thread started for segment 5
[11:49:45] mask filter thread started for segment 6
[11:49:45] mask filter thread started for segment 7
[11:49:45] mask erode thread started for segment 0
[11:49:45] mask erode thread started for segment 1
[11:49:45] mask erode thread started for segment 2
[11:49:45] mask erode thread started for segment 3
[11:49:45] mask erode thread started for segment 4
[11:49:45] mask erode thread started for segment 5
[11:49:45] mask erode thread started for segment 6
[11:49:45] mask erode thread started for segment 7
[11:49:45] mask dilate thread started for segment 0
[11:49:45] mask dilate thread started for segment 1
[11:49:45] mask dilate thread started for segment 2
[11:49:45] mask dilate thread started for segment 3
[11:49:45] mask dilate thread started for segment 4
[11:49:45] mask dilate thread started for segment 5
[11:49:45] mask dilate thread started for segment 6
[11:49:45] mask dilate thread started for segment 7
[11:49:45] yadif thread started for segment 0
[11:49:45] yadif thread started for segment 1
[11:49:45] yadif thread started for segment 2
[11:49:45] yadif thread started for segment 3
[11:49:45] yadif thread started for segment 4
[11:49:45] yadif thread started for segment 5
[11:49:45] yadif thread started for segment 6
[11:49:45] yadif thread started for segment 7
[11:49:45] work: only 1 chapter, disabling chapter markers
[11:49:45] job configuration:
[11:49:45]  * source
[11:49:45]    + /Volumes/3 A-V/Assets/Spain/Corrida/Corrida de Rejónes.mov
[11:49:45]    + title 1, chapter(s) 1 to 1
[11:49:45]    + container: mov,mp4,m4a,3gp,3g2,mj2
[11:49:45]    + data rate: 874217 kbps
[11:49:45]  * destination
[11:49:45]    + /Users/jduke/Movies/Corrida de Rejónes.mp4
[11:49:45]    + container: MPEG-4 (libavformat)
[11:49:45]      + align initial A/V stream timestamps
[11:49:45]  * video track
[11:49:45]    + decoder: prores
[11:49:45]      + bitrate 866791 kbps
[11:49:45]    + filters
[11:49:45]      + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[11:49:45]      + Decomb (mode=39)
[11:49:45]      + Framerate Shaper (mode=2:rate=27000000/900900)
[11:49:45]        + frame rate: 29.970 fps -> peak rate limited to 29.970 fps
[11:49:45]      + Crop and Scale (width=3840:height=2160:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[11:49:45]        + source: 3840 * 2160, crop (0/0/0/0): 3840 * 2160, scale: 3840 * 2160
[11:49:45]    + Output geometry
[11:49:45]      + storage dimensions: 3840 x 2160
[11:49:45]      + pixel aspect ratio: 1 : 1
[11:49:45]      + display dimensions: 3840 x 2160
[11:49:45]    + encoder: H.264 10-bit (libx264)
[11:49:45]      + preset:  fast
[11:49:45]      + profile: auto
[11:49:45]      + level:   4.0
[11:49:45]      + quality: 22.00 (RF)
[11:49:45]  * audio track 1
[11:49:45]    + decoder: Unknown (pcm_s24le) (5.1 ch) (track 1, id 0x0)
[11:49:45]      + bitrate: 6912 kbps, samplerate: 48000 Hz
[11:49:45]    + mixdown: Dolby Pro Logic II
[11:49:45]    + encoder: AAC (Apple AudioToolbox)
[11:49:45]      + bitrate: 160 kbps, samplerate: 48000 Hz
[11:49:45] sync: expecting 9703 video frames
[11:49:45] encx264: min-keyint: 30, keyint: 300
[11:49:45] encx264: encoding at constant RF 22.000000
[11:49:45] apply_h264_level [warning]: frame size (3840x2160, 32400 macroblocks) too high for level 4.0 (max. 8192 macroblocks)
[11:49:45] encx264: unparsed options: level=4.0:ref=1:bframes=0:weightp=1:subme=6:vbv-bufsize=75000:vbv-maxrate=60000:rc-lookahead=30
x264 [info]: using SAR=1/1
x264 [warning]: frame MB size (240x135) > level limit (8192)
x264 [warning]: MB rate (971028) > level limit (245760)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile High 10, level 4.0, 4:2:0 10-bit
[11:49:46] sync: first pts video is 0
[11:49:46] sync: "Chapter 1" (1) at frame 1 time 0
[11:49:46] sync: first pts audio 0x0 is 0
[12:07:46] reader: done. 1 scr changes
[12:07:52] work: average encoding speed for job is 8.934075 fps
[12:07:52] comb detect: heavy 136 | light 197 | uncombed 9371 | total 9704
[12:07:52] decomb: deinterlaced 136 | blended 197 | unfiltered 9371 | total 9704
[12:07:52] vfr: 9704 frames output, 0 dropped and 0 duped for CFR/PFR
[12:07:52] vfr: lost time: 0 (0 frames)
[12:07:52] vfr: gained time: 0 (0 frames) (0 not accounted for)
[12:07:52] pcm_s24le-decoder done: 15525 frames, 0 decoder errors
[12:07:52] prores-decoder done: 9704 frames, 0 decoder errors
[12:07:52] sync: got 9704 frames, 9703 expected
[12:07:52] sync: framerate min 29.970 fps, max 29.970 fps, avg 29.970 fps
x264 [info]: frame I:117   Avg QP:31.84  size:310691
x264 [info]: frame P:9587  Avg QP:34.26  size: 93019
x264 [info]: mb I  I16..4:  9.7% 78.3% 12.0%
x264 [info]: mb P  I16..4:  0.3%  1.1%  0.2%  P16..4: 29.2%  9.2%  6.6%  0.0%  0.0%    skip:53.4%
x264 [info]: 8x8 transform intra:72.4% inter:55.8%
x264 [info]: coded y,uvDC,uvAC intra: 67.0% 30.2% 6.8% inter: 22.6% 10.5% 0.1%
x264 [info]: i16 v,h,dc,p: 20% 48%  9% 22%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 17% 27%  6%  7%  7%  7%  6%  9%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 38% 19%  4%  5%  5%  5%  4%  8%
x264 [info]: i8c dc,h,v,p: 76% 13%  9%  3%
x264 [info]: Weighted P-Frames: Y:1.3% UV:0.6%
x264 [info]: kb/s:22931.53
[12:07:53] mux: track 0, 9704 frames, 928122635 bytes, 22929.10 kbps, fifo 1024
[12:07:53] mux: track 1, 15180 frames, 6673258 bytes, 164.86 kbps, fifo 1024
[12:07:53] libhb: work result = 0
[12:07:53] macgui: QueueCore work done
[12:07:53] macgui: Queue Done, there are no more pending encodes

Post Reply