View Full Version : AvsPmod 2.5.1
Sparktank
2nd July 2017, 21:44
Today i'm getting an "error trying to display the clip" in AvsPmod preview window
What is your script?
For previews, even if you select 16-bit, you have to comment out "ConvertFromDoubleWidth()/ConvertFromStacked()", or you get error message.
If you change it to 16-bit, there should be a second line in the message saying "Are you sure it's the right format?" or something.
In 8bit/10bit, the error message is cropped by half.
stranno
2nd July 2017, 22:00
What is your script?
ConvertTo8bit works for displaying the video.
But i dont know what is the problem with 10bit. It was displayed properly before and external players or x264 work with them fine.
Thanks for the advice.
Sparktank
2nd July 2017, 23:54
That solves that.
poisondeathray
11th July 2017, 20:10
I get an error window popup everytime I preview or seek with the x64 version in post 1202 . It works fine otherwise (I can just put the error window in the background), it's just annoying
Traceback (most recent call last):
File "avsp.pyo", line 11703, in OnFocusVideoWindow
File "avsp.pyo", line 13932, in SetVideoStatusText
File "avsp.pyo", line 14081, in GetVideoInfoDict
File "avsp.pyo", line 17271, in FormatTime
TypeError: %d format: a number is required, not float
In case it's related to the status bar, my status bar code is copy/pasted from the older x86 version, which works fine without the error window popups
Frame %F / %FC - (%T / %TT) %BM %POS %HEX %RGB %YUV \t\t %Z %Wx%H (%AR) - %FR fps - %CS
wiggaz
15th September 2017, 18:25
I have installed Avisynth+ and I tried the dedicated version of AvsPmod (452 and 462 found them here) but they both don't work. As soon as I start the exe, an error window appear which tell me AvsPmod has stopped working. It doesn't even start.
What can I do? What am I missing?
Thanks in advance.
fvisagie
15th September 2017, 20:14
You may be experiencing the issue of (settings?) file permissions.
Try running it with Administrator privileges. If that worked, exit and run without and hopefully then it will work.
wiggaz
15th September 2017, 23:02
You may be experiencing the issue of (settings?) file permissions.
Try running it with Administrator privileges. If that worked, exit and run without and hopefully then it will work.
It works!
Thanks man.
x265
28th September 2017, 02:34
Since two days avspmod.exe won't open on windows 10. It was working fine before that. I'm using avs+.
lansing
6th December 2017, 04:47
Today I just solved a mystery by accident. My avspmod 64 bit version has been malfunctioning for the past few months, I don't know what I did before that causes that, the program just flash open and closed right away, and all I saw was that little error window along the way. There were no error message whatsoever to tell me what the problem is.
Fast forward today while I was trying to open a script in the 64 bit virtualdubfilter mod, there's an error message popped up telling me that I have a 32 bit dll that was wrongly put in the 64 bit plugin folder, and it even told me the exact name of the file. So I removed that problem file, and guess what, the avspmod 64 bit opened...I felt that this program really needs better error handling.
Just want to put this solution out there in case you may encounter a similar mystery.
lordsmurf
10th December 2017, 00:39
Fast forward today while I was trying to open a script in the 64 bit virtualdubfilter mod, there's an error message popped up telling me that I have a 32 bit dll that was wrongly put in the 64 bit plugin folder, and it even told me the exact name of the file. So I removed that problem file, and guess what, the avspmod 64 bit opened...I felt that this program really needs better error handling.
:goodpost:
I've run into similar filter issues with it as well, due to it not liking the names of files in the plugins folder.
StainlessS
10th December 2017, 01:45
Filenames of dll's (the part before extension '.dll') should only contain characters that are legal in Avisynth variable name, ie
'_' or 'a->z|A->Z' for 1st character and additionally digits '0->9' after that. Some dll's have eg hyphen '-' in filename, which
is not legal in variable name.
Reason so can use long version 'DllName_FilterName' name, to avoid naming conflict where multiple dll's contain same filter name:- http://avisynth.nl/index.php/Plugins#Plugin_Autoload_and_Conflicting_Function_Names
lordsmurf
10th December 2017, 02:09
Yep. But AvsPmod didn't remind me of that, it just crashed.
I need to setup that multi-version _ trick. I have a few, but always just swapped them.
mtamimi
24th January 2018, 01:07
I am trying to process a video file on a read-only mounted network share. AvsPmod just hangs because i think it cant write its temporary files, is there a way to make it save those files somewhere else?
Thnx
*edit*
I found this https://forum.doom9.org/showthread.php?t=171085
so I started using cachefile , is there a way to make it use the same file name of the video for the cache, I will only specify the path?
Anyone with some skills able to update this to support higher bit depth previews.
FranceBB
4th June 2018, 21:43
@Dion... High bit depth is supported, but only for normal Avisynth, not Avisynth+. You can right click on the preview and select "bit-depth" and choose the right one.
Please note that only 16bit Stacked and Interleaved are supported (Dither_Tools and HDRCore).
https://i.imgur.com/klLq2pc.png
Most important, would someone be willing to support BT2020 and BT2100 preview in AVSPmod? It actually only supports BT601 and BT709.
https://i.imgur.com/DB3FqVO.png
Ya I would love it if it displayed 10bit and Bt.2020.
Revan654
5th June 2018, 18:07
Ya I would love it if it displayed 10bit and Bt.2020.
Bring it into BT.2020 is not an easy task, I looked into what is required to add more colorspace to another software. It's way beyond my programming skill set. The math formula's are very complex.
It took one company nearly 8 months to fully added Rec.2020 to there software. They also had to add support for HDR and recording function too. Plus a way to view HDR on a SDR monitors.
Danette
18th September 2018, 15:21
Whenever I open AvsPMod, an "Error Window" opens advising that "Error parsing plugin string at position 0:"
AvsPMod seems to function normally, though. I have tried changing the "Library" file, which was the only solution I could find on this forum, which solved the problem. However, it created new error messages that also affected the program functioning (an "autolevels" error).
mtamimi
3rd November 2018, 18:59
This project was last updated on 2013...is this one still actively developed?
Thanks
ChaosKing
3rd November 2018, 19:14
There was a new release by gispos: https://forum.doom9.org/showthread.php?t=175823
byteshare
17th July 2019, 17:32
NekoPanda also has a version that works with their AVIsynth Neo version: https://github.com/nekopanda/AvsPmod/releases
LigH
28th March 2020, 10:31
Selur discovered:
AvsPmod may not start at all if you enabled the Windows 10 beta feature to support UTF-8 locale.
Wile_E_Coyote
4th April 2020, 15:31
Hi everyone - be gentle with me, I'm feeling a bit tender after finally (re-)starting my VHS tapes to digital program.
I treated myself to a new Windows 10 PC and so I'm dedicating my old(er) Windows 7 64 bit machine to the task.
On my (even older) XP machine I used a Dazzle connection but the drivers don't exist to use it on 7 so I got an ezcap and after quite a few stumbles, managed to get a test .avi.
I decided to follow Andrew Swan's tutorials which include using AvsPmod and have followed his install instructions and .avs template -
1 SetFilterMTMode ("QTGMC", 2)
2 FFMPEGSource2("D:\filename.avi", atrack=1)
3 ConvertToYV12()
4 AssumeBFF()
5 QTGMC(preset="Slower", EdiThreads="2")
6 BilinearResize(720,576)
7 Prefetch(7)
I fall at the first hurdle though as when I click on the video timeline, I get an error message –
Cannot load a 32 bit DLL in 64 bit Avisynth: ‘C:/Prgram Files (x86)/AviSynth+/plugins64+/mscvcm90.dll’.
(D:\Avisynth\Template.avs, line 2)
I’ve gone back over the install instruction from a number of sources but can’t get past it.
I’m thinking that the .dll is the video playback and there may be things linked to that which are causing the problem.
Any ideas?
StainlessS
4th April 2020, 20:12
Avisynth 64 bit can only use 64 bit plugins, 32 bit only 32 bit plugins. [Not all plugins have 64 bit versions].
‘C:/Prgram Files (x86)/AviSynth+/plugins64+/mscvcm90.dll’
Typo in D9 post ?
‘C:/Prgram Files (x86)/AviSynth+/plugins64+/mscvcm90.dll’.
Windows runtime dll, not Avs plugin.
What is "D:\Avisynth\Template.avs" ?
FFMPEGSource2 requires FFMS2.avsi in plugins. (as well as ffms2.dll)
Wile_E_Coyote
5th April 2020, 14:50
Typo in D9 post?
Yep, sorry. My typing has improved 100% over the years...I can now type with one finger...on both hands!
What is "D:\Avisynth\Template.avs"?
It's the Avisynth template .avs file that I'm trying to create so that each VHS capture just needs tweaking (cropping etc.) My HD is partitioned with C:\ being the OS and D:\ the dedicated work drive after migrating everything else to the w10 PC.
FFMPEGSource2 requires FFMS2.avsi in plugins. (as well as ffms2.dll)
I'll look into it, thanks for your time and effort.
StainlessS
5th April 2020, 15:59
It's the Avisynth template .avs file that I'm trying to create
If you post it, matbe someone can point out where your problem lies.
Floatingshed
7th April 2020, 12:04
I have a project on the go which requires edits based more on soundtrack than pictures. Is there anyway to preview a trim operation in both video and audio?
I realize that I can do this with an external player but that is extremely time consuming, having to scroll through to find the edit point each time. Ideally I need to play the video and audio from a few frames before the currently selected frame, to a few frames past it.
I imagine I could launch an external player in a macro, but how do you tell the player to start at a predetermined frame rather than frame 0?
Any ideas please?
PerDeConf
8th April 2020, 11:50
Maybe Ctrl+G with mpc-hc
https://i.postimg.cc/nV14zfhL/screenshot-399.png
Emulgator
8th April 2020, 22:55
Waveform()
Wile_E_Coyote
10th April 2020, 16:34
If you post it, matbe someone can point out where your problem lies.
Finally managed to get AvsPmod working today by downloading the AMVapp pack and, following various tutorials, created a template .avs file that I can use for each capture (just adjusting the crops). VirtualDub is processing my first file now but when I went back to close AvsPmod, I got an error box saying -
Traceback (most recent call last):
File "AvsP.pyo", line 5329, in OnClose
File "AvsP.pyo", line 7195, in ExitProgram
File "AvsP.pyo", line 7820, in SaveSession
IOError: [Errno 13] Permission denied: u'C:\\Program Files (x86)\\AvsPmod\\_last_session_.ses'
I have now changed the permissions for that folder and all is well.
Looking forward to my first file! I haven't done anything fancy, just the bare minimum, having mooched around in the forums, it looks like it's a very, very long piece of string - you guys amaze me.:thanks:
LigH
10th April 2020, 17:26
Groundhog Day again?
Do not run AvsPmod in a UAC protected directory.
JKyle
30th August 2020, 19:28
AvsPmod 2.6.3.5 GPo x64 fails to load with the following error log in error_log.txt:
Traceback (most recent call last):
File "run.py", line 49, in <module>
File "avsp.pyo", line 19771, in main
File "wx\_core.pyo", line 8622, in __init__
File "wx\_core.pyo", line 8187, in _BootstrapApp
File "avsp.pyo", line 19758, in OnInit
File "avsp.pyo", line 5412, in __init__
File "avsp.pyo", line 13471, in LoadSession
File "avsp.pyo", line 13559, in LoadTab
KeyError: 'bookmarks'
My system:
Windows 10 Home build 19041.450, x64
AviSynth+ 3.6.1 (installed)
I rolled it back to 2.6.3.4 and it works OK.
gispos
30th August 2020, 21:31
AvsPmod 2.6.3.5 GPo x64 fails to load with the following error log in error_log.txt:
Traceback (most recent call last):
File "run.py", line 49, in <module>
File "avsp.pyo", line 19771, in main
File "wx\_core.pyo", line 8622, in __init__
File "wx\_core.pyo", line 8187, in _BootstrapApp
File "avsp.pyo", line 19758, in OnInit
File "avsp.pyo", line 5412, in __init__
File "avsp.pyo", line 13471, in LoadSession
File "avsp.pyo", line 13559, in LoadTab
KeyError: 'bookmarks'
My system:
Windows 10 Home build 19041.450, x64
AviSynth+ 3.6.1 (installed)
I rolled it back to 2.6.3.4 and it works OK.
I probably overlooked it.
The sessions saved with the previous version cannot be opened with the new version. So you have to save a new session first, then there should be no problems.
If it is absolutely necessary to open the old sessions with the new version, I can fix that.
The AvsPmod thread of the newer versions is here. (https://forum.doom9.org/showthread.php?t=175823)
ENunn
22nd January 2021, 02:26
Trimming has been somewhat broken since 2.6.6.0. I have to revert to 2.6.5.3 to make it work properly. Hope there's a fix soon!
https://www.youtube.com/watch?v=DvqWM-jcBgM
arestarh
22nd January 2021, 09:25
Trimming has been somewhat broken since 2.6.6.0. I have to revert to 2.6.5.3 to make it work properly. Hope there's a fix soon!
https://www.youtube.com/watch?v=DvqWM-jcBgM
Seems like newer version is being discussed in thread
https://forum.doom9.org/showthread.php?t=175823
gispos
22nd January 2021, 12:39
Trimming has been somewhat broken since 2.6.6.0. I have to revert to 2.6.5.3 to make it work properly. Hope there's a fix soon!
https://www.youtube.com/watch?v=DvqWM-jcBgM
Hi there,
In the youtube video I can't follow your fast moves :) so please explain the error to me in more detail.
I found one mistake, but it is probably not the only one. And please post in the thread that arestarh has linked.
I sent you a private message.
Lirk
12th July 2021, 16:54
How to clear recently opened files list?
kedautinh12
12th July 2021, 17:06
Check last ver?
https://forum.doom9.org/showthread.php?p=1946784#post1946784
StormMeows
14th July 2021, 22:27
Hey guys is it possible to interleave a bluray 1080p source to an encoded sample x265? I use pretty much the same script when interleaving x264 to the bluray source and it works fine. When I try the same script with x265 it gives me the error "Interleave formats do not match." Any way to remedy this so I can check my x265 10bit samples? Here is the script I am trying to use and I use this for testing x264:
a=Import("C:\Bluray\Avatar.avs")
\.subtitle("Source" , y=0, size=16, align=7)
b=FFVideoSource("C:Bluray\test.x265.mkv")
\.ffinfo(framenum=true,frametype=true,cfrtime=false,vfrtime=false)
\.subtitle("CRFnew", y=40, size=16, align=7)
Interleave (a,b)
Thanks for any help!
StainlessS
15th July 2021, 09:32
Just comment out the interleave line, and use at end, Return a.Info, and then Return b.Info
to see what properties are different.
[EDIT: For instance, You cannot join clips of different dimensions, or if one clip is YV12, and the other is RGB32]
StormMeows
15th July 2021, 17:56
Just comment out the interleave line, and use at end, Return a.Info, and then Return b.Info
to see what properties are different.
[EDIT: For instance, You cannot join clips of different dimensions, or if one clip is YV12, and the other is RGB32]
Thank you! I will most likely be switching back to x264 8 bit for 1080p bluray encodes due to how long the x265 counterparts take. This is great info to know though!
moviest
28th August 2021, 14:40
Hello
Tried AvsPMod 2.5.1 on Win10 x64
"---------------------------
Error
---------------------------
Cannot load a 64 bit DLL in 32 bit Avisynth: 'C:/Programs/AviSynth+/plugins64+/AddGrainC.dll'.
(B:\RE\re3\re3_analysis.avs, line 6)
---------------------------
ОК
---------------------------
"
Yes, i know about bitness
Yes, everything works fine outside AvsPMod (x64, ffmpeg etc)
Yes, custom directory for Avisynth+ x64 and plugins has been specified
So, what is wrong?
martin53
24th January 2022, 18:56
https://github.com/gispos/AvsPmod says this is the discussion of the recent AvsPMod, which I like and use really much ‒ thank you, gispos! :thanks: - so I'll give it a try.
I wonder how I could display informations from the script without subtitles, because they distort clip statistics, get unreadable when I zoom out, demand a switch between dev/production script etc.
And because there is a quite versatile status line in AvsPMod, maybe it can check if some global variables are defined, say AvsPUser0 to AvsPUser9 or so, and if so, display them at the locations where the user entered %AU0 ... %AU9 like the values it can display today? Or even the user can give arbitrary names: unknown names in the status line definition after the percent sign are checked for being global script variables?
(I think of run time values here, that change frame by frame and can be watched more conveniently in a status line than in the debug output which is a different window and logs much more)
Thank you for reading this, and even more for considering the idea :)
Reel.Deel
24th January 2022, 19:03
https://github.com/gispos/AvsPmod says this is the discussion of the recent AvsPMod...
Probably has not been updated but the discussion moved to here: https://forum.doom9.org/showthread.php?t=175823
gispos
24th January 2022, 20:39
I wonder how I could display informations from the script without subtitles, because they distort clip statistics, get unreadable when I zoom out, demand a switch between dev/production script etc.
Use frame properties.The values can be displayed under Video > 'Frame properties'
Simple example.
Sub1 = "I'm Subtitle 1"
Sub2 = "I'm Subtitle 2"
propSet("Sub1", Sub1)
propSet("Sub2", Sub2)
propSet("Subs", [Sub1, Sub2])
https://i.postimg.cc/cC0KcgMk/Subtitle.jpg (https://postimages.org/)
And as Reel.Deel wrote, the discussion moved to here: https://forum.doom9.org/showthread.php?t=175823
wonkey_monkey
26th January 2022, 12:05
Out of curiosity, what happens under the hood when you move a filter's sliders? Is the whole filter chain rebuilt from scratch? Or is AvsPmod parsing the text itself and keeping track of invokes (or something) so it only has to to back as far as the changed filter?
gispos
26th January 2022, 18:07
Out of curiosity, what happens under the hood when you move a filter's sliders? Is the whole filter chain rebuilt from scratch? Or is AvsPmod parsing the text itself and keeping track of invokes (or something) so it only has to to back as far as the changed filter?
I don't want two threads:)
https://forum.doom9.org/showthread.php?p=1962397#post1962397
Mounir
13th April 2023, 10:25
I'm in trouble with AVSpMod
it used to work ok, now i can't even encode (with script encoder VFW) the most basic script. Enlighten me pls.
Traceback (most recent call last):
File "avsp.pyo", line 9251, in OnMenuToolsRunSelected
File "C:\Program Files (x86)\AvsPmod\tools\avs2avi_gui.py", line 347, in avsp_run
dlg = Avs2aviDialog(avsp.GetWindow(), inputname, title=_('Save as AVI'))
File "C:\Program Files (x86)\AvsPmod\tools\avs2avi_gui.py", line 10, in __init__
self.LoadOptions()
File "C:\Program Files (x86)\AvsPmod\tools\avs2avi_gui.py", line 127, in LoadOptions
self.options = cPickle.load(f)
EOFError
gispos
13th April 2023, 16:26
I'm in trouble with AVSpMod
it used to work ok, now i can't even encode (with script encoder VFW) the most basic script. Enlighten me pls.
The error seems to be caused by a corrupted or incompatible option file.
Please delete the files avs2avi_gui.pyo and avs2avi_gui.dat in the AvsPmod\Tools folder and try again.
Current AvsPmod thread
https://forum.doom9.org/showthread.php?t=175823
Edit:
https://drive.google.com/file/d/1cCf3_PVyzj3kUOrWpKlCQ3FRjkliIz4m/view?usp=sharing
Swap the avs2avi_gui.py in the tools directory with the one in the archive.
Added an error message if your folders where AvsPmod is located are write protected. Then please change.
What version of AvsPmpd are you using?
Mounir
14th April 2023, 09:07
Iv'e tried the latest version it now work again
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.