meitp365
帖子: 8
注册时间: 2020-05-12 13:24

用x265压制视频时报错求助!

我是压制视频的新手,在用x265压制视频时报错如下:
y4m [info]: 3840x2160 fps 30000/1001 i420p10 frames 0 - 5228 of 5229
x265 [info]: Using preset medium & tune none
raw [info]: output file: hevc
x265 [info]: HEVC encoder version 3.3+3-g8f8e332f1+29
x265 [info]: build info [Windows][GCC 9.3.0][64 bit] Yuuki 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [error]: uhd-bd: bit depth, chroma subsample, source picture type must be 10, 4:2:0, progressive
x265 [error]: failed to open encoder
Error: fwrite() call failed when writing frame: 2, plane: 0, errno: 32
Output 11 frames in 0.34 seconds (32.20 fps)

vpy脚本:
import vapoursynth as vs
import mvsfunc as mvf
import havsfunc as haf
import vsTAAmbk as taa
import CSMOD as cs
import nnedi3_resample as nnrs
import adjust
core = vs.get_core(threads=8)
core.max_cache_size = 8000

core = vs.get_core()
src = core.lsmas.LibavSMASHSource(r"C:\00001.mP4", threads=1)
src.set_output()

vs压制命令行模板:
"vspipe.exe" --y4m "CESHI.vpy" - | "x265-gcc-08-lite.exe" --y4m --level-idc 51 --crf 19.0 --uhd-bd --no-sao --me 3 --subme 3 --merange 57 --no-rect --no-amp --ref 4 --weightb --keyint 24 --min-keyint 1 --aq-mode 1 --aq-strength 1.0 --rd 4 --psy-rd 2.0 --psy-rdoq 1.0 --rdoq-level 2 --vbv-bufsize 50000 --vbv-maxrate 70000 --no-open-gop --rc-lookahead 80 --qcomp 0.60 --deblock -1:-1 --colorprim bt2020 --colormatrix bt2020nc --hdr --master-display G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(40000000,50) --max-cll 1132,923 --max-luma 4000 --no-strong-intra-smoothing --input-depth 10 --opts 0 --stylish --output "hevc" –

使用的软件:
python-3.8.2-embed-amd64
VapourSynth64-Portable-R49
x265-Yuuki-3.3+3-g8f8e332f1+29
VapourSynthEditor-r19-64bit
请各位大佬给予指导!谢谢!!
ATWoOA
帖子: 28
注册时间: 2016-08-02 19:55

Re: 用x265压制视频时报错求助!

不是告诉你了:x265 [error]: uhd-bd: bit depth, chroma subsample, source picture type must be 10, 4:2:0, progressive
x265-gcc-08-lite.exe是8bit的
meitp365
帖子: 8
注册时间: 2020-05-12 13:24

Re: 用x265压制视频时报错求助!

谢谢大佬的指导!
我将x265-gcc-08-lite.exe改为x265-gcc-10-lite.exe后可以压制完成了。但出现了一个警告两个错误:
x265 [warning]: uhd-bd: Turning on repeat-headers
x265 [error]: uhd-bd: transfer characteristics supported are BT.709, BT.2020-10 or SMPTE ST.2084
x265 [error]: uhd-bd: Disabled
如何解决?请大佬再次给予指导!谢谢!谢谢!!!!

回到 “VapourSynth”