Errors in loading avs script

Don't know how to do something? Having issues running the program? Please post here.

Errors in loading avs script

Unread postby Joe Gibken » Tue May 02, 2017 5:25 pm

I keep getting the error ffms2.dll is not an Avisynth 2.5 plugin:
Image

I'm using 2.6 ffms2 with Avisynth 2.6. Should I downgrade both?

When I have this in my Avisynth script:
Code: Select all
LoadPlugin ("C:\Program Files\AviSynth 2.5\plugins\ffms2.dll")
LoadPlugin ("C:\Program Files\VSFilter\VSFilter.dll")

V = FFVideoSource("C:\path\to\video.mkv")
A = FFAudioSource("C:\path\to\video.mkv")
AudioDub (V, A)
#DirectShowSource("C:\path\to\video.mkv")

VobSub("C:\path\to\DVDjpsubs.sub")

ConvertToYV12(matrix="Rec601", interlaced=false)


Also getting the error, there is no function named DirectShowSource:
Image

when I try this:
Code: Select all
#LoadPlugin ("C:\Program Files\AviSynth 2.5\plugins\ffms2.dll")
LoadPlugin ("C:\Program Files\VSFilter\VSFilter.dll")

#V = FFVideoSource("C:\path\to\video.mkv")
#A = FFAudioSource("C:\path\to\video.mkv")
#AudioDub (V, A)
DirectShowSource("C:\path\to\video.mkv")

VobSub("C:\path\to\DVDjpsubs.sub")

ConvertToYV12(matrix="Rec601", interlaced=false)


Am I missing something? I'm using Aegisub 3.2.2 32bit in Windows 7.

Any help would be appreciated.
Joe Gibken
Comic Sans MS
Comic Sans MS
 
Posts: 4
Joined: Sat Aug 16, 2014 9:07 am

Re: Errors in loading avs script

Unread postby Joe Gibken » Tue May 02, 2017 5:57 pm

Solved it by using an older FFMS2 2.20 version dll file - https://github.com/FFMS/ffms2/releases/tag/2.20

And also adding this at the Avisynth script file (instead of YV12)
Code: Select all
ConverToRGB()
Joe Gibken
Comic Sans MS
Comic Sans MS
 
Posts: 4
Joined: Sat Aug 16, 2014 9:07 am

Re: Errors in loading avs script

Unread postby jfs » Tue May 02, 2017 7:57 pm

Aegisub ships with its own version of Avisynth, although I forget why exactly we do that.

However, it means that Aegisub may end up using a different version of Avisynth from what you have installed yourself. If you want to use a system Avisynth of your own, instead of the one Aegisub ships, just delete these files from the Aegisub install folder:
Code: Select all
avisynth.dll
devil.dll
DirectShowSource.dll
Do not PM me asking for help with Aegisub, Automation, karaoke or anything like that, I won't reply.
Ask your questions in the public forums. Use the Search function, somebody probably asked the same question before.
All rights reserved to call you insults if you ask poorly thought out or redundant questions.
Experimenting is free and is a great way to learn things.
User avatar
jfs
Developer
 
Posts: 2981
Joined: Mon Dec 19, 2005 8:18 pm
Location: Denmark

Re: Errors in loading avs script

Unread postby Joe Gibken » Tue May 02, 2017 9:38 pm

Thanks for the response jfs.

But I would like to ask - what would be the effect/s if the three dll files you've mentioned are deleted? Would that mean that I would have to use my own Avisynth every time? Or should those files that are deleted should be replaced with the newer versions? Though I don't know where to get the devil.dll file.

Cheers!
Joe Gibken
Comic Sans MS
Comic Sans MS
 
Posts: 4
Joined: Sat Aug 16, 2014 9:07 am

Re: Errors in loading avs script

Unread postby jfs » Wed May 03, 2017 2:15 pm

If you have installed Avisynth on your machine yourself, you can delete those 3 files and Aegisub will use the installation you made. You don't need to replace the files, just make sure Avisynth is installed normally. If something breaks, you can always reinstall Aegisub and they will be restored.

devil.dll is included with Avisynth, it's used to read/write various still image file formats by the ImageReader/ImageSource and ImageWriter filters.
Do not PM me asking for help with Aegisub, Automation, karaoke or anything like that, I won't reply.
Ask your questions in the public forums. Use the Search function, somebody probably asked the same question before.
All rights reserved to call you insults if you ask poorly thought out or redundant questions.
Experimenting is free and is a great way to learn things.
User avatar
jfs
Developer
 
Posts: 2981
Joined: Mon Dec 19, 2005 8:18 pm
Location: Denmark


Return to Aegisub Help

Who is online

Users browsing this forum: No registered users and 1 guest