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. |
15th September 2015, 17:54 | #261 | Link | ||
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
Quote:
Quote:
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
||
15th September 2015, 18:15 | #263 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
And both have their issues Besides, DG's product is much more convenient for my usage so I'll stick to x86 for the time being. Maybe I'll get around to building MVTools but there's no rush, I'll progress slowly anyway.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
15th September 2015, 18:29 | #265 | Link |
unsigned int
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
|
dct > 0 isn't slow because it's broken, it's just slow.
Does limit(c) even do anything? When I tested that, it barely had any effect. MShow probably won't be added for a long time.
__________________
Buy me a "coffee" and/or hire me to write code! |
17th September 2015, 04:31 | #266 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
Are the other options in MVTools functions scaled for 16-bit input (thsad etc.) or will they need to be scaled according to the input bit depth as well?
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
17th September 2015, 11:24 | #268 | Link |
Registered User
Join Date: Jul 2008
Posts: 131
|
Please can someone help with writing this function in python?
PHP Code:
|
17th September 2015, 12:50 | #269 | Link |
Registered User
Join Date: Jun 2012
Location: Ibiza, Spain
Posts: 321
|
I'm not sure it's working correctly because I can't test it, but here you have it anyway. mcdegrainsharp.py
|
19th September 2015, 18:39 | #270 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
The difference in performance between dct=0 and dct=5 is much less drastic in the Avisynth plugin. Is there any room for improvement (totally unoptimized code or something) or is it about as good as it gets?
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
20th September 2015, 11:38 | #272 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
I made a quick test with 8-bit clips. The scripts are naturally not exactly the same but the operations are quite close to each other.
1.68 fps, Vapoursynth with dct=5 3.70 fps, Vapoursynth with dct=0 2.79 fps, Avisynth with dct=5 2.99 fps, Avisynth with dct=0
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
23rd September 2015, 15:58 | #273 | Link | |
A deadly Taru!
Join Date: Jun 2008
Location: San d'Oria, Vana'diel
Posts: 22
|
Quote:
Code:
import vapoursynth as vs import mcdegrainsharp as mcds core = vs.get_core() ret = core.ffms2.Source(source='/foo/bar.mkv') ret1 = mcds.mcdegrainsharp(ret) ret = core.std.Interleave([ret,ret1]) ret.set_output() https://na.cx/i/FbQhF3.png Output: https://na.cx/i/0d1JvY.png Look at the grass between Lipton and the other tropper, they are not as green as the original....
__________________
Don'taru push me!! |
|
24th September 2015, 15:27 | #275 | Link | |
A deadly Taru!
Join Date: Jun 2008
Location: San d'Oria, Vana'diel
Posts: 22
|
Quote:
Original: https://na.cx/i/Rj64wd.png Output: https://na.cx/i/52ag3Z.png
__________________
Don'taru push me!! |
|
3rd January 2016, 17:16 | #278 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
I found a bug in the latest release. This code will crash MVTools, I'm getting a crash around frame 15. Sometimes frame 7 also causes it. You can also see that there's a lot of artifacts around the coloured area in several frames.
The crash doesn't occur if the line feed = has.DitherLumaRebuild(clp) is replaced by feed = clp. The crash and artifacts disappear if the conversion to 16 bits is removed, or if you remove the last two lines with mv.Recalculate. Code:
import vapoursynth as vs import havsfunc as has core = vs.get_core() clp = core.ffms2.Source(r'u:\test-002.264') clp = core.fmtc.bitdepth(clp, bits=16) feed = has.DitherLumaRebuild(clp) superanalyse = core.mv.Super(feed, pel=2, rfilter=4) supermdg = core.mv.Super(clp, pel=2, rfilter=4, levels=1) bv1 = core.mv.Analyse(superanalyse, dct=0, blksize=16, overlap=8, isb=True) fv1 = core.mv.Analyse(superanalyse, dct=0, blksize=16, overlap=8, isb=False) bv1 = core.mv.Recalculate(superanalyse, bv1, thsad=100, blksize=8, overlap=4, search=3) fv1 = core.mv.Recalculate(superanalyse, fv1, thsad=100, blksize=8, overlap=4, search=3) bv1 = core.mv.Recalculate(superanalyse, bv1, thsad=100, blksize=4, overlap=2, search=3) fv1 = core.mv.Recalculate(superanalyse, fv1, thsad=100, blksize=4, overlap=2, search=3) finalclip = core.mv.Degrain1(clp, supermdg, bv1, fv1, thscd1=300, thscd2=80) output = finalclip output.set_output() https://drive.google.com/file/d/0Bze...ew?usp=sharing
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
3rd January 2016, 22:27 | #279 | Link |
unsigned int
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
|
I can reproduce this. Some integer variable probably overflows, because MVTools wasn't written with 16 bit input in mind. (Something similar has happened before.)
__________________
Buy me a "coffee" and/or hire me to write code! |
4th January 2016, 13:21 | #280 | Link | |
I'm Siri
Join Date: Oct 2012
Location: void
Posts: 2,633
|
Quote:
weird, cuz my branch was forked from this master branch and should have suffered the same issue... |
|
|
|