头像
zengjieliang
帖子: 17
注册时间: 2016-12-20 22:26

求助,VapourSynth导入ts文件出错

以前一直用avs处理ts文件,这次想试试ts文件的,结果发现用vs editor预览的时候虽然没问题,而且可以送压x265,但是送压x264的时候就会出错

代码: 全选

x264 [error]: invalid preset 'y4m'
[mpeg2video @ 00000260a12cf2c0] ignoring pic cod ext after 0
[mpeg2video @ 00000260a12ced00] ignoring pic cod ext after 0
Error: fwrite() call failed when writing frame: 0, plane: 0, line: 2, errno: 22
Output 27 frames in 1.39 seconds (19.41 fps)
送压的参数是

代码: 全选

"D:\Program Files\VapourSynth\core64\vspipe.exe" --y4m “E:\BaiduYunDownload\te\VapourSynth Python Script.vpy” - | "D:\bianma\encoders\x264.exe" --demuxer y4m --preset y4m --output “E:\bianma\te.264”
vs文档是

代码: 全选

import vapoursynth as vs
import sys
import havsfunc as haf
import mvsfunc as mvf
import muvsfunc as muf

core = vs.get_core(threads=24)
core.max_cache_size=16000

clip = r"GOD EATER 2015-08-16 TOKYO MX 1[Rei_TS].ts"
clip = core.ffms2.Source(clip)

clip=core.vivtc.VFM(clip,order=1)
clip=core.vivtc.VDecimate(clip,cycle=5)

clip.set_output()
► 显示剧情透露 不懂,不会,不知道
cylx
帖子: 32
注册时间: 2017-03-03 21:47

Re: 求助,VapourSynth导入ts文件出错

报错不是很明显么,preset参数写错了,还有少了个表示管道输入的"-"吧。

回到 “VapourSynth”