Logan9778
14th September 2017, 19:10
Hey guys,
I'm trying to get rid of the halo shown in this pic of Fawlty Towers. They are through out the espisodes. I think its from oversharpening. This is from the mpeg2 stream directly from the DVD.
https://picload.org/image/dgrwladi/faultytest.mkv-00000.png
You can see the halo on her left arm. I'm trying to use Vine to do it, but it's not doing anything and it's probably an error in my code ( cause I'm a total noob in Python :p). I took the code from Fiesty2's examples of Vine's halo removal. Could someone look at my code and tell me what I'm doing wrong?
from vapoursynth import core
import vapoursynth as vs
import havsfunc as haf
import mvmulti
import Vine
import Plum
vs.get_core(threads=8)
video = core.ffms2.Source(r'H:\DVD Workspace\Fawlty Towers\Season1\title01.mkv')
clip = video[2486:2500]
clip = haf.QTGMC(clip, TFF=True, FPSDivisor=1, Preset="Placebo")
clip = core.fmtc.bitdepth(clip,bits=32,fulls=False,fulld=True)
ref = Vine.Basic(clip, h=31.18, sharp=0.48)
ref = Vine.Basic(ref, h=13.86, sharp=0.16)
clip = Vine.Final([clip, ref], [Vine.Super(clip), Vine.Super(ref)], [6, 2, 4], sigma=2.2, alpha=0.18)
clip = core.fmtc.bitdepth(clip,bits=8,fulls=True,fulld=False)
clip.set_output()
I'm using vspipe to output it to X264.
vspipe --y4m faulty.vpy - | "C:\Program Files (x86)\MuldeR\Simple x264 Launcher v2\toolset\x64\x264_8bit_x64.exe" --crf 18.0 --preset veryslow --tune film --profile high --merange 32 --bframes 16 --no-fast-pskip --aq-mode 2 --sar 197:180 --colormatrix bt470bg --colorprim bt470bg --transfer bt470bg --output "F:\\faultytest2.mkv" --demuxer y4m --stdin y4m -
:thanks:
I'm trying to get rid of the halo shown in this pic of Fawlty Towers. They are through out the espisodes. I think its from oversharpening. This is from the mpeg2 stream directly from the DVD.
https://picload.org/image/dgrwladi/faultytest.mkv-00000.png
You can see the halo on her left arm. I'm trying to use Vine to do it, but it's not doing anything and it's probably an error in my code ( cause I'm a total noob in Python :p). I took the code from Fiesty2's examples of Vine's halo removal. Could someone look at my code and tell me what I'm doing wrong?
from vapoursynth import core
import vapoursynth as vs
import havsfunc as haf
import mvmulti
import Vine
import Plum
vs.get_core(threads=8)
video = core.ffms2.Source(r'H:\DVD Workspace\Fawlty Towers\Season1\title01.mkv')
clip = video[2486:2500]
clip = haf.QTGMC(clip, TFF=True, FPSDivisor=1, Preset="Placebo")
clip = core.fmtc.bitdepth(clip,bits=32,fulls=False,fulld=True)
ref = Vine.Basic(clip, h=31.18, sharp=0.48)
ref = Vine.Basic(ref, h=13.86, sharp=0.16)
clip = Vine.Final([clip, ref], [Vine.Super(clip), Vine.Super(ref)], [6, 2, 4], sigma=2.2, alpha=0.18)
clip = core.fmtc.bitdepth(clip,bits=8,fulls=True,fulld=False)
clip.set_output()
I'm using vspipe to output it to X264.
vspipe --y4m faulty.vpy - | "C:\Program Files (x86)\MuldeR\Simple x264 Launcher v2\toolset\x64\x264_8bit_x64.exe" --crf 18.0 --preset veryslow --tune film --profile high --merange 32 --bframes 16 --no-fast-pskip --aq-mode 2 --sar 197:180 --colormatrix bt470bg --colorprim bt470bg --transfer bt470bg --output "F:\\faultytest2.mkv" --demuxer y4m --stdin y4m -
:thanks: