PDA

View Full Version : new AVSEdit test build (1.1.1.1 alpha)


stax76
17th January 2005, 00:36
1.1.1.1 alpha (2005-01-16)

parameter help in parameter grid enabled again. I don't know why this was disabled.

fixed bug in KernelDeint filter description

fixed a bug where a param info popup won't close before another one pops up

added support for relative paths. This required to create temporary files in the directory of the script, they will be deleted however when the application exits

settings are now handled in user locations

30% faster startup

400% faster Preview and Crop Dialog


http://www.planetdvb.net/AVSEdit_1.1.1.1.exe

with yv12 the video loads slow, process Explorer shows it loads xvid dll's, is there something faster?

mkanel
17th January 2005, 12:31
Stax,

With version 1.1.1.1 alpha I'm not able to preview even a simple avs script with nothing more than the avisource line. I get a message that says in part: "An unhandled exception has occured in your application...Exception has been thrown by the target of invocation." I am able to preview "version".

Also the user defined functions, AVSIs, from the Avisynth plugin directory are no longer showing up in the filter list.

Everything works fine when I reinstall 1.1.0.0

Here are the details of the preview error:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Native handle is 0
Parameter name: handle
at System.Drawing.Image.SetNativeImage(IntPtr handle)
at System.Drawing.Bitmap.FromGDIplus(IntPtr handle)
--- End of inner exception stack trace ---
at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean isBinderDefault, Assembly caller, Boolean verifyAccess)
at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean verifyAccess)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at VFW.AVIFile.GetBMPFromDib2(IntPtr pDIB)
at VFW.AVIFile.Draw(Graphics g)
at VFW.AVIFile.Draw()
at AVSEdit.fPreview.pVideo_Paint(Object sender, PaintEventArgs e)
at System.Windows.Forms.Control.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
AVSEdit
Assembly Version: 1.1.1.1
Win32 Version: 1.1.1.1
CodeBase: file:///C:/Program%20Files/AVSEdit/AVSEdit.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.3052.4
CodeBase: file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
ICSharpCode.TextEditor
Assembly Version: 2.0.1738.17375
Win32 Version: 2.0.1738.17375
CodeBase: file:///C:/Program%20Files/AVSEdit/ICSharpCode.TextEditor.DLL
----------------------------------------
DockingSuite
Assembly Version: 0.9.2.0
Win32 Version: 0.9.2.0
CodeBase: file:///C:/Program%20Files/AVSEdit/DockingSuite.DLL
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
AVIFile
Assembly Version: 1.0.1843.271
Win32 Version: 1.0.1843.271
CodeBase: file:///C:/Program%20Files/AVSEdit/AVIFile.DLL
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.

Thanks for the continuing development of AVSEdit. If you need any more details let me know. Mike

stax76
17th January 2005, 13:04
I don't know what could couse the problem with the user defined functions. I didn't make any changes in that area but I'll try to figure it out.

The crash is because of the new very fast drawing code. It uses kind of a hack (reflection) to access private parts of the .NET framework and it uses GDI+. Microsoft recommends to use GDI+ (until Avalon hits the scene ;)). If you don't have Windows XP or Windows 2003 than you might need to install GDI+ (gdiplus.dll) if no other application did that before. Normally if a file is missing a FileNotFound exception is raised. Maybe the new code requires full user rights, in that case I have to make a fallback function and use the old slow drawing code.

http://www.microsoft.com/downloads/details.aspx?FamilyId=6A63AB9C-DF12-4D41-933C-BE590FEAA05A&displaylang=en

mkanel
18th January 2005, 13:57
Stax,

The problem I found is with my system, I tried AVSEdit 1.1.1.1 in a different computer and both the preview and the user defined functions work as in AVSEdit 1.1.0.0. They're both Windows XP, I don't know why the earlier version works but not the latter version, on my primary computer. The gdiplus.dll is there on the problem system.

Anyway, thanks again for the continued development and for your quick reply.

Mike.

stax76
18th January 2005, 14:43
the old drawing code doesn't work on all systems either, that's how I started working on it, a DVX user made a bug report. There were a few systems where it didn't work. For that user the new code works so if I make a fallback function it works for a few users more. Of course I would like to have this working on all systems and fast. It's a little bit problematic since it don't happen on my systems, bugs every programmer loves. The problem could relate to many things like resolution, color depth, color space of the source, graphic cards and driver, maybe a different system library version, maybe other reasons. If a couple of people post a description of their system maybe the reason can be encircled.

mkanel
18th January 2005, 15:36
If a couple of people post a description of their system maybe the reason can be encircled.

Here's mine to start:

PIII 933Mhz
Radeon 7200 AGP 32mb, Driver: ATI Technologies Inc, version: 6.14.10.6462
Resolution 1024x768 16 bit.
Color space of soure is YUY2

Windows XP Pro SP2, Net framework SP1.

I don't know what a system library version is. If more details are useful let me know.

mkanel
18th January 2005, 16:28
AVSEdit 1.1.1.1 preview works for me if I add "ConvertToRGB" to the avs script, it doesn't work with YUY2. 1.1.0.0 works with YUY2. Neither works with YV12 even though VDMod does work with YV12. Hmmm.

The user defined functions are showing up now. I upgraded to .net framework SP1, I don't know if that fixed it or if a reboot fixed some weird random error.

stax76
19th January 2005, 01:17
I hope it works now :).

http://www.planetdvb.net/AVSEdit_1.1.1.2.exe

AVSEdit don't has build in YV12 support, for YV12 XviD should be installed, it loads fast :), if it don't please ensure you have this reg key:


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32]
"VIDC.YV12"="xvidvfw.dll"

mkanel
19th January 2005, 05:28
I hope it works now .

I'll test it on my problem machine as soon as I can. Unfortunately I won't be home until the weekend. I'll let you know then if it works for me. Thanks Stax. Mike.

Socio
21st January 2005, 16:05
This little program is great!

Is there a way to capture preview frames for comparison purposes?

Leak
21st January 2005, 17:52
Is there a way to directly jump to a frame in the preview window, either by frame number or a time position? That's the feature I miss most compared to VirtualDubMod... :)

np: Autechre - Second Bad Vilbel (Anvil Vapre)

mkanel
24th January 2005, 16:05
I hope it works now .

You fixed it! All the colorspaces that I use are now viewable in AVSEdit's preview window.

Thanks Stax.

stax76
24th January 2005, 17:02
Socio & Leak:

I'll add those shortly, seems important and likely won't require much effort :), thanks

mkanel:

great and thanks for your support

azsd
26th January 2005, 16:37
Hi,I am azsd that reported the bug at sf.net

new 1.1.1.1 version still hang when run

when trace into it stoped with this hint

System.Xml.Schema.XmlSchemaComplexType..cctor

stax76
29th January 2005, 02:26
@azsd

I have no idea, can you please tell me about your system?



1.1.1.3 alpha (2005-01-29)

added key (S) in preview to save the current frame to a file.

added key (C) in preview to copy the current frame to the clipboard.

added key (G) in preview to open a new "Go To Frame" dialog which accepts frame number or time.

fixed negative values when cropping with mouse

crop dialog, trim and filter preview work now if functions are called before the selection but defined after the selection

gdiplus library included (another MB)

http://www.planetdvb.net/AVSEdit_1.1.1.3.exe

Socio
29th January 2005, 02:30
Awesome Stax!

Thanks!

azsd
29th January 2005, 20:10
Hi,stax

the attached picture can't displayed (may the fourm limited it?)

that dialog look like this:
========================================================

Just-In-Time Debugging

An exception 'System.ExecutionEngineException' has occurred in AVSEdit.exe.

&Possible Debuggers:

New Instance of Visual Studio .NET 2003

Do you want to debug using the selected debugger?

&Yes &No

=========================================================

My system:
Windows Server 2003 std(all hotfix applied)
P4 2.4,512DDR

avisynth 2.5.5 + avsedit 1.0,works fine
avisynth 2.5.5 + avsedit 1.1.0.0/1.1.1.1 hang
avisyhth 2.5.6 + avsedit 1.1.1.3 the same results

stax76
30th January 2005, 16:38
Which .NET version does AVSEdit exucute? If you got more than one versions you can find out with "Process Explorer".

Socio
2nd February 2005, 20:34
The new version is has become an indispensable tool for me;
Using the frame capture makes it real easy to tweak scripts; no more trial & error guess work!


Great job Stax!

Ebobtron
8th February 2005, 16:30
Using 1.1.1.3 and I use it a lot.

Seems better

Save button on tool bar never greys out.

I would love an external preview button on the tool bar.

Thanks great tool.

Arachnotron
8th February 2005, 17:13
Hi stax,

Running 1.1.1.3 on Windows XP sp2 with .NET framework 1.1 sp1, all the buttons in the options screen remain blank. After a while they suddenly fill in.

stax76
8th February 2005, 18:11
Save button on tool bar never greys out.


I've removed this because of performance reasons. It was comparing the entire text buffer on every text change. I know a faster method (comparing text length first) so I can add it again at least for the save button.


I would love an external preview button on the tool bar.


The difficult part of this is finding/making a icon, maybe somebody can help.


Running 1.1.1.3 on Windows XP sp2 with .NET framework 1.1 sp1, all the buttons in the options screen remain blank. After a while they suddenly fill in.


That odd, I'll examine it.

Zach
9th February 2005, 00:59
Originally posted by stax
AVSEdit don't has build in YV12 support, for YV12 XviD should be installed, it loads fast :), if it don't please ensure you have this reg key:


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32]
"VIDC.YV12"="xvidvfw.dll"


Newbie Question: I have XviD installed (v.1.0.3) and I have that DLL in my system32 directory, but alas, that registry key does not exist on my system.

The only reference to that DLL in registry is under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers.desc.

I want to test out your editor, so yes, I'll add the key myself (since all my videos are in YV12 colorspace), but is this normal that I have to add the key myself?

stax76
9th February 2005, 01:42
I was hoping the codec setup creates this reg key. I want to add a option later, currently I'm busy with DVX. I didn't release a new version since november and there are a lot unanswered posts in my forum.

Brt
13th March 2005, 16:01
...is there a chance to get source code of this new very fast drawing routine?

Thanks in advance,
Bartek

azsd
14th March 2005, 10:24
.net framework version:
v1.1.4322
gac:
1.0.5000
other .net programe runs correctly

stax76
20th March 2005, 03:51
@Brt

I'll release all my libs later

http://www.aisto.com/roeder/dotnet/

Brt
20th March 2005, 10:24
I'll release all my libs later

http://www.aisto.com/roeder/dotnet/ [/B]
I'll keep an eye on this site :)
Thx mate! :D

Bandung
25th March 2005, 04:29
Wow, I really like this release. The speed improvements are impressive and so is the ability to jump to a partucular frame. The copy frame is also cool.

I also like the fact that I can a) launch a preview after loading a script then b) change the script, hit the preview button again and now I have two previews. I then place them side by side and then I can clearly see what the filter chain associated with the first script is doing versus the changed script. I can scroll with the mouse within each preview and it somehow has retained both versions of the script in separate previews. This capability was in version 1.1.1.0.

I also discovered for the first time the right click within the preview window in order to see the list of short keys.

What can I say? I love this thing. Awesome.

Backwoods
25th March 2005, 08:12
I've just installed this program also and I love it. I hope you continue to develop it.

Arachnotron
31st March 2005, 21:18
@stax

To follow up on my bug report:

It turns out to be a bug in McAfee virusscan enterprise V8.0. Amongst other bugs, it causes some .NET applications to loose text on buttons and in menu's. There is a patch available from McAfee that solves this, but unfortunately you need to have a prime support contract with them to obtain it. Luckily, my empoyer does :), and after applying it all the menu's function normally again.

I have no idea if other McAfee versions are affected too.

So, sorry for the false alarm.

stax76
7th April 2005, 03:44
It turns out to be a bug in McAfee virusscan enterprise V8.0. Amongst other bugs, it causes some .NET applications to loose text on buttons and in menu's.


thanks for reporting back, never heard of this problem before


I hope you continue to develop it.


I wish I would script more often, I would then automatically work on it more often. I've started a script editor at a time I added tons of features to DVX (from where the editor is derived). For myself I use less than 10% of the features of DVX.

Currently I work on a application that's likely gonna be called Stax Media Encoder for which I've completed a system dealing with AviSynth centered around a ListView control.

Lately I was reading Mono blog which pointed to a blog by famous blogger Joel about software release cycles. I've already learnt before about how important the first impression of a software (and generally of course) is so it's likely gonna be a long time until the first release although it comes already in shape nicely.

back to AVSEdit, I'll try to develop a bigger interest for AviSynth scripting and to improve AVSEdit besides my many other projects. I appreciate the positive feedback a lot and it motivates me to improve AVSEdit besides feature request and bug reports.

one last important thing: would be great more contributors could be found for the translation, filter descriptions, help, icons and development of course.

mg262
3rd July 2005, 00:18
I've just been trying AVSEdit. It looks very nice ... I really appreciate all the work you've been putting into this. Unfortunately though I'm afraid I am getting some crashes:

System.StackOverflowException

Turns up when I fiddle with most of the suboptions of the Options menu (e.g. changing the external plug-in app). I'm using a P4 with Windows XP sp1 and .net framework 1.1. I've tried the version on source Forge and 1.1.1.1 and 1.1.1.3. I'm also not getting anything in the Parameters pane. It could well be that these errors to do with some thing else in my system that's not set up properly... regret I don't have the time at present to keep experimenting but I will get back to you when I do.

The preview is very nice, but the slider doesn't really give the granularity that VDMod does -- it's hard to find specific sections. I know that is difficult to fix without making the window wider; perhaps you could add a second bar at the bottom for sensitive adjustments? (When you drag it it would move the main slider by a small amount; and when you release it it would snap to the centre without changing the main slider position -- so it won't get stuck at one side.)

Oops... between writing that last paragraph and posting this I found the right-click list in the preview pane. It still awkward if you have a mouse without a mousewheel, but I think that's an argument for me getting a new mouse rather than you changing the filter!

Displaying the frame number would also be great! An icon for the external preview would also be nice...

Edit: opening the "open file" dialog and then closing it without selecting a file causes a freeze up. Again a stack overflow... debugger says:

An unhandled exception of type 'System.StackOverflowException' occurred in system.windows.forms.dll

stax76
6th July 2005, 15:01
thanks for the feedback, I'm afraid the project is currently on idle unless somebody else picks it up. I'm working on my DVX successor Stax Media Encoder. I'm a little bit afraid it will never be finished like TheWEF's GordianKnot successor therefore I'm working eagerly on it. :devil:

Jim_Pansen
29th June 2010, 18:55
Hello,

since Microsofts .NET 1.1 framework doesn't support Windows 7 x64, AVSEdit 1.1.1.3 isn't working! Is there any chance to see AVSEdit in a x64 compatible version?

I'm not a programmer & I don't know, how difficult is it porting it to a compatible version for Windows 7!

THX a lot in advance for any reasonable answer!

btw, great tool!

Jim

ChaosKing
29th June 2010, 21:04
I'm using AVSEdit 1.1.1.3 on my win7 x64 without any Problems