LoadPlugin("D:\Program Files (x86)\MeGUI\AVSWriter\dll\VSFilter.DLL")
LoadPlugin("D:\Program Files (x86)\MeGUI\AVSWriter\dll\DGDecode.DLL")
LoadPlugin("D:\Program Files (x86)\MeGUI\AVSWriter\dll\DeComb.DLL")
LoadPlugin("D:\Program Files (x86)\MeGUI\AVSWriter\dll\TomsMoComp.DLL")
LoadPlugin("D:\Program Files (x86)\MeGUI\AVSWriter\dll\Gradfun2db.DLL")
LoadPlugin("D:\Program Files (x86)\MeGUI\AVSWriter\dll\UnDot.DLL")
A=DirectShowSource("X:\视频1.avi",29.970,convertFPS=True).AssumeFPS(30000,1001).ConvertToYV12().Crop(0,0,0,0).AddBorders(0,0,0,0).LanczosResize(960,540).Sharpen(0.2).trim(240, 480)
B=DirectShowSource("X:\视频2.avi",29.970,convertFPS=True).AssumeFPS(30000,1001).ConvertToYV12().Crop(0,0,0,0).AddBorders(0,0,0,0).LanczosResize(960,540).Sharpen(0.2).trim(240, 480)
uotput=A+B
return uotput
这样可以实现2个视频裁剪一个部分然后合并
但如果我想裁剪其中某个视频的多个片段,再与另个视频的多个片段合并应该怎么写?
LoadPlugin("D:\Program Files (x86)\MeGUI\AVSWriter\dll\DGDecode.DLL")
LoadPlugin("D:\Program Files (x86)\MeGUI\AVSWriter\dll\DeComb.DLL")
LoadPlugin("D:\Program Files (x86)\MeGUI\AVSWriter\dll\TomsMoComp.DLL")
LoadPlugin("D:\Program Files (x86)\MeGUI\AVSWriter\dll\Gradfun2db.DLL")
LoadPlugin("D:\Program Files (x86)\MeGUI\AVSWriter\dll\UnDot.DLL")
A=DirectShowSource("X:\视频1.avi",29.970,convertFPS=True).AssumeFPS(30000,1001).ConvertToYV12().Crop(0,0,0,0).AddBorders(0,0,0,0).LanczosResize(960,540).Sharpen(0.2).trim(240, 480)
B=DirectShowSource("X:\视频2.avi",29.970,convertFPS=True).AssumeFPS(30000,1001).ConvertToYV12().Crop(0,0,0,0).AddBorders(0,0,0,0).LanczosResize(960,540).Sharpen(0.2).trim(240, 480)
uotput=A+B
return uotput
这样可以实现2个视频裁剪一个部分然后合并
但如果我想裁剪其中某个视频的多个片段,再与另个视频的多个片段合并应该怎么写?