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

vivan
17th September 2015, 11:05
For the same video, one would expect e.g. %RGB and %YUV to show equivalent values (i.e. %RGB (0,0,0) = %YUV (16,128,128)) , and one would expect pixel values to be independent of display settings.I would totally expect what avsp does now. There're different ways to convert to RGB, and the correct one is the one you choose for display.

For exampletry that with non-zero chroma. What colormatrix should it use? BT.601 because it was what avisynth used for rgb->yuv conversion of your value? BT.709 because that what resolution-based detection says?

When YUV <-> RGB display conversion is set to TV levels, those values are shown correctly.On a TV-range video, not on PC-range.
However, when display conversion is changed to PC levels, although %YUV and %CLR still show the same correct values, %HEX and %RGB change to $101010 and $EBEBEB for black and white respectively.Because if video was PC-range that would be correct values for it.

fvisagie
17th September 2015, 12:01
I would totally expect what avsp does now.

If I understand what you say correctly, the specified TV/PC YUV -> RGB conversion tells AvsPmod what range to deem output YUV video to be in, not only for display purposes, but also for status bar pixel value purposes?

umapati
9th October 2015, 19:40
I am using Avspmod v 2.5.1 to edit script and take screen shots of a movie..Previously it was working very nicely but all of a sudden when I opened after two months today, if a load a movie to take screen shots and click preview button it crashes and displays a message "AviSynth script editor has stopped working"..
here is the screenshot of the error..
http://i.imgur.com/jF7zFZy.jpg

But it works perfectly if I load avisyth script and play movie..but it crashes only if I load movie directly which was working fine before.
I can not figure out what might be the culprit..Please help me to rectify this problem

P.S. i was able to load avi & xvid format successfully but it crashes with mkv files..Which I used to play perfectly..That's really strange..

wOxxOm
10th October 2015, 14:06
@umapati, DirectShowSource uses the installed codecs, so apparently you've changed something like a setting in the decoder or updated it, or installed a different codec.

Generally DirectShowSource is the worst possible way of opening videos in AviSynth and should be used only in case the sane methods listed below don't work for some obscure codec for which you only have a directshow decoder installed on Windows.

Use FFMS2 (http://avisynth.nl/index.php/FFmpegSource) or L-SMASH Works (http://forum.doom9.org/showthread.php?t=167435) for the most precise and reliable result, could be slow with large files due to the one-time indexing (you won't see the video for a few minutes until it's finished).

If you don't like the indexing because it's slow, use an alternative DirectShowSource filter dss2("d:\your\video.mkv") that comes with Haali media splitter in its avss.dll. It works in most cases and it's more precise than DirectShowSource.

BlockABoots
10th December 2015, 21:37
Is there a way to speed up the seek/scanning time, when editing large file (1+ GBs)? My raw files are .flv format and thus they are inputted into AvsPmod as 'DirectShowSource'. When ever i try and seek further into the video file it can take 10-20 seconds to jump to that point in the file, just wonder if theres a way to speed this up at all?

SSH4
11th December 2015, 05:58
BlockABoots Yes forget about 'DirectShowSource'. Use ffmpeg2source or LSMASH/libav etc.

~ VEGETA ~
11th December 2015, 14:34
can avsp-mod run Vapoursynth scripts? I didn't try it yet but seen images showing it.

BlockABoots
11th December 2015, 18:46
BlockABoots Yes forget about 'DirectShowSource'. Use ffmpeg2source or LSMASH/libav etc.

Thanks is one regard better than the other?. Also is there a way for the ffmpeg2source to be auto laoded without having to add a script line at the start to load the plugin?

Also i notice when i got to re-encode the video thats there is no audio track??

LigH
11th December 2015, 20:17
L-SMASH Source used to be more reliable earlier while FFMS2 relied on parts of Haali Media Splitter for non-MKV sources (so FFMS2 also had issues with interlaced formats when using more than 1 decoding thread). Today both use libavformats as splitter and are quite equal now.

Remultiplexing some containers to MKV with mkvtoolnix before indexing them may still be a good idea, the MKV container has some features supporting seeking which some other containers don't provide.

BlockABoots
14th December 2015, 22:10
If im using FFmpegSource2 how to i get audio?? Ive loaded the avs file into Ripbot but its reporting no Audio channel??

LigH
14th December 2015, 23:10
Sorry, my crystal ball is broken, I can't see your script.

~ VEGETA ~
19th December 2015, 18:51
can avsp-mod run Vapoursynth scripts?

BlockABoots
21st December 2015, 19:19
I have noticed in the Program Settings under the 'Misc' Tab their is a 'Custom Jump Size' option, im guessing this is to select a time or frame to jump to when editing a video?. I know Up & Down Arrows are for jumping in 1 seconds increments and Page Up & Down is for 1 minute increments but not sure that the key is for this 'Custom Jump' feature?

fvisagie
22nd December 2015, 08:02
Key mappings are under Options.Keyboard shortcuts. Custom jump size is under Options.Program settings.Misc.

BlockABoots
22nd December 2015, 22:33
Can see a key for 'Custom Jump Size'?

StainlessS
23rd December 2015, 00:03
BlockABoots,
Can see a key for 'Custom Jump Size'?

Should that read 'Cant', or what, perhaps you should elaborate, cos what you said means very little.
Give fvisagie some clue as to what you mean.

LigH
29th December 2015, 16:58
AvsPmod uses AVISource to load the vpy script in the background when you preview it.

As a 32 bit process, AvsPmod will open VapourSynth scripts as video source only if you installed Python 3.5 and VapourSynth as 32 bit versions. With Python and VapourSynth installed as 64 bit version, AviSource of a 32 bit AviSynth will not find a handler for vpy files.

Reel.Deel
29th December 2015, 17:34
As a 32 bit process, AvsPmod will open VapourSynth scripts as video source only if you installed Python 3.5 and VapourSynth as 32 bit versions. With Python and VapourSynth installed as 64 bit version, AviSource of a 32 bit AviSynth will not find a handler for vpy files.

For 64-bit VapourSynth you'll need 64-bit AviSynth+ and corresponding AvsPmod (http://forum.doom9.org/showpost.php?p=1733655&postcount=1148). An alternative is to use VapourSynth's VSFS (http://www.vapoursynth.com/doc/vsfs.html) which can be used to create a virtual AVI. This allows you to use 64-bit VS with 32-bit AVS.

Bruce/Fl
12th March 2016, 07:13
Hello all,

I may be doing something totally wrong, or missed a step, but I can't get avspmod to open.

I click the executable, but nothing happens after I hit the "run" option in the box that pops up asking me what I want to do.

This is the error message I get:

Traceback (most recent call last):
File "run.py", line 38, in <module>
ImportError: No module named os

I'd post a script that it was crashing, but I can't even get that far, the program won't open/load.

I downloaded version 2.5.1, I have avisynth 2.6, I'm running Windows 7, any ideas?

Thank you

fvisagie
13th March 2016, 09:10
Earlier (in this thread?) I covered something similar. IIRC it involves unevelated AvsPmod trying to write to protected area under \Program Files.... What may help is to delete configuration files there and/or running AvsPmod with elevated privileges at least once.

bxyhxyh
13th March 2016, 09:27
Hello all,

I may be doing something totally wrong, or missed a step, but I can't get avspmod to open.

I click the executable, but nothing happens after I hit the "run" option in the box that pops up asking me what I want to do.

This is the error message I get:



I'd post a script that it was crashing, but I can't even get that far, the program won't open/load.

I downloaded version 2.5.1, I have avisynth 2.6, I'm running Windows 7, any ideas?

Thank you
Similar thing happens if you used plugin that something has wrong it with. Or some settings.
And AvsPmod saves the latest version that you was working on and refuses to open like this.
Try opening empty avs script in AvsPmod with "Open with".

Bruce/Fl
13th March 2016, 09:49
I think I found that passage, it's on page 55 of this thread. It looks like what finally solved it for the poster having trouble was to delete and reinstall avisynth. I hope I don't have to do the same.

I tried running it as an admin, still no luck.

Thank you both for helping me look at and solve this.

Bruce/Fl
14th March 2016, 09:19
I uninstalled and reinstalled Avisynth.

AVSPMod still won't even open.

Puzzling.

I'm also having an issue with MeGUI. I have a short AV script that will open in both MeGUI and VDub (and Media Player Classic, etc).

But I have a long script with numerous filters that that I can get to open in VDub, but crashes MeGUI even before it can open and get to the preview screen.

I don't know if that's related or not, or whether it helps isolate the issue, but thought I'd put that out there.

Bruce/Fl
18th March 2016, 13:52
An update.

Now that I have my MeGUI issue figured out, I went back to see if I could get this straight.

I had a thought that gave me an idea. In some of my other avisynth related issues I had, a fix was putting a copy of the .dll in the SysWOW64 folder. So I dropped the dll's from AVSPmod in there also and voila, it works.

poisondeathray
8th May 2016, 23:25
Bug report regarding duplicated fields when separatefields() is used with ConvertToRGB24(interlaced=true) or sometimes RGB32

Seems to be avspmod related, as problem doesn't occur in vdub, mpchc, megui preview

Instead of copy/pasting, see this thread for more details
http://forum.doom9.org/showthread.php?t=173482

cihub
11th August 2016, 12:36
Anyone knows how to pass AVS script to be opened to non-compiled AvsP? I know I can add my own code to do this, or compile AvsP, but maybe there's a way to do it faster/easier?

videoFred
11th August 2016, 17:20
I do not know if this is the answer to your question, but just open an AvsPmod script in VDub, and VDub will ignore the AvsPmod part and it will 'see' it as a normal Avisynth script.

Fred.

ChiDragon
4th October 2016, 13:11
Found the problem and pushed a fix to GitHub. AvsP was assuming the buffer that holds the frame data to be at least Pitch * Height. That's usually the case, but it's only really guaranteed to be Pitch * (Height - 1) + RowSize. When the buffer was the later frames failed to be displayed, so the previous one remained.
Can someone please provide a current build? :)

BTW:
Download
Both the windows build and source code can be downloaded from the git repository:
[...]
Pre-release r426 Windows build (http://files.line0.in/builds/AvsPmod-2.5.1-r426-x86-04874ed.7z)

First time I clicked on this link I was redirected to some scam survey site. Second time and thereafter, redirected to line0.in domain parking page. The site has moved to .eu.

Reel.Deel
4th October 2016, 13:39
Can someone please provide a current build? :)

BTW:

First time I clicked on this link I was redirected to some scam survey site. Second time and thereafter, redirected to line0.in domain parking page. The site has moved to .eu.

Here's r452: http://forum.doom9.org/showpost.php?p=1733655&postcount=1148

Not the latest but it's not too outdated.

ChiDragon
4th October 2016, 13:45
Thanks, but that post was made in 2015 and the bug affecting me was fixed in May 2016.

Reel.Deel
4th October 2016, 15:30
Thanks, but that post was made in 2015 and the bug affecting me was fixed in May 2016.

Maybe HolyWu can compile r459 for us.

nel-son
6th October 2016, 13:47
i'm testing AvsPmod on Linux Mint. i can start it with 'python avsp.py', but it can't load filters from the plugin directory (only ffms is used, even i delete the dll from plugin dir - don't know why this works). all other plugin can't be loaded, even not if i use 'loadplugin' (not with the win path and not with the linux path).

when i start it with wine avspmod crashed when i type some commands (for example after "tr" when i type "trim" or when i delete the last bracket). but with wine it loads the plugins.

any idea whats wrong?

bilditup1
31st October 2016, 08:18
How can I make a Space in the code upper section.
When I press space it doing a zoom ! It drive me crazy. Before I use to Ctrl+Space , but its not working anymore.
Please Help meeeeeeee !

Options/Keyboard shortcuts and see (and change) what you have set for "Video->Zoom".

I'm also having this problem, which persists with the r452 build. Took AlanHK's advice and got rid of any and every hotkey related to Video->Zoom, and finally it works again. In particular I think the hotkey for "Video -> Zoom -> Zoom in" I suppose was the culprit. It wasn't set to happen with the spacebar though, it was set to use Numpad +, which doesn't even exist on my 80% keyboard at all (go figure). I most certainly never touched the hotkey settings, so I'm not sure how this happens...

downloaded
29th January 2017, 15:54
I've been trying to move all my stuff to x64, but i was never able to use HolyWu's x64 build. On a side note, x86 works fine and i've been using it for some time now.

I'm not even able to start Avspmod. It complains about avisynth_cffi_ext.pyd. I see someone also reported that problem but i didnt find any solution. Any help?

Edit: After some tests seems the problem is related to Avishynt. Avspmod works fine with Avishynt x64 installed but it doesnt work with portable versions (thats what i was using). I also tryed installing Avishynt, running Avspmod and enabling "Use custom avishynt directory", and then uninstall Avishynt but no luck.

Edit2: Well it works with Avishynt.dll placed on root dir, regardless of directory set by "Use custom avishynt directory"...

Mounir
22nd February 2017, 11:15
I got a major problem to encode videos with avspmod (avs2avi) using the script encoder (VFW)
Even the simplest script won't encode

Runtime error
avs2avi.exe
this application has requested the runtime to terminate


I'm running the v2.5.1 of avspmod
Windows 7 x64

LigH
22nd February 2017, 11:37
One of the simplest scripts would probably be (AviSynth 2.5\Examples\Version.avs):

Version()

So which VfW codec did you select? Or does it already crash before you can select one?

Mounir
22nd February 2017, 12:00
I tried with lagarith and utvideo, same result
it crashes a couple of min after starting the encode

LigH
22nd February 2017, 15:01
When it crashes late, the most probable reason is corrupt data in the source. This would, of course, not make any sense when the source is an AviSynth core function like Version() or ColorBars(). So please try to convert such a script as well. Also you can open your scripts loading a real video source in VirtualDub and "scan for errors" in its Video menu. And I believe running such a script in AVSMeter would reveal issues with a corrupt source just as well.

amayra
22nd February 2017, 19:08
AvsPmod need to be updated i suggest you to find another alternative

martin53
3rd March 2017, 17:27
AvsPmod need to be updated i suggest you to find another alternative
Can you spot one?

LigH
3rd March 2017, 21:13
If you simply want to write AviSynth source code and check the result with a preview, VDubFilterMod may be just enough. But it does not have all the special features possibly only AvsPmod provides (like sliders for value ranges). So we may better wait for an up-to-date build.

amayra
10th March 2017, 16:44
Can you spot one?

how about AVSEdit Plus (https://sourceforge.net/projects/avseditplus/) ?

vdcrim
24th March 2017, 01:00
Here's a new build with a fix for the "only a single prefetcher is allowed per script" issue reported here (https://forum.doom9.org/showpost.php?p=1800429&postcount=3120). No other relevant changes.

AvsPmod v2.5.1-90-gfcd7a61 (Windows x86-32) (https://www.mediafire.com/?y5z283j6rpecpua)
AvsPmod v2.5.1-90-gfcd7a61 (Windows x86-64) (https://www.mediafire.com/?p2v8zdivvtzu40p)

amayra
24th March 2017, 11:02
Here's a new build with a fix for the "only a single prefetcher is allowed per script" issue reported here (https://forum.doom9.org/showpost.php?p=1800429&postcount=3120). No other relevant changes.

AvsPmod v2.5.1-90-gfcd7a61 (Windows x86-32) (https://www.mediafire.com/?y5z283j6rpecpua)
AvsPmod v2.5.1-90-gfcd7a61 (Windows x86-64) (https://www.mediafire.com/?p2v8zdivvtzu40p)


thank you but did this build have line0 patch for high bit depth ?

downloaded
24th March 2017, 11:54
Is it based on r452?

Reel.Deel
24th March 2017, 14:16
Here's a new build with a fix for the "only a single prefetcher is allowed per script" issue reported here (https://forum.doom9.org/showpost.php?p=1800429&postcount=3120). No other relevant changes.

AvsPmod v2.5.1-90-gfcd7a61 (Windows x86-32) (https://www.mediafire.com/?y5z283j6rpecpua)
AvsPmod v2.5.1-90-gfcd7a61 (Windows x86-64) (https://www.mediafire.com/?p2v8zdivvtzu40p)


Thanks!

thank you but did this build have line0 patch for high bit depth ?

No. He mentioned the issue that was fixed and said "No other relevant changes".

Is it based on r452?
Consider it as r462. Look at the commit count on the top left: https://github.com/AvsPmod/AvsPmod

downloaded
24th March 2017, 16:06
Thank you. I should have checked github before asking.

lansing
7th June 2017, 17:08
Hi how do I show the bit depth of the video in the status bar? I didn't see the code in the setting's legend.

lansing
7th June 2017, 18:38
I installed both the 64 bit and 32 bit Avspmod, each in different location. For some reason they both shared the same plugin path but not other program setting? It's confusing.

stranno
2nd July 2017, 20:56
Today i'm getting an "error trying to display the clip" in AvsPmod preview window using 10bit videos + FFMS2000, while they worked perfectly fine before.

I think i installed SVP (it comes with ffdshow) and something have been breaked.

Videos are displayed properly on mpv (the external player i use) or even MPC-HC, through Avisynth OC.

I have uninstalled ffdshow, checked with W7DS Tweaker and nothing. 8bit videos seems to render properly.