Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 8th March 2010, 18:26   #1  |  Link
Zarxrax
Registered User
 
Zarxrax's Avatar
 
Join Date: Dec 2001
Location: Concord, NC
Posts: 1,168
AvsPmod 2.5.1

AvsP 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

Pre-release r426 Windows build


Changelog
Code:
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.ph...09#post1481609

Path settings, Keep variables on refreshing, Pipe macro function, AvxSynth/*nix
http://forum.doom9.org/showthread.ph...17#post1602917

Last edited by Zarxrax; 16th February 2015 at 01:43. Reason: added latest pre-release build
Zarxrax is offline   Reply With Quote
Old 8th March 2010, 19:01   #2  |  Link
Zarxrax
Registered User
 
Zarxrax's Avatar
 
Join Date: Dec 2001
Location: Concord, NC
Posts: 1,168
Reserved

Last edited by Zarxrax; 7th June 2012 at 01:50.
Zarxrax is offline   Reply With Quote
Old 8th March 2010, 19:02   #3  |  Link
nurbs
Registered User
 
Join Date: Dec 2005
Posts: 1,455
Nice, thank you for your effort.
nurbs is offline   Reply With Quote
Old 8th March 2010, 19:10   #4  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 3,083
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
poisondeathray is offline   Reply With Quote
Old 8th March 2010, 19:22   #5  |  Link
rfmmars
Registered User
 
Join Date: Feb 2004
Posts: 743
Quote:
Originally Posted by rfmmars View Post
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 !!!
rfmmars is offline   Reply With Quote
Old 8th March 2010, 19:42   #6  |  Link
tin3tin
Registered User
 
tin3tin's Avatar
 
Join Date: Mar 2005
Posts: 365
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?
__________________
DVD slideshow GUI(Freeware).

Last edited by tin3tin; 8th March 2010 at 19:45.
tin3tin is offline   Reply With Quote
Old 8th March 2010, 20:16   #7  |  Link
Zarxrax
Registered User
 
Zarxrax's Avatar
 
Join Date: Dec 2001
Location: Concord, NC
Posts: 1,168
Quote:
Originally Posted by tin3tin View Post
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.
Zarxrax is offline   Reply With Quote
Old 8th March 2010, 20:54   #8  |  Link
osgZach
Registered User
 
Join Date: Feb 2009
Location: Waterloo, WI - USA
Posts: 649
I know some Python, but this is way out of my league
osgZach is offline   Reply With Quote
Old 8th March 2010, 21:43   #9  |  Link
Zarxrax
Registered User
 
Zarxrax's Avatar
 
Join Date: Dec 2001
Location: Concord, NC
Posts: 1,168
Quote:
Originally Posted by osgZach View Post
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.
Zarxrax is offline   Reply With Quote
Old 9th March 2010, 00:13   #10  |  Link
Soulhunter
Bored...
 
Soulhunter's Avatar
 
Join Date: Apr 2003
Location: Unknown
Posts: 2,812
Thx Zarxrax! ^^
__________________

Visit my IRC channel
Soulhunter is offline   Reply With Quote
Old 9th March 2010, 08:27   #11  |  Link
buzzqw
HDConvertToX author
 
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
direct link (my site) -> http://www.64k.it/andres/data/a/avspmod-2.0.3.zip

thanks Zarxrax

BHH
__________________
HDConvertToX: your tool for BD backup
MultiX264: The quick gui for x264
AutoMen: The Mencoder GUI
AutoWebM: supporting WebM/VP8
buzzqw is offline   Reply With Quote
Old 9th March 2010, 11:48   #12  |  Link
Gavino
Avisynth language lover
 
Join Date: Dec 2007
Location: Spain
Posts: 3,376
Quote:
Originally Posted by Zarxrax View Post
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.
Gavino is offline   Reply With Quote
Old 9th March 2010, 12:41   #13  |  Link
nurbs
Registered User
 
Join Date: Dec 2005
Posts: 1,455
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.
nurbs is offline   Reply With Quote
Old 9th March 2010, 15:24   #14  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,295
http://www.dll-files.com/dllindex/dl....shtml?msvcp71
Wilbert is offline   Reply With Quote
Old 9th March 2010, 17:08   #15  |  Link
Zarxrax
Registered User
 
Zarxrax's Avatar
 
Join Date: Dec 2001
Location: Concord, NC
Posts: 1,168
Quote:
Originally Posted by nurbs View Post
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!

Last edited by Zarxrax; 9th March 2010 at 17:10.
Zarxrax is offline   Reply With Quote
Old 9th March 2010, 21:16   #16  |  Link
nurbs
Registered User
 
Join Date: Dec 2005
Posts: 1,455
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.
nurbs is offline   Reply With Quote
Old 13th March 2010, 23:44   #17  |  Link
Zarxrax
Registered User
 
Zarxrax's Avatar
 
Join Date: Dec 2001
Location: Concord, NC
Posts: 1,168
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.
Zarxrax is offline   Reply With Quote
Old 14th March 2010, 00:14   #18  |  Link
tin3tin
Registered User
 
tin3tin's Avatar
 
Join Date: Mar 2005
Posts: 365
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.
__________________
DVD slideshow GUI(Freeware).
tin3tin is offline   Reply With Quote
Old 14th March 2010, 00:55   #19  |  Link
Zarxrax
Registered User
 
Zarxrax's Avatar
 
Join Date: Dec 2001
Location: Concord, NC
Posts: 1,168
Quote:
Originally Posted by tin3tin View Post
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 is offline   Reply With Quote
Old 14th March 2010, 20:00   #20  |  Link
Zarxrax
Registered User
 
Zarxrax's Avatar
 
Join Date: Dec 2001
Location: Concord, NC
Posts: 1,168
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.
Zarxrax is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:44.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2017, vBulletin Solutions Inc.