![x264 出现此错误:x264_encoder_open 失败,输入文件参数是否错误?](https://linux22.com/image/1593499/x264%20%E5%87%BA%E7%8E%B0%E6%AD%A4%E9%94%99%E8%AF%AF%EF%BC%9Ax264_encoder_open%20%E5%A4%B1%E8%B4%A5%EF%BC%8C%E8%BE%93%E5%85%A5%E6%96%87%E4%BB%B6%E5%8F%82%E6%95%B0%E6%98%AF%E5%90%A6%E9%94%99%E8%AF%AF%EF%BC%9F.png)
我在使用 x264 时遇到了一些问题。我正在使用x264 t_mod_新版本 r2970. x264 仍然给出这个错误:
x264 [错误]:无法打开文件‘0’
x264 [错误]:x264_encoder_open 失败
完整输出:
x264_x64.exe --ref=5 --deblock=1:-3:-3 --analyse=0x3:0x113 --trellis=2 --cqm=0 --deadzone=6 --no-fast-pskip --chroma-qp-offset=-3 --threads=21 --lookahead-threads=1 --nr=0 --no-dct-decimate --bframes=2 --b-pyramid=none --b-adapt=2 --b-bias=0 --direct=spatial --no-weightb --weightp=2 --keyint=46 --min-keyint=23 --scenecut=99 --rc-lookahead=40 --no-mbtree --crf=20.0000 --qcomp=0.60 --qpmin=0:0:0 --qpmax=50:50:50 --qpstep=2 --vbv-maxrate=20000 --vbv-bufsize=25000 --crf-max=0.0 --nal-hrd=none --ipratio=1.10 --pbratio=1.10 --aq-sensitivity=10.00 -o "Ep. 01 - The Boy in the Iceberg-[720p].mp4" "Ep. 01 - The Boy in the Iceberg-[720p].mkv"
mp4 [info]: audio muxing feature is disabled.
ffms [info]:
Format : matroska,webm
Codec : h264
PixFmt : yuv420p
Framerate : 30000/1001
Timebase : 1000/1000000
Duration : 0:23:29
ffms [info]: 960x720p 1:1 @ 30000/1001 fps (vfr)
ffms [info]: color matrix: undef
mp4 [info]: audio muxing feature is disabled.
x264 [error]: can't open file '0'
x264 [error]: x264_encoder_open failed
mp4 [error]: failed to finish movie.
x264 [info]: ended at Wed Jun 05 10:44:11 2019
x264 [info]: encoding duration 433256:44:12