Selur's Little Message Board

Full Version: Probleme mit HDR, Dolbyvison?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
Ja liegt wohl an der kompletten Länge wenn ich:
Code:
G:\TestClips&Co\files\languageTest\Администратор\Star.Trek.Picard.S02E01.Die.Stargazer.GERMAN.DUBBED.DL.1080p.DV.HDR.WEB.H265-TSC\Star.Trek.Picard.S02E01.Die.Stargazer.GERMAN.DUBBED.DL.1080p.DV.HDR.WEB.H265-TSC.mkv
(227 Zeichen lang)
verwende kriege ich auch:
Code:
G:\TESTCL~1\files\LANGUA~1\836D~1\STARTR~1.H26\STARTR~1.H26\STARTR~1.MKV
muss mal schauen ob man von Windows in solchen fällen auch irgendwie den kompletten Pfad bekommt.

Hybrid verwendet getOpenFileNames (https://doc.qt.io/qt-6/qfiledialog.html#...nFileNames) und kriegt da den verkürzen Pfad wieder, sehe momentan keine Möglichkeit den vollen Pfad zu kriegen. Sad

Cu Selur
Einziges was mir aktuell einfällt wäre das Hybrid, unter Windows, Inputpfade mit einem Tilde (~) drinnen als Name ignorieren könnte.
Ja, ist ja nicht schlimm ,MediaInfo hat ja das gleiche Problem oder einige andere Programme.
Ich wollte mich nochmal zurückmelden, mit der Sache mit dem, das x264 kein HDR kann.

Ich hab jetzt eine x265 (HDR) 10-Bit zu x264 10-Bit enkodiert, ohne HDR to SDR oder Tonemapping. Wie geht das? Ich hab jetzt die exakt gleichen VUI wie in x265 in x264, nur das x264 jetzt als SDR erkannt wird.

Ich hatte es am Anfang mit NVENC x264 zum testen gemacht, in nur 8-Bit und da sah es auch genauso aus.

Media Info sagt bei beiden:

HDR format                  : SMPTE ST 2086, HDR10 compatible
Color range                : Limited
Color primaries            : BT.2020
Transfer characteristics    : PQ
Matrix coefficients        : BT.2020 non-constant
Mastering display color pri : BT.2020
Mastering display luminance : min: 0.0001 cd/m2, max: 1000 cd/m2


ich dachte man muss HDR to SDR bzw. Tonemapping machen?

im x264 sieht es jetzt genauso aus wie im x265.

Das ist die MediaInfo vom Original

Code:
General
Unique ID                   : 156305292633526732160451441011532155202 (0x75974DEA3418E2F70AAAD3FBEF6AC942)
Complete name               : D:\Videos\Das siebente Siegel\Das.siebente.Siegel.1957.German.DL.AC3D.2160p.UHD.BluRay.x265-GSG9\Das.siebente.Siegel.1957.German.DL.AC3D.2160p.UHD.BluRay.x265-GSG9.mkv
Format                      : Matroska
Format version              : Version 4
File size                   : 31.8 GiB
Duration                    : 1 h 36 min
Overall bit rate mode       : Variable
Overall bit rate            : 47.2 Mb/s
Movie name                  : Das siebente Siegel (1957)
Encoded date                : UTC 2021-12-26 16:38:59
Writing application         : mkvmerge v56.1.0 ('My Friend') 64-bit
Writing library             : libebml v1.4.2 + libmatroska v1.6.4

Video
ID                          : 1
Format                      : HEVC
Format/Info                 : High Efficiency Video Coding
Format profile              : Main 10@L5.1@High
HDR format                  : SMPTE ST 2086, HDR10 compatible
Codec ID                    : V_MPEGH/ISO/HEVC
Duration                    : 1 h 36 min
Bit rate                    : 45.9 Mb/s
Width                       : 2 972 pixels
Height                      : 2 160 pixels
Display aspect ratio        : 1.376
Frame rate mode             : Constant
Frame rate                  : 23.976 (24000/1001) FPS
Original frame rate         : 24.000 FPS
Color space                 : YUV
Chroma subsampling          : 4:2:0 (Type 2)
Bit depth                   : 10 bits
Bits/(Pixel*Frame)          : 0.298
Stream size                 : 30.9 GiB (97%)
Writing library             : x265 3.5+19-8003e4382:[Windows][GCC 11.2.0][64 bit] 10bit
Encoding settings           : cpuid=1111039 / frame-threads=6 / numa-pools=32 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=2972x2160 / interlace=0 / total-frames=138712 / level-idc=51 / high-tier=1 / uhd-bd=0 / ref=4 / no-allow-non-conformance / repeat-headers / annexb / aud / no-eob / no-eos / hrd / info / hash=0 / no-temporal-layers / no-open-gop / min-keyint=24 / keyint=250 / gop-lookahead=0 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=25 / lookahead-slices=4 / scenecut=40 / no-hist-scenecut / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=2 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / no-strong-intra-smoothing / max-merge=3 / limit-refs=3 / limit-modes / me=3 / subme=3 / merange=57 / temporal-mvp / no-frame-dup / no-hme / weightp / no-weightb / no-analyze-src-pics / deblock=-3:-3 / no-sao / no-sao-non-deblock / rd=4 / selective-sao=0 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=1.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=18.3 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / vbv-maxrate=160000 / vbv-bufsize=160000 / vbv-init=0.9 / min-vbv-fullness=50.0 / max-vbv-fullness=80.0 / crf-max=0.0 / crf-min=0.0 / ipratio=1.40 / pbratio=1.30 / aq-mode=2 / 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=1 / chromaloc-top=2 / chromaloc-bottom=2 / display-window=0 / master-display=G(8500,39850)B(6550,2300)R(35400,14600)WP(15635,16450)L(10000000,01) / cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / hist-threshold=0.03 / no-opt-cu-delta-qp / no-aq-motion / hdr10 / hdr10-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=0 / analysis-save-reuse-level=0 / analysis-load-reuse-level=0 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=1 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.00 / scenecut-aware-qp=0conformance-window-offsets / right=0 / bottom=0 / decoder-max-rate=0 / no-vbv-live-multi-pass
Default                     : Yes
Forced                      : No
Color range                 : Limited
Color primaries             : BT.2020
Transfer characteristics    : PQ
Matrix coefficients         : BT.2020 non-constant
Mastering display color pri : BT.2020
Mastering display luminance : min: 0.0001 cd/m2, max: 1000 cd/m2

Audio #1
ID                          : 2
Format                      : AC-3
Format/Info                 : Audio Coding 3
Commercial name             : Dolby Digital
Codec ID                    : A_AC3
Duration                    : 1 h 36 min
Bit rate mode               : Constant
Bit rate                    : 640 kb/s
Channel(s)                  : 2 channels
Channel layout              : L R
Sampling rate               : 48.0 kHz
Frame rate                  : 31.250 FPS (1536 SPF)
Compression mode            : Lossy
Stream size                 : 441 MiB (1%)
Language                    : German
Service kind                : Complete Main
Default                     : Yes
Forced                      : No

Audio #2
ID                          : 3
Format                      : FLAC
Format/Info                 : Free Lossless Audio Codec
Codec ID                    : A_FLAC
Duration                    : 1 h 36 min
Bit rate mode               : Variable
Bit rate                    : 686 kb/s
Channel(s)                  : 1 channel
Channel layout              : C
Sampling rate               : 48.0 kHz
Frame rate                  : 11.719 FPS (4096 SPF)
Bit depth                   : 24 bits
Compression mode            : Lossless
Delay relative to video     : 23 ms
Stream size                 : 473 MiB (1%)
Writing library             : libFLAC 1.3.2 (UTC 2017-01-01)
Language                    : Swedish
Default                     : No
Forced                      : No

Text
ID                          : 4
Format                      : UTF-8
Codec ID                    : S_TEXT/UTF8
Codec ID/Info               : UTF-8 Plain Text
Duration                    : 3 s 294 ms
Bit rate                    : 46 b/s
Frame rate                  : 0.304 FPS
Count of elements           : 1
Stream size                 : 19.0 Bytes (0%)
Language                    : German
Default                     : Yes
Forced                      : Yes

Menu
00:00:00.000                : de:00:00:00.000
00:08:33.555                : de:00:08:33.555
00:16:14.724                : de:00:16:14.724
00:25:30.696                : de:00:25:30.696
00:32:25.026                : de:00:32:25.026
00:42:01.185                : de:00:42:01.185
00:48:45.089                : de:00:48:45.089
00:58:39.224                : de:00:58:39.224
01:03:14.916                : de:01:03:14.916
01:13:11.554                : de:01:13:11.554
01:22:58.974                : de:01:22:58.974
01:28:07.407                : de:01:28:07.407

Das ist die MediaInfo nachdem ich einen 1 Minuten Clip zum testen in x264 enkodiert habe:

Code:
General
Unique ID                   : 221706986034647700586614229974886263711 (0xA6CB365B27616FEA0D9A3E7986E62B9F)
Complete name               : D:\Videos\Hybrid\testx264normal.mkv
Format                      : Matroska
Format version              : Version 4
File size                   : 183 MiB
Duration                    : 1 min 2 s
Overall bit rate            : 24.4 Mb/s
Encoded date                : UTC 2022-09-16 10:38:14
Writing application         : mkvmerge v69.0.0 ('Day And Age') 64-bit
Writing library             : libebml v1.4.2 + libmatroska v1.6.4
Encoding Gui                : Hybrid 2022.09.01.1

Video
ID                          : 1
Format                      : AVC
Format/Info                 : Advanced Video Codec
Format profile              : High 10@L3.2
Format settings             : CABAC / 4 Ref Frames
Format settings, CABAC      : Yes
Format settings, Reference  : 4 frames
Codec ID                    : V_MPEG4/ISO/AVC
Duration                    : 1 min 2 s
Bit rate                    : 25.0 Mb/s
Width                       : 992 pixels
Height                      : 720 pixels
Display aspect ratio        : 1.378
Frame rate mode             : Constant
Frame rate                  : 24.000 FPS
Color space                 : YUV
Chroma subsampling          : 4:2:0
Bit depth                   : 10 bits
Scan type                   : Progressive
Bits/(Pixel*Frame)          : 1.458
Stream size                 : 182 MiB (100%)
Writing library             : x264 core 164 r3095 baee400
Encoding settings           : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=18 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=abr / mbtree=1 / bitrate=25000 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=81 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Default                     : Yes
Forced                      : Yes
Color range                 : Limited
Color primaries             : BT.2020
Transfer characteristics    : PQ
Matrix coefficients         : BT.2020 non-constant

Audio
ID                          : 2
Format                      : AAC LC SBR
Format/Info                 : Advanced Audio Codec Low Complexity with Spectral Band Replication
Commercial name             : HE-AAC
Format settings             : Explicit
Codec ID                    : A_AAC-2
Duration                    : 1 min 2 s
Bit rate                    : 80.0 kb/s
Channel(s)                  : 2 channels
Channel layout              : L R
Sampling rate               : 48.0 kHz
Frame rate                  : 23.438 FPS (2048 SPF)
Compression mode            : Lossy
Delay relative to video     : 4 ms
Stream size                 : 613 KiB (0%)
Language                    : German
Default                     : Yes
Forced                      : No

Menu
00:00:00.000                : en:00:00:00.000

Also kann x264 doch HDR? Das einzige, was ist jetzt bei x264 nicht mehr habe, sind halt die master display Werte. Hat der das vielleicht von der Blurray auf x265 schon getonemapped? Aber warum sollte man das machen?

Ich frage halt, weil ich verstehen will, warum das so ist.

Grüße
Nein. H.264 kann kein HDR.
Könnte man theoretisch einen H.264 Stream encoden und über den Container an diesen HDR-10 tags packen: Ja
Ist das Standard konform: Nein
Wird ein normaler Player da richtige HDR Farben anzeigen: Nein.

Kann man einen H.265 HDR stream ohne tonempapping reencoden: Ja, nur sind dann halt die Farben falsch.

Cu Selur
Ah, sehe es gerade, VLC und MPC BE spielen den Film richtig ab. Windows Media Player und Windows 10 Filme spielen den Film erst garnicht ab.

Dann machen es echt die player mit den VUI die ich beim enkodieren übertragen habe.


Gibt es denn eine Möglichkeit wie ich HDR Content sauber machen kann?

Also Resize von 4k auf 720p, TemporalDegrain2, Deband und CAS ohne direkt in x265 zu enkodieren, das dauert ja sonst Ewigkeiten mit 2Pass.

Kann ich in x264 mit 25000kbits enkodieren und sauber machen, wie ich es gemacht habe und wieder in x265 enkodieren und es ist wieder HDR? Die VUI sind ja alle komplett übertragen worden.


Grüße
2pass macht nur Sinn, wenn Du eine bestimmte Größe anstrebst, ansonsten würde cih crf verwenden.
Was Du machen kannst, ist:
1. die Reihenfolge der Filter optimieren
2. in ein verlustfreies Format konvertieren und das dann nach x265 encoden.
HDR hat im Prinzip folgende Komponenten:
1. einen Videostream
2. Metadaten
solange der Videostream noch zu den Metadaten passt, kann man diese auch erstmal entfernen und später wieder hinzufügen.

Cu Selur
Ne, will lschon 2 Pass

Was wäre denn ein Verlustfreies Format? FFV1? Übernimmt der denn alles, metadaten, VUI, so dass ich es gesäubert direkt in x265 enkodieren kann?

Wenn ja, was stelle ich bei;

Coder, Context und Version ein?
Wenn Version 3, 4 Slices und CRC?

Oder FFvHuff bzw.HuffYUV?


Grüße
Müsstest:
1. in einen mkv container speichern
2. die entsprechenden tags unter "Config->MKV tagging->Matroska advanced video signaling" angeben.
Da die Größe nicht so interessant ist, sind vor allem Color space dun Bit depth wichtig und der Rest eher nicht.
Mehr slices -> besseres Multithreading.
CRC ist denke ich nicht nötig, davon ausgegangen, dass deine Platten keine Macke haben.
so? Import HDR Data hab ich auch angekjlickt, oder kann ich auch alles auswählen?

[Image: eymAoUl.png]
Pages: 1 2 3 4