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 February 2017, 07:13 | #41 | Link |
Registered User
Join Date: Dec 2016
Posts: 71
|
Fiesty: Would appreciate if you could update correct sequence to run your scripts. I am using like this :
QTGMC > Vine > VBm3d > Oyster (For Deblocking) > Encode with (Plum is very slow therefore sticking with Finesharp alongwith VBm3d script) Source : 720*480 DVD9. 29.970 fps Thanks !!! |
14th February 2017, 19:26 | #44 | Link |
Registered User
Join Date: Dec 2016
Posts: 71
|
This is super slow @ 0.00158 fps...it took 20 minutes to process 2 frames ... can't we run it faster ? This is my script :
ref_f = Oyster.Basic(y, Oyster.Super (y), short_time=False) ref_s = Oyster.Basic(y, Oyster.Super (y), short_time=True) y = Oyster.Deblocking(y, ref_f, block_step=2) y = Oyster.Deringing(y, ref_s, sigma=24.0, h=10.8, block_step=2) |
15th February 2017, 13:28 | #48 | Link | |
I'm Siri
Join Date: Oct 2012
Location: void
Posts: 2,633
|
Quote:
Code:
ref_f = Oyster.Basic(y, Oyster.Super (y), short_time=False) ref_s = Oyster.Basic(y, Oyster.Super (y), short_time=True) y = Oyster.Deblocking(y, ref_f, block_step=2) y = Oyster.Deringing(y, ref_s, sigma=24.0, h=10.8, block_step=2) you have no other choice but to split the script up. script 1: Code:
y = .... clip = Oyster.Super (y) clip.set_output() Code:
vspipe script1.vpy super.raw -p Code:
super = core.raws.Source("super.raw", ...) ref_f = Oyster.Basic(y, super, short_time=False) ref_f.set_output() Code:
vspipe script2.vpy ref_f.raw -p Code:
super = core.raws.Source("super.raw", ...) ref_s = Oyster.Basic(y, super, short_time=True) ref_s.set_output() Code:
vspipe script3.vpy ref_s.raw -p del super.raw Code:
ref_f = core.raws.Source("ref_f.raw", ...) y = Oyster.Deblocking(y, ref_f, block_step=2) y.set_output() Code:
vspipe script4.vpy deblocked.raw -p del ref_f.raw Code:
y = core.raws.Source("deblocked.raw", ...) ref_s = core.raws.Source("ref_s.raw", ...) y = Oyster.Deringing(y, ref_s, sigma=24.0, h=10.8, block_step=2) y.set_output() Code:
vspipe script5.vpy final.raw -p del ref_s.raw del deblocked.raw |
|
15th February 2017, 13:56 | #49 | Link | |
Registered User
Join Date: Dec 2016
Posts: 71
|
Quote:
y = Oyster.Basic(y, super=None, radius=6, pel=4, sad=2000.0, short_time=False) Once I check output video quality then I would test the way you have suggested... |
|
16th February 2017, 13:40 | #52 | Link |
Registered User
Join Date: Dec 2016
Posts: 71
|
import vapoursynth as vs
import adjust import Vine import Oyster import mvmulti import finesharp import havsfunc as haf import mvsfunc as mvf core = vs.get_core() core.max_cache_size = 12000 video = core.lsmas.LWLibavSource(r'C:\DVD\Sample\Vine.mkv') video = core.fmtc.bitdepth(video,bits=32,fulls=False,fulld=True) y = core.std.ShufflePlanes(video,0,vs.GRAY) y = Oyster.Basic(y, super=None, radius=6, pel=4, sad=2000.0, short_time=False) video = core.std.ShufflePlanes([y,video], [0,1,2], vs.YUV) video = core.fmtc.bitdepth(video,bits=8,fulls=False,fulld=True) video.set_output() |
20th February 2017, 07:02 | #55 | Link | |
Cary Knoop
Join Date: Feb 2017
Location: Newark CA, USA
Posts: 397
|
I encountered the same error
Quote:
Oyster is called in the following way: Code:
clip = core.fmtc.bitdepth(c, bits=32, fulls=False, fulld=False) y = core.std.ShufflePlanes(clip, 0, vs.GRAY) ref = Oyster.Basic(y, Oyster.Super(y)) y = Oyster.Deblocking(y, ref, block_step=2) y = Oyster.Deringing(y, ref, sigma=24.0, h=10.8, block_step=2) clip = core.std.ShufflePlanes([y, clip], [0, 1, 2], vs.YUV) |
|
22nd February 2017, 09:01 | #56 | Link | |
I'm Siri
Join Date: Oct 2012
Location: void
Posts: 2,633
|
Quote:
1. before the next release of KNLMeansCL, please manually change line 67 to Code:
nlm = self.KNLMeansCL(pad, d=d, a=a, s=s, h=h * math.sqrt(3), channels="YUV" if color else "Y", wref=1.0, rclip=rclip) 2. what version of vaporsynth are you using? (the latest one?), will it work if you comment out "Oyster.Deringing"? |
|
22nd February 2017, 10:35 | #57 | Link |
Registered User
Join Date: Jun 2012
Location: Ibiza, Spain
Posts: 321
|
Using VapourSynth and Oyster at current git.
Deblocking, Deringin, Destaircase, anything triggers this bug. Even this script raises an error: Code:
import vapoursynth as vs core = vs.get_core() clip = core.std.BlankClip(format=vs.GRAYS, color=0.0) clip.set_output() Also documentation being so scarce on BlankClip does not help either. So welp, I'm pretty sure the bug is in VapourSynth, maybe I will fill a bug if I gather the strength to do it. :/ EDIT: Hohum, same problem with vapoursynth-36, now I'm not sure anymore about anything. Last edited by Are_; 22nd February 2017 at 10:42. |
22nd February 2017, 11:52 | #58 | Link | |
unsigned int
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
|
Quote:
__________________
Buy me a "coffee" and/or hire me to write code! |
|
22nd February 2017, 11:59 | #59 | Link | |
I'm Siri
Join Date: Oct 2012
Location: void
Posts: 2,633
|
Quote:
that's weird cuz I couldn't reproduce the error.. maybe just a bug exclusive to Linux vaporsynth? |
|
22nd February 2017, 12:17 | #60 | Link |
Registered User
Join Date: Jun 2012
Location: Ibiza, Spain
Posts: 321
|
Well, I expected color to be a float from the documentation, but the error got me confused about the actual allowed range for it. Maybe saying something like it mapping to the format range and if chroma in float formats maps to -0.5 too. If bugs didn't exist this will be not a problem, though.
Last edited by Are_; 22nd February 2017 at 12:20. |
Thread Tools | Search this Thread |
Display Modes | |
|
|