I'm Siri
Join Date: Oct 2012
Location: void
Posts: 2,633
|
Quote:
Originally Posted by aculnaig
Hi feisty2,
I tried your script, but it prompt me this error through vspipe
Code:
vspipe -y lo.gatto.vpy .
Script evaluation failed:
Python exception: DFTTest: invalid entry in sigma string
Traceback (most recent call last):
File "src/cython/vapoursynth.pyx", line 1491, in vapoursynth.vpy_evaluateScript (src/cython/vapoursynth.c:26905)
File "lo.gatto.vpy", line 18, in <module>
v = Plum.Final([v, deconv, conv], [sup, supdeconv, supconv])
File "/usr/lib/python3.5/site-packages/Plum.py", line 315, in Final
clip = internal.final(src, super, radius, pel, sad, constants, attenuate_window, attenuate, cutoff)
File "/usr/lib/python3.5/site-packages/Plum.py", line 163, in final
dif = DFTTest(dif, sbsize=attenuate_window, sstring=attenuate, **dfttest_args)
File "src/cython/vapoursynth.pyx", line 1383, in vapoursynth.Function.__call__ (src/cython/vapoursynth.c:25212)
vapoursynth.Error: DFTTest: invalid entry in sigma string
sample clip: https://www.dropbox.com/s/w5plhz6ob7...mple.mpeg?dl=0
Mediainfo output
Code:
General
Complete name : sample.mpeg
Format : MPEG-PS
File size : 3.04 MiB
Duration : 4 s 840 ms
Overall bit rate mode : Variable
Overall bit rate : 5 267 kb/s
Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, BVOP : Yes
Format settings, Matrix : Default
Format settings, GOP : M=3, N=13
Format settings, picture structure : Frame
Duration : 4 s 840 ms
Bit rate mode : Variable
Bit rate : 5 162 kb/s
Maximum bit rate : 8 500 kb/s
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 2.40:1
Frame rate : 25.000 FPS
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.498
Time code of first frame : 11:01:25:07
Time code source : Group of pictures header
GOP, Open/Closed : Open
Stream size : 2.98 MiB (98%)
Color primaries : BT.601 PAL
Transfer characteristics : BT.470 System B, BT.470 System G
Matrix coefficients : BT.601
My VS script
Code:
import vapoursynth as vs
import Plum
core = vs.get_core()
v = core.d2v.Source('output.mpeg.d2v')
v = v[92173]
v = core.fmtc.bitdepth(v, flt = 1)
v = core.yadifmod.Yadifmod(v, edeint = core.nnedi3.nnedi3(v, 1), order = 1 )
v = core.fmtc.resample(v, w = 1024, h = 576, kernel = 'sinc', taps = 128)
deconv = Plum.Basic(v)
conv = Plum.Basic(v,mode="convolution")
sup = Plum.Super([v, None])
supdeconv = Plum.Super([v, deconv])
supconv = Plum.Super([conv, None])
v = Plum.Final([v, deconv, conv], [sup, supdeconv, supconv])
v = core.fmtc.bitdepth(v, bits = 8, dmode = 8, patsize = 32)
v.set_output()
|
cannot reproduce the error, which version of DFTTest were you using, I assume not the latest one?
and your video is progressive, DO NOT deinterlace it
|