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 > VapourSynth

Reply
 
Thread Tools Search this Thread Display Modes
Old 24th September 2014, 15:58   #21  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,117
A while back I did some speed test with different versions of MVTools. Results were similar to Keiyakusha's; MVTools from SVP is faster than the rest. On their website they claim MAnalyze to be faster. Maybe jackoneill can include this difference?

Quote:
Originally Posted by SVP Team

MAnalyse
Can be faster than original version (with chroma=true) by 20-40%, look at PlaneOfBlocks.h for changes.
Reel.Deel is offline   Reply With Quote
Old 24th September 2014, 16:55   #22  |  Link
Bloax
The speed of stupid
 
Bloax's Avatar
 
Join Date: Sep 2011
Posts: 319
Mmm, sounds like I'll have to replace Avisynth soon.
Great news!
Bloax is offline   Reply With Quote
Old 24th September 2014, 22:58   #23  |  Link
Are_
Registered User
 
Join Date: Jun 2012
Location: Ibiza, Spain
Posts: 282
Some more test, mvdegrain2 script above:

### 1 thread ###
Code:
## 720x480p ##
# AVISYNTH 2.6 Beta 5 - vanilla mvtools :: 7.21 fps
# VAPOURSYNTH WINDOWS 32bit :: 6.46 fps
# VAPOURSYNTH WINDOWS 64bit :: 7.99 fps
# VAPOURSYNTH LINUX 64bit :: 7.92 fps

## 1920x1080p ##
# AVISYNTH 2.6 Beta 5 - vanilla mvtools :: 1.09 fps
# VAPOURSYNTH WINDOWS 32bit :: 0.93 fps
# VAPOURSYNTH WINDOWS 64bit :: 1.09 fps
# VAPOURSYNTH LINUX 64bit :: 1.18 fps
### 8 threads ###
Code:
## 720x480p ##
# AVISYNTH 2.6 MT - vanilla mvtools :: 40.38 fps
# VAPOURSYNTH WINDOWS 32bit :: 37.24 fps
# VAPOURSYNTH WINDOWS 64bit :: 45.66 fps
# VAPOURSYNTH LINUX 64bit :: 47.06 fps

## 1920x1080p ##
# AVISYNTH 2.6 Beta 5 - vanilla mvtools :: 6.08 fps
# VAPOURSYNTH WINDOWS 32bit :: 4.95 fps
# VAPOURSYNTH WINDOWS 64bit :: 5.78 fps
# VAPOURSYNTH LINUX 64bit :: 6.53 fps
Are_ is offline   Reply With Quote
Old 25th September 2014, 09:51   #24  |  Link
Groucho2004
►◄
 
Groucho2004's Avatar
 
Join Date: Mar 2006
Location: A wretched hive of scum and villainy
Posts: 4,459
Quote:
Originally Posted by Keiyakusha View Post
Even with avs 2.6 MT avsmeter displays more threads than the number we set in "setmtmode". For whatever reason.
But yeah, I wondered why I have the whole 20+ threads. This explains it!
AVSMeter displays the the number of threads spawned by avisynth and all loaded modules (DLLs). If a module spawns multiple threads itself (in combination with AVSTP, for example), they will of course be added to the thread count.
Groucho2004 is offline   Reply With Quote
Old 25th September 2014, 12:05   #25  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 711
Concerning the speed: building it with MSVC would probably help.
__________________
...desu!
Mystery Keeper is offline   Reply With Quote
Old 28th September 2014, 13:31   #26  |  Link
jackoneill
unsigned int
 
jackoneill's Avatar
 
Join Date: Oct 2012
Location: 🇪🇺
Posts: 725
v2.0 is out.

The last two filters used by QTGMC are now available. I'm curious how these two perform compared to the original Avisynth plugin, because I replaced some inline asm with C code.

If you're feeling grateful for this and other VapourSynth ports, maybe buy me an ebook.
__________________
Buy me a "coffee" and/or hire me to write code!

Last edited by jackoneill; 14th December 2014 at 22:44.
jackoneill is offline   Reply With Quote
Old 28th September 2014, 14:39   #27  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 711
What a glorious day! Thank you very much for your hard work!
__________________
...desu!
Mystery Keeper is offline   Reply With Quote
Old 28th September 2014, 16:48   #28  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,117
Good day indeed . Is there an accurate way to measure speed/performance in VS?
Reel.Deel is offline   Reply With Quote
Old 28th September 2014, 17:01   #29  |  Link
Keiyakusha
契約者
 
Keiyakusha's Avatar
 
Join Date: Jun 2008
Posts: 1,576
Quote:
Originally Posted by Reel.Deel View Post
Good day indeed . Is there an accurate way to measure speed/performance in VS?
vspipe?

---

BTW, with the script posted on the 1st page, speed is about the same for 2.0 build. But I it doesn't uses "last two filters". Still QTGMC overall was slower with vapour-mvtools so with these filters speed will probably be same as before at best. This means we're still somehow dependent on avisynth plugin in case of x86 architecture.

Last edited by Keiyakusha; 28th September 2014 at 17:06.
Keiyakusha is offline   Reply With Quote
Old 28th September 2014, 23:37   #30  |  Link
Are_
Registered User
 
Join Date: Jun 2012
Location: Ibiza, Spain
Posts: 282
Here we go.
Source was 720x480p. MPEG2Source for avisynth, d2vsource for vapoursynth.

Code:
super = core.mv.Super(src)
mvbw = core.mv.Analyse(super, isb=True, delta=1, overlap=4)
mvfw = core.mv.Analyse(super, isb=False, delta=1, overlap=4)
out = core.mv.FlowBlur(clip=src, super=super, mvbw=mvbw, mvfw=mvfw, blur=100)
1 thread
Code:
# AVISYNTH 2.6 Beta 5 - vanilla mvtools
11.60 fps

# VAPOURSYNTH WINDOWS 32bit
9.92 fps

# VAPOURSYNTH WINDOWS 64bit
11.80 fps

# VAPOURSYNTH LINUX 64bit
12.00 fps
8 threads
Code:
# AVISYNTH 2.6 MT - vanilla mvtools
57.76 fps

# VAPOURSYNTH WINDOWS 32bit
55.96 fps

# VAPOURSYNTH WINDOWS 64bit
65.95 fps

# VAPOURSYNTH LINUX 64bit
69.11 fps
Code:
super = core.mv.Super(src)
vectors = core.mv.Analyse(super, isb=False, delta=1, overlap=4)
out = core.mv.Mask(src, vectors)
1 thread
Code:
# AVISYNTH 2.6 Beta 5 - vanilla mvtools
27.81 fps

# VAPOURSYNTH WINDOWS 32bit
24.22

# VAPOURSYNTH WINDOWS 64bit
28.46 fps

# VAPOURSYNTH LINUX 64bit
31.01 fps
8 threads
Code:
# AVISYNTH 2.6 MT - vanilla mvtools
108.77 fps

# VAPOURSYNTH WINDOWS 32bit
130.80 fps

# VAPOURSYNTH WINDOWS 64bit
151.90 fps

# VAPOURSYNTH LINUX 64bit
168.53 fps
Are_ is offline   Reply With Quote
Old 29th September 2014, 00:20   #31  |  Link
Revgen
Registered User
 
Join Date: Sep 2004
Location: Near LA, California, USA
Posts: 1,545
Thank you jackoneill!
__________________
Pirate: Now how would you like to die? Would you like to have your head chopped off or be burned at the stake?

Curly: Burned at the stake!

Moe: Why?

Curly: A hot steak is always better than a cold chop.
Revgen is offline   Reply With Quote
Old 29th September 2014, 06:04   #32  |  Link
HolyWu
Registered User
 
HolyWu's Avatar
 
Join Date: Aug 2006
Location: Taiwan
Posts: 651


May I request that MFlowInter be ported as well, which is used by Firesledge's ivtc_txt60mc function.
HolyWu is offline   Reply With Quote
Old 1st October 2014, 17:53   #33  |  Link
jackoneill
unsigned int
 
jackoneill's Avatar
 
Join Date: Oct 2012
Location: 🇪🇺
Posts: 725
Quote:
Originally Posted by HolyWu View Post


May I request that MFlowInter be ported as well, which is used by Firesledge's ivtc_txt60mc function.
ivtc_txt60mc is a useful function.
__________________
Buy me a "coffee" and/or hire me to write code!
jackoneill is offline   Reply With Quote
Old 3rd October 2014, 16:11   #34  |  Link
jackoneill
unsigned int
 
jackoneill's Avatar
 
Join Date: Oct 2012
Location: 🇪🇺
Posts: 725
v3 is out. It includes FlowInter and fixes for two problems.

I realised that a single version number is sufficient.
__________________
Buy me a "coffee" and/or hire me to write code!
jackoneill is offline   Reply With Quote
Old 3rd October 2014, 17:47   #35  |  Link
feisty2
I'm Siri
 
feisty2's Avatar
 
Join Date: Oct 2012
Location: Los Angeles, California
Posts: 2,133
add mdegrainN and multivectors functions maybe?
large time radius could be kinda useful along with dct=1 to those "shivering" kinda clips

Last edited by feisty2; 3rd October 2014 at 17:49.
feisty2 is offline   Reply With Quote
Old 3rd October 2014, 18:48   #36  |  Link
jackoneill
unsigned int
 
jackoneill's Avatar
 
Join Date: Oct 2012
Location: 🇪🇺
Posts: 725
Quote:
Originally Posted by feisty2 View Post
add mdegrainN and multivectors functions maybe?
large time radius could be kinda useful along with dct=1 to those "shivering" kinda clips
Maybe. What are these multivector functions?
__________________
Buy me a "coffee" and/or hire me to write code!
jackoneill is offline   Reply With Quote
Old 3rd October 2014, 19:08   #37  |  Link
feisty2
I'm Siri
 
feisty2's Avatar
 
Join Date: Oct 2012
Location: Los Angeles, California
Posts: 2,133
they are from the modified version in ditherpackage
with "multi=true" in manalyse, a common vector clip will turn into multivectors clips
and the special multivectors clips can be passed to special functions like mdegrainN or mcompensate via "tr" parameter
feisty2 is offline   Reply With Quote
Old 3rd October 2014, 19:17   #38  |  Link
feisty2
I'm Siri
 
feisty2's Avatar
 
Join Date: Oct 2012
Location: Los Angeles, California
Posts: 2,133
vmulti=super.manalyse (delta=6,multi=true) is simply identical to
bv6=super.manalyse (delta=6,isb=true)
bv5
bv4
...
fv4
fv5
fv6
feisty2 is offline   Reply With Quote
Old 3rd October 2014, 19:22   #39  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 711
feisty2, here is how I do it.
__________________
...desu!
Mystery Keeper is offline   Reply With Quote
Old 3rd October 2014, 19:30   #40  |  Link
feisty2
I'm Siri
 
feisty2's Avatar
 
Join Date: Oct 2012
Location: Los Angeles, California
Posts: 2,133
wow, cool, thank you, Mystery Keeper
feisty2 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 06:49.


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