05.06.2019, 07:28
(04.06.2019, 20:19)Selur Wrote: About your script:Hybird still can't work. Here is my script:
a. mixing Avisynth installations might cause problems, no clue whether MeGui uses a 32bit or 64bit Avisynth installation. Instead of using ffms2 from MeGui, you should use the one from "C:\Program Files\Hybrid\32bit\avisynthPlugins\ffms2.dll", same for FluxSmooth.LoadPlugin("D:\BaiduNetdiskDownload\MeGUI_r2905\MeGUI\tools\ffms\ffms2.dll")
FFVideoSource("G:\TLOTR3.ts", fpsnum=24000, fpsden=1001, threads=1, colorspace="YUV420P8")
#deinterlace
#crop
#resize
LoadPlugin("D:\BaiduNetdiskDownload\MeGUI_r2905\MeGUI\tools\avisynth_plugin\FluxSmooth.dll")
FluxSmoothST(7,7) # Medium Noise
LoadPlugin("C:\Program Files\Hybrid\32bit\avisynthPlugins\SupTitle.dll")
SupTitle("G:\TLOTR.The.Return.of.the.King.2003.Extended.BluRay.1080p.DTSES6.1.x264-CHD.sup")
b. adding 'return last' to the end of your script, will probably help with the loading of the script.
No clue about your issues in Hybrid. Would need a debug output level 6 or higher to debug. Read the sticky about the necessary steps needed to provide proper info so I can reproduce the issue.
Did a few tests with different .sup-Subtitles and video files and embedding worked fine for me with Avisynth.
Cu Selur
Ps.: Also try deinstalling MeGui and all Avisynth installations on your system.
LoadCPlugin("C:\Program Files\Hybrid\32bit\avisynthPlugins\ffms2.dll")
LoadPlugin("C:\Program Files\Hybrid\32bit\avisynthPlugins\SupTitle.dll")
FFVideoSource("D:\Aquaman.mkv", fpsnum=24000, fpsden=1001, threads=1, colorspace="YUV420P10")
SupTitle("D:\Aquaman.sup")
return last
And when I use avsInfo, it says:
C:\Users\刘晓东>"C:\Program Files\Hybrid\32bit\avsInfo.exe" "D:\BaiduNetdiskDownload\Aquaman.avs"
Import: unable to locate "鈲讓}" (try specifying a path), error=0x2
C:\Users\刘晓东>"C:\Program Files\Hybrid\32bit\avsInfo.exe" "D:\Aquaman.avs"
System.Exception: Not expecting more than one bitmap per descriptor!
在 SupCore.BluraySubtitleLoader.GetBlurayBitmapData(Stream fs, SupData curSubData, Int32& bmpPart, Int32& bmpIndex)
在 SupCore.BluraySubtitleLoader.Load(Stream fs)
在 SupCore.SubtitleFile.Load(String filename, Boolean forcedOnly, Boolean swapCbCr, SubtitleType& fileType)
在 SupCore.SupCoreMain..ctor(String filename, Double fps, Boolean forcedOnly, Boolean swapCbCr, Boolean relocate, String relocOffset)
在 SupTitle.{ctor}(SupTitle* , PClip* child, String filename, Boolean forcedOnly, Boolean swapCbCr, Boolean relocate, String relocOffset, IScriptEnvironment* env)
在 SupTitle.Create(AVSValue* , AVSValue* args, Void* user_data, IScriptEnvironment* env)
(D:\Aquaman.avs, line 4)