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. |
31st August 2017, 18:55 | #1 | Link |
Registered User
Join Date: Aug 2006
Location: Taiwan
Posts: 392
|
eedi3
https://github.com/HomeOfVapourSynth...urSynth-EEDI3/
There are two filters in this plugin, one using pure CPU and the other using OpenCL. Unfortunely one of the heavy loop can't get parallel execution on GPU (or I'm too dumb to find a way to conquer it) and still need to be executed on CPU, the OpenCL version may not necessarily run faster than pure CPU version. Anyway, here is my rough test on my E3-1230v3 and (poor) GTX 660. AVS EEDI3 v0.9.2.1 x64 eedi3(opt=1, pure c): 1.15 fps eedi3(opt=2, sse2): 3.81 fps VS EEDI3 r2 x64 EEDI3(opt=1, pure c): 1.22 fps EEDI3(opt=2, sse2): 4.19 fps EEDI3(opt=3, sse4.1): 4.89 fps EEDI3(opt=4, avx): 6.18 fps EEDI3(opt=5, avx512): unavailable EEDI3CL(opt=1, pure c): 4.88 fps EEDI3CL(opt=2, sse2): 7.17 fps Sample video used for benchmarking. Last edited by HolyWu; 13th October 2017 at 08:52. |
4th October 2017, 15:19 | #3 | Link |
Registered User
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 377
|
Debian 8, gcc 4.9, and I can't build it there: https://pastebin.com/km3g2hKS. If compiler is too old (most likely that), which gcc version should I use?
|
4th October 2017, 16:02 | #4 | Link | |
Registered User
Join Date: Aug 2006
Location: Taiwan
Posts: 392
|
Quote:
|
|
13th October 2017, 09:03 | #5 | Link |
Registered User
Join Date: Aug 2006
Location: Taiwan
Posts: 392
|
Update r2.
The benchmark in the first post is revised. |
15th October 2017, 18:54 | #6 | Link |
Registered User
Join Date: Apr 2015
Posts: 84
|
Code:
import vapoursynth as vs core = vs.get_core(threads=0) core.max_cache_size = 32000 c = core.std.BlankClip(width=1920, height=1080, format=vs.YUV420P8, length=2000) c = core.eedi3m.EEDI3(c, field=0, opt=4) c.set_output() VS EEDI3 r1 x64 AVX2: 33.57fps VS EEDI3 r2 x64 pure c: 6.14fps sse2: 21.87fps sse4.1: 27.58fps AVX: 35fps |
19th October 2017, 06:10 | #7 | Link | |
Registered User
Join Date: Aug 2006
Location: Taiwan
Posts: 392
|
Quote:
|
|
26th October 2017, 14:05 | #8 | Link |
Registered User
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 377
|
It would be nice if eedi3cl will have dw parameter just like it implemented in nnedi3cl. In that case I can dispose of Transpose calls in my script when CL versions is used (I'm using "sclip=nnedi3 clip").
|
24th November 2017, 22:53 | #9 | Link |
Registered User
Join Date: Jan 2017
Posts: 146
|
I am getting the following when building on macOS (latest 10.13.1 with latest eedi3 from GitHub). Any ideas ? I will appreciate any help.
https://pastebin.com/T1TJha0D Last edited by KingLir; 24th November 2017 at 22:57. |
25th November 2017, 00:10 | #11 | Link | |
Registered User
Join Date: Jan 2017
Posts: 146
|
Quote:
$ clang --version Apple LLVM version 9.0.0 (clang-900.0.38) Target: x86_64-apple-darwin17.2.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin |
|
25th November 2017, 00:24 | #12 | Link |
Registered User
Join Date: Jun 2012
Location: Ibiza, Spain
Posts: 321
|
I use Linux and I can replicate that error only if I use clang-4.0.1, with clang-5.0.0 it builds OK.
Apple's clang will be based on vanilla clang-5.x.x probably when they change that "clang-900" version string to something higher. |
25th November 2017, 00:53 | #13 | Link | |
Registered User
Join Date: Jan 2017
Posts: 146
|
Quote:
I have brew working and everything already installed. Can't figure what command or edit I need to do for the makefile / configure.... |
|
25th November 2017, 09:23 | #15 | Link |
Registered User
Join Date: Jan 2017
Posts: 146
|
Thanks! all previous ones seems to fixed - now getting a new one:
$ make CXXLD libeedi3m.la ld: library not found for -lOpenCL clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [libeedi3m.la] Error 1 Last edited by KingLir; 25th November 2017 at 15:31. |
25th November 2017, 19:50 | #17 | Link | |
Registered User
Join Date: Jan 2017
Posts: 146
|
Quote:
Thanks again ! |
|
23rd December 2017, 14:17 | #18 | Link |
Registered User
Join Date: Aug 2006
Location: Taiwan
Posts: 392
|
Update r3.
|
11th July 2018, 00:23 | #19 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Quote:
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
|
|