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 25th March 2003, 00:39   #1  |  Link
akabob
Registered User
 
Join Date: Dec 2002
Location: lalternative planet
Posts: 70
AvisynthEditor 0.3 beta

AvisynthEditor 0.3 beta

# .def files replaced with DVX .xml files (great work Dolemite/Seewen !)
# 'Save As' bug should be fixed
# Comment/Uncomment block (need some fixes)
# Recent files
# Filter description/help window
# Filter Treeview modes: Plugins and Categories
# commandline args:
# -i: input filename
# -ot: opener title (for external call)
# -oh: opener text handle (use Spy++ to test)
# Example:
# "C:\Program files\AvisynthEditor\AvisynthEditor.exe" -i "C:\tmp\script.avs" -ot "VirtualDubMod" -oh 001059C
# -> Start AvisynthEditor, edit script then click "Back to VirtualDubMod".

@sh0dan: I still have problem with TAB key, I'll try to find a way to handle your request

have fun !!

Screenshot: http://www.lalternative.org/img/AvisynthEditor.gif
Download: http://www.lalternative.org

Best regards,
__________________
akabob
mailto:akabob@lalternative.org
x2real - AvisynthSwitcher - AvisynthEditor
http://www.lalternative.org
http://www.autorv9.fr.st

Last edited by akabob; 25th March 2003 at 09:18.
akabob is offline   Reply With Quote
Old 25th March 2003, 00:59   #2  |  Link
Bidoche
Avisynth 3.0 Developer
 
Join Date: Jan 2002
Location: France
Posts: 639
Quote:
# .def files replaced with DVX .xml files (great work Dolemite!)
!!!!!
Since we are considering to have 3.0 export its filters info as xml (you will probably like it ) can you tell me more ?
Bidoche is offline   Reply With Quote
Old 25th March 2003, 04:14   #3  |  Link
DDogg
Retired, but still around
 
DDogg's Avatar
 
Join Date: Oct 2001
Location: Lone Star
Posts: 3,058
Problem report:

XP/SP1 - Right click on avisynth script > select open with avisyntheditor > avisyntheditor opens, but with a blank script

Old problems tested:
XP/SP1 "Save AS" problem seems fixed
DDogg is offline   Reply With Quote
Old 25th March 2003, 04:36   #4  |  Link
stax76
Registered User
 
Join Date: Jun 2002
Posts: 6,465
Quote:
great work Dolemite!
the credit belongs to seewen, he made the descriptions. Maybe we could motivate the plugin and AviSynth developers to provide their binaries along with a XML filter description file. Some of the original documentation is unclear or incomplete.

Quote:
Since we are considering to have 3.0 export its filters info as xml (you will probably like it ) can you tell me more ?
DVX is a .NET based Gordian Knot similar tool which has a AviSynth editor similar to akabob's editor. The AviSynth editor has a filter dialog for easy parameter editing with contols incl. tooltips for each parameter. It works in two ways, a function can be added to the editor with the filter dialog (optional parameters won't be added if the default value wasn't changed) and selecting a function in the editor will update the filter dialog. Each plugin has a xml file located like the plugin in the plugin dir. The core filters are handled like a plugin in the file Core.xml. DVX has a easy to use editor to create and edit the filter description files.
stax76 is offline   Reply With Quote
Old 25th March 2003, 08:48   #5  |  Link
akabob
Registered User
 
Join Date: Dec 2002
Location: lalternative planet
Posts: 70
DDogg: as AvisynthEditor now takes commandline args, it's necessary to add '-i ' flag to open a file.
This should be the case if you register .avs files from the AvisynthEditor\Options menu. (will update registry) Then, double-click on an .avs to open it.

@Dolemite: This would be great that developpers include .xml files. But it's quite simple to create such ones.
Maybe Doom9 community could help us ?
__________________
akabob
mailto:akabob@lalternative.org
x2real - AvisynthSwitcher - AvisynthEditor
http://www.lalternative.org
http://www.autorv9.fr.st
akabob is offline   Reply With Quote
Old 25th March 2003, 14:32   #6  |  Link
DDogg
Retired, but still around
 
DDogg's Avatar
 
Join Date: Oct 2001
Location: Lone Star
Posts: 3,058
Quote:
This should be the case if you register .avs files from the AvisynthEditor\Options menu
Problem solved. Interestingly, even if you then unregister avs files, the files will still autoload with right click, "open with".
DDogg is offline   Reply With Quote
Old 25th March 2003, 15:08   #7  |  Link
stax76
Registered User
 
Join Date: Jun 2002
Posts: 6,465
Quote:
This would be great that developpers include .xml files. But it's quite simple to create such ones.
Maybe Doom9 community could help us ?
alright, developers who want to provide their dll together with a xml description can use the editor build in in DVX, Extras -> AviSynth filter editor. After they edited their plugin they can find the xml file in the plugin dir

As far as I know a lot plugin authors adopted Donald Graft's way to describe the plugin in a htm file which is very good. Maybe if popular authors start to provide a XML file others will follow them

users should coordinate with seewen, I will ask him how they can contact him
stax76 is offline   Reply With Quote
Old 25th March 2003, 15:13   #8  |  Link
akabob
Registered User
 
Join Date: Dec 2002
Location: lalternative planet
Posts: 70
Next AvisynthEditor release may also include an xmldef editor
__________________
akabob
mailto:akabob@lalternative.org
x2real - AvisynthSwitcher - AvisynthEditor
http://www.lalternative.org
http://www.autorv9.fr.st
akabob is offline   Reply With Quote
Old 31st March 2003, 19:56   #9  |  Link
Kurosu
Registered User
 
Join Date: Sep 2002
Location: France
Posts: 426
Quote:
Posted by Dolemite
alright, developers who want to provide their dll together with a xml description can use the editor build in in DVX, Extras -> AviSynth filter editor. After they edited their plugin they can find the xml file in the plugin dir
Let me sum up... 25MBs for a xml editor? I think I'll wait for akabob's tool (I haven't either checked required downloads for his tool).

Quote:
Posted by Akabob
@Dolemite: This would be great that developpers include .xml files. But it's quite simple to create such ones.
Could you (or Dolemite) link to an example; I fear that I miss some tag definitions, and that I won't be able to check if it meets the requirements, making the whole thing useless. Besides, if Avisynth 3 is to include/export filters' description, I bet some heavy modifications will be needed.

Nonetheless, the concept behind all this is really a good idea, for instance with a graphical building of the filter chain (a la Khoros or Graphedit, depending on your taste

EDIT
Quote:
Posted by Akabob
Screenshot: http://www.lalternative.org/img/AvisynthEditor.gif

(but I don't recall having those details in the parameters, yet it makes more sense)

Which makes me think that whenever possible, plugin authors should include a ressource file to specify the dll version, so that it can be retrieved (by a program or by a user using an old version

Last edited by Kurosu; 31st March 2003 at 20:28.
Kurosu is offline   Reply With Quote
Old 31st March 2003, 21:57   #10  |  Link
bill_baroud
Registered User
 
Join Date: Feb 2002
Posts: 407
funny, the download link made my computer reboot ..... i was at 46% of a 3fps encode ^^;


but i like the editor =)
thanks anyway
bill_baroud is offline   Reply With Quote
Old 31st March 2003, 22:43   #11  |  Link
stax76
Registered User
 
Join Date: Jun 2002
Posts: 6,465
Quote:
Let me sum up... 25MBs for a xml editor?
usually I try to ignore .NET critic because I heard it more than thousand times and I'm getting a little tired but it's not easy and I don't mind because .NET is not easy to understand. DOTNET programs are ten to twenty times smaller then normal programs so the number one contra argument is actually one of countless pro arguments
stax76 is offline   Reply With Quote
Old 31st March 2003, 23:14   #12  |  Link
Kurosu
Registered User
 
Join Date: Sep 2002
Location: France
Posts: 426
Quote:
so the number one contra argument is actually one of countless pro arguments
True, yet it would be the only program to use it on my system. You have to agree that, as I have no other use of it else (people certainly have) that a plugin's xml property page editor, it's even more absurd. That's why I asked you later in my post to link an example file, so as to give you my support.
Kurosu is offline   Reply With Quote
Old 31st March 2003, 23:40   #13  |  Link
stax76
Registered User
 
Join Date: Jun 2002
Posts: 6,465
@Kurosu

AvisynthEditor is VB6/COM based and about 1 MB, I can upload the XML files but you probably found the XML files in the AvisynthEditor directory already, haven't you?
stax76 is offline   Reply With Quote
Old 1st April 2003, 00:22   #14  |  Link
Kurosu
Registered User
 
Join Date: Sep 2002
Location: France
Posts: 426
Quote:
you probably found the XML files in the AvisynthEditor directory already, haven't you?
No, I didn't either download this package; I guess it should hold sufficient examples for my need, thanks for the suggestion.
Kurosu is offline   Reply With Quote
Old 2nd April 2003, 10:16   #15  |  Link
Belgabor
VDubMod Devel
 
Belgabor's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 824
Re: AvisynthEditor 0.3 beta

Quote:
Originally posted by akabob

# -ot: opener title (for external call)
# -oh: opener text handle (use Spy++ to test)
# Example:
# "C:\Program files\AvisynthEditor\AvisynthEditor.exe" -i "C:\tmp\script.avs" -ot "VirtualDubMod" -oh 001059C
# -> Start AvisynthEditor, edit script then click "Back to VirtualDubMod".
This is quite a hassle. Have a look at 'virtualdubmod_messages.h'

It will probably not work atm from external apps due to the way memory allocation/deallocation is handled, but I will try to change that for 1.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 April 2003, 10:29   #16  |  Link
akabob
Registered User
 
Join Date: Dec 2002
Location: lalternative planet
Posts: 70
In fact, using -oh with VirtualDubMod is just an example (the first I thought about lol), I haven't tested it yet.
I've only tested -oh with NotePad and Scite (www.scintilla.org)
__________________
akabob
mailto:akabob@lalternative.org
x2real - AvisynthSwitcher - AvisynthEditor
http://www.lalternative.org
http://www.autorv9.fr.st
akabob is offline   Reply With Quote
Old 15th April 2003, 08:08   #17  |  Link
Jeff D
Registered User
 
Join Date: Feb 2003
Posts: 152
I've been looking around at the editor and it's cool.

I'm a novice with avisynth, I can use it for my needs. I have a couple of questions.

I've played around with adding some of the core function calls into the core xml file. And XML does suck to write by hand... is there some editor plugin for the rules descriptors?

Any plans to add features for colorspace requirements or did I miss that? For example special rules for parameters is specific color spaces, like YU12/YUY2 even boundries for clips and such? Plugins which only work in specific colorspaces, etc.

Is the helpfile tag suppose to link you to the helpfile on the avisynth.org webpage correct?

Lastly, how is this suppose to be used?
# Resize: 1:1 | 1:33(4:3) | 1:66 | 1:77 | 1:85 | 2:35 | Free w/keep AR

I couldn't understand exactly what this is for. Is it ment to do the same as a filter macro function, ResizeTo-PreserveAspect-AddBorder, etc?

Thanks!

Last edited by Jeff D; 15th April 2003 at 08:13.
Jeff D is offline   Reply With Quote
Old 15th April 2003, 08:27   #18  |  Link
stax76
Registered User
 
Join Date: Jun 2002
Posts: 6,465
Quote:
And XML does suck to write by hand... is there some editor plugin for the rules descriptors?
the xml description files were created by seewen with DVX, DVX features a visual editor. Would be great if you could send me your additions

Last edited by stax76; 15th April 2003 at 08:31.
stax76 is offline   Reply With Quote
Old 15th April 2003, 09:09   #19  |  Link
jorel
Guest
 
Posts: n/a
hi Dolemite

akabob posted
"External XMLPlugin Editor is almost complete and should be released as a single file later this week"

in AvisynthEditor 0.4 thread:

http://forum.doom9.org/showthread.php?s=&threadid=51110

!
  Reply With Quote
Old 15th April 2003, 09:12   #20  |  Link
Jeff D
Registered User
 
Join Date: Feb 2003
Posts: 152
I didn't do much yet, I was just playing around, only like 3 calls.

If you want I'll do more while while I'm waiting on the PC to do other things.

Although I wasn't sure about what to do for parameter specs, for example I tried AddBorders which had the requirements of even pixel values for left and right when in YU12/YUY2 colorspaces.

The tag for step didn't seem to make any change in the function description. Is that tag like the help tag and not yet fully supported? Or am I doing something wrong?

BTW, I really like the reload defs option!
Jeff D 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 20:09.


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