View Full Version : help needed for a new script editor
stax76
14th November 2003, 02:46
there is soon a new script editor to be released which is derived from the DVX script editor. The editor is a effort from various AviSynth and DVX contributors. The application features many changes and improvements over the DVX editor which is somehow limited due to deep integration. I would like to ask for contributions for the translation and the filter definitions. For both are visual editors included which should be easy to use, there are no programming skills required, some AviSynth knowledge would be helpful though. Even a hour work would help us a lot which would be a translation, the filter definitions take a lot time but again even a few filters would help us. Every contributor gets credits of course. Like DVX this program is build with the .NET framework which is required to run it. Anybody interested please download the application, use the translation and filter definition editors to create and edit translation files and filter description files and send them to dolemite456 at yahoo.de
Thanks,
Dolemite
http://home.tiscalinet.de/pva2divx/AVSEdit.rar
edit: .NET Framework v1.1 can be downloaded here:
http://www.microsoft.com/downloads/details.aspx?FamilyId=262D25E3-F589-4842-8157-034D1E7CF3A3&displaylang=en (~24 MB)
Wilbert
14th November 2003, 10:10
I would like to ask for contributions for the translation and the filter definitions.
1) For which of the languages do you have enough translators (in principle)?
2) Are the xml-flies the filter definitions?
stax76
14th November 2003, 16:17
For which of the languages do you have enough translators (in principle)?
I don't know because jernst is managing the help file, translating the script editor is a matter of a "few" minutes
Are the xml-flies the filter definitions?
yes, not it's only hip these days, it's also perfect suited for this type of task. I improved the format because I'm more familiar with XML now. The format can be easily changed and improved without breaking compatibility, it holds already pretty much everything what makes a filter
I've uploaded it again fixing a bug in the filter description editor introduced while porting. Also I added a variant type for filters like animate and a paramer list option for filters like animate and source filters that support multible files. Also I made the auto complete features filter list and the parameter info in case sensitive
tuco
14th November 2003, 23:05
I tried out your program, pretty neat! How do you create a template/profile?
stax76
14th November 2003, 23:10
above the listbox is a textbox, you enter the name of the template and click save or save selection. Loading can be done with a doubleclick
jernst
14th November 2003, 23:32
Originally posted by Dolemite
I don't know because jernst is managing the help file, translating the script editor is a matter of a "few" minutes
We have active translators for the following languages but help is always appreciated.
- french (3)
- german (1)
- dutch (1)
- greek (1)
We had also once italian and polish translators, hope they are still around.
@Dolemite
You can use your source parser from AVSEdit against DVX languages files and re-use the same files for DVX and AVSEdit isn't it ? (the extra dictionnary entries will be stripped out from the DVX languages files and this would give you already the translations for most AVSEdit entries). This way we don't make twice the work.
Edit: testing the new build I see that you already use DVX's translations.
Suggestion: Some filters have float parameters that have to be within a range. You should add a min max field like in integers values.
stax76
15th November 2003, 00:12
You can use your source parser from AVSEdit against DVX languages files and re-use the same files for DVX and AVSEdit isn't it ? (the extra dictionnary entries will be stripped out from the DVX languages files and this would give you already the translations for most AVSEdit entries). This way we don't make twice the work.
Edit: testing the new build I see that you already use DVX's translations.
that's exactly what I did, first I used the find obsolte entries option to delete the obsolete entries manually. After a few minutes I noticed I don't make much progress so I added a line code that removed all obsolete entries
Suggestion: Some filters have float parameters that have to be within a range. You should add a min max field like in integers values
I can do this with little afford I think (that's the kind of suggestions I like most:D)
r6d2
15th November 2003, 01:54
Originally posted by Dolemite
I would like to ask for contributions for the translation and the filter definitions. For both are visual editors included which should be easy to use, there are no programming skills required, some AviSynth knowledge would be helpful though.
I volunteer for Spanish, but don't have .NET so I guess that's why the tool doesn't run. I'm downloading it now.
It seems the language files can be edited by hand though, can they?
stax76
15th November 2003, 03:08
Spanish AVSEdit translation would be great :) . Language files can be tranlated by hand if your editor can handle the used text encoding (UTF8) but it's hopefully easier to use the included translation editor
r6d2
17th November 2003, 02:57
OK, got AVSEdit it running. You said no programming skills required, but where the hell are the visual editors included? Are they an option of a menu? Separate tools?
You are challenging my computer skills. :)
jernst
17th November 2003, 11:03
They are under Extras->Options, then you'll find a "translation editor" button.
regards,
stax76
17th November 2003, 18:25
r6d2:
in the main menu of the translation editor you find a menu item "new language file" where you can create a new language file. After you've created a new language file the only thing left to to is to switch to the language you want to translate. The textbox on top is the english one and the one on the bottom is where you translate. Pressing next switches to the next entry
all:
I can make a short description how to edit/add filters in the filter description editor if somebody want to add a few filters
stax76
21st November 2003, 02:17
I've added the following filter descriptions (docu -> quick reference -> alphabetic view)
AddBorders
Amplify / AmplifydB
Animate
AssumeFrameBased / AssumeFieldBased
AssumeTFF / AssumeBFF
AssumeSampleRate
AudioDub
AVISource / OpenDMLSource / AVIFileSource / WAVSource
BlankClip / Blackness
Blur / Sharpen
Bob
ColorBars
ColorYUV
ComplementParity
Compare
ConvertToRGB / ConvertToYUY2 / ConvertToYV12 / ConvertBackToYUY2 / ConvertToRGB32 / ConvertToRGB24
ConvertAudioTo8bit / ConvertAudioTo16bit / ConvertAudioTo24bit / ConvertAudioTo32bit / ConvertAudioToFloat
ConvertToMono
Crop / CropBottom
volunteers start by d
here is a guide how to add/edit filter descriptions in case somebody is interested to volunteer
-
start AVSEdit
go to main menu -> extras -> options -> filter description editor
select the core plugin in the plugins listbox
rightclick on the filters listbox and select new in the contextmenu to add a new filter
enter the name of the filter under name
select the return type of the filter function
select the category of the filter, can be found in the docu under overview -> filters
enter the filename of the filter docu
enter the colorspaces the filter supports, can be found in the docu under overview -> quick reference
enter the filter description
rightclick on the parameters listbox and select new in the contextmenu to add a new parameter
enter the name of the parameter under name
select the type of the parameter. For Integer and Float parameters enter the minimum, maximum and step value. Here is an example
min 0
max 255
step 5
will produce a list 0, 5, 10, 15, 20, 25 ...
the step value should be high enough to get a list below ~55 items
string parameters can have items for instance a pixel_type parameter has the colorspaces as possible items
enter the default value of the parameter in case it's a named/optional parameter. Leave it blank if the value is not given by the docu
check the optional checkbox if it's a optional/named parameter for instance most clip parameters are optional. Leave it unchecked when it's not clear in the docu
check the parameter list checkbox if it's list parameter. For instance source filters with support for multible source files are list parameters
enter the parameter description
continue with further parameters
continue with further filters
when closing the editor you will be ask to save. The filter descriptions
send the file core.xml located in the filters directory to dolemite456(at)yahoo.de
tips: if there are a couple of very similar filters like ConvertToRGB / ConvertToYUY2 / ConvertToYV12 / ConvertBackToYUY2 / ConvertToRGB32 / ConvertToRGB24 use notepad to edit the xml file by hand
the plugin authors know their plugins best so the best would be they provide their plugin with a XML file otherwise volunteers have to create description files if the docu allows it
I'm not aware of bugs or missing features so please let me know if I miss something
what's new in this build: various small changes
http://home.tiscalinet.de/pva2divx/AVSEdit.rar
MrTibs
21st November 2003, 18:02
OK...what do I need to actually run the progam?
stax76
21st November 2003, 18:13
AviSynth and .NET, in case it crashes please download again, there were a couple of globalization bugs in culteres using a dot as decimal seperator
Wilbert
21st November 2003, 22:57
I added a link to .NET Framework in your first post :)
An updated chm file can be found here:
http://www.geocities.com/wilbertdijkhof/english.chm
stax76
21st November 2003, 23:35
Thanks, at quick_ref.htm it's a little bit strange, when I hover the mouse over some of the links, the text has the some color than the background but others are ok.
What I like most about the Windows HTML Help is it loads so much faster than normal html in my Bloatzilla. I wouldn't mind if this would be a .NET or Java app but the beast is entirely coded with C++ which can be considered as a Ferrari language speedwise.
Wilbert
22nd November 2003, 00:10
Thanks, at quick_ref.htm it's a little bit strange, when I hover the mouse over some of the links, the text has the some color than the background but others are ok.
Like Histogram and SeparateFields. Really weird! I haven't found the cause yet :(
r6d2
9th December 2003, 03:05
@Dolemite, Spanish translation is ready for menus and the like. See your mailbox.
stax76
9th December 2003, 22:05
gracias mucho:thanks:
@Wilbert: as usual I have trouble with cvs, hope I'll manage it soon, jernst is helping me
HelpSlip
6th March 2005, 04:17
how do you add a Help File to the Filter List?
ive gone thru & added a couple plugins but havent been able to figure out how i could link the html(or the like) help file to the corresponding filter, so when you right clk on the filter in the filters tab then choose "help" it will come up.
can i just link it to the distributed help/readme file that comes w/ the filter via the xml or does it have to be physicly added to the chm file?
i guess im just curious & hope i didnt miss a thread that may have covered this in my search
Wilbert
6th March 2005, 13:28
You have to "add" it to the chm file.
But you could also send the html file to me (after changing it; meaning the usage of the stylesheet avisynth.css (located in AviSynth25\Docs); examples can be found in the AviSynth25\Docs\english\externalfilters folder).
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.