msg7086 / x265-Yuuki-Asuna

A fork of x265. A modded version.
GNU General Public License v2.0
174 stars 35 forks source link

Problem when encoding #10

Closed ChrAraya closed 3 years ago

ChrAraya commented 4 years ago

Hi!

I recently download this fork and when i want to try encode some .mkv the output is always corrupted i don't know why

this is the result mpv-shot0038

This is the Output

D:\>x265-gcc-10-lite --input test.mkv --fps 55.300 --input-res 1440x1080 --profile main10 --preset slow --tune vcb-s/vcbs --ref 6 --bframes 8 --crf 22 --output testx265.mkv
yuv  [info]: 1440x1080 fps 55300/1000 i420p8 frames 0 - 161 of 162
x265 [info]: Using preset slow & tune vcb-s/vcbs
mkv  [info]: output file: testx265.mkv
x265 [info]: HEVC encoder version 3.3+3-g8f8e332f1+29
x265 [info]: build info [Windows][GCC 9.3.0][64 bit] Yuuki 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main 10 profile, Level-4.1 (Main tier)
x265 [info]: Thread pool created using 12 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 3 / wpp(34 rows)
x265 [info]: Coding QT: max CU size, min CU size : 32 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : star / 25 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias  : 1 / 360 / 40 / 5.00
x265 [info]: Cb/Cr QP Offset                     : -2 / -2
x265 [info]: Lookahead / bframes / badapt        : 25 / 8 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 1
x265 [info]: References / ref-limit  cu / depth  : 6 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 0.8 / 8 / 1
x265 [info]: Rate Control / qCompress            : CRF-22.0 / 0.60
x265 [info]: tools: limit-modes rd=4 psy-rd=1.80 rdoq=2 psy-rdoq=1.00 rskip
x265 [info]: tools: signhide tmvp lslices=4 deblock(tC=-1:B=-1)
x265 [info]: frame I:      2, Avg QP:32.31  kb/s: 497055.87
x265 [info]: frame P:     19, Avg QP:32.04  kb/s: 501926.11
x265 [info]: frame B:    141, Avg QP:33.86  kb/s: 484052.22
x265 [info]: Weighted P-Frames: Y:31.6% UV:21.1%
x265 [info]: Weighted B-Frames: Y:24.8% UV:19.1%
x265 [info]: consecutive B-frames: 9.5% 0.0% 0.0% 0.0% 0.0% 0.0% 14.3% 23.8% 52.4%

encoded 162 frames in 68.72s (2.36 fps), 486309.10 kb/s, Avg QP:33.63

Can anyone help me ?

msg7086 commented 4 years ago

Your input is an invalid YUV file.

If you want to feed MKV as input, use the one that supports MKV as input, such as the FULL binary.