This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

help please
#5
how can i post a small unprocessed clip when all the sites i can link to here (daily motion, vimeo, facbook etc) reencode uploaded video? Also my new script
# Source: 'D:\Season 2 disk 1\A1_t00.mkv'
# Current color space: YUV420P8, bit depth: 8, resolution: 720x480, frame rate: 29.97fps, scanorder: top field first, yuv luminance scale: limited, matrix: 470bg, format: mpeg-2
# Loading 'D:\Season 2 disk 1\A1_t00.mkvÄ using LWLibavSource
clip = core.lsmas.LWLibavSource(source="D:/Season 2 disk 1/A1_t00.mkv", format="YUV420P8", stream_index=0, cache=0, prefer_hw=0)
frame = clip.get_frame(0)
# setting color matrix to 470bg.
clip = core.std.SetFrameProps(clip, _Matrix=vs.MATRIX_BT470_BG)
# 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 29.97fps
clip = core.std.AssumeFPS(clip=clip, fpsnum=30000, fpsden=1001)
# making sure the detected scan type is set (detected: top field first)
clip = core.std.SetFrameProps(clip=clip, _FieldBased=vs.FIELD_TOP) # scan type: top field first
# rainbow removal using DeCross
clip = core.decross.DeCross(clip, thresholdy=25)
# rainbow removal using BiFrost
clip = core.bifrost.Bifrost(clip, luma_thresh=2.00, conservative_mask=True, interlaced=True)
# Deinterlacing using TIVTC
clip = core.tivtc.TFM(clip)
clip = core.tivtc.TDecimate(clip, mode=1) # new fps: 23.976
# Making sure content is preceived as frame based
clip = core.std.SetFrameProps(clip=clip, _FieldBased=vs.FIELD_PROGRESSIVE) # scan type: progressive
# denoising using MCTemporalDenoise
clip = denoise.MCTemporalDenoise(clip, settings="low", thSAD=200, thSAD2=300, thSCD1=300, thSCD2=90, truemotion=False, MVglobal=True, pel=1, pelsearch=4, search=5, searchparam=4, MVsharp=0, DCT=0, ncpu=1)
# applying deblocking using DeBlock QED
clip = deblock.Deblock_QED(clip)
# applying dehalo using DeHalo_alpha
clip = dehalo.DeHalo_alpha(clip, rx=1.50, ry=1.50, darkstr=0.80)
# Anti Aliasing using DAAMod
clip = antiAliasing.daamod(clip, nns=3, pscrn=1, rep=6, opencl=True, device=0)
clip = core.std.Crop(clip, left=8, right=8, top=4, bottom=4) # cropping to 704x472
# Resizing using fmtconv - spline64
clip = core.fmtc.resample(clip, kernel="spline64", w=640, h=480, interlaced=False, interlacedd=False) # resolution 640x480 before YUV420P8 after YUV420P16
# ColorMatrix: adjusting color matrix from 470bg to 709
# adjusting luma range to 'limited' due to post clipping
clip = core.resize.Bicubic(clip, matrix_in_s="470bg", matrix_s="709", range_in=0, range=0)
# adjusting output color from YUV420P16 to YUV420P8 for UTVideoModel
clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P8)
# 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
Reply


Messages In This Thread
help please - by lsd4me2 - 01.04.2026, 21:36
RE: help please - by Selur - 02.04.2026, 06:56
RE: help please - by lsd4me2 - 03.04.2026, 19:06
RE: help please - by Selur - 03.04.2026, 19:22
RE: help please - by lsd4me2 - 06.04.2026, 02:39
RE: help please - by Selur - 06.04.2026, 05:06
RE: help please - by lsd4me2 - 06.04.2026, 05:56
RE: help please - by Selur - 06.04.2026, 06:01
RE: help please - by lsd4me2 - 06.04.2026, 06:14
RE: help please - by Selur - 06.04.2026, 07:20
RE: help please - by lsd4me2 - 06.04.2026, 07:51
RE: help please - by Selur - 06.04.2026, 10:50
RE: help please - by lsd4me2 - 06.04.2026, 18:21
RE: help please - by Selur - 06.04.2026, 18:24
RE: help please - by Selur - 06.04.2026, 19:12

Forum Jump:


Users browsing this thread: 1 Guest(s)