User User name Password  
   
Tuesday 28.1.2025 / 10:55
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > digital video > blu-ray > avisynth filter on virtualdub error
Show topics
 
Forums
Forums
Avisynth Filter on Virtualdub Error
  Jump to:
 
Posted Message
ofscreen
Newbie
_
21. February 2012 @ 08:33 _ Link to this message    Send private message to this user   
I tried to encode a video using VirtualDub with Avisynth filter but I got an error. I open video on VD (VirtualDub) and then run the script on it File<Run script but I got error:
Error during script execution at line 1, column 21: Variable 'LoadPlugin' not found
LoadPlugin<!>(E:\filter.dll)

Here is the script I made

LoadPlugin(E:\filter.dll)
AviSource("D:\myfile.avi")
Filter(20, 0, 0)

Can anyone help me about this? I dont know also how to use the filter with .dll file

Thanks in advance
Advertisement
_
__
AfterDawn Addict
_
21. February 2012 @ 10:44 _ Link to this message    Send private message to this user   
LoadPlugin(E:\filter.dll)

perhaps should be LoadPlugin("E:\filter.dll") with the quotes.
What does 'filter.dll' do?
ofscreen
Newbie
_
23. February 2012 @ 04:02 _ Link to this message    Send private message to this user   
Originally posted by attar:
LoadPlugin(E:\filter.dll)

perhaps should be LoadPlugin("E:\filter.dll") with the quotes.
What does 'filter.dll' do?
I changed it but still the same error :(

LoadPlugin("E:\AddGrain.dll")
AviSource("E:\movie.avi")
AddGrain (20, 0, 0)
AfterDawn Addict
_
23. February 2012 @ 05:58 _ Link to this message    Send private message to this user   
I copied movie.avi and the addgrain.dll file (from the zip) to e:\
Copied your script and opened it with Windows Media Player and VirtualDub ok.

http://avisynth.org/warpenterprises/fil...ll_20030618.zip
Advertisement
_
__
 
_
Newbie
_
22. March 2012 @ 03:54 _ Link to this message    Send private message to this user   
Originally posted by ofscreen:
Originally posted by attar:
LoadPlugin(E:\filter.dll)

perhaps should be LoadPlugin("E:\filter.dll") with the quotes.
What does 'filter.dll' do?
I changed it but still the same error :(

LoadPlugin("E:\AddGrain.dll")
AviSource("E:\movie.avi")
AddGrain (20, 0, 0)
Looks like you are not doing the YV12 conversion on the source before running the plugin. That is my guess. Or you do not have AVIsynth 2.5. Those are know limitations posted in the documentation you had in the zip.

LoadPlugin("E:\AddGrain.dll")
A = AviSource("E:\movie.avi")
ConvertToYV12(A)
AddGrain (20, 0, 0)

I can't remember if you need to create the variable or not. Maybe this

LoadPlugin("E:\AddGrain.dll")
AviSource("E:\movie.avi")
ConvertToYV12()
AddGrain (20, 0, 0)

to use Virtualdub plugins later you might have to convert it back to rgb32 or 24

ConvertToRGB()

This message has been edited since posting. Last time this message was edited on 22. March 2012 @ 04:02

afterdawn.com > forums > digital video > blu-ray > avisynth filter on virtualdub error
 

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | AfterDawn in Norwegian | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2025 by AfterDawn Ltd.

  IDG TechNetwork