test.vpy代码如下:
from vapoursynth import core video = core.ffms2.Source(source=r'F:\VapourSynthEditor-r17-64bit\[A.I.R.nesSub&KoeiSub&Airota][Yojouhan][YANCED][BDRIP][1080P][AVC_AAC].mkv') video = core.std.Transpose(video) video.set_output()这个代码在vsedit里面运行正常
然后批处理代码如下(和test.vpy在同一目录下,vspipe.exe以及x264.exe也在):
vspipe --y4m test.vpy - | x264 --demuxer y4m - --output test.mkv这个在cmd里面运行就会报错了:
x264 [error]: could not open output file 'test.mkv' Error: fwrite() call failed when writing frame: 0, plane: 0, line: 3, errno: 22 Output 8 frames in 0.19 seconds (42.74 fps)最终也没有任何生成文件,不知道是哪里出了问题