Log in

View Full Version : AvisynthEditor 0.3 beta


akabob
25th March 2003, 00:39
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,

Bidoche
25th March 2003, 00:59
# .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 ?

DDogg
25th March 2003, 04:14
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 :)

stax76
25th March 2003, 04:36
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.


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.

akabob
25th March 2003, 08:48
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 ?

DDogg
25th March 2003, 14:32
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".

stax76
25th March 2003, 15:08
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

akabob
25th March 2003, 15:13
Next AvisynthEditor release may also include an xmldef editor :D

Kurosu
31st March 2003, 19:56
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).


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

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

:D
(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

bill_baroud
31st March 2003, 21:57
funny, the download link made my computer reboot ..... i was at 46% of a 3fps encode ^^;


but i like the editor =)
thanks anyway

stax76
31st March 2003, 22:43
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

Kurosu
31st March 2003, 23:14
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.

stax76
31st March 2003, 23:40
@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? :)

Kurosu
1st April 2003, 00:22
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.

Belgabor
2nd April 2003, 10:16
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.

akabob
2nd April 2003, 10:29
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) :rolleyes:

Jeff D
15th April 2003, 08:08
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!

stax76
15th April 2003, 08:27
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

jorel
15th April 2003, 09:09
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

!

Jeff D
15th April 2003, 09:12
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!

akabob
15th April 2003, 11:38
Almost 90% of XML parameters are currently supported by help.
I need to discuss with Sh0dan, Dolemite and avisynth plugins developers to define final XML structure that would be complete enough.

Let's continue here with 0.4 release ;)
http://forum.doom9.org/showthread.php?s=&threadid=51110

trolltuning
8th May 2004, 20:18
when I try to download with explorer I get a message "can't download the server returned extended information

If I try an FTP program I get a message 'denied'