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. |
14th October 2024, 08:33 | #1 | Link |
Registered User
Join Date: Oct 2024
Posts: 8
|
Use libavfilter in vapoursynth?
I'm encoding on Apple Silicon Macs. However, KNLMEANSCL and libavfilter's nlmeans_opencl don't work correctly here for some reason. Luckily, libavfilter as a nlmeans_vulkan. Is it possible to use it inside vpys? Or I will have to port the code myself?
|
14th October 2024, 09:41 | #2 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,595
|
You have to port it.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
14th October 2024, 12:46 | #3 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,821
|
CPU version of KNLMEANSCL https://github.com/AmusementClub/vs-nlm-ispc
I have no idea if can be compiled for mac or not. EDIT: I'm blind https://github.com/AmusementClub/vs-...me-ov-file#arm
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
14th October 2024, 12:55 | #4 | Link | |
Registered User
Join Date: Oct 2024
Posts: 8
|
Quote:
|
|
14th October 2024, 19:09 | #5 | Link |
Registered User
Join Date: Aug 2024
Posts: 198
|
If you are going to port somthing, is a somewhat general interface of libavfilters possible? So most of the FFmpeg's filters can be used...
(Talk about general interfaces I think vs-placebo, then I think perhaps you can use nlmeans shader) Last time I checked, vs-nlm-ispc got completely "smashed" by the opencl version in terms of speed, is it different in Apple Silicon chips? What performance is it that you would call it "very fast"? What is the "not work correctly" mean by the way? Is it crashing, or is it have corrupted output frames? |
14th October 2024, 21:59 | #6 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,821
|
Performance king would be vs-nlm-cuda, but I don't think cuda is supported on mac?
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
15th October 2024, 01:47 | #7 | Link | |
Registered User
Join Date: Oct 2024
Posts: 8
|
Quote:
not work correctly means it output broken images. |
|
16th October 2024, 02:44 | #9 | Link |
Registered User
Join Date: Oct 2024
Posts: 8
|
yeah cuda don't support mac. I'm now learning apple's metal, it's like 80% similar with cuda. But it's swift that made it hard to use in vapoursynth plugins.
Last edited by yuygfgg; 16th October 2024 at 13:26. Reason: typo |
Tags |
ffmpeg, libavfilter, vapoursynth |
Thread Tools | Search this Thread |
Display Modes | |
|
|