Log in

View Full Version : YUV444 source "Converting input clip to YUV420"


Ceppo
30th November 2020, 05:17
I'm trying to encode a 444 16bit clip with x265 but it gets converted to YUV420. How do avoid this?


C:\Users\eric\Desktop>avs2yuv64.exe -depth 16 "file444.avs" -o - | x265.exe --fps 23.976 --input-res 1280x720 -o file
444.mkv --input - --y4m
file444.avs: 1280x720, YUV444P16, 16-bits, progressive, 24000/1001 fps, 35040 frames
converting input clip to YUV420
y4m [info]: 1280x720 fps 23976/1000 i420p16 unknown frame count
raw [info]: output file: file444.mkv
x265 [info]: HEVC encoder version 3.4+26-ga82c6c7a7
x265 [info]: build info [Windows][GCC 10.2.1][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main 10 profile, Level-3.1 (Main tier)
x265 [info]: Thread pool created using 4 threads
x265 [info]: Slices : 1
x265 [info]: frame threads / pool features : 2 / wpp(12 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 3
x265 [info]: Keyframe min / max / scenecut / bias : 23 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt : 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0
x265 [info]: References / ref-limit cu / depth : 3 / off / on
x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-28.0 / 0.60
x265 [info]: tools: rd=3 psy-rd=2.00 early-skip rskip mode=1 signhide tmvp
x265 [info]: tools: b-intra strong-intra-smoothing lslices=4 deblock sao
7 frames: 1.17 fps, 103.12 kb/s

Blue_MiSfit
30th November 2020, 06:07
Try adding

--intput-csp i444

https://x265.readthedocs.io/en/master/cli.html#cmdoption-input-csp

Ceppo
30th November 2020, 09:37
Try adding

--intput-csp i444

https://x265.readthedocs.io/en/master/cli.html#cmdoption-input-csp

I tried adding --input-csp i444 but with no changes.

Boulder
30th November 2020, 12:34
Maybe you should try setting the profile accordingly with the --profile switch?

Ceppo
30th November 2020, 13:14
Maybe you should try setting the profile accordingly with the --profile switch?
With --profile main444-10 --input-csp i444 still no luck.

Boulder
30th November 2020, 21:23
The problem is in your avs2yuv call. You have to use --csp i444 as the default is i420.

Ceppo
1st December 2020, 00:50
The problem is in your avs2yuv call. You have to use --csp i444 as the default is i420.
Thank you that fixed it :)