Posts: 12.753
Threads: 70
Joined: May 2017
I still don't get the whole beforeResize-section since it just seems like stuff Hybrid already allows doing, but as long as it works for you, that's fine.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 17
Threads: 1
Joined: Apr 2026
doing it in the gui i end up with stuff like this i dont know how to fix, # resizing using NNEDI3CL
# current: 700x476 target: 1280x960 -> pow: 4
clip = edi_rpow2.nnedi3cl_rpow2(clip, rfactor=4, nsize=6, qual=1, etype=1) # 2800x1904
# resizing 2800x1904 to 1280x960
Posts: 12.753
Threads: 70
Joined: May 2017
You could downscale beforehand if you like, using "Filtering->Vapoursynth->Misc->Script->Lower res. before resize".
the "700x476 target: 1280x960 -> pow: 4" is a typo it should be mult: 4 not pow 4
but "edi_rpow2.nnedi3cl_rpow2(clip, rfactor=4, nsize=6, qual=1, etype=1) # 2800x1904"
seems correct: since with 2x "700x476" = 1400x952 the height is still below your target resolution, so 4x will be used.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 17
Threads: 1
Joined: Apr 2026
"You could downscale beforehand if you like, using "Filtering->Vapoursynth->Misc->Script->Lower res. before resize". didn't know that option existed, tbh your GUI is far from intuitive.
Posts: 12.753
Threads: 70
Joined: May 2017
Quote: didnt knoew that option existed
 then I'm happy you learned of a new feature
Quote:tbh your GUI is far from intuitive.......
too many options, too little space (and I still got quite a few ideas for options, where I haven't come up with an idea how and where to add them  )
![[Image: grafik.png]](https://i.ibb.co/pBtTzhzt/grafik.png)
Maybe in a far future, when I can afford to pay for a LLM which can take in the whole (~300k lines of source code with ~190 statements) of Hybrid, an LLM can create an alternative intuitive GUI. Until then, you are stuck with how I like uis, if you chose to use Hybrid.
Most of my free time is spent on refactoring code and adding new code.
I don't have enough free time trying to design (and implement) something 'intuitive' to 'everybody' . 
I'm no fan of adding tons of 'overlay menus' which some guis do. Also, 'intuitive' often results in simplified in a restrictive way.
You could use something else. There are other tools out there, which might be more intuitive.
Feels like every few month or so, a new easy to use, highly 'intuitive' tool comes out,..
(see: https://www.videohelp.com/software/secti...o-encoders or github, some last a while some don't.)
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 17
Threads: 1
Joined: Apr 2026
I wasn't complaining, its your tool, its free, and its helped my tremendously. Tbh I didn't really search around looking for a lower res before resize option, i just figured it would be on the resize screen if their was one, lol, guess i was wrong.
Posts: 12.753
Threads: 70
Joined: May 2017
Lowering resolution before resizing or deinterlacing is something that should only be needed if your source is broken/exotic, so for most filters it's a gimmick option, but since resizing and deinterlacing is meant to be only used once in a script it's a kind of 'hidden' option.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 17
Threads: 1
Joined: Apr 2026
script notice matrix 170m trough the whole filter chain ( its a ntsc dvd so thats correct)
# Source: 'D:\Season 4 disk 1\A1_t00.mkv'
# Current color space: YUV420P8, bit depth: 8, resolution: 720x480, frame rate: 23.976fps, scanorder: progressive, yuv luminance scale: limited, matrix: 170m, format: mpeg-2
# Loading 'D:\Season 4 disk 1\A1_t00.mkvÄ using LWLibavSource
clip = core.lsmas.LWLibavSource(source="D:/Season 4 disk 1/A1_t00.mkv", format="YUV420P8", stream_index=0, cache=0, prefer_hw=0)
frame = clip.get_frame(0)
# setting color matrix to 170m.
clip = core.std.SetFrameProps(clip, _Matrix=vs.MATRIX_ST170_M)
# setting color transfer (vs.TRANSFER_BT601), if it is not set.
if validate.transferIsInvalid(clip):
clip = core.std.SetFrameProps(clip=clip, _Transfer=vs.TRANSFER_BT601)
# setting color primaries info (to vs.PRIMARIES_BT470_BG), if it is not set.
if validate.primariesIsInvalid(clip):
clip = core.std.SetFrameProps(clip=clip, _Primaries=vs.PRIMARIES_BT470_BG)
# setting color range to TV (limited) range.
clip = core.std.SetFrameProps(clip=clip, _ColorRange=vs.RANGE_LIMITED)
# making sure frame rate is set to 23.976fps
clip = core.std.AssumeFPS(clip=clip, fpsnum=24000, fpsden=1001)
# making sure the detected scan type is set (detected: progressive)
clip = core.std.SetFrameProps(clip=clip, _FieldBased=vs.FIELD_PROGRESSIVE) # scan type: progressive
[clip] = beforeDeblockQED(clip)
# clip current meta; color space: YUV444P16, bit depth: 16, resolution: 700x476, fps: 23.976, color matrix: 170m, yuv luminance scale: limited, scanorder: progressive, full height: true
# applying deblocking using DeBlock QED
clip = deblock.Deblock_QED(clip)
clip = core.vinverse.vinverse2(clip, sstr=1.00, amnt=128)
# applying FineDeHalo to remove halos
clip = dehalo.FineDehalo(clip, rx=3.00, ry=3.00, thmi=1, thma=60, thlimi=80, darkstr=0.10, brightstr=0.80, edgeproc=2.00)
# Anti Aliasing using DAAMod
clip = antiAliasing.daamod(clip, pscrn=1, rep=0, opencl=True, device=0)
# Dehalo using EdgeCleaner
clip = dehalo.EdgeCleaner(clip, strength=8)
# Fixing chroma bleeding using FixChromaBleedingMod
clip = chromaBleeding.FixChromaBleedingMod(clip, cx=1, cy=1, thr=1.00)
[clip] = beforeResize(clip)
# clip current meta; color space: YUV444P16, bit depth: 16, resolution: 700x476, fps: 23.976, color matrix: 170m, yuv luminance scale: limited, scanorder: progressive, full height: true
# set output frame rate to 23.976fps (progressive)
clip = core.std.AssumeFPS(clip=clip, fpsnum=24000, fpsden=1001)
# output
clip.set_output()
# script was created by Hybrid 2026.03.21.1
yet when output as png, -vcodec png -dpi 0 -dpm 0 -pred 0 -vf zscale=matrixin=470bg:matrix=470bg,format=rgb48 -pix_fmt rgb48be any way to fix this? i cant see any and I DID search around this time...
Posts: 12.753
Threads: 70
Joined: May 2017
Yesterday, 04:29
(This post was last modified: Yesterday, 04:56 by Selur.)
Not, without a source code change.
if you can share a short clip which allows to reproduce it, I can look at it after work.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 17
Threads: 1
Joined: Apr 2026
|