Coder Social home page Coder Social logo

fvsfunc's Issues

TemporalDegrain

Hello,

Could you possibly add the parameter Contra-sharpening=True/False to TemporalDegrain?

Thank you!

Kind Regards

Is there a tutorial how to use this with StaxRip?

Hello everyone,

I am trying to use Insertsign() function, but I don't know if there an option of it, or I should write it manually.

image

image

image

What code I want to apply?

Afx=directShowSource("file")
Insertsign(last,afx,0,0)

If you don't accept this type of questions, could you guide me where can I ask this question?

Deprecation warning register_format

C:\Users\begna112\AppData\Roaming\Python\Python39\site-packages\fvsfunc.py:1341: DeprecationWarning: register_format() is deprecated. Use "query_video_format" instead.
  y_f = core.register_format(vs.GRAY, src_st, src_bits, 0, 0)
C:\Users\begna112\AppData\Roaming\Python\Python39\site-packages\fvsfunc.py:1341: DeprecationWarning: register_format() is deprecated. Use "query_video_format" instead.
  y_f = core.register_format(vs.GRAY, src_st, src_bits, 0, 0)

not breaking (yet) but is annoying to see it in console output.

bilateralgpu call is wrong in GradFun3

calling clip = core.resize.Bicubic(clip, matrix_in_s="470bg",range_s="limited") gives me:

Traceback (most recent call last):
File "src\cython\vapoursynth.pyx", line 2832, in vapoursynth._vpy_evaluate
File "src\cython\vapoursynth.pyx", line 2833, in vapoursynth._vpy_evaluate
File "E:\Temp\tempPreviewVapoursynthFile15_04_40_980.vpy", line 38, in 
clip = fvsfunc.GradFun3(src=clip, smode=5)
File "I:\Hybrid\64bit\vsscripts\fvsfunc.py", line 328, in GradFun3
flt_y = smooth_mod(src_16, ref_16, smode, radius, thr, elast, planes2)
File "I:\Hybrid\64bit\vsscripts\fvsfunc.py", line 176, in smooth_mod
return bilateral_gpu(src_16, ref_16, radius, thr, elast, planes)
File "I:\Hybrid\64bit\vsscripts\fvsfunc.py", line 207, in bilateral_gpu
last = core.bilateralgpu.Bilateral(src, sigma_spatial=r / 2, sigma_color=t,
File "src\cython\vapoursynth.pyx", line 2551, in vapoursynth.Function.__call__
vapoursynth.Error: Bilateral: Function does not take argument(s) named planes, kernel_size, borderMode

according to https://github.com/WolframRhodium/VapourSynth-BilateralGPU the bilateralgpu uses:
core.bilateralgpu.Bilateral(clip clip, float[] sigma_spatial=3.0, float[] sigma_color=0.02, int[] radius=0, int device_id=0, int num_streams=4, bool use_shared_memory=True)
in the script it's called with:

last = core.bilateralgpu.Bilateral(src, sigma_spatial=r / 2, sigma_color=t,

planes=planes, kernel_size=0, borderMode=4)

-> , planes=planes, kernel_size=0, borderMode=4 should be removed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.