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

jmac698
12th October 2011, 06:21
It can't display 4 pixel wide yv12 video.
It gives "error loading avisynth".
But yuy2 and rgb32 work.
6 pixel yv12 works.

colorbars(pixel_type="YV12",width=4)
#colorbars(pixel_type="YUY2",width=4)
#colorbars(pixel_type="RGB32",width=4)

Gavino
12th October 2011, 11:00
It can't display 4 pixel wide yv12 video.
It gives "error loading avisynth".
Also a problem for the old AvsP 2.0.2, but it gives a different error:
File "avisynth.pyo", line 119, in Invoke
avisynth.AvisynthError: Resize: Source image too small for this resize method. Width=2, Support=2

- seems to be trying to do a BicubicResize for some reason.

jmac698
12th October 2011, 11:02
Turns out a bunch of other apps don't work either. Only vdubmod is known to work, but shows a wrong image.

Gavino
12th October 2011, 11:24
Turns out a bunch of other apps don't work either. Only vdubmod is known to work, but shows a wrong image.
colorbars(pixel_type="YV12",width=4)
Works OK with VirtualDub (1.8.6), MPC and WMP.
Not sure what the image should be, but I see yellow and red above black above white.

jmac698
12th October 2011, 11:44
As reported by StainlessS
http://forum.doom9.org/showthread.php?p=1531348
---

colorbars().convertToYV12().crop(0,0,4,0)

In Media Player via AVSEdit,
come up with error in xvidcore.dll (the YV12 colorspace converter).
No error produced in VitualDubMod for same script (although the clip produced is a weird three bars above one another in sequence):
Yellowy-Lime Green
Chestnut Brown,
nasty Khaki.
----
[edited]

Zarxrax
12th October 2011, 12:19
It can't display 4 pixel wide yv12 video.
It gives "error loading avisynth".
But yuy2 and rgb32 work.
6 pixel yv12 works.


Is there a real need for this?

jmac698
12th October 2011, 13:04
No, of course I don't want to "see" a 4 pixel wide video, but you need to understand that I do a lot of special script development, which is how I discovered the problem. I needed to verify that a statement was returning the correct 4 pixels. Very often I'm reading direct pixel values off the screen to verify levels and coordinates, etc. to check an algorithm. The crash caused me to lose development time.

This is a programmer's IDE (among other things), and therefore has to be very reliable.

Zarxrax
12th October 2011, 22:49
In fact, I just tested this script and it displayed fine for me. I am guessing that it is not a problem of avsp, but rather it lies somewhere else. It even displays if it is cropped to just 2 pixels.

LigH
13th October 2011, 09:00
After all, AvsP is just a GUI or IDE – as already stated.

It is not reliable for issues with the underlying AviSynth frameserver or even video drivers. Sounds quite probable that other tools using similar technologies would crash too.

jmac698
22nd October 2011, 14:21
I'm getting very slow typing in avspmod. My first thought was the autocompletion took too long to search. Turns out that the option show syntax highlighting is very slow. I turned it off, but it's ugly now :)
Anyway this could be improved? It only happened to me in a large script, I don't know what other factors affect speed.

wOxxOm
22nd October 2011, 14:33
jmac698, I've had similar issue, try unchecking Options->Fonts & Colors->Advanced->[ ] Incomplete strings

jmac698
22nd October 2011, 14:43
Thanks! That made a huge difference, it's still slow but usable and prettier :)

wOxxOm
4th November 2011, 16:02
self.matrix = 'Rec601'How about storing current YUV-RGB matrix in options.dat? Those who work with HD content have to switch this manually each run...

Zarxrax
4th November 2011, 22:36
self.matrix = 'Rec601'How about storing current YUV-RGB matrix in options.dat? Those who work with HD content have to switch this manually each run...

Hmm... should be possible, but I'm not sure if most users would find that desirable. I may be able to take a look at it in a few weeks when I become un-busy.

redfordxx
5th November 2011, 14:07
Hi, my AvsPmod editor is getting extremely slow and I believe it is because all the filters I use in the script are in the right column. Is there any way to switch it off or other solution for this speed issue?
Tnx
R.

jmac698
5th November 2011, 19:04
w0xx0m wrote:
try unchecking Options->Fonts & Colors->Advanced->[ ] Incomplete strings

also try turn off syntax highlighting, options->text

redfordxx
6th November 2011, 02:55
Syntax highliting helped...
Who would believe...few colors and what a mess...on i5-core

jmac698
6th November 2011, 03:30
Yes I believe it's a serious problem. Not only that, but with that option off, the program crashes when you start it again.

redfordxx
6th November 2011, 09:04
Yes, confirmed here also :(

LigH
6th November 2011, 09:42
Found a small bug in the function definition of AssumeFPS(): The parameter "preset" is not named, so it must not be used as named. A call
AssumeFPS(preset="pal_video")
returns the AviSynth error "Invalid parameter". Correct is only:
AssumeFPS("pal_video")
Therefore the quotes around the parameter name "preset" have to be removed.
__

I did not yet try, but should AvsPmod be able to support several alternative syntax completions for one function name? Here, at least e.g.:

AssumeFPS (clip, int numerator [, int denominator], bool "sync_audio")
AssumeFPS (clip1, clip2, bool "sync_audio")
AssumeFPS (clip, string preset, bool "sync_audio")

I'd agree with 'AssumeFPS (clip, float fps, bool "sync_audio")' being "deprecated" due to the inexact representation of fractional fps as floats.

If not yet, I guess it might be a little harder to implement, because it would have to be able to detect the used variant in an already existing source line.

Gavino
6th November 2011, 10:37
Found a small bug in the function definition of AssumeFPS(): The parameter "preset" is not named, so it must not be used as named. A call
AssumeFPS(preset="pal_video")
returns the AviSynth error "Invalid parameter". Correct is only:
AssumeFPS("pal_video")
Therefore the quotes around the parameter name "preset" have to be removed.
I assume this issue also affects ConvertFPS and ChangeFPS, which have similar alternative parameter lists.

Zarxrax
6th November 2011, 16:36
Hmm, yes it seems there is a bug in the autocomplete for that function. I will fix it for the next release.

jmac698
6th November 2011, 16:46
It would be really nice if you could do something about the editing slowdown/crash problem :) Thanks :)
I really think it's a great editor by the way, changed my life in developing scripts...

ANGEL_SU
7th November 2011, 02:27
Hi, everybody. Sorry, i'm too busy to fix bugs in time.

@jmac698
@redfordxx
Please see POST#556 (http://forum.doom9.org/showthread.php?p=1511932#post1511932) and try the beta version. If you still have the same problem, please send me your script for debugging.

jmac698
7th November 2011, 02:49
I updated the library, I turned off incomplete string, the typing is still very slow.

ANGEL_SU
7th November 2011, 07:35
I updated the library, I turned off incomplete string, the typing is still very slow.
Please update Avsp.pyo again. I have made an improvement.

PS:
Sorry, if you got an error after updating, please download and update again.

forclip
7th November 2011, 12:34
ANGEL_SU
Could you be so kind and take a look at this (http://forum.doom9.org/showthread.php?p=1522653#post1522653) issue please?

redfordxx
7th November 2011, 13:18
ANGEL_SU
Could you be so kind and take a look at this (http://forum.doom9.org/showthread.php?p=1522653#post1522653) issue please?
I installed it, Ill let you know, if that is still slow after a while of usage.

jmac698
7th November 2011, 13:47
I discussed this with angel in pm, he found a problem in code folding. So I'm assuming that the slow typing occurs when there is many functions in the script.
I will test again.

jmac698
7th November 2011, 13:52
It's fixed! yay :)
Thanks for the work, angel.

ANGEL_SU
7th November 2011, 14:20
Could you be so kind and take a look at this (http://forum.doom9.org/showthread.php?p=1522653#post1522653) issue please?
See #556 (http://forum.doom9.org/showthread.php?p=1511932#post1511932) and you need to update library with one more file. After updating, you should see the error message only one time.

jmac698
7th November 2011, 14:49
Feature Request:
It woud really hep me if I could draw a rectangle on the image and when releasing the mouse, the crop statement is in the paste buffer.

forclip
7th November 2011, 14:52
See #556 (http://forum.doom9.org/showthread.php?p=1511932#post1511932) and you need to update library with one more file. After updating, you should see the error message only one time.
Thank you! Yes, now it appears only once :)

redfordxx
7th November 2011, 16:14
it is because all the filters I use in the script.
So I'm assuming that the slow typing occurs when there is many functions in the script.
Thats what I thought.
Well, my file has 20kb. Cant wait to put the functions to .avsi
But I cannot before it is completely tested, coz I experienced AviSynth crashes w/o warning when there is an error in *.avsi.

redfordxx
7th November 2011, 16:17
BTW Update means copy avsp.pyo, right?

StainlessS
7th November 2011, 16:54
BTW Update means copy avsp.pyo, right?

I've only just installed AvsPmod with intent of giving it a try,
but I think I'm correct in saying that you should eg copy the
'Avsp.pyo' file into AvsPmod\lib folder, and assuming that you
have WinZip installed, just pick it up and drop it on the
'library.zip' file, and accept to add it to the achive (overwriting
the original file). (If a copy remains in the lib dir, you can delete
it.)

Gavino
7th November 2011, 17:38
Cant wait to put the functions to .avsi
But I cannot before it is completely tested, coz I experienced AviSynth crashes w/o warning when there is an error in *.avsi.
That seems more like an AvsP problem - if there is an error in some .avsi, VirtualDub correctly reports the error when you try to open a .avs.

redfordxx
7th November 2011, 20:46
That seems more like an AvsP problem - if there is an error in some .avsi, VirtualDub correctly reports the error when you try to open a .avs.
Then MeGui has same problem...

redfordxx
7th November 2011, 20:48
Moreover, I wondered I have installed files *.py, and the doownloaded file is *.pyo...:confused:

LigH
8th November 2011, 10:37
I don't know Python well, but as far as I remember, *.py are source files, and they are compiled to some "object code" during the first execution, as *.pyo

StainlessS
8th November 2011, 11:23
@redfordxx

In my recent clean install, there is an AvsP.py file in the src folder and the only place where
AvsP.pyo exists is in the library.zip in the lib folder.

src\

__translation_new.py
avisynth.py
AvsP.ico
AvsP.py <------ AvsP.py
AvsP_build.py
AvsP_i18n.py
AvsP_setup.py
build_instructions.txt
icons.py
Microsoft.VC90.CRT.manifest
pyavs.py
pyavs_avifile.py
run.py
wxp.py


tools\

avs2avi.exe
avs2avi_gui.dat
avs2avi_gui.py
encoder_gui.py
MP3Info.py
resize_calc.py
ToolsMenu.py
ToolsMenu.pyo
x264.presets
xvid.presets

macros\

Example(Resize) (Directory)
Examples(Directory)
Bookmarks at Intervals.py
Bookmarks from Chapter.py
Bookmarks to Chapter.py
DeleteFrame.py
DuplicateFrame.py
macros_readme.txt
Preview from current point.py
Random Clip Order.py
Save bookmarks to images.py
Save Image Sequence.py

lib\

_ctypes.pyd
_hashlib.pyd
_socket.pyd
_ssl.pyd
bz2.pyd
gdiplus.dll
library.zip <------- AvsP.pyo lives here
select.pyd
unicodedata.pyd
wx._controls_.pyd
wx._core_.pyd
wx._gdi_.pyd
wx._misc_.pyd
wx._stc.pyd
wx._windows_.pyd
wxbase28uh_net_vc.dll
wxbase28uh_vc.dll
wxmsw28uh_adv_vc.dll
wxmsw28uh_core_vc.dll
wxmsw28uh_html_vc.dll
wxmsw28uh_stc_vc.dll

EDIT: The file dates may give you a clue as to what you have done. You might have to
switch to "details" rather than "Icons" in windows Explorer to see the dates.
(I personally hate Icon View, it has nothing whatever of use in it).
Also, if you cannot see file extensions in Windows Explorer, you can switch them back on again,
go to: (Assuming Windows XP)
Windows Explorer-Menu-Tools-Folder Options-View

And untick, "Hide Exensions for known File Types" to restore a little sanity to the system.
Hiding information from yourself is rarely useful.

jmac698
8th November 2011, 11:50
Just don't install the *.pryo file or it will burn out your computer...

ANGEL_SU
8th November 2011, 11:51
@redfordxx
Please update library.zip as StainlessS said. In fact, I use 7z UI and can do in the same way. And then, run Avspmod.exe, click Help->About Avspmod and you should see the version number changed.

As to files under ./src folder, they are mainly for developers and you can ignore or even delete them.

LigH
8th November 2011, 12:46
@ jmac698:

Not "pyro"! :p

magnatique
10th November 2011, 22:59
I am not sure if it's an issue with AVSPMOD, but when I preview mp4 scenes that are using one of the latest ffvideosource version, if I randomly seek different frames it will not be accurate and frame 2000 might be something in Vegas , but different in AVSP... thne I'll seek somewhere 200 frames before in AVSP and frame by frame go to the 2000 mark and then it'll match that of vegas (real frame). sometimes I'll get green as well or it'll crash.

kypec
11th November 2011, 07:23
I'd rather blame ffmpegsource filter for any frame inaccuracies than AvsPmod, since that is just an user interface to output from Avisynth (and filters used therein of course).

LigH
11th November 2011, 08:16
FFmpegSource has different "seekmode" values. Try them all. Or - as recommended - remux other formats to MKV before loading them in FFMS2, because they are indexed more accurately.

magnatique
11th November 2011, 16:36
I'd rather blame ffmpegsource filter for any frame inaccuracies than AvsPmod, since that is just an user interface to output from Avisynth (and filters used therein of course).

yeah the only reason why I thought it could be AVSP was that whenever I encode I have zero frame issue, no "green" frame or what not... but when seeking inside avsp I would get them. But then again, it's just encoding from beginning to end so there's no random seek

I updated to the latest mods so perhaps it got fixed now

Mounir
12th November 2011, 10:50
Request:
It would be nice that asvpmod support the Debugmode frame server if that's not asking the moon.

carlmart
12th November 2011, 13:53
Does AvsPmod 2.2.0 work fine within Windows 7 x64? Has anyone tried it?