View Full Version : AvsPmod 2.5.1
Yellow_
12th March 2011, 08:38
If you are viewing your scripts in external applications, then this has nothing to do with avspmod, and adding a flip option to the interface would not affect anything in those external apps.
No your right it doesn't of coarse, but if I'm creating a script in AVSPmod to use in another application that flips (and often jumping between those apps) I add flipvertical() to the script otherwise it's upside down in the other app, however that also flips it in AVSPmod display, so I have to comment out in while writing the script and then comment it back in when using it externally. However if there was an option in AVSP to flip the preview just like there's one for preview of Rec601/709 PC601/PC709. The same applies really, why add preview control over 601/709 when a user could just add a matrix conversion line to the script like we used to do when AVSP was Rec601 display only and commented that out when going to external app. Because it makes things easier to have it as an option in the UI. :-) Same logic applies to flip preview.
The names of variables in external filters are created by whoever made those filters. I agree that they should use better names a lot of the time, but, there's really not much that could be done about that. You can create an avisynth function to "Rename" the parameters to something more friendly. But its honestly easier (as a user) to just read the documentation and memorize what they do rather than going through so much trouble.
Sure and on reflection doubles work on adding tooltips to filter.dat, doing all the parameters is enough work especially when some scripts have sketchy doc's. Struggling with SmoothAdjust levels, curves etc at the moment. :-)
Could do with some sort of online database where users add the filter.dat stuff and anyone could just extract off a dat file from time to time then there must be quite a few of us duplicating entries and trying to keep it alphabetical. :-)
Being able to disable some filters with a checkbox might be neat, but I don't think it would be possible to do this in a way that makes sense. Avspmod interprets the script as you have it written, so in order to disable anything, it would need to modify the script as well. (if it DIDNT do this, then things would get very confusing). It's easy enough to just comment out any lines that you want to disable.
Yes that was the '#' out or in, on long scripts or for where a user is not a script writer, it seems to make sense to be able to toggle on/off in a collapsed side bar view than go scrolling up and down lines and lines of a script or use the search, a graphical side bar tick box for each function would indeed be neat.
Waveform/vectorscope and other visualisations are available from various plugins or possibly built-in avisynth functions.
Yes but these form part of the image frame? and again if going to an external app to process the script they have to be disabled?
Dogway
12th March 2011, 10:30
Dogway: you can import/export function definitions.
How??
-let me add another bugfix: sometimes when saving the script in AvsP with ctrl+S, when the .txt is opened in notepad format is screwed, read no spaces, no line breaks etc.
-another good one would be option to export options, (GUI, settings), together or separated, but independent of function definitions (maybe). copying options.dat doesnt work for me.
Take my suggestions as constructive critics, I already use AvsP in a way that works for me with its workarounds.
Zarxrax
12th March 2011, 16:54
Yellow: When you say it like that, I guess it makes sense to offer the flipping option. May I ask what apps you experience this problem with? I have never encountered something like that.
Dogway: Options > Avisynth function definition > there are import and export buttons along the bottom
Yellow_
12th March 2011, 17:10
Yellow: When you say it like that, I guess it makes sense to offer the flipping option. May I ask what apps you experience this problem with? I have never encountered something like that.
Blender Video Editor and Node Compositor which uses FFmpeg to handle .avs files, guess it's Blenders image buffer.
And Editshare's Lightworks from memory did it too using the avs filesystem to create fake .avi's.
The flipping is something to do with historic MS Windows behavior I think.
Dogway
12th March 2011, 18:26
When I export function definition what I get is a .txt with some (not all) user function definitions.
Then I open AvsP 2.0.7 click on Import, select my .txt (also tried with avs), and I get an error saying "Unrecognized files".
ANGEL_SU
12th March 2011, 19:41
When I export function definition what I get is a .txt with some (not all) user function definitions.
Then I open AvsP 2.0.7 click on Import, select my .txt (also tried with avs), and I get an error saying "Unrecognized files".
1. Only customized filters will be exported. You can copy/modify others from 'filterdb.dat' which is a general text file and has the same format as exported file.
2. Importing from the customization file is broken in v2.0.7. It's my fault that I forgot to comment out a line of testing code. You can try importing from options.dat or keep on using old options.dat(it is harmless).
Dogway
12th March 2011, 20:14
by customized you mean the user function definition tab right?
I tried importing my 2.0.5 options.dat and it worked. But as you said only those from the user function tab.
I also "customized" other tabs function definitions but I guess it was kinda pointless.
copying both filterdb.dat and options.dat to the folder directly didnt work, I got an error KeyError u'unsharp.... whatever, I will wait for next release, thank you!
jmac698
12th March 2011, 20:15
Something I've been thinking about for a while is a version, dependency, and order of operations checker. For example, often you see a new script posted and want to try it out, then you start a big search for all the dependencies (where's ssetools? Which version of Clense?)
I've investigated some ways of making it easier, for example I found an opensource software updater which scrapes webpages to find the version #, I could then just ask all posters to include a special string in their posts and we could all update their scripts automatically.
The part where avsmod could really help is to make it easy to mark dependencies. When saving a script, have an option to insert text comments at the beginning where avspmod gives the dll name and checksum of used plugins. How to tell? The syntax highlighter knows the functions, you just need the info of which dll they come from. You just need an extra line in the function definition file. I would also suggest space for several links; the homepage (development thread), and download (which may be the same or some mirrors).
Eventually avsmod could download the scripts and plugins itself. Wouldn't that be so nice?
The last thing is order of operations. I was thinking of analyzing important plugins myself and writing a really good definition of how they affect clips and what they can tolerate. Categories would be, levels, geometry, interlacing, framecount, blending, whatever was important for major plugins, i.e. instead of saying "this plugin should be applied before any deinterlacers", it could be codified.
Also, if everyone released their work with a special string, one could scan the whole board automatically to collect filter news and updates.
Thoughts?
jmac698
12th March 2011, 21:00
Here's some data:
dll: DGDecode.dll
ver: 1.58
md5: 9f19f6021b03fe5333f89ca692791b3f
home: http://neuron2.net/dgmpgdec/dgmpgdec.html
support: http://neuron2.net/board/index.php
download1: http://hank315.nl/files/DGdecode/dgmpgdec158.zip
download2:
funcs:
MPEG2Source(str "d2v", int "idct", int "cpu", bool "iPP", int "moderate_h", int "moderate_v", str "cpu2", int "upConv", bool "iCC", bool "i420", int "info", bool "showQ", bool "fastMC")
LumaYV12(clip, integer "lumoff", float "lumgain")
BlindPP(clip, int "quant", int "cpu", bool "iPP", int "moderate_h", int "moderate_v", str "cpu2")
Deblock(clip, int "quant", int "aOffset", int "bOffset", bool "mmx", bool "isse")
dll: mt_masktools-25.dll
ver: 2.048
md5: 3c2abe3c6ebe572d31badd1b9459ebfd
home: http://manao4.free.fr/mt_masktools.html
support: http://forum.doom9.org/showthread.php?t=98985&page=1
download1: http://manao4.free.fr/masktools-v2.0a48.zip
download2:
funcs:
mt_edge
mt_motion
mt_invert
mt_binarize
mt_logic
mt_hysteresis
mt_merge
mt_expand
mt_inpand
mt_inflate
mt_deflate
mt_lut
mt_lutxy
mt_lutxy
mt_lutxyz
mt_lutf
mt_luts
mt_lutsx
mt_lutspa
mt_makediff
mt_adddiff
mt_clamp
mt_average
mt_convolution
mt_mappedblur
mt_square
mt_rectange
mt_freerectangle
mt_diamond
mt_losange
mt_freelosange
mt_circle
mt_ellipse
mt_freeellipse
mt_polish
mt_infix
Yellow_
14th March 2011, 10:05
Could look at the way meGUI does an auto update of a selection of tools for ideas.
jemm54
14th March 2011, 11:36
thanks for the update to 2.0.7, but i have a question, its any way to update without lost the configuration??.... Thanks
Zarxrax
14th March 2011, 16:32
I *think* the options file from previous versions should work fine with 2.0.7
Zarxrax
20th March 2011, 17:35
Changelog
Version 2.0.8:
- Customize the autocomplete list (options>Text1)
- support c-style comment '/*...*/', nesting comment '[*...[*...*]...*]' and keyword comment '__END__'
- No delay when zooming
- a new control '\T\T' helps prevent truncation of status bar information
- frame count text turns red if the current position is a bookmark
- draw a blue triangle for a titled bookmark
- fix delay when using many bookmarks
- change the behaivor of clicking on a calltip to close it. Clicking with ALT/CTRL/SHIFT to open the URL
- keep user's frame/time input in right-click context menu when focus is lost
- Added "Flip" menu to flip the output display
- Added "SwapUV" to the RGB->YUV menu
- new "Save bookmarks to bmp" macro
- Added/Updated some plugin function definitions
As always, download is in the first post
Zarxrax
20th March 2011, 18:05
I want to talk about the problem of function definitions for User Functions.
I mean, functions that are contained in avs/avsi files.
I have always been reluctant to pack custom function definitions for these with avspmod, because I perceive a problem with these types of files that doesn't exist so much with actual plugins or built-in functions.
Namely, its possible for there to be multiple versions of a function which use the same name. There might even be DIFFERENT functions that use the same name. So if I were to include a function definition for "Blarmy.avsi", then some users might be using an older version of Blarmy.avsi which uses some different parameters than the current version. It's hard to keep up with this stuff, so they just don't know that a new version has been released. Maybe they don't even know WHERE to obtain the new version. Continuing along those lines, maybe Avspmod doesn't get updated anymore, but Blarmy.avsi receives some updates. Now the definitions that were included with avspmod don't really work anymore, which could cause some confusion.
Another issue is, would you really want your autocomplete list being filled up by 100 functions that you don't even have?
Thankfully, the recent addition of the ability to import function definitions from the functions themselves has done much to solve these problems.
However, it could still be useful to have further customized function definitions, to add support for sliders and things like that.
Because of the reasons given above, I am hesitant to add these into avspmod by default.
However, I think a fine solution might be to just collect a lot of these together into one place. Then, if you happen to want to use a customized function definition, you could just pick it out of the list and copy/paste into avspmod.
Does this sound like a good solution to everyone? If so, I could start maintaining a list of customized function definitions right here.
Zarxrax
20th March 2011, 18:07
reserved
Dogway
21st March 2011, 05:21
Thanks for the new version!
Still copying options.dat to folder triggers this error when accessing the function definition options:
Traceback (most recent call last):
File "AvsP.pyo", line 6736, in OnMenuOptionsFilters
File "AvsP.pyo", line 9662, in ShowFunctionDefinitionDialog
File "AvsP.pyo", line 2038, in __init__
File "AvsP.pyo", line 2090, in CreateWindowElements
KeyError: u'unsharp' /(actually random filter)
for me is important to recover previous versions options because I customized GUI colors, shortcuts, status bar, function definitions, settings, macros, and extension templates, also core filters, plugins, and script functions visibility. Is a real pain to tweak everything again with a new version. Yes I know I can import function definitions from options.dat, and if I just copy options.dat to avspmod folder everything, settings, etc loads, but I can no longer access to function definitions.
-I tried editing options.dat to remove all the function definitions in there, and leaving the rest as is, and then from function definitions tab, manual import them from options.dat. But I realised I was breaking the line order "p##" and didnt feel like editing 1000 lines. One workaround would be to store this user definition data in the end of options.dat, so removing those lines wont need much further editing.
-I also tried to remove all my user functions and save this alternative options.dat, but that didn't work either.
A few suggestions:
I also think that Save Image should default to .png.
I tried to set a shortcut for Release Video to "Escape" and didn't work.
I got a skewed image when using ImageSource (I think when size width or height is odd)
Default zoom to + and - shorcut (stepping up or down in size)
AlanHK
21st March 2011, 08:26
Changelog
Version 2.0.8:
Still getting the same problem I reported above.
(1482161)
Again reverting to 2.0.5.
I could start maintaining a list of customized function definitions right here.
Putting this on page 16 of a forum thread isn't ideal.
If you can't get a dedicated site, (maybe a subsection of Avisynth.org, like the original AvsP) you could recycle say this post
1381221 on the first page of the thread.
ANGEL_SU
21st March 2011, 08:44
...
Still copying options.dat to folder triggers this error when accessing the function definition options:
Traceback (most recent call last):
File "AvsP.pyo", line 6736, in OnMenuOptionsFilters
File "AvsP.pyo", line 9662, in ShowFunctionDefinitionDialog
File "AvsP.pyo", line 2038, in __init__
File "AvsP.pyo", line 2090, in CreateWindowElements
KeyError: u'unsharp' /(actually random filter)
...
I tried to set a shortcut for Release Video to "Escape" and didn't work.
...
1. Could you upload your options.dat for my study?
2. 'ESC' shortcut works only under wxPython 2.6. But, the new AvsPmod is compiled with wxPython 2.8. I will try to solve this problem later...
Dogway
21st March 2011, 09:11
options.dat
http://www.mediafire.com/?m9675x5jx97ax3k
ANGEL_SU
21st March 2011, 10:55
options.dat
http://www.mediafire.com/?m9675x5jx97ax3k
Thanks. But, I got the same 'KeyError' even running under AvsPmod 2.0.5. What version of Avsp are you using with this options.dat? If possible, please also upload filterdb.dat and a list of dlls' names in your avisynth plugin folder(uploading an archive contains those dlls would be better).
Zarxrax
21st March 2011, 19:00
Still getting the same problem I reported above.
(1482161)
Again reverting to 2.0.5.
Can't seem to replicate this problem. Have you been able to see if it works on a different system? Perhaps its related to the FAR command shell thing that you mentioned you are using?
Putting this on page 16 of a forum thread isn't ideal.
If you can't get a dedicated site, (maybe a subsection of Avisynth.org, like the original AvsP) you could recycle say this post
1381221 on the first page of the thread.
I can add a link in the first post, so its not an issue.
Dogway
21st March 2011, 19:47
I use 2.0.5 and function definition loads with these options.dat, filterdb.dat and plugins right now.
http://www.mediafire.com/?a2ef8vayhvhg3m2
It's very unstable, moving plugins/functions in and out, or removing user definitions could render "function definitions" unaccessible.
Im on avisynth 2.57 MT
ANGEL_SU
22nd March 2011, 02:05
I use 2.0.5 and function definition loads with these options.dat, filterdb.dat and plugins right now.
http://www.mediafire.com/?a2ef8vayhvhg3m2
It's very unstable, moving plugins/functions in and out, or removing user definitions could render "function definitions" unaccessible.
Im on avisynth 2.57 MT
Thanks for your uploading. This issue seems the same as the one of AvsP 2.0.2 - you define a short user function name but it is just the same as the 2nd part of a long name plugin. After modifying some source, now I can enter function definition dialog without any problem in AvsPmod 2.0.8.
I think you had better to define/override a plugin directly in 2nd tab, not to define a plugin as a user function.
Dogway
22nd March 2011, 07:22
"You must use dllname_function naming format for plugins" which is the exact reason Im defining them as user functions, I dont want one hundred thousand entries in my calltip, and a few dozen of them starting with the same first seven characters, which is the calltip window width.
ANGEL_SU
22nd March 2011, 07:54
"You must use dllname_function naming format for plugins" which is the exact reason Im defining them as user functions, I dont want one hundred thousand entries in my calltip, and a few dozen of them starting with the same first seven characters, which is the calltip window width.
I think you were referring to 'autocompletion' window. In v2.0.8, you can customize this list at Options|Program Settings|Text1, please give a try...
Yellow_
24th March 2011, 11:00
Zarxrax, hey flip is in v2.0.8 , cheers for that. :-)
Has anyone got the SmoothAdjust settings in their filter.dat?
I'm struggling to work through the SmoothAdjust readme to get the 'types' like bool, int, float etc and there's no source to look at in the SmoothAdjust zip I have.
MadRat
26th March 2011, 10:53
I apologize if someone's already brought this up, but in the last few version of AvsPMod, when trying to exit, I get the "Traceback (most recent call last):" and nothing else, in the error window. The only way I can exit AvsPMod is to use the task manager to end task. It doesn't matter if there is a script in the edit window or if I've saved or not.
I have Windows 7 Ultimate, 64 Bit and SP1 and older versions (2.0.6 and older I believe) work as does AvsP 2.0.2
Zarxrax
27th March 2011, 02:34
Can't see the attachment right now, but I'm running the same version of windows and have no issues.
I'm guessing its something related to your system.
Floatingshed
27th March 2011, 22:16
I find that if I delete any of the user functions, options.dat gets screwed up and I'm then unable to access the functions definition menu.
Also, avsp.SaveImage() has a framenum parameter which is supposed to tell it which frame to save as an image. Whatever frame number is inputted here it will ignore and only ever save the current frame!
iNs@Ne
28th March 2011, 09:39
Zarxrax, nicely done, mate!
Found your AvsPmod by chance and I don't wanna use slow AvsP anymore!
Thanks a lot!
Best regards.
Zarxrax
28th March 2011, 18:22
Again, its all thanks to Angel_Su, really. I've done nothing except get the ball rolling :)
ANGEL_SU
28th March 2011, 18:51
...
I'm struggling to work through the SmoothAdjust readme to get the 'types' like bool, int, float etc ...
You can disregard types and just put the dll in the avisynth plugin folder. AvsP will automatically include it.
I find that if I delete any of the user functions, options.dat gets screwed up and I'm then unable to access the functions definition menu.
This is known issue and has been fixed on last weekend.
Also, avsp.SaveImage() has a framenum parameter which is supposed to tell it which frame to save as an image. Whatever frame number is inputted here it will ignore and only ever save the current frame!
Yes, framenum parameter doesn't work. Currently, you have to call avsp.ShowVideoFrame() and then avsp.SaveImage().
Caroliano
28th March 2011, 20:53
When trying to open an UTF-8 avisynth file I get the following error:
D:\Programas\A-B\AvsP\AvsPmod\lib\library.zip\AvsP.py:8678: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
Traceback (most recent call last):
File "AvsP.pyo", line 3843, in OnData
File "AvsP.pyo", line 8340, in OpenFile
File "wx\stc.pyo", line 2934, in SetText
File "encodings\cp1252.pyo", line 15, in decode
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 38: character maps to <undefined>
This avs opens fine in virtualdub(mod). It is something like:
ffvideosource("i:/ŭにçodё-folder]/+uиiĉod∄-filename).mp4", utf8=true)
Saved in utf8 encoding, w/o the BOM, and runing on ffms2 v2.15 or higher. Is it too dificult to make it work in avsp too?
And I can't make the "Open with..." option in windows select AVSp in this new version. I could with AVSp 2.0.7.
Oh, and the encoder is now working for lossless output! The only thing missing is a way to disable the "credit star frame" thing.
Thanks also for the fast zoom! Like night and day!
Yellow_
29th March 2011, 07:36
You can disregard types and just put the dll in the avisynth plugin folder. AvsP will automatically include it.
Yes I've come to realise that I don't need to edit the .dat, I was mistaken in thinking it added the sliders and default values where in fact I think I need to create SmoothAdjust or any other DLL as a user function to get default values and sliders?
Just happened that the first plugin I tried to get sliders working on was GrainFactory and that was already an avsi.
Need to learn how to create functions.
Zarxrax
29th March 2011, 13:31
And I can't make the "Open with..." option in windows select AVSp in this new version. I could with AVSp 2.0.7.
If you are using Vista or Windows 7, use the Default Programs editor to associate it. This seems to be the only way to fully set associations within these Operating Systems.
Barrakketh
1st April 2011, 01:56
I'm having a little problem that I have been frequently encountering. After cropping part of a video the resulting output is corrupted in the AvsPmod output.
Examples (RGB32 on the left, RGB24 on the right):
http://i163.photobucket.com/albums/t299/Barrakketh/temp/ketsui_overlay_rgb32.png http://i163.photobucket.com/albums/t299/Barrakketh/temp/ketsui_overlay_rgb24.png
MPC and Mplayer have no problems with displaying the output of the AVS script (cap taken with MPC-HC, opened the script with it):
http://i163.photobucket.com/albums/t299/Barrakketh/temp/th_ketsui_overlay_mpc.png (http://s163.photobucket.com/albums/t299/Barrakketh/temp/?action=view¤t=ketsui_overlay_mpc.png)
The source is an AVI written by MAME from a replay I recorded, input video resolution is 224x448@60FPS, PAR is 2:1, color is RGB24.
Example script:
#film = DirectShowSource("Z:\MAME\141b\snap\ketsui.avi", fps=60)
film
#ConvertToRGB32
trim(6948, 9751)
crop(0, 8, 86, 120)
Uncommenting ConvertToRGB32 causes the other type of corruption.
I've also found that the screenshot I've taken with MPC (the same one I embedded) also exhibits the problem in the preview, though the bottom of the image remains messed up when played back and doesn't exhibit much of a difference when ConvertToRGB32 is used on it:
film = ImageReader("Z:\Fraps_Videos\ketsui_overlay_mpc.png", pixel_type="RGB24")
film
#ConvertToRGB32
trim(6948, 9751)
crop(0, 8, 86, 120)
If you're curious, the small parts I'm cutting out of the video are being used for an overlay on the borders that the game won't cover when being displayed (game footage is scaled to 540x720, then padded to produce a 1280x720 video).
Thanks.
Caroliano
1st April 2011, 16:30
Well, now I tried the Default Programs editor, but it has the same behaviour. When I browse for the avsp executable, and select it, and click on "open", it returns to the program selection screen w/o updating anything...
When I try to associate .avsp using the menu option inside AvsP, the following error screen apears:
Error PaserAvisynthScript() try eval((HD==2ue)
Error PaserAvisynthScript() try eval(blksize/4)
Error PaserAvisynthScript() try eval((HD==2ue)
[Error 5] Acesso negado
[Error 2] O sistema não pode encontrar o arquivo especificado
[Error 5] Acesso negado
[Error 5] Acesso negado
[Error 2] O sistema não pode encontrar o arquivo especificado
[Error 5] Acesso negado
[Error 5] Acesso negado
[Error 2] O sistema não pode encontrar o arquivo especificado
[Error 5] Acesso negado
Error 2: The system couldn't find the target file. Error 5: Access Denied.
The current location is: D:\Programas\A-B\AvsP\AvsPmod\AvsPmod.exe
And now I remembered that I renamed the AvsP folder after runing it the first time. Maybe it has something to do with my problem? Everything else works.
Zarxrax
1st April 2011, 20:09
Hmmm... I know what you are talking about, because I have experienced that problem before, where the program wont appear in after you select it.
I experienced that problem with a different application than avsp though. I think its some bug in windows, possibly.
I *think* what happens is there might be some leftover info in the windows registry pointing to an outdated location, or something like that.
If you are comfortable modifying the registry, try searching through it for any references to avspmod, and delete them.
hayling
2nd April 2011, 23:06
I apologize if someone's already brought this up, but in the last few version of AvsPMod, when trying to exit, I get the "Traceback (most recent call last):" and nothing else, in the error window. The only way I can exit AvsPMod is to use the task manager to end task. It doesn't matter if there is a script in the edit window or if I've saved or not.
I have Windows 7 Ultimate, 64 Bit and SP1 and older versions (2.0.6 and older I believe) work as does AvsP 2.0.2
I had the same problem in Windows 7 Professional 64-bit. To fix it, I had to run AvsP as administrator.
To have it run as administrator by default, you can right-click your AvsPmod shortcut, click Properties, then Advanced (under the Shortcut tab), then check "Run as Administrator", then click OK. Hope this helps!
Majin3
3rd April 2011, 12:31
Thanks for the great mod.
Would it be possible to make the time scale behave like the frame field above? So you can enter a time to jump to or at least copy it? The reason is that I'm often creating chapter files and it would be helpful if I could just copy the time instead of writing it down and double-checking afterwards.
Chikuzen
9th April 2011, 15:52
@Barrakketh
I noticed that when the width is not mod4, AvsPmod's preview collapses.
(This doesn't happen on VirtualDub.)
@Zarxrax, ANGEL_SU
Is this known issue?
Zarxrax
9th April 2011, 23:59
The width thing is not a known issue, I believe. I'll see what angel_su thinks about it.
Barrakketh
10th April 2011, 00:18
On the subject of known issues, is getting the error:
Traceback (most recent call last):
File "AvsP.pyo", line 1299, in OnKeyUp
TypeError: object of type 'NoneType' has no len()
When trying to use autocomplete when:
No autocomplete alternatives are available, AND
You either typed a capital letter OR use Ctrl+Space when there is a single capital letter when calling a function, AND
"Show autocomplete on capital letters" is enabled.
known? For instance, opening a blank script and typing "X" (no quotes) will raise the exception. "BlankClip.X" will cause it. Dismissing the error window and then pressing Ctrl+Space will cause it.
It doesn't happen after disabling "Show autocomplete on capital letters".
ANGEL_SU
10th April 2011, 03:47
@Barrakketh
I noticed that when the width is not mod4, AvsPmod's preview becomes amusing.
(This doesn't happen on VirtualDub.)
@Zarxrax, ANGEL_SU
Is this known issue?
This should be a regression on AvsPmod 2.0.8 only and was fixed 2 weeks ago.
On the subject of known issues, is getting the error:
Traceback (most recent call last):
File "AvsP.pyo", line 1299, in OnKeyUp
TypeError: object of type 'NoneType' has no len()
When trying to use autocomplete...
Just fixed this. Thanks for your report.
wOxxOm
10th April 2011, 13:30
I specify setmemorymax(256) and normally AvsP's PrivateBytes & WorkingSet memory usage would be around 100-300 MB which is ok. However if I have a complex script and advance by 1-10 frames throughout the video to adjust filters on scene basis, AvsP crashes very easily. Closing the error log window sometimes allows to continue without any problems, but could the mighty python of AvsP be taught to release previously allocated memory in case of crash? Currently it easily goes above 600MB and would go even higher but then I naturally restart it due to significant UI lags.
After such crash AvsP's cpu usage is 100% and it keeps on redrawing current frame, judging by blinking triangle in the top left corner. Though it may be unrelated to the memory hog problem.
Menu command "Release all videos from memory" does not help.
p.s. i've had to make a standalone utility to watchdog AvsPmod's memory usage and alert me when it goes beyond 400MB so that I can reload it, which turns out to be 100 times faster than waiting for it to redraw a single frame when it eats all the available memory (yeah it can take a few minutes).
Zarxrax
10th April 2011, 17:25
wOxxOm: does that occur when you don't specify setmemorymax?
wOxxOm
11th April 2011, 19:38
Yes, it behaves exactly the same with or without setmemorymax.
BTW, saving the script and Shift-F5 + F5 combo recovers mem usage to about 300 MB level and I can continue working with the program without restarting. This trick sometimes doesn't work though.
...and by complex scripts I mean QTGMC + lots of lots of freezes etc.
SubJunk
13th April 2011, 06:34
I just opened the program for the first time and found that with the default Windows 7 permissions, if it runs inside Program Files it doesn't close when you click the close button.
I had to change the security permissions of the folder just to close the program.
I recommend using AppData to save auto-generated files (like _last_session_.ses) - I have had the same problem before with my software.
Zarxrax
13th April 2011, 17:19
I just opened the program for the first time and found that with the default Windows 7 permissions, if it runs inside Program Files it doesn't close when you click the close button.
I had to change the security permissions of the folder just to close the program.
I recommend using AppData to save auto-generated files (like _last_session_.ses) - I have had the same problem before with my software.
Thanks for the report. I think the best solution right now is to just don't place it in program files folder, or just make sure the folder has permissions set correctly. The session file isn't the only thing that could cause trouble. For instance, if the user needs to modify a macro or something, that might not be possible either. And the program also needs to save files like options.dat.
I think the best long-term solution would be to have an installer. This could set the permissions correctly, and also possibly handle the file association issues that some people have had.
I tried making an installer though, and I kept running into various problems. Maybe someone else could volunteer for this?
levi
13th April 2011, 20:06
I prefer "portable" software which has all files in a single location.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.