我的AVS
V1=DirectShowSource("VTS_01_1.VOB",ConvertFPS=true,fps=23.976,audio=false).Crop(6,2,-4,0).Lanczosresize(640,480)
V2=DirectShowSource("VTS_01_2.VOB",ConvertFPS=true,fps=23.976,audio=false).Crop(6,2,-4,0).Lanczosresize(640,480)
Video=V1+V2
Final=Video.textsub("1_a.ass")
Return Final
只要导入MEGUI,就报出下面两条错误
Your AviSynth clip is is the wrong colorspace, 1610612740.
The colorspace should by YV12. Do you want me to add ConvertToYV12() to the end of your script?
Your AviSynth clip has the following problem:
AviSynth clip is in 1610612740 not in YV12, even though ConvertToYV12() has been appended.
Continue anyway?
然后虽然可以压制,但马上就报错停止。
这是压制参数
-pass 2 --bitrate 1600 --stats ".stats" --ref 8 --mixed-refs --bframes 3 --b-pyramid --b-rdo --bime --weightb --direct auto --filter 1,1 --subme 6 --trellis 1 --analyse all --8x8dct --vbv-maxrate 25000 --me umh --merange 12 --threads auto
这是错误信息
Looking for job processor for job...
Processor found!
------------------------------------------------------
Starting job job2-1 at 19:29:59
Starting preprocessing of job...
Preprocessing finished!
encoder commandline:
--pass 1 --bitrate 1600 --stats "F:\001.stats" --bframes 3 --b-pyramid --direct auto --filter 1,1 --subme 1 --analyse none --vbv-maxrate 25000 --me dia --merange 12 --threads auto --thread-input --progress --output NUL "F:\001.avs"
successfully started encoding
Processing ended at 19:30:01
----------------------
Log for job job2-1
avis [error]: unsupported input format (YUY2)
x264 [error]: could not open input file 'F:\001.avs'
----------------------
The current job contains errors. Skipping chained jobs
End of log for job2-1
-------------------------------------------------------
但是,只要我没有
V2=DirectShowSource("VTS_01_2.VOB",ConvertFPS=true,fps=23.976,audio=false).Crop(6,2,-4,0).Lanczosresize(640,480)
Video=V1+V2
这部分,只有一个DirectShowSource就可以正常压制。
而AVS可以正常播放,用XVID也可以正常压制,就是264出现错误。不知道这是什么原因造成的?