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. |
29th October 2021, 00:07 | #4561 | Link | |
Registered User
Join Date: Sep 2006
Posts: 1,657
|
Quote:
Code:
static const VSFrame *VS_CC firstGetFrame() {} static const VSFrame *VS_CC finalGetFrame() { return frame; } void VS_CC filterCreate() { d.node = vsapi->mapGetNode(in, "clip", 0, 0); // call invoke on node VSNode * node2 = vsapi->createVideoFilter2(firstGetFrame, freeFunc1, data); // call invoke on node2 d.node = node2; vsapi->createVideoFilter(finalGetFrame, freeFunc2, data); } |
|
29th October 2021, 04:44 | #4563 | Link |
Registered User
Join Date: Sep 2006
Posts: 1,657
|
I'm seeing two patterns from the examples above about chaining invoke, it got me confused:
Code:
#1: invmap2 = vsapi->invoke(stdplugin, "Trim", invmap); ... vsapi->mapConsumeNode(invmap, "clipb", vsapi->mapGetNode(invmap2, "clip", 0, nullptr), maAppend); ... invmap2 = vsapi->invoke(stdplugin, "PlaneStats", invmap); #2 vsapi->createVideoFilter(vtmp2, "BoxBlur", xxx); vtmp1 = vsapi->invoke(stdplugin, "Transpose", vtmp2); But in the second example, the resulting map just go straight to an invoke without the node consume? |
29th October 2021, 09:41 | #4564 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
Sometimes thebmap returned from invoke has the right contents and then it can be passed to invoke immediately. If it doesn't you have have to do more map manipulation.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
30th October 2021, 05:17 | #4565 | Link | |
Registered User
Join Date: Sep 2006
Posts: 1,657
|
Quote:
|
|
30th October 2021, 06:40 | #4566 | Link |
Registered User
Join Date: Sep 2006
Posts: 1,657
|
Format conversion from a Shuffleplanes causes a shift in chroma?
Code:
clip = yuv_clip clip = core.std.ShufflePlanes(clip, 0, colorfamily=vs.YUV) #clip = core.resize.Point(clip, format=vs.YUV444P8) // no shift clip = core.resize.Point(clip, format=vs.YUV420P8) // chroma shift |
30th October 2021, 23:04 | #4570 | Link |
Registered User
Join Date: Sep 2006
Posts: 1,657
|
When extracting RGB planes from a RGB clip, Shuffleplanes is outputting the wrong clip if I set the "colorfamily" to YUV
Code:
rgb_clip = core.resize.Point(clip, matrix_in_s="709", format=vs.RGB24) clip = core.std.ShufflePlanes(rgb_clip, 0, colorfamily=vs.YUV) |
31st October 2021, 12:27 | #4571 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Is there a replacement for https://github.com/AmusementClub/VapourSynth-EEDI2CUDA ? ( repo was deleted)
If not then I will remove it from vsrepo.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
31st October 2021, 13:10 | #4573 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
No releases
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
31st October 2021, 13:46 | #4574 | Link |
Registered User
Join Date: Jan 2018
Posts: 2,153
|
Here: https://github.com/kedaitinh12/Vapou...2CUDA/releases
And i ain't a developer, if anyone have attention that project can folk them |
1st November 2021, 20:46 | #4577 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,259
|
Did something change with vs-imwri?
I'm using R1 from https://github.com/vapoursynth/vs-imwri/releases/tag/R1 with Vapoursynth R57 and this code: Code:
[logo, alpha] = core.imwri.Read(filename="C:/Users/Selur/smallLogo.png", alpha=True) Tested on MacOS and Windows 10. Cu Selur |
1st November 2021, 22:00 | #4578 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
Quote:
Code:
logo = core.imwri.Read(filename="C:/Users/Selur/smallLogo.png", alpha=True) alpha = core.std.PropToClip(logo)
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
3rd November 2021, 08:15 | #4580 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
I'm also waiting for it since 2018 now
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
Tags |
speed, vaporware, vapoursynth |
Thread Tools | Search this Thread |
Display Modes | |
|
|