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 7th July 2015, 23:25   #1201  |  Link
sl1pkn07
Pajas Mentales...
 
Join Date: Dec 2004
Location: Spanishtán
Posts: 449
http://avisynth.nl/index.php/AviSynth%2B#Latest_Release (?)
sl1pkn07 is offline   Reply With Quote
Old 13th July 2015, 14:05   #1202  |  Link
vcmohan
Registered User
 
Join Date: Jul 2003
Location: India
Posts: 735
Quote:
Originally Posted by foxyshadis View Post
That explains it. VC++ 2010 express relies on the SDK 7.1 to provide the x64 compilers. (The SDK has traditionally come with command-line compilers since the 90's.) SDK 8.1 removed all compilers because they're all built into VC++ 2013 community now, so no more access in any VS version. You can have SDK 7.1 and 8.1 side-by-side, but honestly it'd be less work to switch to 2013 (or even 2015 RC, which already seems just as stable as previous versions).
I have been using vs2013 community edition and compiled several avs+ plugins in 64 bit. I did not notice that the 2013 community edition was a one month trial edition and I need to pay over $6800 to continue working. This amount I can not afford. So far whichever plugins are compiled are at my down load page. In future I will switch back to 2010 edition possibly.
__________________
mohan
my plugins are now hosted here
vcmohan is offline   Reply With Quote
Old 13th July 2015, 14:19   #1203  |  Link
Sparktank
47.952fps@71.928Hz
 
Sparktank's Avatar
 
Join Date: Mar 2011
Posts: 913
Quote:
Originally Posted by vcmohan View Post
I have been using vs2013 community edition and compiled several avs+ plugins in 64 bit. I did not notice that the 2013 community edition was a one month trial edition and I need to pay over $6800 to continue working. This amount I can not afford. So far whichever plugins are compiled are at my down load page. In future I will switch back to 2010 edition possibly.
Users in the comment section (bottom of page) have said to just sign-in again into your Micro$oft account and ignore any promotions. After that, you're good to go again for another year or so without hassle.
http://blogs.msdn.com/b/quick_though...2013-free.aspx
__________________
Win10 (x64) build 18362| GPU Caps Viewer 1.42.4.0
NVIDIA GeForce GTX 1060 3GB (GP106) 3071MB/GDDR5 | (r435_95-4)
NTSC | DVD: R1 | BD: A
Intel Xeon X5660 @2.80GHz
Sparktank is offline   Reply With Quote
Old 13th July 2015, 22:19   #1204  |  Link
MysteryX
Soul Architect
 
MysteryX's Avatar
 
Join Date: Apr 2014
Posts: 2,173
Any idea when will be the next release of the MT version? The latest release doesn't sync audio and video when playing videos with SVP, and crashes with NNEDI3. Apparently there is a somewhat stable version but it's not yet public.
MysteryX is offline   Reply With Quote
Old 14th July 2015, 12:01   #1205  |  Link
Groucho2004
Cranky Fossil
 
Groucho2004's Avatar
 
Join Date: Mar 2006
Location: A wretched hive of scum and villainy
Posts: 4,571
Quote:
Originally Posted by Groucho2004 View Post
In my tests the 32 bit r1825 (have not tested 64 bit) slows down continuously with QTGMC, no matter if single threaded or multi threaded.
There is something odd with the memory management in the newer builds, they use much less memory than r1576 or 2.6 but it seems that this is exactly what causes the slowdown. Just a hunch.
Importing the AVSMeter performance data into a spread sheet program shows the issue with r1825 slowing down continuously quite nicely.

Script:
Code:
SetMemoryMax(1024)
LWLibavVideoSource("src\test.m2v")
AssumeTFF()
QTGMC(Preset="slow")
Result with r1576 x86:


Result with r1825 x86:
__________________
Groucho's Avisynth Stuff

Last edited by Groucho2004; 14th July 2015 at 12:05.
Groucho2004 is offline   Reply With Quote
Old 14th July 2015, 14:26   #1206  |  Link
vcmohan
Registered User
 
Join Date: Jul 2003
Location: India
Posts: 735
Quote:
Originally Posted by Sparktank View Post
Users in the comment section (bottom of page) have said to just sign-in again into your Micro$oft account and ignore any promotions. After that, you're good to go again for another year or so without hassle.
http://blogs.msdn.com/b/quick_though...2013-free.aspx
thanks.
__________________
mohan
my plugins are now hosted here
vcmohan is offline   Reply With Quote
Old 14th July 2015, 18:54   #1207  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: 36 Chambers
Posts: 5,948
@Groucho2004

I didn't know r1576 don't has the slowdown issue, for StaxRip this don't help unfortunately because several StaxRip features rely on ffmpeg and last time I tried ffmpeg with r1576 an error was returned by ffmpeg stating that AviSynth r1576 is too old.
stax76 is offline   Reply With Quote
Old 14th July 2015, 19:13   #1208  |  Link
Groucho2004
Cranky Fossil
 
Groucho2004's Avatar
 
Join Date: Mar 2006
Location: A wretched hive of scum and villainy
Posts: 4,571
Quote:
Originally Posted by stax76 View Post
last time I tried ffmpeg with r1576 an error was returned by ffmpeg stating that AviSynth r1576 is too old.
Yes, FFMPEG and some plugins require Avisynth interface version 6, r1576 is still 5.
Let's hope development picks up again and the issue(s) will be fixed.
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 22nd July 2015, 15:10   #1209  |  Link
vcmohan
Registered User
 
Join Date: Jul 2003
Location: India
Posts: 735
Quote:
Originally Posted by Reel.Deel View Post
Thanks for pointing that out, it's fixed now.

-------


Most plugins by V.C. Mohan .
I have converted most of my plugins to 64bit using avisynth+ header file. I have tested them with virtual dub (and not yet with avsmeter). All of these are MT_NICE mode. Only those that require visual examination viz: frequency spectrum are serialized.
__________________
mohan
my plugins are now hosted here
vcmohan is offline   Reply With Quote
Old 17th August 2015, 12:15   #1210  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 3,278
Thought I'd give Avisynth+ MT another shot after a year or so

The following script runs fine with 1576

Loadplugin("C:\Program Files (x86)\AviSynth+\plugins+\masktools2.dll")
Import("C:\Program Files (x86)\AviSynth+\plugins+\psharpen.avs")
ffdshow_source()
Psharpen(100)

installed 1825, updated to this and get an system exception access violation error.

SetFilterMTMode("DEFAULT_MT_MODE", 3)
Loadplugin("C:\Program Files (x86)\AviSynth+\plugins+\masktools2.dll")
Import("C:\Program Files (x86)\AviSynth+\plugins+\psharpen.avs")
ffdshow_source()
Psharpen(100)
Prefetch(2)

Are things still that broken with MT?
ryrynz is offline   Reply With Quote
Old 17th August 2015, 14:57   #1211  |  Link
Groucho2004
Cranky Fossil
 
Groucho2004's Avatar
 
Join Date: Mar 2006
Location: A wretched hive of scum and villainy
Posts: 4,571
This script works fine for me on r1825, x86:
Code:
SetFilterMTMode("DEFAULT_MT_MODE", 2)
colorbars(width = 1280, height = 720, pixel_type = "yv12").killaudio().assumefps(50, 1)
Psharpen(100)
Prefetch(4)
DEFAULT_MT_MODE 3 either crashes or has no performance impact.

Have not tried ffdshow.
Groucho2004 is offline   Reply With Quote
Old 17th August 2015, 15:04   #1212  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 3,278
Quote:
Originally Posted by Groucho2004 View Post
This script works fine for me on r1825, x86:

DEFAULT_MT_MODE 3 either crashes or has no performance impact.

Have not tried ffdshow.
Tried mode 3 for compatibility and to strip the source line out, I had also set mode 2 as default and mode 3 for source and also had the same issue. Disappointing, 64 bit Avisynth+ and ffdshow would hopefully gain me some performance, guess we're not there yet. Looks like SEt's MT is still the way to go for real-time work for now.

Last edited by ryrynz; 17th August 2015 at 15:07.
ryrynz is offline   Reply With Quote
Old 17th August 2015, 15:21   #1213  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,008
You would probably need a 64-bit ffdshow to use a 64-bit AviSynth+ as a realtime post-processing filter. Which is not quite the purpose AviSynth was made for, anyway.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 18th August 2015, 01:35   #1214  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 3,278
Quote:
Originally Posted by LigH View Post
You would probably need a 64-bit ffdshow to use a 64-bit AviSynth+ as a realtime post-processing filter. Which is not quite the purpose AviSynth was made for, anyway.
Yup, aware of that. Been using 32 bit, need to have that working before I even attempt 64.
ryrynz is offline   Reply With Quote
Old 18th August 2015, 23:36   #1215  |  Link
RenderGuy2
Registered User
 
Join Date: Feb 2015
Posts: 31
Quote:
Originally Posted by ryrynz View Post
Yup, aware of that. Been using 32 bit, need to have that working before I even attempt 64.
I have used ffdshow rev4533 x64 raw video filter with mpc-hc x64. As I mentioned in an earlier post, Avisynth+ r1779 works well, however r1825 doesn't work (at least not on my systems).

Perhaps someone more knowledgeable than me would know what changed between r1779 and r1825 that would make it incompatible with ffdshow.
RenderGuy2 is offline   Reply With Quote
Old 19th August 2015, 02:57   #1216  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 3,278
Quote:
Originally Posted by RenderGuy2 View Post
I have used ffdshow rev4533 x64 raw video filter with mpc-hc x64. As I mentioned in an earlier post, Avisynth+ r1779 works well, however r1825 doesn't work (at least not on my systems).

Perhaps someone more knowledgeable than me would know what changed between r1779 and r1825 that would make it incompatible with ffdshow.
Oh yah, I remember seeing aegisofrime's post about the access violation error a while back. Thanks, I'll hopefully get this running today.
ryrynz is offline   Reply With Quote
Old 19th August 2015, 15:07   #1217  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 3,278
Quote:
Originally Posted by ryrynz View Post
Thanks, I'll hopefully get this running today.
Yeah.. MT obviously isn't stable. Just trying to run a single line awarp4 with nnedi3 results in green screens, quarter screens and garbage depending on how many threads I give it. Looks like 2.6 MT is still the way to go for real time work, shame that.

I guess I'll look at this again once another phase of development has occurred, hopefully some time next year.
ryrynz is offline   Reply With Quote
Old 25th August 2015, 17:52   #1218  |  Link
Elegant
Registered User
 
Join Date: Jul 2014
Posts: 55
Quote:
Originally Posted by Groucho2004 View Post
Importing the AVSMeter performance data into a spread sheet program shows the issue with r1825 slowing down continuously quite nicely.

Script:
Code:
SetMemoryMax(1024)
LWLibavVideoSource("src\test.m2v")
AssumeTFF()
QTGMC(Preset="slow")
Result with r1576 x86:


Result with r1825 x86:
I might make some time for this issue. This issue should not necessarily require a full understanding of AviSynth+. All that should be needed is the ability to compile AviSynth+ and test it with AVSMeter. Then just check a series of revisions and narrow it down until you find the one commit where it goes south and if possible, revert the change.

Now if it happens to degrade over each revision then I can't help fix it but I can see a few commits on GitHub that make me question if that might be the cause.
Elegant is offline   Reply With Quote
Old 25th August 2015, 18:02   #1219  |  Link
Groucho2004
Cranky Fossil
 
Groucho2004's Avatar
 
Join Date: Mar 2006
Location: A wretched hive of scum and villainy
Posts: 4,571
Quote:
Originally Posted by Elegant View Post
Now if it happens to degrade over each revision then I can't help fix it but I can see a few commits on GitHub that make me question if that might be the cause.
I think this started somewhere in build 17xx. I'm not certain though...
Groucho2004 is offline   Reply With Quote
Old 27th August 2015, 14:51   #1220  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,120
I have a few different r17xx test builds by ultim, when I get home I'll do some testing to see if any of those revisions show the same behavior.

---

Ok I finally finished testing...

So it seems something went wrong after r1765; it's still slightly slower than r1576 but at least the FPS is consistent. I only tested the 32-bit version for now, hopefully I'll have time later to test the 64-bit versions. Thanks to Groucho2004 for reporting this issue and also for his nifty AVSMeter .

Script:
Code:
SetMemoryMax(1024)
LWLibavVideoSource("test.m2v")
AssumeTFF()
QTGMC(Preset="slow")
Clip info:
Quote:
Number of frames: 43596
Length (hh:mm:ss.ms): 00:12:07.327
Frame width: 720
Frame height: 480
Framerate: 59.940 (60000/1001)
Colorspace: YV12

AviSynth+ r1576
Quote:
[Runtime info]
Frames processed: 43596 (0 - 43595)
FPS (min | max | average): 6.934 | 171.0 | 24.55
Memory usage (phys | virt): 1048 | 1070 MB
Thread count: 26
CPU usage (average): 9%
Time (elapsed): 00:29:35.825



AviSynth+ r1689
Quote:
[Runtime info]
Frames processed: 43596 (0 - 43595)
FPS (min | max | average): 6.617 | 170.8 | 22.27
Memory usage (phys | virt): 178 | 184 MB
Thread count: 39
CPU usage (average): 10%
Time (elapsed): 00:32:37.568



AviSynth+ r1765
Quote:
[Runtime info]
Frames processed: 43596 (0 - 43595)
FPS (min | max | average): 5.686 | 170.4 | 22.23
Memory usage (phys | virt): 178 | 184 MB
Thread count: 39
CPU usage (average): 11%
Time (elapsed): 00:32:41.305



AviSynth+ r1779
Quote:
[Runtime info]
Frames processed: 43596 (0 - 43595)
FPS (min | max | average): 3.793 | 112.9 | 11.70
Memory usage (phys | virt): 193 | 199 MB
Thread count: 39
CPU usage (average): 9%
Time (elapsed): 01:02:06.727



AviSynth+ r1825
Quote:
[Runtime info]
Frames processed: 43596 (0 - 43595)
FPS (min | max | average): 5.607 | 116.3 | 12.31
Memory usage (phys | virt): 193 | 200 MB
Thread count: 39
CPU usage (average): 10%
Time (elapsed): 00:59:00.326



AviSynth 2.6 (just for validation)
Quote:
[Runtime info]
Frames processed: 43596 (0 - 43595)
FPS (min | max | average): 7.780 | 174.3 | 18.85
Memory usage (phys | virt): 1055 | 1077 MB
Thread count: 26
CPU usage (average): 10%
Time (elapsed): 00:38:33.056

Last edited by Reel.Deel; 28th August 2015 at 05:21. Reason: typos
Reel.Deel 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 19:51.


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