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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 1st March 2003, 21:03   #1  |  Link
akabob
Registered User
 
Join Date: Dec 2002
Location: lalternative planet
Posts: 70
AvisynthSwitcher 0.1

AvisynthSwitcher 0.2

# switch between different avisynth versions
# versions 2.0.7 and 2.5 beta are provided
# let's say you wanna add avisynth 2.0.6 :
# > create a new folder 'AvisynthSwitcher\versions\Avisynth 2.0.6'
# > put avisynth.dll 2.0.6 into

http://www.lalternative.org/x2real

have fun !
__________________
akabob
mailto:akabob@lalternative.org
x2real - AvisynthSwitcher - AvisynthEditor
http://www.lalternative.org
http://www.autorv9.fr.st

Last edited by akabob; 2nd March 2003 at 14:02.
akabob is offline   Reply With Quote
Old 1st March 2003, 21:40   #2  |  Link
Dreassica
Registered User
 
Join Date: May 2002
Posts: 384
i get a Error 75: path/file access error when i try to switch between the 2.

nm forgot to quit vdub -_-

Last edited by Dreassica; 1st March 2003 at 21:43.
Dreassica is offline   Reply With Quote
Old 1st March 2003, 21:56   #3  |  Link
Kurosu
Registered User
 
Join Date: Sep 2002
Location: France
Posts: 427
The LoadPluginEx.dll in this package enables to use both avs2.0x and 2.5 plugins in a script. I haven't checked if it's AVS2.5 only, or if it can also run under AVS2.0x

It simply supercedes the LoadPlugin() function, therefore you have to load it before you load any avs2.0x plugin.

Example:
Code:
loadplugin("F:\Plugins\LoadPluginEx.dll")
function lp(string filter)
{
  loadplugin("F:\Plugins\" + filter + ".dll")
}

lp("mpegdecoder")
lp("VSFilter")
lp("tprivtc")
lp("dustv5")

function filter(string num)
{
  mpegsource("F:\Video_TS\"+num+".vob")
  DoubleWeave()
  tprivtc(num+".tpr")
  crop(8,2,704,476)
  Lanczosresize(512,384)
  ConvertToYUY2()
  FaeryDust()
  ConvertToYV12()
  SwapUV()
  textsub("F:\Video_TS\"+num+".ssa")
  SwapUV()
}

filter("87")+filter("89")
There's a possible speed hit for using an avs2.0x plugin because of the conversions needed to adapt avs2.0x structures to 2.5 environment.

@Akabob
Vobsub's author is Gabest, not "genest"
Anyway, that sure is a usefull switcher, even between different avisynth builds.

Last edited by Kurosu; 1st March 2003 at 22:01.
Kurosu is offline   Reply With Quote
Old 1st March 2003, 23:40   #4  |  Link
jonny
Registered User
 
jonny's Avatar
 
Join Date: Feb 2002
Location: Italy
Posts: 876
I'm running an avisynth file via mediaplayer.
I'm running your app in the same time.
When i press SWITCH! the only result i have is that the version number disappear in "Selected version:", and no error messages.

I'm running on Win2000 SP3
jonny is offline   Reply With Quote
Old 1st March 2003, 23:53   #5  |  Link
akabob
Registered User
 
Join Date: Dec 2002
Location: lalternative planet
Posts: 70
I made a simple Version() script, open it with MediaPlayer, got the following error:
#error: 75 File/Path access error

AvisynthSwitcher replace avisynth.dll into system(32) folder, the standard installation folder.
Maybe you didn't install avisynth is that folder.
I'll try to find Avisynth path into registry too.
__________________
akabob
mailto:akabob@lalternative.org
x2real - AvisynthSwitcher - AvisynthEditor
http://www.lalternative.org
http://www.autorv9.fr.st
akabob is offline   Reply With Quote
Old 2nd March 2003, 00:00   #6  |  Link
jonny
Registered User
 
jonny's Avatar
 
Join Date: Feb 2002
Location: Italy
Posts: 876
I have avisynth.dll installed on
Code:
c:\winnt\system32
Your app works perfectly if avisynth.dll isn't locked, when it's locked i obtain exactly what i've previously written

EDIT: i have Win98SE installed in the same drive, this could be the problem imo

Last edited by jonny; 2nd March 2003 at 00:04.
jonny is offline   Reply With Quote
Old 2nd March 2003, 00:09   #7  |  Link
akabob
Registered User
 
Join Date: Dec 2002
Location: lalternative planet
Posts: 70
that's weird !
Error catcher should catch it ! After switching, I refresh detected one. If nothing change, it meens that files was NOT replaced and registred.

I could check if old and new version are the same and alert user that version was not changed.
__________________
akabob
mailto:akabob@lalternative.org
x2real - AvisynthSwitcher - AvisynthEditor
http://www.lalternative.org
http://www.autorv9.fr.st
akabob is offline   Reply With Quote
Old 2nd March 2003, 00:22   #8  |  Link
jonny
Registered User
 
jonny's Avatar
 
Join Date: Feb 2002
Location: Italy
Posts: 876
Another strange thing, i've switched to 98SE and this time the file doesn't get replaced (are you using fixed path for the system dir?)
jonny is offline   Reply With Quote
Old 2nd March 2003, 00:28   #9  |  Link
akabob
Registered User
 
Join Date: Dec 2002
Location: lalternative planet
Posts: 70
hmmm...
I check if system is win32 or not and put files into system or system32.

This is the wrong way.. I should check if OS is NT or not.
Will change that tomorrow++
now it's time 4 sleeping
__________________
akabob
mailto:akabob@lalternative.org
x2real - AvisynthSwitcher - AvisynthEditor
http://www.lalternative.org
http://www.autorv9.fr.st
akabob is offline   Reply With Quote
Old 2nd March 2003, 20:49   #10  |  Link
Belgabor
VDubMod Devel
 
Belgabor's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 824
Quote:
Originally posted by Kurosu
The LoadPluginEx.dll in this package enables to use both avs2.0x and 2.5 plugins in a script. I haven't checked if it's AVS2.5 only, or if it can also run under AVS2.0x
This thing seems to be the work of a C++ pro, stroke of a genius! The C++ stuff is way beyond my understanding... But it seems to be made to work with both versions and wraps every plugin loaded via it, so you'll have a (probably small) performance hit for every function you load after it, no matter if its made for 2.0 or 2.5.
__________________
VirtualDubMod [SourceForge : Tracker/DL] (FAQ, Some rules)
Be sure to also download the latest DLL package or get the all inclusive package!
Before you post questions, please read the VirtualDub and/or VirtualDubMod FAQ.
If you have a bug report or feature request for VirtualDubMod, be sure to read the rules first.
We give 100% of your donations to the Open Source community
Belgabor is offline   Reply With Quote
Old 2nd March 2003, 23:02   #11  |  Link
jorel
Guest
 
Posts: n/a
akabob,
i can't get the new AvisynthSwitcher 0.2 in the link:

http://www.lalternative.org/x2real/


i only see the 0.1 version!
any help,please?
  Reply With Quote
Old 2nd March 2003, 23:53   #12  |  Link
Dreassica
Registered User
 
Join Date: May 2002
Posts: 384
h3e forgot to chance the text on the site, the download IS the 0.2 version.
just download it and u'll see.
Dreassica is offline   Reply With Quote
Old 2nd March 2003, 23:58   #13  |  Link
jorel
Guest
 
Posts: n/a
Quote:
Originally posted by Dreassica
h3e forgot to chance the text on the site, the download IS the 0.2 version.
just download it and u'll see.
ok,thanks!
  Reply With Quote
Old 3rd March 2003, 00:04   #14  |  Link
jonny
Registered User
 
jonny's Avatar
 
Join Date: Feb 2002
Location: Italy
Posts: 876
@akabob:
0.2 correct all the problems, works on my crappy double system and the error is now reported correctly when the file is locked
jonny is offline   Reply With Quote
Old 3rd March 2003, 08:56   #15  |  Link
akabob
Registered User
 
Join Date: Dec 2002
Location: lalternative planet
Posts: 70
cool thx for testing...
__________________
akabob
mailto:akabob@lalternative.org
x2real - AvisynthSwitcher - AvisynthEditor
http://www.lalternative.org
http://www.autorv9.fr.st
akabob is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 00:53.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.