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. |
2nd August 2016, 19:55 | #262 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Or even better, just copy a cut down version of the function used. It's only like 10 lines of code after you realize that saturation adjustment is the only function ever used in it.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
2nd August 2016, 23:35 | #263 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Would it be possible to adapt the vinverse and vinverse2 functions for higher bitdepths? I think all that's needed is to make amnt change its default value depending on input.
...for integer formats at least.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
3rd August 2016, 10:27 | #265 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
The problem is the defaults. By default the maximum change will br smaller the higher the bitdepth. Not what most users would expect...
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
13th August 2016, 07:47 | #266 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
@HolyWu: Do all the functions in havsfunc support all color formats, or are there restrictions?
If there are could you please note which? I saw for that LUTDeRainbow and LUTDeCrawl 'Requires YUV input, frame-based only' so that would mean that: Code:
YUV420P8 YUV422P8 YUV444P8 YUV410P8 YUV411P8 YUV440P8 YUV420P9 YUV422P9 YUV444P9 YUV420P10 YUV422P10 YUV444P10 YUV420P16 YUV422P16 YUV444P16 YUV444PH YUV444PS Do all other functions work with all color formats? Last edited by Selur; 13th August 2016 at 08:08. |
13th August 2016, 13:09 | #268 | 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 |
|
17th August 2016, 04:13 | #269 | Link |
Registered User
Join Date: Oct 2009
Location: crow-land
Posts: 540
|
Just noting for posterity per http://forum.doom9.org/showthread.ph...66#post1776066 and the posts around it a recommendation to change the definition of the TemporalSoften function within havsfunc.py to use the stock standard TemporalSoften rather than a custom TemporalSoften2.
Code:
def TemporalSoften(clip, radius=4, luma_threshold=4, chroma_threshold=8, scenechange=15, mode=2): core = vs.get_core() if not isinstance(clip, vs.VideoNode): raise TypeError('TemporalSoften: This is not a clip') if scenechange: clip = set_scenechange(clip, scenechange) # edit to change from TemporalSoften2 to vanilla VapourSynth TemoporalSoften # http://forum.doom9.org/showthread.ph...66#post1776066 #return core.focus2.TemporalSoften2(clip, radius, luma_threshold, chroma_threshold, scenechange) return core.focus.TemporalSoften(clip, radius, luma_threshold, chroma_threshold, scenechange) |
24th August 2016, 03:03 | #270 | Link |
Registered User
Join Date: Oct 2009
Location: crow-land
Posts: 540
|
Also, a link to what seems to possibly updates arising from vapoursynth R33 ?
http://forum.doom9.org/showthread.ph...97#post1778397 (uses of removegrain and fmtconv) |
24th August 2016, 14:41 | #271 | Link |
Registered User
Join Date: Oct 2009
Location: crow-land
Posts: 540
|
A link showing QTGMC breaks with v9 of nnedi3 (v8 still works) http://forum.doom9.org/showthread.ph...46#post1778446
|
24th August 2016, 22:38 | #272 | Link |
Registered User
Join Date: Oct 2007
Posts: 135
|
It's updated on github already, since about three hours after you reported it. Also the removegrain and resize changes were committed days before you mentioned them. Just grab the current master, don't worry so much about a "release" for a single file repo.
|
25th August 2016, 11:39 | #273 | Link |
Registered User
Join Date: Oct 2009
Location: crow-land
Posts: 540
|
OK, beaut. Thank you AzraelNewtype !!
Tested and worked fine (still had to edit it per the below, but that's OK). Code:
def TemporalSoften(clip, radius=4, luma_threshold=4, chroma_threshold=8, scenechange=15, mode=2): core = vs.get_core() if not isinstance(clip, vs.VideoNode): raise TypeError('TemporalSoften: This is not a clip') if scenechange: clip = set_scenechange(clip, scenechange) # edit to change from TemporalSoften2 to vanilla VapourSynth TemoporalSoften # http://forum.doom9.org/showthread.php?p=1776066#post1776066 #return core.focus2.TemporalSoften2(clip, radius, luma_threshold, chroma_threshold, scenechange) return core.focus.TemporalSoften(clip, radius, luma_threshold, chroma_threshold, scenechange) Last edited by hydra3333; 25th August 2016 at 12:02. |
26th August 2016, 00:00 | #274 | Link |
Registered User
Join Date: Oct 2012
Posts: 20
|
Seems that HQDeringmod still needs updating from vapoursynth R33.
fmask = core.generic.Hysteresis(core.std.Median(sobelm, planes=[0]), sobelm, planes=[0]) File "src\cython\vapoursynth.pyx", line 1105, in vapoursynth.Core.__getattr__ (src\cython\vapoursynth.c:20799) AttributeError: No attribute with the name generic exists. Did you mistype a plugin namespace? |
26th August 2016, 08:55 | #275 | Link | |
unsigned int
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
|
Quote:
__________________
Buy me a "coffee" and/or hire me to write code! |
|
10th September 2016, 17:28 | #277 | Link |
Registered User
Join Date: Aug 2006
Location: Taiwan
Posts: 392
|
Update r24.
|
24th September 2016, 08:08 | #279 | Link | |
Registered User
Join Date: Jul 2012
Posts: 94
|
Quote:
I got the same issue and I don't get what "scene detection plugin" is. I'm running python and vapoursynth both 64 on windows machine also 64. Code:
Failed to evaluate the script: Python exception: No attribute with the name scd exists. Did you mistype a plugin namespace? Traceback (most recent call last): File "src\cython\vapoursynth.pyx", line 1491, in vapoursynth.vpy_evaluateScript (src\cython\vapoursynth.c:26905) File "H:\Untitled.vpy", line 5, in <module> video = haf.QTGMC(video, Preset='Medium', TFF=True, FPSDivisor=2) File "C:\Users\XXX\AppData\Local\Programs\Python\Python35\lib\site-packages\havsfunc.py", line 958, in QTGMC if TR0 > 0: ts1 = TemporalSoften(bobbed, 1, 255 << shift, CMts << shift, 28 << shift, 2) # 0.00 0.33 0.33 0.33 0.00 File "C:\Users\XXX\AppData\Local\Programs\Python\Python35\lib\site-packages\havsfunc.py", line 4313, in TemporalSoften clip = set_scenechange(clip, scenechange) File "C:\Users\XXX\AppData\Local\Programs\Python\Python35\lib\site-packages\havsfunc.py", line 4345, in set_scenechange sc = core.scd.Detect(sc, thresh) File "src\cython\vapoursynth.pyx", line 1105, in vapoursynth.Core.__getattr__ (src\cython\vapoursynth.c:20799) AttributeError: No attribute with the name scd exists. Did you mistype a plugin namespace? cheers |
|
24th September 2016, 09:20 | #280 | Link | |
Beyond Kawaii
Join Date: Feb 2008
Location: Russia
Posts: 724
|
Quote:
__________________
...desu! |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|