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. |
21st September 2014, 21:36 | #1 | Link |
unsigned int
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
|
MVTools, Depan, DepanEstimate for VapourSynth
So I thought, "Why not port MVTools?"
https://github.com/dubhater/vapoursy...tools/releases readme.rst Now includes ports of Depan and DepanEstimate. Crashes or corrupted output may happen, as I haven't done very extensive testing.
__________________
Buy me a "coffee" and/or hire me to write code! Last edited by jackoneill; 22nd June 2016 at 11:53. |
22nd September 2014, 00:22 | #3 | Link |
Beyond Kawaii
Join Date: Feb 2008
Location: Russia
Posts: 724
|
Myrsloik was against it, but since we've got no better alternative, THANK YOU! With native motion compensation VapourSynth can finally have all the best filters without the need to use AviSynth plugins!
__________________
...desu! |
22nd September 2014, 13:32 | #5 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,595
|
Quote:
Now it's time for some VapourSynth world domination!
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
23rd September 2014, 03:18 | #7 | Link | ||
Registered User
Join Date: Sep 2006
Posts: 1,657
|
great news, have been waiting for this who knows how long.
I did some benchmarks with the sample script for mdegrain2 in the documentation, Quote:
Quote:
|
||
23rd September 2014, 07:54 | #8 | Link |
契約者
Join Date: Jun 2008
Posts: 1,576
|
On i7 8 threads, the same script as above looks something like this for me:
Vapoursynth x86, d2vsource, vapoursynth-mvtools: threads=4 -> 27fps, 50% CPU threads=8 -> 40fps, 100% CPU AVS+ x86 MT, mpeg2source, mvtools SVP: Prefetch(4) -> 42fps, 50% CPU Prefetch(8) -> 57fps, 100% CPU Edit: AVS 2.6 x86 MT, mpeg2source, mvtools SVP: 4 threads -> 40fps, 42% CPU 8 threads -> 55fps, 93% CPU Edit2: Vapoursynth x86, d2vsource, mvtools SVP (avs plugin): threads=4 -> 41fps, 50% CPU threads=8 -> 42fps, 60% CPU (wow, this one sucks >__<) Anyway, to sum this up, for me vapoursynth-mvtools port is way slower than any other solutions. Last edited by Keiyakusha; 23rd September 2014 at 08:24. |
23rd September 2014, 11:54 | #9 | Link |
Registered User
Join Date: Jun 2012
Location: Ibiza, Spain
Posts: 322
|
This is on an AMD cpu 8 cores.
MPEG2Source was used on avisynth, and d2vsource for vapoursynth, source was a VOB file from a DVD and used the sample code from lansing: Code:
# AVISYNTH 2.6 MT - MVTOOLS SVP Frames processed: 2501 (0 - 2500) FPS (min | max | average): 34.21 | 82.74 | 51.78 CPU usage (average): 94% Thread count: 10 Physical Memory usage (peak): 585 MB Virtual Memory usage (peak): 733 MB Time (elapsed): 000:00:48.304 # VAPOURSYNTH WIN32 Output 2500 frames in 67.32 seconds (37.13 fps) # VAPOURSYNTH LINUX x86_64 (-march=native -O2) Output 2500 frames in 55.85 seconds (44.76 fps) # VAPOURSYNTH LINUX x86_64 (-march=native -Ofast -lto) Output 2500 frames in 54.89 seconds (45.55 fps) # VAPOURSYNTH LINUX x86_64 (retarded compiler flags optimizations) Output 2500 frames in 53.39 seconds (46.83 fps) I don't know why avisynth scored so poorly for me compared to Keiyakusha. :/ Last edited by Are_; 23rd September 2014 at 12:41. Reason: corrected test results |
23rd September 2014, 12:15 | #10 | Link |
Registered User
Join Date: Oct 2011
Posts: 204
|
I guess that the difference comes from the fact that Keiyakusha used the SVP MVTools, while the Dither MVTools are probably (does anyone know for certain?) based on the original MVTools2 rather than the modified SVP MVTools.
|
23rd September 2014, 12:16 | #11 | Link | |
契約者
Join Date: Jun 2008
Posts: 1,576
|
Quote:
Edit: well anyway, maybe avsmeter author can explain what this value really shows, but in my case the number of threads was like twice than the ones you have even in case avisynth was configured to 4 threads. Also in any multithreaded environment, mvtools svp should be noticeably faster than the one from dither package (assuming latter one runs without avstp). However in singlethreaded environment SVP is slower than alternatives. Edit: in case of AVS+ with the script above, my threadcount reads 20 for Prefetch4 and 24 for Prefetch8. Have no time to install AVS2.6 again but I expect it to be similar. Last edited by Keiyakusha; 23rd September 2014 at 12:37. |
|
23rd September 2014, 12:51 | #13 | Link | |
Registered User
Join Date: Jan 2010
Posts: 270
|
Quote:
|
|
23rd September 2014, 13:02 | #14 | Link | |
契約者
Join Date: Jun 2008
Posts: 1,576
|
Quote:
But yeah, I wondered why I have the whole 20+ threads. This explains it! |
|
23rd September 2014, 13:41 | #15 | Link |
unsigned int
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
|
Anyone want to compare this version's speed when using a single thread and the original Avisynth plugin (2.5.11.3) running in a non-MT Avisynth?
__________________
Buy me a "coffee" and/or hire me to write code! |
23rd September 2014, 13:48 | #16 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,595
|
Original meaning the dither tools version of mvtools. right?
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
23rd September 2014, 14:20 | #17 | Link |
unsigned int
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
|
No, original is this: http://avisynth.org.ru/mvtools/mvtools-v2.5.11.3.zip. 8 bit and no internal multithreading.
The one from Dither is a fork of an earlier version of this original.
__________________
Buy me a "coffee" and/or hire me to write code! |
23rd September 2014, 19:51 | #18 | Link |
Angel of Night
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,562
|
Single threaded performance on my Haswell laptop, 720x480 video, mvdegrain2 script above:
mvtools 2.5: 9.7fps mvtools 2.6: 20.6fps vsmvtools 32: 21.0fps vsmvtools 64: 23.9fps 8-threaded performance: vsmvtools 32: 36.6 vsmvtools 64: 41.2 Will edit in with avisynth threaded performance when I get hold of it again. |
24th September 2014, 08:58 | #20 | Link |
契約者
Join Date: Jun 2008
Posts: 1,576
|
720x480 source. All used plugins are the latest versions.
AVS 2.6 Alpha5, mpeg2source: vanilla-mvtools: CPU ~15%; 10 fps svp-mvtools: CPU ~15%; 12.3 fps dither-mvtools: CPU ~15%; 9.3 fps (without avstp) Vapoursynth x86, d2vsource: vapour-mvtools: CPU ~15%; 8.75 fps (threads=1) Edit: also it might be useful to note that without any processing, d2vsource is 2 times faster than mpeg2source (1000+ fps) so it can't cause any fps drop. Last edited by Keiyakusha; 24th September 2014 at 09:13. |
Thread Tools | Search this Thread |
Display Modes | |
|
|