Log in

View Full Version : AvsPmod 2.5.1


Pages : [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26

Zarxrax
8th March 2010, 18:26
See this thread for the latest updated version of AvsPmod:
https://forum.doom9.org/showthread.php?t=175823



AvsP (http://avisynth.org/qwerpoi/)was an awesome script editor for AviSynth, so it was sad to see that the project was apparently dead.

We have been continuing this project under the name AvsPmod, and there are now many new features and bug fixes, primarily thanks to the work of Angel_Su, vdcrim, and others.

I am personally not going to be working on this project much anymore, but I never did much anyways aside from bringing together other people's source code and compiling new builds.
vdcrim has created a git repository for the project here: http://avspmod.github.io/

As of version 2.4.2, function definitions can be imported from the wiki at https://github.com/AvsPmod/AvsPmod/wiki/Filter-database
This can be done via Options menu -> Avisynth function definition -> Import.

Download
Both the windows build and source code can be downloaded from the git repository:
Download here (https://github.com/AvsPmod/AvsPmod/releases)

Pre-release r426 Windows build (http://files.line0.in/builds/AvsPmod-2.5.1-r426-x86-04874ed.7z)


Changelog


Version 2.5.1
- Add 'toggle preview placement' menu option - the video preview can be placed now to the right of the script
- Add 'open script's directory' menu option
- Add 'interpret escape sequences' and accelerator keys to the find/replace dialog
- Fixes to the handling of function definitions
- Other minor changes and fixes

Version 2.5.0
- Tabs can be assigned to groups. Tabs on the same group share the timeline, optionally applying offsets
- Add 'enable scroll wheel through tabs on the same group' setting
- Snippets of text can be associated to a tag and inserted in the script
- Remove 'customize autocomplete keyword list' and add its functionality to the 'AviSynth function definition' dialog
- Improve 'autocomplete parameter' menu option and add filename string auto-completation
- Add highlighting styles for unknown functions, parameters and assignments
- Add setting for highlighting words as functions when in doubt
- Fix slow typing on very large scripts
- Scripts can be exported as HTML
- Add 'quick save image' menu option
- Add setting for customizing the default filename pattern used for saving images
- Add setting for not prompting for JPEG quality when saving
- Allow to save RGB48 data as 16-bit PNG
- Improve output path options in the 'Save Image Sequence' macro
- Update the current frame number when switching tabs also when the preview is hidden
- Check that requesting a frame succeeded before attempting to use it
- Fix error message appearing on preview refresh for user sliders with a custom modulo on its label
- Fix empty translation files not being filled on start
- Other minor changes and fixes

Version 2.4.2
- Function definitions can be imported now from a new wiki
- Allow specifying what sources of function definitions to read on start
- Updates to the filter database
- Add syntax for function parameters not included by default in autocomplete, [arg info]
- Add 'autocomplete parameter' menu option, Ctrl+Alt+Space shortcut
- Add 'copy image to clipboard' menu option
- Speed-up handling of a large number of bookmarks
- Fix corruption of the margin of the video preview
- Fix tab renaming
- Add a new macro function 'ClearBookmarks'
- Improve 'Bookmarks at Intervals' macro
- Other minor changes and fixes

Version 2.4.1
- Add 'reload script' menu option
- Add 'use large size video controls' setting
- Add 'invert scroll wheel direction' setting
- Improve video zooming on Ctrl + mouse wheel
- Fix the 'navigate' menu options needing to be pressed two times when using a separate window for the video preview
- Fix the dragging of the handle of the separate window preview's slider
- Fix ScriptFile and ScriptName being swapped
- Accept several clip properties on the Pipe macro function's command line
- Other minor fixes

Version 2.4.0
- Add AvxSynth support. AvsPmod runs now natively on *nix
- Add script playback (video only)
- Add 'keep variables on refreshing' menu option, useful for dealing with heavy scripts
- Detect correctly AviSynth 2.6.0 new color spaces
- Add temporary support for VapourSynth AVIFile scripts (.vpy)
- Add option to specify directly the location of avisynth.dll/libavxsynth.so
- Add option to change the autoload plugins directory
- Add option to choose an alternative working directory
- Accept some variables on 'program settings' paths: %programdir%, %avisynthdir%, %pluginsdir%.
Useful for portable use.
- Add 'undo close tab':
- file menu -> undo close tab
- middle click on empty tab bar space
- Ctrl+Shift+N default hotkey
- New find and replace dialogs with added features
- Add auto-crop option to the crop editor
- The crop editor can be used now with the video preview zoomed or flipped
- Add a new variable to the video status bar - bookmark title (%BM)
- Improve avs and avsi files association option:
- on Windows, prompt to associate files for all users or only the current one and ask for permissions
for the former
- on *nix, this choice is made by starting AvsPmod as root to associate for all users. The application
is also registered on the desktop environment's menu.
- make the option toggleable
- Improve default filename on prompts:
- add two new settings to the options dialog, 'save/load' tab
- better basename choice on save image dialog and fix last saved image's name still being used when
changing tabs
- add 'default' parameter to several macro functions
- The mouse wheel can be used now to scroll through tabs
- Ctrl + mouse wheel can be used to zoom the video preview
- If 'enable scroll wheel through similar tabs' is off the mouse wheel can be used to scroll vertically
the video preview, or horizontally with Shift pressed.
- The CLI script encoder now checks PATH and the tools subdirectory before asking for the path to the
executable
- Fix opening and saving Unicode scripts
- Fix decoding of command line arguments
- Fix ScriptFile, ScriptName and ScriptDir functions not returning the right value [AviSynth 2.6.0]
- Fix 'share timeline' option being always in effect
- Fix 'last scrolled frame' menu option for 'update video while dragging' on
- Fix tabs without filename still being closed when canceling a save dialog
- Fix stop button of the avs2avi GUI tool
- Add new macro function Pipe, for sending video frame data to external applications
- Add 'propose' and 'only' parameters to the GetScriptFilename macro function
- Add 'clean' parameter to the GetText macro function
- Improvements on the 'Import bookmarks from file' macro:
- add timecode format v1 parsing
- add support for list of frames on TFM log u/b section and optimize its parsing
- Merge 'Save bookmarks to images' macro into 'Save Image Sequence'
- Fix Python 2.6 compatibility
- Other minor changes and fixes

Version 2.3.1
- Add detached video preview window visibility options:
- Always on top of other windows ('Options' menu)
- Always on top of the main window ('Program Settings' dialog, needs restart)
- Add printing support
- Disable showing line numbers if 'line margin width' option is 0
- Don't fail to launch AvsPmod if the option files are damaged
- Work around event ID overlapping when working with a large number of bookmarks by disabling 'Go to bookmark' submenu for more than 1000
- Add version info to the macro API
- Add draw lines option to the GetPixelInfo macro function, and fix marks position
- Rename the last executed macro return value from 'last' to 'avsp.Last'. The former is still accepted.
- Add 'Macros - Extra' section to the translation files. Strings that no longer exist are deleted from the translation files when updating to a new version.
- Rename 'Bookmarks from Chapter' macro to 'Import bookmarks from file' and add support for some other file types:
- TFM log (combed, possible combed and u/v mismatches)
- x264 QP file
- XviD and SCXviD log
- Fix performance issues in the 'Bookmarks at Intervals' macro
- Other minor changes and fixes

Version 2.3.0
- Add an option to decide based on the video resolution the coefficients used in the conversion to RGB for the video preview
- Add 'Run analysis pass' to the 'Video' menu (for two-pass filters)
- Add periodic session backup option
- Add an option to not prompt to save a script if it doesn't already exist on the filesystem
- Add original source time (%ST) and encoded frame type (%EFT) to the video status bar options
- (only works with ffms as source filter and no temporal filters in the script)
- VirtualDub and VFAPI plugins can be also inserted now with the 'Insert plugin...' menu option and the 'GetPluginString' macro function, and be dropped over a script
- Fix exception opening the crop editor
- The default filename in a save script dialog wasn't taken from the first source in the script in some cases
- Saving an image with an unsaved script not longer causes to include a '*' in the default output filename
- Solved single instance + restart AvsPmod + child process still running -> socket error
- The interface language can be chosen now from the options. Several translations are included.
- Add macro files to the translations
- The macro documentation can be checked now with 'help(avsp.function)' or 'help(avsp)' from a macro
- All included macros and macro functions support unicode strings now
- Add persistent storage to macros - 'Options' dictionary
- Macros can run now in its own thread by including a comment line like: # run macro in new thread
- The macro API functions are now thread-safe
- Add a new macro function 'SafeCall' for thread-safe calls in separate-thread macros and tools
- Add a new macro function 'GetPixelInfo' that waits for the user to click on the video preview and returns the coordinates and colour of that point
- Add a new macro function 'GetVar' to retrieve the contents of a specified Avisynth variable. Some limitations apply.
- Update GetTextEntry macro function with new types of entry, multiple entries per row and customizable width, backwards compatible
- Add an optional cancel button to the MsgBox macro function
- SaveImage macro function also accepts now JPEG quality as a parameter
- Fix ProgressBox macro function 'Cancel' button
- Fix SaveScript macro function 'filename' parameter
- Add new macro 'ConditionalReader file from bookmarks'
- Update some macros with the improvements in GetTextEntry
- A number of intervals can be specified directly now in the 'Bookmarks at Intervals' macro
- Set the Large Address Aware flag
- Python 2.6-2.7 is required now
- Other minor changes and fixes

Previous changes listed in changelog.txt

Extra Documentation
Import User Functions, YUV->RGB, Titled Bookmarks, Custom autocomplete list, user slider rescaling
http://forum.doom9.org/showthread.php?p=1481609#post1481609

Path settings, Keep variables on refreshing, Pipe macro function, AvxSynth/*nix
http://forum.doom9.org/showthread.php?p=1602917#post1602917

Zarxrax
8th March 2010, 19:01
Reserved

nurbs
8th March 2010, 19:02
Nice, thank you for your effort.

poisondeathray
8th March 2010, 19:10
Thanks zarxrax

@rfmmars - there are 5 mirrors listed in that link. If none of them work for you here is another
http://www.mediafire.com/?zz005nxqvyw

Cheers

rfmmars
8th March 2010, 19:22
You do something good then upload it to this crumy download site, I don't have time to waste.

Richard


EDIT: Thanks for taking the time in your PM to solve my problem !!!

tin3tin
8th March 2010, 19:42
Nice initiative. Would it be possible to upload it to this site?
www.avisynth.org/warpenterprises
AvsP is listed there, but no link.

One nifty feature someone asked some time ago, was the ability to hear the audio at the current frame, when moving frame by frame. I don't know how much python knowlege a thing like this would need?

Zarxrax
8th March 2010, 20:16
One nifty feature someone asked some time ago, was the ability to hear the audio at the current frame, when moving frame by frame. I don't know how much python knowlege a thing like this would need?

Would be a very nice feature, but unfortunately its way out of my league. What I do to work around it is I set virtualdub as my external player, seek the the spot I need, and press the play button to hear the audio there.

osgZach
8th March 2010, 20:54
I know some Python, but this is way out of my league :(

Zarxrax
8th March 2010, 21:43
I know some Python, but this is way out of my league :(
You might still be able to help out with some stuff if you like. I was quite surprised at how straightforward and readable the source code was, despite my not knowing python.

Soulhunter
9th March 2010, 00:13
Thx Zarxrax! ^^

buzzqw
9th March 2010, 08:27
direct link (my site) -> http://www.64k.it/andres/data/a/avspmod-2.0.3.zip

thanks Zarxrax

BHH

Gavino
9th March 2010, 11:48
What I do to work around it is I set virtualdub as my external player, seek the the spot I need, and press the play button to hear the audio there.
See also this post for a macro to play from the current AvsP position.

nurbs
9th March 2010, 12:41
When I try to run the program it tells me that msvcp71.dll is missing. I'm on windows 7 64bit. While I have found some downloads with google, I'd like to have some "legitimate" download link that I can trust. I don't just want to download it from some random site.

Wilbert
9th March 2010, 15:24
http://www.dll-files.com/dllindex/dll-files.shtml?msvcp71

Zarxrax
9th March 2010, 17:08
When I try to run the program it tells me that msvcp71.dll is missing. I'm on windows 7 64bit. While I have found some downloads with google, I'd like to have some "legitimate" download link that I can trust. I don't just want to download it from some random site.

Hmm, interesting. I guess I might need to include that DLL file next time.

Gavino: very nice macro! Thanks for pointing it out!

nurbs
9th March 2010, 21:16
Thanks.

By the way I'd be interested who had the idea to name the directory for 32bit DLLs on 64bit Windows "syswow64". Not very intuitive. :confused:

Zarxrax
13th March 2010, 23:44
A pretty nasty bug has been found. You are unable to use the arrow keys or home/end etc to move around the text, because these keys always change focus to the video.
I didn't cause this bug, it already exists in the original source code.
I'll try to learn Python and fix it.

tin3tin
14th March 2010, 00:14
Here on Vista the functions of those keys changes correctly after what part of the interface has the focus. Meaning I can move the cursor around in the text, when the text has the focus and when the slider has to focus the keys work as expected on the preview video-image.

Zarxrax
14th March 2010, 00:55
Here on Vista the functions of those keys changes correctly after what part of the interface has the focus. Meaning I can move the cursor around in the text, when the text has the focus and when the slider has to focus the keys work as expected on the preview video-image.
Really? That's odd, because it doesn't function correctly for me, and for at least one other person who reported it to me.

Zarxrax
14th March 2010, 20:00
I believe I have solved the problem by compiling with an old version of wxpython that was mentioned in the source code. I'll need to do some further testing and decide whether or not to just stick with that old version.

osgZach
15th March 2010, 02:21
A pretty nasty bug has been found. You are unable to use the arrow keys or home/end etc to move around the text, because these keys always change focus to the video.
I didn't cause this bug, it already exists in the original source code.
I'll try to learn Python and fix it.

Are they defined in a config somewhere as being bound to functions that do editing on the video?

Just thinking out loud here.. (I haven't even used the program before) cause I wonder if its a simple routine to not allow those keys to reset the focus or something when eidting text, or if they need to not be bound as editing keys for video in the first place.

In either case, sounds like something someone should mention to the wxforms/wxpython people, if its a bug with the Win32 interface it should fall on them to fix it.

However I am interested in learning how it interfaces to load/display video in the first place.. Does it use Avisynth wrapper? Is that part well documented? I'm interested in it for a project of my own.. But if it doesn't pan out I may be able to contribute the fruits of that effort to AvsP in some form.. Mainly for dealing with Hybrid Anime content.

Also may want to consider porting it to Python 3.x branch now since its the most recent.. It may or may not be difficult depending on what syntax changes need to be made, but I'm betting there will be some advantages to that.. If I can find time to sit down and "get into" this project, maybe I will assess the possibility of moving it over.

Gavino
15th March 2010, 13:18
However I am interested in learning how it interfaces to load/display video in the first place.. Does it use Avisynth wrapper?
It uses the Avisynth library interface via a wrapper to the C functions - see source files avisynth.py and pyavs.py.

XadoX
15th March 2010, 15:20
Great News :thanks:

osgZach
15th March 2010, 16:29
Thanks Gavino, will look inside those.. it's all GPL'ed right? I remember some uproar-ish thread here about someone making an Avisynthwrapper or something like that, but wanting to charge money for it.

mel2000
16th March 2010, 00:54
I have AviSynth 2.57a installed. I get the following error when I launched v2.0.3 of AvsPmod.exe.

[Mon Mar 15 18:24:44 2010]
Traceback (most recent call last):
File "run.py", line 6, in <module>
File "AvsP.pyo", line 11359, in main
File "wx\_core.pyo", line 7978, in __init__
File "wx\_core.pyo", line 7552, in _BootstrapApp
File "AvsP.pyo", line 11349, in OnInit
File "AvsP.pyo", line 3368, in __init__
File "AvsP.pyo", line 3901, in getOptionsDict
File "ntpath.pyo", line 270, in isdir
TypeError: coercing to Unicode: need string or buffer, int found

Any recommendations for a solution appreciated.

Zarxrax
16th March 2010, 01:26
@mel2000: I'll release a new build soon that is compiled differently. Let me know if that helps or not, after I release it. I think it might.

@others:
After AvsP 2.0.2 was released, qwerpoi released a bugfix patch, that fixed a few bugs which are mentioned here: http://forum.doom9.org/showthread.php?p=1059559#post1059559
I have been trying to look into these bugs to see if I could fix them as well, but, I can't actually reproduce any of the bugs (or even figure out the exact details of some of them). Does anyone have any information about them?

XadoX
16th March 2010, 11:03
Somehow the arrow keys are not working for me as they should.
While pressing up or down the programm always starts the preview windows und tries to skip through the video. But I want to move through the test file.

Alex_ander
16th March 2010, 12:17
While pressing up or down... But I want to move through the test file.
Why not left/right?

XadoX
16th March 2010, 12:20
If I am in text editing mode I want to use the arrow keys for navigation through the text file.
While in videopreview mode the arrow keys have to navigate through the video.

Zarxrax
16th March 2010, 16:25
Somehow the arrow keys are not working for me as they should.
While pressing up or down the programm always starts the preview windows und tries to skip through the video. But I want to move through the test file.

Did you not read the thread? It will be fixed soon :)

Zarxrax
17th March 2010, 02:06
Ok here is version 2.0.4

Changes:
- Fixed arrow keys not working in the text area
- Fixed icon not appearing in vista/7
- Fixed custom function definitions not being saved (bug existed in avsp 2.0.2) [this fix may introduce a new bug]
- Included MSVCP71.dll, which may be needed on some systems
- Added some additional default file extension templates
- Added some macros

mel2000
17th March 2010, 04:53
@mel2000: I'll release a new build soon that is compiled differently. Let me know if that helps or not, after I release it. I think it might.
Thanks Zarxrax. Unfortunately I got the same errors after installing 2.0.4. However, since 2.0.2 is working adequately, I'm still grateful.

levi
17th March 2010, 06:33
thx for taking this up, I love it too & will test it out

Zarxrax
17th March 2010, 06:36
Thanks Zarxrax. Unfortunately I got the same errors after installing 2.0.4. However, since 2.0.2 is working adequately, I'm still grateful.
Hmmm, that's really odd that it doesn't work for you. What version of windows are you using? Are you launching it from the exe?

XadoX
17th March 2010, 06:59
Did you not read the thread? It will be fixed soon :)
In that case I think I have to say the truth: No :(
I am sorry.

XadoX
18th March 2010, 11:07
Better interaction between DGdecNV (in that case DGMultiSource) and AvsPmod.

While working with DGSource and the Cuvid-Server everything works fine. If I am using DGMultiSource instead AvsPmod often crashes.

Maybe its more a feature request for DGdecNV?

Zarxrax
18th March 2010, 15:22
Better interaction between DGdecNV (in that case DGMultiSource) and AvsPmod.

While working with DGSource and the Cuvid-Server everything works fine. If I am using DGMultiSource instead AvsPmod often crashes.

Maybe its more a feature request for DGdecNV?

Sorry, I don't own a license to that software.
Can anyone else confirm that it doesn't work in AvsP?

nautilus7
18th March 2010, 23:18
Yes, I experience the *exact* same problem mentioned by XadoX. It only happens with DGmultiSource and only with the "previous frame" button at random times.

Zarxrax
18th March 2010, 23:45
Yes, I experience the *exact* same problem mentioned by XadoX. It only happens with DGmultiSource and only with the "previous frame" button at random times.
Seems like a strange problem. Does it happen in avsp 2.0.2? What about other apps like virtualdub?
What exactly happens when it crashes? Is there an error message?

sjakke
19th March 2010, 00:25
I'm not an avsp user. But I have to give you a thumbs up for taking initiative. And it's a good way to start learning some python:)

mel2000
19th March 2010, 08:39
Hmmm, that's really odd that it doesn't work for you. What version of windows are you using? Are you launching it from the exe?
I'm using Vista SP2 and launched AvsPmod from the exe (as administrator).

shambles
19th March 2010, 11:16
i always wished that i could switch to fullscreen and hide the gui with avsp. i guess such a feature is out of scope but i'm not a programmer so i don't have any idea how hard it would be to implement.

just thought i'd throw it out there :)

Zarxrax
19th March 2010, 16:06
i always wished that i could switch to fullscreen and hide the gui with avsp. i guess such a feature is out of scope but i'm not a programmer so i don't have any idea how hard it would be to implement.

just thought i'd throw it out there :)

Do you mean you would like the video to be fullscreen?
I think there are 2 things that you can do to sort of accomplish this right now.

1) Options > Program Settings > Video 1 > "Seperate Video Preview Window"
Then restart avsp and rightclick the preview, and choose Zoom > Fill window.
This isn't true fullscreen, as it will leave the title bar and the navigation controls onscreen. I believe it also just resizes the video with one of avisynth's resizers, which might be fairly processor-intensive.

2) Use a macro to define a secondary application to preview the video in. You can then set a shortcut to launch that macro. As it happens, there is already an example macro that shows you how to launch "mplayer" in fullscreen mode.

nautilus7
19th March 2010, 18:26
Seems like a strange problem. Does it happen in avsp 2.0.2? What about other apps like virtualdub?
What exactly happens when it crashes? Is there an error message?

Well, it seems the problem only happens in avsp 2.0.2. I can't crash your version (I'm on win 7 ultimate x64). If it happens again, I'll report back to you. Thanks!

XadoX
22nd March 2010, 08:50
Better interaction between DGdecNV (in that case DGMultiSource) and AvsPmod.

While working with DGSource and the Cuvid-Server everything works fine. If I am using DGMultiSource instead AvsPmod often crashes.

Maybe its more a feature request for DGdecNV?

Added Screenshot:

Zarxrax
22nd March 2010, 16:28
It looks like that error message is coming from the DGMultiSource plugin, rather than from AvsP, so you might want to check with the author of that plugin and see what he says.

Guest
22nd March 2010, 16:44
Other apps such as MEGUI, staxrip, etc., do not invoke this error. And since AvsP is written in Python (I believe) I will not be able to try to see what it is doing wrong.

doc_dvxm
22nd March 2010, 21:00
Hii there.... I am using AvsPmod 2.04 on Win 7 Ultimate 32 Bit system and everything is fine :)

Can you add a shortcut key for "Save image as..." - Shift + anything or Ctrl + anything for example ??

Thanx for your great work and efforts during developing this wonderful tool..

Best Regards...

Zarxrax
23rd March 2010, 00:34
Hii there.... I am using AvsPmod 2.04 on Win 7 Ultimate 32 Bit system and everything is fine :)

Can you add a shortcut key for "Save image as..." - Shift + anything or Ctrl + anything for example ??

Thanx for your great work and efforts during developing this wonderful tool..

Best Regards...

You can already do this. Options>configure shortcuts

doc_dvxm
23rd March 2010, 20:24
You can already do this. Options>configure shortcuts


Cool :) Thank you!