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. |
26th August 2021, 23:51 | #82 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
Quote:
Then pass the returned pointer to the function until it returns null. That means you've enumerated all plugins.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
27th August 2021, 00:22 | #83 | Link | |
Registered User
Join Date: Sep 2006
Posts: 1,657
|
Quote:
Code:
VSPluginFunction * function = VSAPI->getNextPluginFunction(nullptr, Plugin); while (function != nullptr) { # do stuff with function function = VSAPI->getNextPluginFunction(nullptr, Plugin); } |
|
27th August 2021, 00:51 | #84 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
Correct, you don't have to free anything.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
27th August 2021, 20:55 | #87 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
Quote:
Code:
char name[32]; vsapi->getVideoFormatName(&videoInfo.format, name); myFunction(name);
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet Last edited by Myrsloik; 27th August 2021 at 21:21. |
|
27th August 2021, 21:21 | #88 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
Quote:
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
28th August 2021, 10:26 | #91 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
Cache insertion is now handled by the core so there's no direct replacement. If you want to change the automatic decision to add a lot of caching on your output simply use the SeVideoCache/SetAudioCache functions.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
28th August 2021, 12:02 | #93 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
No, they should obviously be optional
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
30th August 2021, 03:40 | #94 | Link |
Registered User
Join Date: Aug 2021
Posts: 73
|
Code:
>>> import vapoursynth as vs >>> core = vs.core >>> clip = core.std.BlankClip(width=1921, height=1081, format=vs.RGB48) >>> frame = clip.get_frame(2) >>> frame[0] == frame[2] True >>> frame[0] == frame[1] True >>> frame = clip.get_frame(22) >>> frame[0] <memory at 0x0000021EE196B930> >>> frame[1] <memory at 0x0000021EE196B860> >>> frame[2] <memory at 0x0000021EE196B930> >>> Last edited by Yomiko; 30th August 2021 at 03:43. |
30th August 2021, 07:19 | #95 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
Quote:
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
2nd September 2021, 10:09 | #96 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
RC2 posted. Changes:
Things you can do to help:
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
2nd September 2021, 17:50 | #98 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
Correct. Will be fixed.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
2nd September 2021, 21:05 | #100 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
Yes, now alt_output is an optional argument to set_output(). Makes more sense that way.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
Thread Tools | Search this Thread |
Display Modes | |
|
|