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 Development

Reply
 
Thread Tools Search this Thread Display Modes
Old Yesterday, 19:22   #5341  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 4,628
@FranceBB
Are you testing this on vanilla XP or the one with modified kernel?
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old Yesterday, 21:49   #5342  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Germany
Posts: 781
Quote:
Originally Posted by Groucho2004 View Post
@FranceBB
Are you testing this on vanilla XP or the one with modified kernel?
Modified kernel, but it didn't really break any programs so far. I can also boot with the normal kernel (since I can select it at boot time) just to be absolutely sure, but I don't think it's One Core API that broke something...
Anyway, I'll reboot with the normal kernel and I'll let you know.

EDIT: Nope, same behavior with the normal kernel...

I also tried with:

Code:
SetMaxCPU("C")
ColorBars(width=848, height=480)
just to make sure that it wasn't because of assembly optimizations, but no...
Even specifying C only doesn't make the other programs work... Only VirtualDub works and I have no idea why...
__________________
Broadcast Encoder
Avisynth memes: 1 - 2 - 3
Videotek - Audacity XP - LUT Collection

Last edited by FranceBB; Yesterday at 22:15.
FranceBB is offline   Reply With Quote
Old Yesterday, 22:15   #5343  |  Link
gispos
Registered User
 
Join Date: Oct 2018
Location: Germany
Posts: 97
Quote:
Originally Posted by FranceBB View Post
Updated again, but it doesn't solve the issue...
You have copied the 32bit dll's into the system 64bit directory (system32)?
I am reading System32 directory and see AvsMeter x86

Edit: My Error, your on WinXP 32bit correct?
__________________
Live and let live

Last edited by gispos; Yesterday at 22:19.
gispos is offline   Reply With Quote
Old Yesterday, 22:18   #5344  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Germany
Posts: 781
Quote:
Originally Posted by gispos View Post
You have copied the 32bit dll's into the system 64bit directory (system32)?
I am reading Sytem32 directory and see AvsMeter x86
No no, 32bit on a 32bit system.
There's "System" which is the old 16bit and System32 which is the 32bit System.

Windows XP x86 with 32 GB of RAM DDR4.

https://tarma.com/support/im9/using/...picalpaths.htm
__________________
Broadcast Encoder
Avisynth memes: 1 - 2 - 3
Videotek - Audacity XP - LUT Collection
FranceBB is offline   Reply With Quote
Old Yesterday, 22:19   #5345  |  Link
MeteorRain
結城有紀
 
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 689
Quote:
Originally Posted by feisty2 View Post
I believe clang10 should have supported all the required c++ 20 core language features to compile vsFilterScript
Still a long way to go on Windows.
MeteorRain is offline   Reply With Quote
Old Yesterday, 22:22   #5346  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 4,628
Quote:
Originally Posted by FranceBB View Post
Only VirtualDub works and I have no idea why...
The only difference I can think of is that VDub uses the VfW interface whereas the others you tried use the native API, either C or C++.
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old Yesterday, 22:34   #5347  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 4,628
Quote:
Originally Posted by Groucho2004 View Post
The only difference I can think of is that VDub uses the VfW interface whereas the others you tried use the native API, either C or C++.
FranceBB: Here is an old AVSMeter test version that uses VfW. Try it.
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old Yesterday, 23:33   #5348  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 7,635
FranceBB, You are using VirtualDub Filtermod, thats an old one. [Been VirtualDub2 for quite some time]
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old Today, 00:23   #5349  |  Link
qyot27
...?
 
qyot27's Avatar
 
Join Date: Nov 2005
Location: Florida
Posts: 1,133
AviSynth+ version 3.5.1 has been released.

Mostly just bugfixes and tidying up POSIX stuff. Seeing the recent discussion, might want to check against 3.5.1 to see if the issue with C api programs exists.
  • More compiler coverage on POSIX
    • Native Clang on FreeBSD 12.1
    • Native AppleClang on Catalina
    • general code correctness fixes (-fpermissive is no longer required)
  • AddAutoloadDir now works on macOS and BSD
    • FreeBSD requires mounting procfs first in order for autoload to function
  • Automatic plugin autoloading now enabled on POSIX
  • ConvertStacked now is built and installed on POSIX by default
  • SONAME and SOVERSION defined for POSIX libavisynth.so
  • Fix: BuildPixelType: chroma subsampling of sample clip was ignored.
  • POSIX: better behaviour under non-Windows because of having multiple sized fixed fonts, not only a single size=20 one.
    e.g. MessageClip(), Info(), Version(), ColorYUV "show", internal ApplyMessage
  • Text filter:
    • font types with
      • "Terminus" fixed fonts added (12-14-16-18-20-22-24-28-32, regular + bold)
      • "Info_h" good old 10x20 fixed font kept under this name
    • much more international unicode characters (1354), use utf8=true under Windows
    • use fontname parameter (default "Terminus", other choice is "info_h")
    • use font_filename parameter (accepts BDF fonts at the moment
    • import is probably not too smart but worked for Terminus)
    • use size parameter (12 to 32, if no size is available, a smaller one is chosen but at least the smallest one)
    • new parameter: bold (default false)
  • Info() filter: when parameter "size" < 0, font is automatically enlarged over 640x480
    (POSIX limit: minimum size is 12, maximum size is 32
  • limited by available fixed fonts)")
  • SIL OPEN FONT LICENSE added because of usage of Terminus fonts)
  • able to build w/o GDI and font rendering engine under Windows, so that text-overlay filters
    work like in POSIX version of AviSynth+ (mainly for my development test)
    Use with NO_WIN_GDI define.
  • Fix: ReplaceStr when the pattern string to be replaced is empty
  • New:
    Exist() to have bool utf8 parameter
    This is another function to have utf8 option:
    Usage: b = Exist("Здравствуй.mkv",utf8=true). Avs file is saved as utf8 w/o BOM
  • Fix: broken Exist for directories (regression appeared in 3.5.0)
  • Fix: ColorYUV: really disable variable search when parameter "conditional" is false
  • Development:
    ScriptEnvironment::VSprintf: parameter (void *) is changed back to va_list.
    May affect C interface (avs_vsprintf) and CPP interface (ScriptEnvironment::VSprintf)
  • Enhanced: Planar RGB to YUV 444 10-14 bits: more precision (32 bit float internally)
  • Enhanced: Planar RGB to YUV 444 10-16 bits: AVX2 (speed improvement)
qyot27 is offline   Reply With Quote
Old Today, 00:40   #5350  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Germany
Posts: 781
Quote:
Originally Posted by Groucho2004 View Post
FranceBB: Here is an old AVSMeter test version that uses VfW. Try it.
I tried to use it, but it failed to analyze the script...



Quote:
Originally Posted by StainlessS View Post
FranceBB, You are using VirtualDub Filtermod, thats an old one. [Been VirtualDub2 for quite some time]
Oh, I didn't know that. I just updated it and it works like a charm. I noticed that it now also has some added features like the device capture, the VP8 and VP9 encoding through ffmpeg and so on. Anyway, even with the new version of VirtualDub, the new Avisynth works, however nothing else does...
__________________
Broadcast Encoder
Avisynth memes: 1 - 2 - 3
Videotek - Audacity XP - LUT Collection
FranceBB is offline   Reply With Quote
Old Today, 00:44   #5351  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 4,628
Quote:
Originally Posted by FranceBB View Post
I tried to use it, but it failed to analyze the script...

Well, I'm out of ideas for now.
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old Today, 01:35   #5352  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,381
Quote:
Originally Posted by qyot27 View Post
AviSynth+ version 3.5.1 has been released.

Mostly just bugfixes and tidying up POSIX stuff. Seeing the recent discussion, might want to check against 3.5.1 to see if the issue with C api programs exists.
this seems fix MPP problem with last test one
__________________
My Avisynth Stuff
real.finder is offline   Reply With Quote
Old Today, 01:52   #5353  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,381
Quote:
Originally Posted by real.finder View Post
this seems fix MPP problem with last test one
but it not work with MT!

Code:
ColorBars(width=640, height=480, pixel_type="yv12")
admfilter()
Prefetch(4)


Zs_RF_Shared and AdvancedDenoising
__________________
My Avisynth Stuff
real.finder is offline   Reply With Quote
Old Today, 01:56   #5354  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Germany
Posts: 781
Quote:
Originally Posted by qyot27 View Post
AviSynth+ version 3.5.1 has been released.

Mostly just bugfixes and tidying up POSIX stuff. Seeing the recent discussion, might want to check against 3.5.1 to see if the issue with C api programs exists.
  • More compiler coverage on POSIX
    • Native Clang on FreeBSD 12.1
    • Native AppleClang on Catalina
    • general code correctness fixes (-fpermissive is no longer required)
  • AddAutoloadDir now works on macOS and BSD
    • FreeBSD requires mounting procfs first in order for autoload to function
  • Automatic plugin autoloading now enabled on POSIX
  • ConvertStacked now is built and installed on POSIX by default
  • SONAME and SOVERSION defined for POSIX libavisynth.so
  • Fix: BuildPixelType: chroma subsampling of sample clip was ignored.
  • POSIX: better behaviour under non-Windows because of having multiple sized fixed fonts, not only a single size=20 one.
    e.g. MessageClip(), Info(), Version(), ColorYUV "show", internal ApplyMessage
  • Text filter:
    • font types with
      • "Terminus" fixed fonts added (12-14-16-18-20-22-24-28-32, regular + bold)
      • "Info_h" good old 10x20 fixed font kept under this name
    • much more international unicode characters (1354), use utf8=true under Windows
    • use fontname parameter (default "Terminus", other choice is "info_h")
    • use font_filename parameter (accepts BDF fonts at the moment
    • import is probably not too smart but worked for Terminus)
    • use size parameter (12 to 32, if no size is available, a smaller one is chosen but at least the smallest one)
    • new parameter: bold (default false)
  • Info() filter: when parameter "size" < 0, font is automatically enlarged over 640x480
    (POSIX limit: minimum size is 12, maximum size is 32
  • limited by available fixed fonts)")
  • SIL OPEN FONT LICENSE added because of usage of Terminus fonts)
  • able to build w/o GDI and font rendering engine under Windows, so that text-overlay filters
    work like in POSIX version of AviSynth+ (mainly for my development test)
    Use with NO_WIN_GDI define.
  • Fix: ReplaceStr when the pattern string to be replaced is empty
  • New:
    Exist() to have bool utf8 parameter
    This is another function to have utf8 option:
    Usage: b = Exist("Здравствуй.mkv",utf8=true). Avs file is saved as utf8 w/o BOM
  • Fix: broken Exist for directories (regression appeared in 3.5.0)
  • Fix: ColorYUV: really disable variable search when parameter "conditional" is false
  • Development:
    ScriptEnvironment::VSprintf: parameter (void *) is changed back to va_list.
    May affect C interface (avs_vsprintf) and CPP interface (ScriptEnvironment::VSprintf)
  • Enhanced: Planar RGB to YUV 444 10-14 bits: more precision (32 bit float internally)
  • Enhanced: Planar RGB to YUV 444 10-16 bits: AVX2 (speed improvement)
Did you, by any chance, re-compiled with some different option what Ferenc released? Because when I substituted the test build with this one it started working with everything else again, including AVSPmod, AVSMeter etc.
My guess (and it's just a guess) is that the test build wasn't actually compiled with something for XP and the only reason why Dependency Walker was saying that everything was fine was that probably what was "missing" already had an implementation made by the wrapper of my custom kernel but perhaps it wasn't complete and it broke something, I don't know.

Anyway, it works now, so... I guess all's well that ends well
__________________
Broadcast Encoder
Avisynth memes: 1 - 2 - 3
Videotek - Audacity XP - LUT Collection

Last edited by FranceBB; Today at 01:58.
FranceBB is offline   Reply With Quote
Old Today, 03:08   #5355  |  Link
qyot27
...?
 
qyot27's Avatar
 
Join Date: Nov 2005
Location: Florida
Posts: 1,133
Quote:
Originally Posted by real.finder View Post
but it not work with MT!

Code:
ColorBars(width=640, height=480, pixel_type="yv12")
admfilter()
Prefetch(4)


Zs_RF_Shared and AdvancedDenoising
3.5.1 does not include the Neo changes in the test build from earlier. I wanted to make sure we had a proper release out before getting into the task of making sure those changes can merge in.

Quote:
Originally Posted by FranceBB View Post
Did you, by any chance, re-compiled with some different option what Ferenc released? Because when I substituted the test build with this one it started working with everything else again, including AVSPmod, AVSMeter etc.
My guess (and it's just a guess) is that the test build wasn't actually compiled with something for XP and the only reason why Dependency Walker was saying that everything was fine was that probably what was "missing" already had an implementation made by the wrapper of my custom kernel but perhaps it wasn't complete and it broke something, I don't know.

Anyway, it works now, so... I guess all's well that ends well
I doubt it's the abstraction of XP support to opt-in, since if it wasn't active then the library wouldn't run on XP at all (to see that, just swap in the builds that don't have _xp suffixed to them).

An access violation that only occurs in programs that directly talk to AviSynth, but not in programs that use VfW as a middleman points to it being that something in the Neo patchset changed the API and we need to identify and mitigate that. I haven't taken a look at any of it yet, though, so it may not have anything to do with that.
qyot27 is offline   Reply With Quote
Old Today, 04:13   #5356  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,381
Quote:
Originally Posted by pinterf View Post
And another Avisynth+ test build, please test it thorougly, I need more testers than myself
EDIT: test build 2nd edition:
https://drive.google.com/open?id=1iZ...x1C5FZ7PTd-4qw
I note that if I make it the main avs+ MPP wont work

but if I use the 3.5.1 as a main and load this from MPP block it work!

Code:
mp_pipeline("""
### dll: C:\3.5.test_20200402b\x64\AviSynth.dll
ColorBars(width=640, height=480, pixel_type="yv12")
admfilter()
Prefetch(4)
### ###
""")
__________________
My Avisynth Stuff
real.finder is offline   Reply With Quote
Old Today, 07:13   #5357  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 1,367
Quote:
Originally Posted by real.finder View Post
I note that if I make it the main avs+ MPP wont work

but if I use the 3.5.1 as a main and load this from MPP block it work!

Code:
mp_pipeline("""
### dll: C:\3.5.test_20200402b\x64\AviSynth.dll
ColorBars(width=640, height=480, pixel_type="yv12")
admfilter()
Prefetch(4)
### ###
""")
Where can I find the latest one?
pinterf is offline   Reply With Quote
Old Today, 08:32   #5358  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,381
Quote:
Originally Posted by pinterf View Post
Where can I find the latest one?
here https://github.com/realfinder/MP_Pipeline/releases

or last official one mirror https://forum.doom9.org/showthread.p...28#post1841228
__________________
My Avisynth Stuff
real.finder 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 10:11.


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