UHD HDR encodes created with HandBrake will not play on TV's internal mediaplayer (USB).
Identical encode created with Hybrid plays fine.
HandBrake encode only plays on the TV's internal player when I leave out the master-display string:
master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,500)
(TV is an LG OLED65B6V.)
What are the steps to reproduce this problem:
Encode a UHD HDR video and use the master-display string, try to play encode on media players.
I used the Samsung HDR Wonderland demo:
https://openload.co/f/Zfi6a9o4VV4/Samsu ... _hdr10.mkv
My encode parameters:
x265 10bit (2.3 (HandBrake forum), 2.4+13 and 2.5+1 (http://www.msystem.waw.pl/x265/) tested.
Preset: medium
Tune: none
CRF 17
Extra Options:
no-sao:level-idc=51:hdr-opt:hrd:master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,500):max-cll=0,0
What version of HandBrake you are running:
Same issue on 1.0.7 and latest Nightly.
What operating system and version and you running (e.g. OSX 10.11, Windows 7, Ubuntu 14):
Windows 10 64bit v1703.
Where did you download HandBrake from? handbrake.fr or somewhere else?
handbrake.fr
If there was any error, exception or crash report displayed, please copy it and paste it here:
No error.
Please include the scan or encode log:
Code: Select all
HandBrake Nightly 20170711194400-1de8f69-master (2017071201) - 64bit
OS: Microsoft Windows NT 10.0.15063.0 - 64bit
CPU: Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
Ram: 15310 MB,
GPU Information:
Intel(R) HD Graphics 630 - 21.20.16.4664
Screen: 1920x1200
Temp Dir: C:\Users\jd17\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake Nightly
Data Dir: C:\Users\jd17\AppData\Roaming\HandBrake Team\HandBrake\1.1.0.0
-------------------------------------------
# Starting Encode ...
[00:20:38] hb_init: starting libhb thread
[00:20:38] 1 job(s) to process
[00:20:38] json job:
{
"Audio": {
"AudioList": [],
"CopyMask": [
1073807360,
1073743872,
1074003968,
1073750016,
1090519040,
1074790400,
1074266112,
1107296256
],
"FallbackEncoder": 1
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
}
],
"ChapterMarkers": true,
"AlignAVStart": false,
"File": "C:\\_encode\\handbrake-test1-2.5.mkv",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": 2097152
},
"Filters": {
"FilterList": [
{
"ID": 11,
"Settings": {
"crop-bottom": "0",
"crop-left": "0",
"crop-right": "0",
"crop-top": "0",
"height": "2160",
"width": "3840"
}
},
{
"ID": 6,
"Settings": {
"mode": "0"
}
}
]
},
"PAR": {
"Num": 1,
"Den": 1
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 1
},
"Title": 1,
"Path": "F:\\_encode\\Samsung_HDR_Wonderland_2160p_hevc_10bit_23.976hz_bt.2020_hdr10.mkv"
},
"Subtitle": {
"Search": {
"Burn": false,
"Default": false,
"Enable": false,
"Forced": false
},
"SubtitleList": []
},
"Video": {
"Encoder": 8192,
"Level": "auto",
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "no-sao:level-idc=51:hdr-opt:hrd:master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,500):max-cll=0,0",
"Preset": "medium",
"Profile": "auto",
"Quality": 17.0,
"HWDecode": false,
"QSV": {
"Decode": false,
"AsyncDepth": 0
}
}
}
[00:20:38] CPU: Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
[00:20:38] - Intel microarchitecture Kaby Lake
[00:20:38] - logical processor count: 4
[00:20:38] Intel Quick Sync Video support: yes
[00:20:38] - Intel Media SDK hardware: API 1.23 (minimum: 1.3)
[00:20:38] - H.264 encoder: yes
[00:20:38] - preferred implementation: hardware (any)
[00:20:38] - capabilities (hardware): breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[00:20:38] - H.265 encoder: yes (8bit: yes, 10bit: yes)
[00:20:38] - preferred implementation: hardware (any)
[00:20:38] - capabilities (hardware): bpyramid vsinfo opt1
[00:20:38] hb_scan: path=F:\_encode\Samsung_HDR_Wonderland_2160p_hevc_10bit_23.976hz_bt.2020_hdr10.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:274: failed opening UDF image F:\_encode\Samsung_HDR_Wonderland_2160p_hevc_10bit_23.976hz_bt.2020_hdr10.mkv
src/libbluray/disc/disc.c:352: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:352: error opening file BDMV\BACKUP\index.bdmv
[00:20:38] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
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
[00:20:38] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'F:\_encode\Samsung_HDR_Wonderland_2160p_hevc_10bit_23.976hz_bt.2020_hdr10.mkv':
Duration: 00:02:41.16, start: 0.000000, bitrate: N/A
Stream #0:0: Video: hevc (Main 10)
yuv420p10le, tv, bt2020nc/bt2020/smpte2084
3840x2160 [PAR 1:1 DAR 16:9], PAR 1:1 DAR 16:9
23.98 fps, 1k tbn (default)
Metadata:
BPS : 45707418
BPS-eng : 45707418
DURATION : 00:02:41.161000000
DURATION-eng : 00:02:41.161000000
NUMBER_OF_FRAMES: 3864
NUMBER_OF_FRAMES-eng: 3864
NUMBER_OF_BYTES : 920781666
NUMBER_OF_BYTES-eng: 920781666
_STATISTICS_WRITING_APP: mkvmerge v13.0.0 ('The Juggler') 64bit
_STATISTICS_WRITING_APP-eng: mkvmerge v13.0.0 ('The Juggler') 64bit
_STATISTICS_WRITING_DATE_UTC: 2017-07-06 18:48:56
_STATISTICS_WRITING_DATE_UTC-eng: 2017-07-06 18:48:56
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[00:20:38] scan: decoding previews for title 1
[00:20:48] scan: 10 previews, 3840x2160, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[00:20:48] libhb: scan thread found 1 valid title(s)
[00:20:48] starting job
[00:20:48] work: only 1 chapter, disabling chapter markers
[00:20:48] job configuration:
[00:20:48] * source
[00:20:48] + F:\_encode\Samsung_HDR_Wonderland_2160p_hevc_10bit_23.976hz_bt.2020_hdr10.mkv
[00:20:48] + title 1, chapter(s) 1 to 1
[00:20:48] + container: matroska,webm
[00:20:48] * destination
[00:20:48] + C:\_encode\handbrake-test1-2.5.mkv
[00:20:48] + container: Matroska (libavformat)
[00:20:48] * video track
[00:20:48] + decoder: hevc
[00:20:48] + filters
[00:20:48] + Framerate Shaper (mode=0)
[00:20:48] + frame rate: same as source (around 23.976 fps)
[00:20:48] + Crop and Scale (width=3840:height=2160:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[00:20:48] + source: 3840 * 2160, crop (0/0/0/0): 3840 * 2160, scale: 3840 * 2160
[00:20:48] + Output geometry
[00:20:48] + storage dimensions: 3840 x 2160
[00:20:48] + pixel aspect ratio: 1 : 1
[00:20:48] + display dimensions: 3840 x 2160
[00:20:48] + encoder: H.265 10-bit (libx265)
[00:20:48] + preset: medium
[00:20:48] + options: no-sao:level-idc=51:hdr-opt:hrd:master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,500):max-cll=0,0
[00:20:48] + profile: auto
[00:20:48] + quality: 17.00 (RF)
[00:20:48] sync: expecting 3864 video frames
[00:20:49] sync: first pts video is 0
[00:20:49] sync: "Chapter 1" (1) at frame 1 time 0
[00:39:02] reader: done. 1 scr changes
[00:39:33] work: average encoding speed for job is 3.480805 fps
[00:39:34] vfr: lost time: 0 (0 frames)
[00:39:34] vfr: gained time: 0 (0 frames) (0 not accounted for)
[00:39:34] hevc-decoder done: 3864 frames, 0 decoder errors
[00:39:34] sync: got 3864 frames, 3864 expected
[00:39:34] sync: framerate min 23.981 fps, max 23.981 fps, avg 23.976 fps
[00:39:34] mux: track 0, 3864 frames, 295835105 bytes, 14685.20 kbps, fifo 512
[00:39:34] libhb: work result = 0
# Encode Completed ...
Code: Select all
General
Unique ID : 25137540607718895181579008795944933011 (0x12E950709F1185F551E5AF25F533D693)
Complete name : C:\_encode\handbrake-test1-2.5.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 282 MiB
Duration : 2 min 41 s
Overall bit rate : 14.7 Mb/s
Encoded date : UTC 2017-07-15T22:20:48Z
Writing application : HandBrake 20170711194400-1de8f69-master 2017071201
Writing library : Lavf57.7.2
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
Codec ID : V_MPEGH/ISO/HEVC
Duration : 2 min 41 s
Bit rate : 14.4 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.072
Stream size : 277 MiB (98%)
Writing library : x265 2.5+1-adbcc90bdef3:[Windows][MSVC 1910][64 bit] 10bit
Encoding settings : cpuid=1173503 / frame-threads=2 / numa-pools=4 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=3840x2160 / interlace=0 / total-frames=0 / level-idc=51 / high-tier=1 / uhd-bd=0 / ref=3 / no-allow-non-conformance / repeat-headers / annexb / no-aud / hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=24 / keyint=240 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=20 / lookahead-slices=8 / scenecut=40 / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=0 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=2 / limit-refs=3 / no-limit-modes / me=1 / subme=2 / merange=57 / temporal-mvp / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / no-sao / no-sao-non-deblock / rd=3 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=0.00 / no-rd-refine / analysis-reuse-mode=0 / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=17.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / vbv-maxrate=160000 / vbv-bufsize=160000 / vbv-init=0.9 / crf-max=0.0 / crf-min=0.0 / ipratio=1.40 / pbratio=1.30 / aq-mode=1 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=1 / overscan=0 / videoformat=5 / range=0 / colorprim=9 / transfer=16 / colormatrix=9 / chromaloc=0 / display-window=0 / master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,500) / max-cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / opt-qp-pps / opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / hdr / hdr-opt / no-dhdr10-opt / analysis-reuse-level=5 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=0 / no-limit-sao / ctu-info=0
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : SMPTE ST 2084
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : R: x=0.680000 y=0.320000, G: x=0.265000 y=0.690000, B: x=0.150000 y=0.060000, White point: x=0.312700 y=0.329000
Mastering display luminance : min: 0.0500 cd/m2, max: 1000.0000 cd/m2
Code: Select all
General
Unique ID : 217123577944451960012513319253810230841 (0xA3587AE3DF94D25EBDAC9A25576A3639)
Complete name : C:\_encode\hybrid test2.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 273 MiB
Duration : 2 min 41 s
Overall bit rate : 14.2 Mb/s
Encoded date : UTC 2017-07-15 22:09:29
Writing application : mkvmerge v13.0.0 ('The Juggler') 64bit
Writing library : libebml v1.3.4 + libmatroska v1.4.5
Encoding Gui : Hybrid 2017.05.06.1
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
Codec ID : V_MPEGH/ISO/HEVC
Duration : 2 min 41 s
Bit rate : 14.2 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.071
Stream size : 273 MiB (100%)
Writing library : x265 2.5+1-adbcc90bdef3:[Windows][MSVC 1910][64 bit] 10bit
Encoding settings : cpuid=1173503 / frame-threads=2 / numa-pools=4 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=3840x2160 / interlace=0 / total-frames=0 / level-idc=51 / high-tier=1 / uhd-bd=0 / ref=3 / no-allow-non-conformance / repeat-headers / annexb / no-aud / hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=23 / keyint=250 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=20 / lookahead-slices=8 / scenecut=40 / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=0 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=2 / limit-refs=3 / no-limit-modes / me=1 / subme=2 / merange=57 / temporal-mvp / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / no-sao / no-sao-non-deblock / rd=3 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=0.00 / no-rd-refine / analysis-reuse-mode=0 / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=17.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / vbv-maxrate=160000 / vbv-bufsize=160000 / vbv-init=0.9 / crf-max=0.0 / crf-min=0.0 / ipratio=1.40 / pbratio=1.30 / aq-mode=1 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=1 / overscan=0 / videoformat=5 / range=0 / colorprim=9 / transfer=16 / colormatrix=9 / chromaloc=0 / display-window=0 / master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,500) / max-cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / opt-qp-pps / opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / hdr / hdr-opt / no-dhdr10-opt / analysis-reuse-level=5 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=0 / no-limit-sao / ctu-info=0
Default : Yes
Forced : Yes
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : SMPTE ST 2084
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : R: x=0.680000 y=0.320000, G: x=0.265000 y=0.690000, B: x=0.150000 y=0.060000, White point: x=0.312700 y=0.329000
Mastering display luminance : min: 0.0500 cd/m2, max: 1000.0000 cd/m2
24 / 240 in HandBrake
23 / 250 in Hybrid