View unanswered posts | View active topics It is currently November 21st, 2017, 12:02 pm



Reply to topic  [ 4 posts ] 
 SupTitle.dll probably ok, but causes serious errors 
Author Message

Joined: September 29th, 2016, 8:02 pm
Posts: 2
Post SupTitle.dll probably ok, but causes serious errors
Hey,
I've been using SupTitle for quite a while in my Avisynth scripts. I load these with MeGUI for encoding and for quick testing I also play them with Media Player Classic Home Cinema. A few days ago, things went south when I use AVS scripts with SupTitle. I am very sure, that I didn't change anything in that direction. It just broke on its own.

At first, MeGUI showed fatal errors after a script with a SupTitle() call was loaded as input file. Loading worked fine, but opening any tools from the menu including settings and updater as well as x264 encoder configuration displayed fatal errors. A "MeGUI.resources.dll" and "MessageBoxLibEx.dll" or its dependencies could not be found.

A fresh MeGUI installation in a new directory did not fix it. So MeGUI was probably fine. Reinstallation of the .NET Framework (v4.6.2) didn't help either. I even set up a virtual machine with Win7 x64, SP1, all Updates and .NET 4. Basically just all that what is required for MeGUI and SupTitle to run. Guess what, same the problems occure there, too.

Another encoding GUI is called "Simple x264 Launcher" and handles everything fine. I take that as proof, that SupTitle is ok.

Yesterday I made a backup copy of my MeGUI folder and then pulled all MeGUI updates from their development server. With those updates I was getting a SEHException directly upon opening a script with a SupTitle(). The exception originated from SupTitle. Something goes wrong, when the DLL is loaded. So, I restored my MeGUI setup from backup but the exception followed me! Now, all applications that use those scripts (with SupTitle() call) fail to load them. I get this exception everywhere:

Image

I am just amazed, how all this goes wrong and I don't have the slightest clue about the why. I am very sure, that the software components and SupTitle are ok. Something strange is happening on my system. Especially, because the problem persists between different installation paths and setups. And these errors only occur when SupTitle is involved. So I hope, you have an idea what could be wrong here?

Cheers,
Andi


September 29th, 2016, 10:23 pm
Profile

Joined: September 29th, 2016, 8:02 pm
Posts: 2
Post Re: SupTitle.dll maybe broken
Regarding my issue, I also opened a bug report at MeGUI.
https://sourceforge.net/p/megui/bugs/850/

After all, SupTitle might be broken after all, as it doesn't seem to work with AviSynth 2.6.

@ZachSaw:
Can you provide an updated build of SupTitle, that links with AviSynth 2.6 and other dependencies (e.g. current .NET,...) ? I'd be interested, if this would make SupTitle work again.


October 3rd, 2016, 6:18 am
Profile

Joined: June 22nd, 2016, 1:13 am
Posts: 1
Post Re: SupTitle.dll probably ok, but causes serious errors
Image
Image

Suddenly since the latest version of Megui
The same problem occurs.
How can I fix this?

I am very embarrassed.
Someone please tell me how !!

I also use sup subtitles.
3d movie, watching animation !!

my log..
-[Error] Unhandled error
--[Information] [2017-04-08 오후 11:33:54] Exception message: Could not load file or assembly 'MeGUI.resources, Version=1.0.2624.0, Culture=ko-KR, PublicKeyToken=null' or one of its dependencies. 지정된 파일을 찾을 수 없습니다.
-[NoImage] at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
-[NoImage] at System.Reflection.RuntimeAssembly.InternalGetSatelliteAssembly(String name, CultureInfo culture, Version version, Boolean throwOnFileNotFound, StackCrawlMark& stackMark)
-[NoImage] at System.Resources.ManifestBasedResourceGroveler.GetSatelliteAssembly(CultureInfo lookForCulture, StackCrawlMark& stackMark)
-[NoImage] at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
-[NoImage] at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
-[NoImage] at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
-[NoImage] at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
-[NoImage] at System.Resources.ResourceManager.GetObject(String name)
-[NoImage] at MeGUI.VideoPlayer.InitializeComponent()
-[NoImage] at MeGUI.VideoPlayer..ctor()
-[NoImage] at MeGUI.VideoEncodingComponent.openAvisynthScript(String fileName)
-[NoImage] at MeGUI.VideoEncodingComponent.VideoInput_DoubleClick(Object sender, EventArgs e)
-[NoImage] at MeGUI.VideoEncodingComponent.videopreview_Click(Object sender, EventArgs e)
-[NoImage] at System.Windows.Forms.Control.OnClick(EventArgs e)
-[NoImage] at System.Windows.Forms.Button.OnClick(EventArgs e)
-[NoImage] at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
-[NoImage] at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
-[NoImage] at System.Windows.Forms.Control.WndProc(Message& m)
-[NoImage] at System.Windows.Forms.ButtonBase.WndProc(Message& m)
-[NoImage] at System.Windows.Forms.Button.WndProc(Message& m)
-[NoImage] at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
-[NoImage] at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
-[NoImage] at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--[Information] [2017-04-08 오후 11:33:54] Stacktrace
-[Error] [2017-04-08 오후 11:33:54] Exception message: Could not load file or assembly 'file:///C:\Program Files (x86)\AviSynth 2.5\plugins\suptitle_v2.0.7_x86\MeGUI.resources.dll' or one of its dependencies. 지정된 파일을 찾을 수 없습니다.
-[NoImage] at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
-[NoImage] at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
-[NoImage] at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
-[NoImage] at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
-[NoImage] at System.Reflection.Assembly.UnsafeLoadFrom(String assemblyFile)
-[NoImage] at AssemblyResolver.ResolveEventHandler(Object sender, ResolveEventArgs args)
-[NoImage] at System.AppDomain.OnAssemblyResolveEvent(RuntimeAssembly assembly, String assemblyFullName)
-[Error] [2017-04-08 오후 11:33:54] Stacktrace
-[Error] [2017-04-08 오후 11:33:54] Inner exception: null
--[Error] [2017-04-08 오후 11:33:54] Inner exception

my avs

SetWorkingDir("C:\Program Files (x86)\AviSynth 2.5\plugins")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\suptitle_v2.0.7_x86\SupTitle.dll")

source=DirectShowSource("C:\Users\Admin\Desktop\미키 3d\TEST_00.mkv",audio=false).sharpen(0.5)

sub2d3d(source, format=1, depth=20)

function sub2d3d(clip src, int "format", int "depth")
{
sub="C:\Users\Admin\Desktop\미키 3d\Korean.sup"
orgw=src.width
orgh=src.height
tabh=orgh/2
sbsw=orgw/2
(format==1) ? stackhorizontal(crop(src,0,0,-sbsw,0).lanczosresize(orgw,orgh)
\.addborders(0,0,depth,0).SupTitle(sub).crop(0,0,-depth,0),
\crop(src,sbsw,0,0,0).lanczosresize(orgw,orgh)
\.addborders(depth,0,0,0).SupTitle(sub).crop(depth,0,0,0))
\ : stackvertical(crop(src,0,0,0,-tabh).lanczosresize(orgw,orgh)
\.addborders(0,0,depth,0).SupTitle(sub).crop(0,0,-depth,0),
\crop(src,0,tabh,0,0).lanczosresize(orgw,orgh)
\.addborders(depth,0,0,0).SupTitle(sub).crop(depth,0,0,0))
return lanczosresize(last,orgw,orgh)
}


someboby help me!!!
now megui 2624 problem..


April 9th, 2017, 1:45 am
Profile

Joined: July 14th, 2017, 5:50 am
Posts: 1
Post Re: SupTitle.dll probably ok, but causes serious errors
Avisynth 2.58 and megui 2525 work perfectly with suptitle.

Make sure you turn off automatic updates within megui.

I copied and pasted all the tools from my updated 2624 megui into the 2525 tools directory. Everything works smoothly.

I can further explain if needed.


July 14th, 2017, 5:58 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB.