This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Remove information Matrix coefficients  : BT.709
#1
Hello Mr. Selur, good afternoon, first of all, I would like to apologize because I am from Spain, I do not speak English, I am translating the text with Google.
I have a template to make 1080p x265 encodes and for now everything is perfect but for a few days I have been getting information in the media info that I do not understand and I don't know why I am getting it.

Language                                : Spanish
Default                                  : Yes
Forced                                  : Yes
colour_range_Original                    : Limited
Color primaries                          : BT.2020
Transfer characteristics                : PQ
Matrix coefficients                      : BT.709
matrix_coefficients_Original            : BT.2020 non-constant
Mastering display color primaries        : BT.2020
Mastering display luminance              : min: 0.0050 cd/m2, max: 1000 cd/m2

I wanted to ask you how I can remove that information from the encode?

In all the previous encodes I did not get Matrix coefficients: BT.709

Madia info source:

Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : BT.2020
Mastering display luminance              : min: 0.0050 cd/m2, max: 1000 cd/m2

Media info encode:

Language                                 : Spanish
Default                                  : Yes
Forced                                   : Yes
colour_range_Original                    : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.709
matrix_coefficients_Original             : BT.2020 non-constant
Mastering display color primaries        : BT.2020
Mastering display luminance              : min: 0.0050 cd/m2, max: 1000 cd/m2

[Image: 5Ji11YFa_t.png] [Image: 7ivWr6CD_t.png]


ThanksPlease,


Attached Files
.zip   HybridDebugOutput.zip (Size: 16,86 KB / Downloads: 7)
Reply
#2
Matrix coefficients                      : BT.709
matrix_coefficients_Original             : BT.2020 non-constant
Indicates that the video stream is tagged as 'BT.2020 non-constant' but the container is tagged as 'BT.709'.
Looking at the Encoding call:
ffmpeg_32 -y -loglevel fatal -noautorotate -nostdin -threads 8 -i "C:\Users\cebol\Desktop\ENCODES\HYBRID\encodingTempSynthSkript_2024-03-08@15_32_12_8510_0.avs" -an -sn -color_primaries bt2020 -color_trc smpte2084 -colorspace bt709 -color_range tv -pix_fmt yuv420p10le -strict -1 -vsync 0 -f yuv4mpegpipe - |  x265 --input - --fps 24000/1001 --output-depth 10 --y4m --profile main10 --level-idc 5.1 --qg-size 16 --tu-intra-depth 4 --tu-inter-depth 4 --limit-tu 4 --me star --subme 7 --limit-modes --max-merge 4 --no-early-skip --rskip 0 --no-open-gop --opt-ref-list-length-pps --min-keyint 23 --bframes 16 --weightb --ref 5 --rc-lookahead 60 --lookahead-slices 0 --crf 15.00 --opt-qp-pps --cbqpoffs -2 --crqpoffs -2 --ipratio 1.30 --pbratio 1.20 --rd 4 --psy-rd 2.01 --rdoq-level 2 --psy-rdoq 2.01 --aq-mode 3 --no-cutree --vbv-maxrate 160000 --vbv-bufsize 160000 --hrd --vui-hrd-info --deblock=-3:-3 --no-sao --selective-sao 0 --range limited --colorprim bt2020 --transfer smpte2084 --colormatrix bt2020nc --chromaloc 2 --master-display "G(8500,39850)B(6550,2300)R(35400,14600)WP(15635,16450)L(10000000,50)" --hdr10 --hdr10-opt --sar 1:1 --output "C:\Users\cebol\Desktop\ENCODES\HYBRID\2024-03-08@15_32_12_8510_02.265"
'--colormatrix bt2020nc' is correctly used, which is why the video stream is correctly lagged.

Looking at the muxing call:
"C:\Program Files\Hybrid\64bit\mkvmerge.exe" --ui-language en -o "C:\Users\cebol\Desktop\ENCODES\HYBRID\2024-03-08@15_32_12_8510__04.mkv" --global-tags "C:\Users\cebol\Desktop\ENCODES\HYBRID\mkvtags_2024-03-08@15_32_12_8510__04.xml" -d 0 --default-track 0:yes --colour-matrix-coefficients 0:1 --colour-range 0:-1 --colour-transfer-characteristics 0:2 --colour-primaries 0:2 --language 0:es --default-duration "0:24000/1001fps" --aspect-ratio-factor 0:1/1 --no-chapters --compression -1:none --forced-track 0:yes --field-order 0:0 --no-audio --no-subtitles "C:\Users\cebol\Desktop\ENCODES\HYBRID\2024-03-08@15_32_12_8510_02.265" --track-order 0:1
'--colour-matrix-coefficients 0:1' is used instead of "--colour-matrix-coefficients 0:10".

I tried reproducing the problem, and the only way I can reproduce this is to enabled "Config->MKV tagging->VUI->Matroska advanced video signaling" and overwrite the VUI flags for the container settings.

So my guess is that you enabled "Config->MKV tagging->VUI->Matroska advanced video signaling" and overwrote the matrix there.
If that is not the case, please write a step-by-step guide what you are doing, so that I can reproduce the problem.

Cu Selur
Reply
#3
Thank you very much, Mr. Selur, the problem has been solved with the instructions you told me.
"Config->MKV tagging->VUI->Matroska advanced video signaling" and overwrite the VUI flags for the container settings.

Writing library                          : x265 3.5+115-88fd6d3ad:[Windows][GCC 13.2.0][64 bit] 10bit
Encoding settings                        : cpuid=1111039 / frame-threads=5 / numa-pools=32 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=1920x804 / interlace=0 / total-frames=0 / level-idc=51 / high-tier=1 / uhd-bd=0 / ref=5 / no-allow-non-conformance / repeat-headers / annexb / no-aud / no-eob / no-eos / hrd / info / hash=0 / temporal-layers=0 / no-open-gop / min-keyint=23 / keyint=250 / gop-lookahead=0 / bframes=16 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=60 / lookahead-slices=0 / scenecut=40 / no-hist-scenecut / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=4 / tu-intra-depth=4 / limit-tu=4 / rdoq-level=2 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=4 / limit-refs=1 / limit-modes / me=3 / subme=7 / merange=57 / temporal-mvp / no-frame-dup / no-hme / weightp / weightb / no-analyze-src-pics / deblock=-3:-3 / no-sao / no-sao-non-deblock / rd=4 / selective-sao=0 / no-early-skip / no-rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.01 / psy-rdoq=2.01 / no-rd-refine / no-lossless / cbqpoffs=-2 / crqpoffs=-2 / rc=crf / crf=15.0 / 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.30 / pbratio=1.20 / aq-mode=3 / aq-strength=1.00 / no-cutree / zone-count=0 / no-strict-cbr / qg-size=16 / 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,50) / 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 / 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 / no-mcstf / no-sbrc
Language                                 : Spanish
Default                                  : Yes
Forced                                   : Yes
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : BT.2020
Mastering display luminance              : min: 0.0050 cd/m2, max: 1000 cd/m2
[Image: 4hKMJ8Cm_t.png]


Wink Wink Wink Wink


Attached Files
.zip   HybridDebugOutput.zip (Size: 16,91 KB / Downloads: 3)
Reply
#4
Happy that solved it for you.

Cu Selur
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)