Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
8th December 2015, 11:47 | #1 | Link |
Registered User
Join Date: Aug 2011
Posts: 9
|
Several script problems
Ok so I am total noob when it comes to Avisynth and I need to do just one operation. I've got the script and some advices from someone else, but it just won't work no matter what I do.
I want to use avisynth script with MeGui, I start the program, then I choose following avisynth script: LoadPlugin("C:\Program Files\Avisynth 2.5\plugins\masktools2-25.dll") LoadPlugin("C:\Program Files\Avisynth 2.5\plugins\RgTools.dll") Import("C:\Program Files\Avisynth 2.5\plugins\BlindDeHalo3_mt2.avs") BlindDeHalo3( 3,3,125 ) I've checked the path like ten times, so everything is in right place. And every time MeGui give me some error: Unable to Load "C:\Program Files\Avisynth 2.5\plugins\RgTools.dll", module not found But it's there. If I remove that line from the script, I get following error: Invalid arguments to function Blinddehalo3 If I remove that line I get this: The script's returns was not a video file. I have no idea what should I do, to recompress video file with MeGui/AviSynth using that filters... Last edited by Gieferg; 8th December 2015 at 11:49. |
8th December 2015, 13:46 | #2 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Let's start with your script. You either did not post the complete script or you did not specify a video source. Post the full script or add a video source.
Basic Avisynth tutorials can be found here. You should use the latest Avisynth version which can be downloaded here. I'm not sure about the RGTools error. You are probably missing some Microsoft runtime libraries. I'd install them in any case, here is a link to a all-in-one installer I find very useful. As for Masktools, you should use this ("masktools2-x86.zip") version and delete all other masktools DLLs from the "plugin" directory. After you fixed the above issues, run this tool and save the logs/reports ("File" -> "Save info" and "Tools" -> "Plugin info" -> "Save plugin info report") and post them here. Last edited by Groucho2004; 8th December 2015 at 15:29. |
8th December 2015, 18:11 | #3 | Link |
Registered User
Join Date: Aug 2011
Posts: 9
|
Well, in MeGui, when I add video file there's no way back to load scripts. Or maybe I just don't know what the hell am I doing because I've never use it before.
I am not familiar with avisynt scripts at all, someone just gave me this and said to load it to MeGui. the goal is - put the video (m2ts, VC1 encoded) to MeGui, add BlinDeHalo3, recompress it with that filter, and use output file for more work in Vegas which I am more familiar with. So I just need a proper script, not really interested in AviSynth when I'm done with it. Is there a simple way to do it ,or am I just wasting my time? Will try what you've just said. EDIT: rgtool doesn't work no matter what I do. Installed those librariers, still nothing. Code:
[General Info - Avisynth.dll] Version String: AviSynth 2.60, build:Mar 31 2015 [16:38:54] File Version: 2.6.0.6 Directory: C:\WINDOWS\system32 Timestamp: 2015-03-31, 06:40:58 MT Support: No [Plugin Directories] [PluginDir2_5] C:\Program Files\AviSynth 2.5\plugins [Supported Color Spaces] YUY2, Y8, YV12, YV16, YV24, YV411, RGB24, RGB32 [Internal Functions (357)] abs acos AddBorders AlignedSplice Amplify AmplifydB Animate Apply ApplyRange asin Assert AssumeBFF AssumeFieldBased AssumeFPS AssumeFrameBased AssumeSampleRate AssumeScaledFPS AssumeTFF atan atan2 audiobits audiochannels AudioDub AudioDubEx audioduration audiolength audiolengthf audiolengthhi audiolengthlo audiolengths audiorate AudioTrim AverageChromaU AverageChromaV AverageLuma AVIFileSource AVISource BicubicResize BilinearResize bitand bitchange bitchg bitclear bitclr bitlrotate bitlshift bitlshifta bitlshiftl bitlshifts bitlshiftu bitnot bitor bitrol bitror bitrrotate bitrshifta bitrshiftl bitrshifts bitrshiftu bitsal bitsar bitset bitshl bitshr bittest bittst bitxor BlackmanResize Blackness BlankClip Blur Bob Cache ceil ChangeFPS Chr ChromaUDifference ChromaVDifference ColorBars ColorBarsHD ColorKeyMask ColorYUV Compare ComplementParity ConditionalFilter ConditionalReader ConditionalSelect ContinuedDenominator ContinuedNumerator ConvertAudio ConvertAudioTo16bit ConvertAudioTo24bit ConvertAudioTo32bit ConvertAudioTo8bit ConvertAudioToFloat ConvertBackToYUY2 ConvertFPS ConvertToMono ConvertToRGB ConvertToRGB24 ConvertToRGB32 ConvertToY8 ConvertToYUY2 ConvertToYV12 ConvertToYV16 ConvertToYV24 ConvertToYV411 cos cosh Crop CropBottom Default Defined DelayAudio DeleteFrame DirectShowSource Dissolve DoubleWeave DuplicateFrame Echo EnsureVBRMP3Sync Eval Exist exp FadeIn FadeIn0 FadeIn2 FadeIO FadeIO0 FadeIO2 FadeOut FadeOut0 FadeOut2 fillstr findstr FixBrokenChromaUpsampling FixLuminance FlipHorizontal FlipVertical float floor fmod frac framecount FrameEvaluate framerate frameratedenominator frameratenumerator FreezeFrame GaussResize GeneralConvolution GetChannel GetChannels GetLeftChannel GetParity GetRightChannel Grayscale Greyscale HasAudio HasVideo height Hex hexvalue Histogram HorizontalReduceBy2 ImageReader ImageSource ImageSourceAnim ImageWriter Import Info int Interleave InternalCache Invert IsAudioFloat IsAudioInt IsBool IsClip IsFieldBased IsFloat IsFrameBased IsInt IsInterleaved IsPlanar IsRGB IsRGB24 IsRGB32 IsString IsY8 IsYUV IsYUY2 IsYV12 IsYV16 IsYV24 IsYV411 KillAudio KillVideo Lanczos4Resize LanczosResize Layer lcase leftstr Letterbox Levels Limiter Load_Stdcall_Plugin LoadCPlugin LoadPlugin LoadVFAPIPlugin LoadVirtualdubPlugin log log10 Loop LumaDifference Mask MaskHS Max Merge MergeARGB MergeChannels MergeChroma MergeLuma MergeRGB MessageClip midstr Min MixAudio MonoToStereo muldiv nop Normalize Null OpenDMLSource Ord Overlay PeculiarBlend pi PixelType PointResize pow Preroll Pulldown rand ReduceBy2 ResampleAudio ResetMask Reverse revstr RGBAdjust RGBDifference RGBDifferenceFromPrevious RGBDifferenceToNext rightstr round ScriptClip ScriptDir ScriptFile ScriptName SegmentedAVISource SegmentedDirectShowSource Select SelectEven SelectEvery SelectOdd SelectRangeEvery SeparateColumns SeparateFields SeparateRows SetMemoryMax SetPlanarLegacyAlignment SetWorkingDir Sharpen ShowAlpha ShowBlue ShowFiveVersions ShowFrameNumber ShowGreen ShowRed ShowSMPTE ShowTime sign sin SincResize sinh SkewRows SpatialSoften Spline Spline16Resize Spline36Resize Spline64Resize sqrt SSRC StackHorizontal StackVertical strcmp strcmpi String strlen Subtitle Subtract SuperEQ SwapFields SwapUV tan tanh TCPServer TCPSource TemporalSoften Time TimeStretch Tone Trim Turn180 TurnLeft TurnRight Tweak ucase UDifferenceFromPrevious UDifferenceToNext UnalignedSplice undefined UPlaneMax UPlaneMedian UPlaneMin UPlaneMinMaxDifference UToY UToY8 value VDifferenceFromPrevious VDifferenceToNext Version VersionNumber VersionString VerticalReduceBy2 VPlaneMax VPlaneMedian VPlaneMin VPlaneMinMaxDifference VToY VToY8 WAVSource Weave WeaveColumns WeaveRows width WriteFile WriteFileEnd WriteFileIf WriteFileStart YDifferenceFromPrevious YDifferenceToNext YPlaneMax YPlaneMedian YPlaneMin YPlaneMinMaxDifference YToUV [External Functions (90)] BackwardClense Clense DirectShowSource DirectShowSource_DirectShowSource ForwardClense masktools2_mt_adddiff masktools2_mt_average masktools2_mt_binarize masktools2_mt_circle masktools2_mt_clamp masktools2_mt_convolution masktools2_mt_deflate masktools2_mt_diamond masktools2_mt_edge masktools2_mt_ellipse masktools2_mt_expand masktools2_mt_freeellipse masktools2_mt_freelosange masktools2_mt_freerectangle masktools2_mt_gradient masktools2_mt_hysteresis masktools2_mt_infix masktools2_mt_inflate masktools2_mt_inpand masktools2_mt_invert masktools2_mt_logic masktools2_mt_losange masktools2_mt_lut masktools2_mt_lutf masktools2_mt_luts masktools2_mt_lutspa masktools2_mt_lutsx masktools2_mt_lutxy masktools2_mt_lutxyz masktools2_mt_makediff masktools2_mt_mappedblur masktools2_mt_merge masktools2_mt_motion masktools2_mt_polish masktools2_mt_rectangle masktools2_mt_square mt_adddiff mt_average mt_binarize mt_circle mt_clamp mt_convolution mt_deflate mt_diamond mt_edge mt_ellipse mt_expand mt_freeellipse mt_freelosange mt_freerectangle mt_gradient mt_hysteresis mt_infix mt_inflate mt_inpand mt_invert mt_logic mt_losange mt_lut mt_lutf mt_luts mt_lutspa mt_lutsx mt_lutxy mt_lutxyz mt_makediff mt_mappedblur mt_merge mt_motion mt_polish mt_rectangle mt_square RemoveGrain Repair RgTools_BackwardClense RgTools_Clense RgTools_ForwardClense RgTools_RemoveGrain RgTools_Repair RgTools_VerticalCleaner TCPDeliver_TCPServer TCPDeliver_TCPSource TCPServer TCPSource VerticalCleaner Code:
C:\Program Files\AviSynth 2.5\plugins\DirectShowSource.dll Timestamp: 2015-04-19, 04:03:50 MD5 Hash: 329AC5DE00B2DBD479BA5C0D44E9E3FD DLL Dependencies: KERNEL32.DLL, MSVCRT.dll, ole32.dll, OLEAUT32.dll, QUARTZ.dll, USER32.dll, WINMM.dll Linker version: 6.0 Plugin version: AVS 2.6 Plugin FILEVERSION: 2.6.0.6 PRODUCTVERSION: 2.6.0.6 Language: Język neutralny Comments: Homepage: http://www.avisynth.org CompanyName: The Public FileDescription: Avisynth DirectShow Reader pluggin FileVersion: 2, 6, 0, 3 ProductVersion: 2, 6, 0, 6 InternalName: DirectShowSource 2.6.0 LegalCopyright: © 2000-2015 Ben Rudiak-Gould and others LegalTrademarks: OriginalFilename: DirectShowSource.dll PrivateBuild: ProductName: Avisynth 2.6 SpecialBuild: C:\Program Files\AviSynth 2.5\plugins\ffavisynth.dll Timestamp: 2011-07-19, 18:06:26 MD5 Hash: 09DCE0128078910BE1CCF192658F3C70 DLL Dependencies: KERNEL32.dll, ole32.dll Linker version: 10.0 Plugin version: AVS 2.5 C-Plugin No VersionInfo available C:\Program Files\AviSynth 2.5\plugins\masktools2.dll Timestamp: 2013-12-20, 09:01:59 MD5 Hash: 05370E2F53AA48DFCED0E54B0C0F458E DLL Dependencies: KERNEL32.dll, MSVCP110.dll, MSVCR110.dll Linker version: 11.0 Plugin version: AVS 2.6 Plugin FILEVERSION: 2.1.0.0 PRODUCTVERSION: 2.1.0.0 Language: Angielski (Stany Zjednoczone) Comments: CompanyName: FileDescription: Masktools Dynamic Link Library FileVersion: 2.1.0.0 ProductVersion: 2.1.0.0 InternalName: Masktools 2.0 LegalCopyright: Copyright (C) 2013 LegalTrademarks: OriginalFilename: masktools2.dll PrivateBuild: ProductName: Masktools Dynamic Link Library SpecialBuild: C:\Program Files\AviSynth 2.5\plugins\RgTools.dll Timestamp: 2013-11-30, 10:39:45 MD5 Hash: D2DABDCEAE0595C3250011A58134BAD1 DLL Dependencies: KERNEL32.dll, MSVCR110.dll Linker version: 11.0 Plugin version: AVS 2.6 Plugin No VersionInfo available C:\Program Files\AviSynth 2.5\plugins\TCPDeliver.dll Timestamp: 2015-04-19, 04:04:06 MD5 Hash: 089598CAF1180644C34A9E77AF0D28AF DLL Dependencies: KERNEL32.DLL, ADVAPI32.dll, COMCTL32.dll, comdlg32.dll, GDI32.dll, SHELL32.dll, USER32.dll, WINSPOOL.DRV, WS2_32.dll Linker version: 6.0 Plugin version: AVS 2.6 Plugin FILEVERSION: 2.6.0.6 PRODUCTVERSION: 2.6.0.6 Language: Język neutralny Comments: Homepage: http://www.avisynth.org CompanyName: avisynth.org FileDescription: Avisynth TCPDeliver pluggin FileVersion: 2, 6, 0, 7 ProductVersion: 2, 6, 0, 6 InternalName: TCPDeliver LegalCopyright: © 2004-2015, Klaus Post. LegalTrademarks: Released under GPL. OriginalFilename: TCPDeliver.dll PrivateBuild: ProductName: AviSynth 2.6 TCPDeliver SpecialBuild: [Plugin Load Errors] Error loading plugin "ffavisynth.dll": Plugin C:\Program Files\AviSynth 2.5\plugins\ffavisynth.dll is not an AviSynth 2.6 or 2.5 plugin. Note: "ffavisynth.dll" is a C-plugin (v2.5). It cannot be auto-loaded. Please refer to the documentation of this plugin. Last edited by Gieferg; 8th December 2015 at 19:02. |
8th December 2015, 19:10 | #4 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
I think there is an option in Megui to use its "own" version of Avisynth so that may be the problem. I don't use GUIs and can't help you with problems associated with them.
Post your issue in the megui bug thread. Edit: as you can see in the log, RGTools is loaded and its functions are available. There is nothing wrong with your Avisynth installation. You should however remove the "ffavisynth.dll" from the auto-load directory. It's not supposed to be there. Last edited by Groucho2004; 8th December 2015 at 19:17. |
8th December 2015, 19:42 | #6 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
What target format do you want? There is the "Simple x264 Launcher" of which I heard good things. You might give that a try.
|
8th December 2015, 21:02 | #10 | Link |
Registered User
Join Date: Dec 2011
Posts: 354
|
As Groucho said I assume you didn't specify your video.
First download LSmash from here Extract it and copy LSmashSource.dll to "C:\Program Files\Avisynth 2.5\plugins\" folder from extracted Avisynth directory Log in previous post says you installed Avisynth 2.6. So you shouldn't use masktools2-25. Delete that from plugin directory and download this masktools2, extract and copy to plugin folder. Ok preperation done. Open notepad and copy this. Code:
lwlibavvideoSource("your source path here") BlindDeHalo3(3,3,125) Save it as whatevername.avs. It's .avs not .txt Then open whatevername.avs with GUIs like Simple x264 launcher, Staxrip, VirtualDub or megui. Then encode. Since it is intermediary file, you should choose lossless formats, as mentioned by Groucho. |
Thread Tools | Search this Thread |
Display Modes | |
|
|