View Full Version : AvsPmod 2.5.1
vinujan
11th June 2010, 17:35
Hi,
thanks for updating AVSP!
Sorry for bugging, but are there any news on a 64bit version of AVSPmod? It would be really appreciated.
Best Regards
DavidI too would like 64bit support!
Zarxrax
11th June 2010, 20:03
I can't add 64-bit support. I tried it but I didn't really understand what was going on. I think it's not possible.
Foxyshadis said something about maybe trying to compile a 64-bit one, so maybe he will have some better luck.
Zarxrax
22nd June 2010, 19:43
Bleh, I'm getting annoyed trying to make changes to this code. Mainly because I don't understand it -_-
Anyways, I believe I have found a workaround to the tab width issue with monospaced fonts. Just change the "default font" to the same font that is selected as the monospaced font. That should fix the tab widths.
It SHOULD be rather simple to add code folding (just a couple of lines of code), but I'm still having trouble figuring it out.
As my own laptop is currently fubar'd, I ended up testing AvsPmod 2.0.5 in wine just for the sake of it on a random university workstation (it has for a long time been an application "that just won't work" on wine). And 'lo and behold! It actually started (pic (http://img441.imageshack.us/img441/117/avsponlinux.png))!
The editor functionality (at least the basics of it) seem to work, and the application doesn't seem to crash with trying to plug the preview in or anything like that. The worse side is, the preview doesn't actually seem to work. It gives out random colors on different frames. So close, yet so far...
Tested (otherwise) working on wine 1.2rc2 and 1.2rc5. The Ubuntu rc6 package is not yet built, so testing on that will have to wait until it's done.
I wonder if anyone with knowledge on the video rendering part of the code can see what could be the culprit of the bug, and try to work around it while I try to see if the wine people could be worked with to make things work more swiftly. When working with Avisynth in wine, I've been quite missing something by the likes of AvsP(mod), to be honest ;)
tin3tin
3rd July 2010, 22:12
Impressive how you improve this great software though I can imagine it can be hard to find your way through the code. Great to see new user functions included too. :)
A small bug I've noticed is when you have code longer than what's visible and you search backwards from the end of the script then the text control isn't scrolled to where the word is found above your current position.
RCL0000ZK
13th July 2010, 18:43
Specs:
Win 7 x64 Ultimate (All updates)
Core i7 920
3GB DDR3 1600MHz RAM
AviSynth v2.5.8
AvsPmod v2.0.5
Using this script:
DGMultiSource("E:\Users\Neo\Videos\Videos\Vid.dgi", deinterlace=2)
Trim(150,462) ++ Trim(2940,3872) ++ Trim(4404,4802) ++ Trim(18794,20000) ++ Trim(27028,27474) ++ Trim(32352,35104) ++ Trim(35382,35916)++ Trim(38976,41752) ++ Trim(89864,91344)
Trim(1248,1420)
and many 'tabs' of this script:
MPEG2Source("E:\Users\Neo\Videos\Videos\Vid.d2v", cpu=6, iPP=true)
source = last
denoised = source.fft3dfilter(sigma=6,bt=3,interlaced=true)
denoised_D = mt_makediff(source,denoised,U=3,V=3)
denoised.TGMCmod().mt_adddiff(denoised_D.doubleweave(),U=3,V=3)
Trim(150,462) ++ Trim(2940,3872) ++ Trim(4404,4802) ++ Trim(18794,20000) ++ Trim(27028,27474) ++ Trim(32352,35104) ++ Trim(35382,35916)++ Trim(38976,41752) ++ Trim(89864,91344)
Trim(1248,1420)
I open the first script in one tab and the second script in many tabs.
When only the first script is opened, I have no problem.
But, when the second script is opened in many tabs with different values of 'sigma' in each script...after the >5 instances, I get the following error
Traceback (most recent call last):
File "AvsP.pyo", line 5813, in OnMenuVideoRefresh
File "AvsP.pyo", line 8950, in ShowVideoFrame
File "AvsP.pyo", line 9492, in PaintAVIFrame
File "pyavs.pyo", line 322, in DrawFrame
File "pyavs.pyo", line 301, in _GetFrame
File "avisynth.pyo", line 277, in GetFrame
WindowsError: exception: access violation writing 0x00000040
....when the first script is refreshed, I also get this (http://forum.doom9.org/showthread.php?p=1384948#post1384948) same error.
Also, in the same scenario, but WITHOUT the first scipt I get the following error:
Traceback (most recent call last):
File "AvsP.pyo", line 6409, in OnNotebookPageChanged
File "AvsP.pyo", line 8950, in ShowVideoFrame
File "AvsP.pyo", line 9492, in PaintAVIFrame
File "pyavs.pyo", line 322, in DrawFrame
File "pyavs.pyo", line 306, in _GetFrame
File "avisynth.pyo", line 309, in GetPitch
ValueError: NULL pointer access
Traceback (most recent call last):
File "AvsP.pyo", line 7147, in OnPaintVideoWindow
File "AvsP.pyo", line 9492, in PaintAVIFrame
File "pyavs.pyo", line 322, in DrawFrame
File "pyavs.pyo", line 306, in _GetFrame
File "avisynth.pyo", line 309, in GetPitch
ValueError: NULL pointer access
creaothceann
17th July 2010, 08:58
Moving the cursor through a script becomes noticeably slower the further it goes in the text. I guess that's because the program parses every time to see if it should display a function definition or auto-complete.
Could this be sped up somehow? I don't have the newest computer in the world (P4 1.7 GHz), but still... This is the only editor I've ever seen that has this problem.
Zarxrax
17th July 2010, 19:24
Moving the cursor through a script becomes noticeably slower the further it goes in the text. I guess that's because the program parses every time to see if it should display a function definition or auto-complete.
Could this be sped up somehow? I don't have the newest computer in the world (P4 1.7 GHz), but still... This is the only editor I've ever seen that has this problem.
I've never noticed this problem, but I think it's unlikely that I can fix it. Does it only happen on really long scripts?
creaothceann
17th July 2010, 22:20
Does it only happen on really long scripts?
It probably happens in all scripts, but in short ones it's not noticeable.
For example in this old (unfinished) script:
AVISource("Thundercats intro.avi")
Process()
#ConvertToRGB24()
# ImageWriter("01\", type="tga")
##ImageReader("01\%06d.tga")
function Process(clip) {
clip
n( 84).n( 86).n( 88).p( 93).n( 94).n( 96).n( 108).n( 110).n( 112).n( 114).n( 122).p( 125).n( 126).n( 128).n( 140).n( 146)
n( 150).n( 154).n( 158).n( 214).n( 218).n( 222).n( 226).n( 230).n( 232).n( 234).n( 238).n( 240).n( 242).n( 244).p( 246).n( 262)
n( 264).n( 268).n( 272).p( 274).n( 280).p( 282).n( 284).n( 286).n( 288).p( 290).n( 296).n( 295).n( 294).p( 299).p( 300).n( 301)
p( 313).p( 314).n( 318).n( 320).n( 322).n( 324).n( 326).n( 330).n( 332).n( 334).p( 337).n( 338).n( 340).n( 342).n( 344).p( 346)
n( 348).n( 350).n( 352).n( 354).n( 356).p( 362).n( 364).n( 386).n( 392).n( 394).p( 410).n( 412).n( 414).n( 418).n( 492).p( 494)
n( 496).n( 500).n( 605).n( 610).n( 614).p( 627).n( 650).n( 656).n( 658).n( 660).n( 662).n( 666).n( 668).n( 670).n( 672).n( 674)
n( 676).n( 678).n( 680).p( 682).p( 685).n( 686).n( 688).n( 690).n( 696).p( 698).n( 700).p( 702).p( 707).n( 712).n( 720).p( 722)
n( 724).p( 726).n( 728).n( 730).n( 732).n( 734).n( 736).n( 738).n( 740).n( 742).n( 760).p( 762).n( 764).p( 766).n( 768).p( 770)
n( 774).n( 776).n( 778).n( 780).n( 782).n( 784).n( 786).n( 788).n( 790).n( 792).n( 794).n( 796).n( 798).n( 800).n( 802).n( 806)
n( 810).n( 814).n( 844).p( 846).n( 848).n( 850).n( 860).p( 862).n( 864).p( 866).n( 868).n( 870).n( 872).p( 874).n( 894).n( 898)
n( 902).n( 906).n( 918).n( 926).n( 930).n( 934).n( 936).p( 938).n( 940).n( 942).n( 944).n( 946).n( 948).p( 950).n( 952).n( 954)
n( 956).p( 958).n( 960).n( 962).n( 966).n( 968).n( 970)
n( 974).n( 998).n(1010).n(1042).n(1074).n(1078).n(1086).n(1094)
n(1106).n(1130).n(1146).n(1150).n(1154).n(1158).n(1162).n(1178).n(1190).n(1202).n(1210).n(1214).n(1218).n(1222).n(1226).n(1238)
n(1242).n(1262).n(1266).n(1270).n(1278).n(1290).n(1326).n(1378).n(1382).n(1386).n(1390).n(1394).n(1398).n(1400).n(1402).n(1404)
n(1444).n(1448).p(1450).n(1452).p(1454).n(1456).n(1458).n(1466).n(1472).p(1474).n(1476).p(1479).n(1480).p(1482).n(1484).p(1486)
n(1488).p(1490).n(1492).p(1494).n(1496).p(1498).n(1500).p(1502).n(1504).p(1506).n(1507).p(1509).n(1510).n(1512).p(1514).p(1515)
p(1517).p(1518).p(1520).p(1521).n(1522).n(1524).p(1526).p(1527).n(1528).p(1530).p(1532).p(1533).p(1534).n(1536).p(1538).n(1540)
p(1542).n(1544).n(1546).n(1556).p(1558).n(1560).p(1562).n(1564).n(1566).n(1568).p(1570).n(1572).n(1574).n(1576).p(1578).n(1580)
p(1582).n(1584).p(1586).n(1588).n(1590).n(1592).p(1594).n(1596).n(1598).n(1600).p(1602).n(1604).p(1606).n(1608).n(1610).n(1612)
n(1614).n(1616).n(1618).n(1621).n(1624).n(1626).n(1628).n(1630).n(1632).n(1634).n(1636).p(1638).n(1640).n(1642).n(1644).n(1646)
n(1648).n(1650).n(1652).n(1654).n(1656).n(1658).n(1660).p(1662).n(1664).n(1666).n(1668).n(1670).n(1672).n(1674).n(1676).n(1678)
n(1680).n(1682).n(1684).n(1686).n(1688).n(1690).n(1692).n(1694).p(1698).n(1700).n(1702).n(1704).n(1706).n(1708).n(1710).n(1712)
p(1714).n(1716).p(1718).n(1720).n(1728).p(1750).n(1760).p(1762).n(1778).n(1780).n(1782).p(1789)
wnd( 72, 338, 0, 16, 16, -1)
wnd( 73, 338, 0, 16, 16, -1)
wnd( 166, 408, 42, 12, 12, -1)
wnd( 172, 500, 66, 16, 16, -1)
wnd( 173, 500, 66, 16, 16, -1)
wnd( 174, 500, 66, 16, 16, -1)
wnd( 382, 346, 322, 16, 16, -1)
wnd( 383, 346, 322, 16, 16, -1)
wnd( 483, 6, 84, 8, 8, -1)
wnd( 563, 424, 40, 8, 12, -1)
wnd( 704, 0, 260, 226, 78, 2)
wnd( 705, 0, 260, 226, 78, 1)
wnd( 711, 216, 372, 18, 12, 1)
wnd( 954, 250, 104, 8, 8, -1)
wnd( 955, 250, 104, 8, 8, -1)
wnd( 960, 96, 332, 10, 8, 4)
wnd( 961, 96, 332, 10, 8, 3)
wnd( 996, 270, 114, 8, 8, -1)
wnd( 997, 270, 114, 8, 8, -1)
wnd(1032, 572, 0, 8, 8, 3)
wnd(1033, 572, 0, 8, 8, 2)
wnd(1034, 572, 0, 8, 8, 1)
wnd(1042, 66, 234, 12, 12, 2)
wnd(1043, 66, 234, 12, 12, 1)
wnd(1050, 596, 382, 10, 16, -1)
wnd(1051, 596, 382, 10, 16, -1)
wnd(1626, 444, 180, 32, 12, 2)
wnd(1627, 444, 180, 32, 12, 1)
# Stab()
}
function p(clip, int Index) {clip.DeleteFrame(Index).DuplicateFrame(Index - 1)}
function n(clip, int Index) {clip.DeleteFrame(Index).DuplicateFrame(Index )}
function wnd(clip, int Index, int x, int y, int w, int h, int dt) {#, int dx, int dy) {
#dx = default(dx, 0)
#dy = default(dy, 0)
dt = default(dt, -1)
clip
#prev_content = BlankClip(1, w, h)
prev_content = Trim(Index + dt, -1).Crop(x, y, w, h) # Crop(x + dx, y + dy, w, h)
ApplyRange(Index, Index, "Overlay", prev_content, x, y)
}
(What I did was adding a couple of function calls after the "Process()" call; when I was satisfied with them I moved them to the end of the function.)
Scrolling through the last lines is slow - with some exceptions though. Here's a video (recorded with CamStudio):
http://www.mediafire.com/file/71ie7rqvglksoib/AvsP.avi
You can probably reproduce the effect on your PC if you copy & paste the script a few times.
Zarxrax
18th July 2010, 13:18
I can't view the video, as I don't have the camstudio codec, or whatever you used. But I did try copy pasting it a few times. I started noticing the slowdown after about 500 lines, so I see what you are talking about.
This problem is related to the "show filter calltips" setting, because if you turn that off, the speed returns to normal. I can check into it, but as I already said, i doubt I can do anything about it.
creaothceann
18th July 2010, 14:54
I can't view the video, as I don't have the camstudio codec
(Included with the software, which is free.) Alternative links, just in case:
http://www.mediafire.com/file/e4k2cmw8ozyql43/AvsP_ZMBV.avi
http://www.mediafire.com/file/yxuwvziu0o0w500/AvsP_h264.avi
This problem is related to the "show filter calltips" setting, because if you turn that off, the speed returns to normal. I can check into it, but as I already said, i doubt I can do anything about it.
I wouldn't have known to toggle that particular setting, and can live without it. And since most users won't reach 500 lines anyway it is already good enough.
:thanks:
levi
21st July 2010, 20:02
Regarding 64 bit, the trouble I see is this (when selecting the "tools - save to..." option):
http://img822.imageshack.us/img822/78/57345094.th.png (http://img822.imageshack.us/img822/78/57345094.png)
It displays a message stating the "script contains errors, exiting" when, in fact, the script works fine. Basically since avspmod is not a 64bit app, it can not utilize the 64 bit plug-in.
I propose adding an option (default disabled) in avspmod to ignore this condition where the .avs appears to be invalid. 'Don't check avisynth script" or whatever. The script can be manually confirmed by the user - setting the external player to veedub64.exe & using F6.
Another nice option would be to add batch processing - allow multiple encodes to be queued. Either put multiple jobs in the batch file which is generated or one batch calls another upon completion or whatever other way may be easier. Second approach would be nice as it could allow queuing additional jobs later on vs getting the subsequent jobs staged before starting the queue.
Also, it would be really cool if you could add batch file execution output logging similar to 'tee' (display to console & create a log file).
Stephen R. Savage
21st July 2010, 20:27
Regarding 64 bit, the trouble I see is this (when selecting the "tools - save to..." option):
It displays a message stating the "script contains errors, exiting" when, in fact, the script works fine. Basically since avspmod is not a 64bit app, it can not utilize the 64 bit plug-in.
I propose adding an option (default disabled) in avspmod to ignore this condition where the .avs appears to be invalid. 'Don't check avisynth script" or whatever. The script can be manually confirmed by the user - setting the external player to veedub64.exe & using F6 vs getting the subsequent job all staged before starting the queue.
You can work around this yourself by using the Avisynth try/catch structure. On the first line, where you attempt to load a 64-bit plugin, rewrite it to something like this:
try { Load_StdCall_Plugin("yadif64.dll") }
catch(err_msg) { Load_StdCall_Plugin("yadif32.dll") }
I believe you can also have the catch statement execute "return BlankClip()" to terminate the script early, but I am not sure.
Gavino
21st July 2010, 21:07
I believe you can also have the catch statement execute "return BlankClip()" to terminate the script early, but I am not sure.
No, 'return' inside a try/catch just terminates the current block (try or catch part), not the entire script.
Zarxrax
22nd July 2010, 00:26
I didn't realize it prevents you from saving the file. I'll see if I can remove that restriction. I'm not sure how soon I'll be able to get around to it though.
Edit: sorry, I misread that. Still, I'll check into it.
levi
22nd July 2010, 01:36
Cool, thx.
Stephen R. Savage's try / catch suggestion alleviates my frustration in the meantime.:thanks:
Frosty5689
30th July 2010, 00:11
If its not too troublesome, is it possible to upgrade to python 2.6 library or above? I would love to use cpu_count function as part of my macro to split a script into 8 parts (so I can filter videos with 8 threads and then join them together), atm its not automated loop as it can't read how many cores a cpu has. Just a suggestion.
Zarxrax
31st July 2010, 17:39
If its not too troublesome, is it possible to upgrade to python 2.6 library or above? I would love to use cpu_count function as part of my macro to split a script into 8 parts (so I can filter videos with 8 threads and then join them together), atm its not automated loop as it can't read how many cores a cpu has. Just a suggestion.
Nope, that cant happen unless someone who really knows what they are doing goes through the code and updates it. Avsp requires a specific version of wxpython. And wxpython, in turn, requires a specific python. When I used newer builds of wxpython, it had the odd result of not being able to use the arrow keys to move around in the text area.
flebber
1st August 2010, 08:34
If its not too troublesome, is it possible to upgrade to python 2.6 library or above? I would love to use cpu_count function as part of my macro to split a script into 8 parts (so I can filter videos with 8 threads and then join them together), atm its not automated loop as it can't read how many cores a cpu has. Just a suggestion.
That definitely interests me. Would be good to get Avsp on to python 2.7:) . I have a big work project on over the next month but will have a look at it after that.
Good to note that Wxpython has recently been updated http://www.wxpython.org/recentchanges.php
royia
28th August 2010, 20:31
Zarxrax, Thank you for updating this great tool.
I wish someone would come along and help you take this software to the next level.
By the way, for me the Num Keys doesn't work in the Text Editor Mode.
Windows 7 64bit version 2.05.
Thanks.
Zarxrax
29th August 2010, 01:54
Num keys don't work? What exactly do you mean? On the number pad or the numbers about the keyboard? The numbers on the num pad, or the arrows? Or both?
Arrows on the number pad is the only thing that doesn't work for me. But for all I know, maybe its always been like that.
royia
30th August 2010, 14:26
I mean the Num Pad as arrows (Num Lock is off).
Zarxrax
30th August 2010, 17:06
I checked and the original avsp treats it the same way, so there's not really much I can do about it, I think. I guess you've just gotta use the normal arrows.
Maitreya
1st September 2010, 10:00
@Zarxrax :
Do you know how Git works?, if so; could we setup a repo so I (and others) can help u on improvements on AvsPmod?
b.t.w. : A 64 bit version would be possible but this is without psyco support (also python 2.7 doesnt have psyco yet) :
http://psyco.sourceforge.net/
Zarxrax
1st September 2010, 15:18
I absolutely don't know how it works :p
But I'll read up on it and try to get it set up.
Hmm, after looking at it, git doesn't seem very friendly to windows. Would an alternative method like svn be ok?
Maitreya
1st September 2010, 16:02
Sure!, i just love Git, but svn will do just fine :)
Attack
14th September 2010, 10:48
I've only just found this tool... and well, thank you for keeping a dead project alive. While I am rubbish at using Avisynth, I am a good programmer, so if you do get a repository set up, I'd gladly explore the code...
If there are known bugs, do list them as debugging is my speciality.
royia
14th September 2010, 14:55
I've only just found this tool... and well, thank you for keeping a dead project alive. While I am rubbish at using Avisynth, I am a good programmer, so if you do get a repository set up, I'd gladly explore the code...
If there are known bugs, do list them as debugging is my speciality.
Those are great news!
Thank you...
Zarxrax
14th September 2010, 16:28
Ah cool, we do have a repository now and are making some very nice progress :)
I'll send you a pm with info.
Yobbo
14th September 2010, 22:07
Thanks for all your efforts, people! AVSPmod is a great tool that should pushed further! THANK YOU!
AlekseiV
26th September 2010, 05:34
Feature request: "Do not show preview window on restore of previous session" option.
I want to use the video preview window, so I can't disable it. I also want to restore my session, so I can't disable that.
Sometimes I work with scripts that output files (e.g. TFM, DeDup). If I was working with them with the window open, closing then opening AvsPmod will result in their logfiles being deleted, possibly without me predicting it and thus not having them backed up.
Also sometimes I crash AvsPmod and when I re-open it the above happens.
Yobbo
26th September 2010, 16:15
Feature request: "Do not show preview window on restore of previous session" option.
I want to use the video preview window, so I can't disable it. I also want to restore my session, so I can't disable that.
Sometimes I work with scripts that output files (e.g. TFM, DeDup). If I was working with them with the window open, closing then opening AvsPmod will result in their logfiles being deleted, possibly without me predicting it and thus not having them backed up.
Also sometimes I crash AvsPmod and when I re-open it the above happens.
YEP! Agreed. The only way around this is to drag/drop a new video file on AvsP to open it.
Chikuzen
8th October 2010, 17:30
yesterday, an idea struck me when i read Zarxrax's 'Bookmarks to Chapter.py'.
if someone wants to put chapters on his/her video, he/she should encode so that the chapter point may be a key(IDR)frame.
thus i decided to modify Zarxrax's script a little.
#Bookmarks to x264 qpfile.py
filename = avsp.GetSaveFilename(title='Save as')
if filename != '':
bookmarks = avsp.GetBookmarkList()
bookmarks.sort()
file=open(filename + '.qpfile', 'w')
for bookmark in bookmarks:
file.write('%i K -1\n' % bookmark)
file.close()
#Bookmarks to chapter and qpfile.py
filename = avsp.GetSaveFilename(title='Save as')
if filename!='':
fps = avsp.GetVideoFramerate(index=None)
bookmarks = avsp.GetBookmarkList()
bookmarks.sort()
chfile=open(filename + '.chapter.txt', 'w')
qpfile=open(filename + '.qpfile', 'w')
chapter = 1
for bookmark in bookmarks:
m, s = divmod(bookmark/fps, 60)
s2 = s
h, m = divmod(m, 60)
ms = (s2-int(s))*1000
time = '%02i:%02i:%02i.%03i' % (h ,m, s, ms)
chfile.write('CHAPTER%02i=' % chapter)
chfile.write(time + '\n')
chfile.write('CHAPTER%02iNAME=Chapter %02i\n' % (chapter, chapter))
chapter+=1
qpfile.write('%i K -1\n' % bookmark)
chfile.close()
qpfile.close()
#Bookmaks and TimecodeV2/V4 to Chapter and qpfile.py
tcfilename = avsp.GetFilename(title='Select the TimecodeV2/V4 file')
if tcfilename != '':
tcfile = open(tcfilename)
tclines = tcfile.readlines()
tcfile.close()
timecodes = []
for tcline in tclines:
try:
timecode = int(float(tcline.strip()))
except:
pass
else:
timecodes.append(timecode)
if len(timecodes) == avsp.GetVideoFramecount():
outputfilename = avsp.GetSaveFilename(title='Save as')
if outputfilename != '':
chfile = open(outputfilename + '.chapter.txt', 'w')
qpfile = open(outputfilename + '.qpfile', 'w')
chapter = 1
bookmarks = avsp.GetBookmarkList()
bookmarks.sort()
timecodes.sort()
for bookmark in bookmarks:
time_ms = timecodes[bookmark]
s, ms = divmod(time_ms, 1000)
m, s = divmod(s, 60)
h, m = divmod(m, 60)
time = '%02i:%02i:%02i.%03i' % (h ,m, s, ms)
chfile.write('CHAPTER%02i=' % chapter)
chfile.write(time + '\n')
chfile.write('CHAPTER%02iNAME=Chapter %02i\n' % (chapter, chapter))
chapter += 1
qpfile.write('%i K -1\n' % bookmark)
chfile.close()
qpfile.close()
else:
avsp.MsgBox("The number of timecodes isn't suitable for video's Framecount.")
any suggestion?
LigH
20th October 2010, 10:56
:thanks: Great tool! :cool:
Still - a few suggestions:
Please recognise (and maybe even highlight specifically) hexadecimal numbers ::= "$" + 6|8 hex-digits (often used for colors); they are not "bad numbers".
It would be useful to be able to have AvsPmod open the file defined in an "Import" call, as this is usually also an AviSynth script (e.g. like in Eclipse the Ctrl+LMB click - open highlighted file).
It would be useful to allow autocompletion for the string in LoadPlugin[Ex] for DLL files in a few custom directories (not only the autoload path), with subdirectory option.
Some function definitions are a bit outdated or incomplete, e.g. ImageSource/ImageReader missing "info" and "pixel_type" ...
GRKNGLR
28th October 2010, 11:11
Hi,
When will the new version be ready?
Boulotaur2024
28th October 2010, 16:03
My only gripe with this is the fact that autocompletion is very obtrusive and I lost count of all the times I unvolontarily clicked on a function parameter definition... Other than that I use exclusively AvsPmod all the time now, so yeah it's good :)
LigH
29th October 2010, 07:39
Yes - please change that behaviour so that the documentation for a function is not called by any accidental simple left-click onto the tooltip. Maybe with a Ctrl-Click?
GRKNGLR
30th October 2010, 20:33
I have Avisynth64 installed on my system. When I try to open AvsPMod, I receive the error below. What could be the reason?
Traceback (most recent call last):
File "run.py", line 5, in <module>
File "AvsP.pyo", line 73, in <module>
File "pyavs.pyo", line 31, in <module>
File "avisynth.pyo", line 4, in <module>
File "ctypes\__init__.pyo", line 423, in __getattr__
File "ctypes\__init__.pyo", line 348, in __init__
WindowsError: [Error 126] Belirtilen modül bulunamad
Traceback (most recent call last):
File "run.py", line 5, in <module>
File "AvsP.pyo", line 73, in <module>
File "pyavs.pyo", line 31, in <module>
File "avisynth.pyo", line 4, in <module>
File "ctypes\__init__.pyo", line 423, in __getattr__
File "ctypes\__init__.pyo", line 348, in __init__
WindowsError: [Error 126] Belirtilen modül bulunamad
levi
31st October 2010, 19:32
try deleting / renaming:
_last_session_.ses & options.dat
AlekseiV
7th November 2010, 14:45
Small bug (I think): The frame-timeline in the preview window lists the frames wrong.
The first frame is 0, it is zero-index, so the total number of frames should be (frames-1). But it reports first frame as 0 and last frame as totalframes.
that is, AvsPmod will say "0/172805". 172805 is the total number of frames, but AvsPmod can only seek to 172804 -- since that is the last frame. The last frame number should be totalframes-1.
unclear message, hopefully you can figure me out
Gavino
7th November 2010, 15:06
AvsPmod will say "0/172805". 172805 is the total number of frames, but AvsPmod can only seek to 172804 -- since that is the last frame. The last frame number should be totalframes-1.
No, I think it is correct. The number after the '/' is the total number of frames, not the last frame number.
This is consistent with the way Avisynth's built-in Info() reports the frames.
Zarxrax
7th November 2010, 17:02
I have Avisynth64 installed on my system. When I try to open AvsPMod, I receive the error below. What could be the reason?
It does not work with Avisynth64
GRKNGLR
7th November 2010, 20:14
It does not work with Avisynth64
Will it be supported in the future, then?
Zarxrax
7th November 2010, 22:22
Possibly. I don't know.
AlekseiV
8th November 2010, 11:17
No, I think it is correct. The number after the '/' is the total number of frames, not the last frame number.
This is consistent with the way Avisynth's built-in Info() reports the frames.I still think it is confusing to see "Frame 10/11" listed when frame 10 is frame 11 due to different n-index.
However I do see that the timeline works accurately, though this is not obvious at high (~1000+) framecounts; so it's not a bug, just a design decision I disagree with.
Ditto666
8th November 2010, 11:59
Is there a way to get the video preview to utilize the graphics card? It uses the graphics card to render the images instead of the player ("PureVideo technology"). There are even many other things that act with separate settings for the general desktop/interface vs. video playback which is registered in Windows all in the same way, a basic function of it really. The preview basically just has to render as video somehow instead of images. It should use VMR7/VMR9 - DirectShow. Is this doable/possible?
LigH
8th November 2010, 12:40
AviSynth itself is a kind of "VfW extension". It was never intended to do real-time filtering in media players, but instead to feed an encoder with top-quality results, even if that takes longer.
To use AviSynth scripts as real-time filters, you may have to use the script in ffdshow's post-processing, then you will have it embedded in a DirectShow filter graph. But for a "script editor with preview", I don't see any real advantage in using a DirectShow renderer.
Ditto666
8th November 2010, 14:33
AviSynth itself is a kind of "VfW extension". It was never intended to do real-time filtering in media players, but instead to feed an encoder with top-quality results, even if that takes longer.
To use AviSynth scripts as real-time filters, you may have to use the script in ffdshow's post-processing, then you will have it embedded in a DirectShow filter graph. But for a "script editor with preview", I don't see any real advantage in using a DirectShow renderer.
I can easily explain why I find it necessary but that in and of itself would be quite long though.
How could I find out what this post-processing script is?
-Thanks for the response :)
LigH
8th November 2010, 14:41
Start > (All) Programs > ffdshow > Video decoder configuration
(left part: check list tree) [X] AviSynth || (right part: big text area to paste script - just without ***Source function, this comes from the decoder if "[X] add ffdshow video source")
Then this script will be used as post-processing filter for the just played video in your Media Player. But don't be surprised if the playback may be choppy then.
Ditto666
8th November 2010, 14:52
Start > (All) Programs > ffdshow > Video decoder configuration
(left part: check list tree) [X] AviSynth || (right part: big text area to paste script - just without ***Source function, this comes from the decoder if "[X] add ffdshow video source")
Then this script will be used as post-processing filter for the just played video in your Media Player. But don't be surprised if the playback may be choppy then.
Oh, wait.. I'm confused. I thought you were telling me something else. I use AVISynth in FFDShow all the time, usually for better upscaling of SD content and to filter DVD and XVID content mostly. I thought you were saying to take some script that FFDShow uses for playing back video in general and incorporate that into my AVS script. I'm a bit confused.. Weren't you telling me something along the lines of adding to my script something which would then get the preview in AvsP to have the effects of DirectShow applied to it?
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.