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] Help with movie upscale
#19
(18.12.2022, 20:24)Selur Wrote: Disable: "Filtering->Vapoursynth->Misc->Source->Use DGDecNV when available"

Cu Selur

I tried it on the PC, and I'm still getting the same frame at 23 and 24. I'm not sure what I am doing wrong.



# Imports
import vapoursynth as vs
# getting Vapoursynth core
core = vs.core
# Loading Plugins
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/fmtconv.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DeinterlaceFilter/TIVTC/libtivtc.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
# source: 'S:\Bollywood\Bandh_Darwaza_1990-sampleClip.mkv'
# current color space: YUV420P8, bit depth: 8, resolution: 720x480, fps: 29.97, color matrix: 470bg, yuv luminance scale: limited, scanorder: telecine
# Loading S:\Bollywood\Bandh_Darwaza_1990-sampleClip.mkv using LWLibavSource
clip = core.lsmas.LWLibavSource(source="S:/Bollywood/Bandh_Darwaza_1990-sampleClip.mkv", format="YUV420P8", stream_index=0, cache=0, prefer_hw=0)
# Setting color matrix to 470bg.
clip = core.std.SetFrameProps(clip, _Matrix=5)
clip = clip if not core.text.FrameProps(clip,'_Transfer') else core.std.SetFrameProps(clip, _Transfer=5)
clip = clip if not core.text.FrameProps(clip,'_Primaries') else core.std.SetFrameProps(clip, _Primaries=5)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# making sure frame rate is set to 29.97
clip = core.std.AssumeFPS(clip=clip, fpsnum=30000, fpsden=1001)
clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=0)
# Deinterlacing using TIVTC
clip = core.tivtc.TFM(clip=clip)
clip = core.tivtc.TDecimate(clip=clip)# new fps: 23.976
# make sure content is preceived as frame based
clip = core.std.SetFieldBased(clip, 0)
# Resizing using 10 - bicubic spline
clip = core.fmtc.resample(clip=clip, kernel="spline16", w=720, h=540, interlaced=False, interlacedd=False) # resolution 720x540
# adjusting output color from: YUV420P16 to YUV422P10 for ProResModel
clip = core.resize.Bicubic(clip=clip, format=vs.YUV422P10, range_s="limited", dither_type="error_diffusion")
# set output frame rate to 23.976fps
clip = core.std.AssumeFPS(clip=clip, fpsnum=24000, fpsden=1001)
# Output
clip.set_output()
Reply


Messages In This Thread
Help with movie upscale - by Miranda - 18.12.2022, 13:58
RE: Help with movie upscale - by Selur - 18.12.2022, 14:40
RE: Help with movie upscale - by Miranda - 18.12.2022, 16:04
RE: Help with movie upscale - by Selur - 18.12.2022, 16:11
RE: Help with movie upscale - by Miranda - 18.12.2022, 17:17
RE: Help with movie upscale - by Selur - 18.12.2022, 17:29
RE: Help with movie upscale - by Miranda - 18.12.2022, 17:30
RE: Help with movie upscale - by Selur - 18.12.2022, 17:37
RE: Help with movie upscale - by Miranda - 18.12.2022, 19:37
RE: Help with movie upscale - by Selur - 18.12.2022, 19:41
RE: Help with movie upscale - by Selur - 18.12.2022, 20:17
RE: Help with movie upscale - by Miranda - 18.12.2022, 20:20
RE: Help with movie upscale - by Selur - 18.12.2022, 20:24
RE: Help with movie upscale - by Miranda - 18.12.2022, 20:35
RE: Help with movie upscale - by Selur - 18.12.2022, 20:38
RE: Help with movie upscale - by Miranda - 18.12.2022, 20:41
RE: Help with movie upscale - by Selur - 18.12.2022, 21:20
RE: Help with movie upscale - by Selur - 19.12.2022, 10:15
RE: Help with movie upscale - by Miranda - 19.12.2022, 13:37
RE: Help with movie upscale - by Selur - 19.12.2022, 16:21
RE: Help with movie upscale - by Miranda - 19.12.2022, 17:19
RE: Help with movie upscale - by Selur - 19.12.2022, 17:40
RE: Help with movie upscale - by Miranda - 19.12.2022, 17:46
RE: Help with movie upscale - by Selur - 19.12.2022, 17:48
RE: Help with movie upscale - by Miranda - 19.12.2022, 18:06
RE: Help with movie upscale - by Selur - 19.12.2022, 18:10
RE: Help with movie upscale - by Miranda - 19.12.2022, 18:12
RE: Help with movie upscale - by Selur - 19.12.2022, 18:20
RE: Help with movie upscale - by Miranda - 19.12.2022, 18:23
RE: Help with movie upscale - by Selur - 19.12.2022, 21:24
RE: Help with movie upscale - by Miranda - 20.12.2022, 11:16
RE: Help with movie upscale - by Selur - 20.12.2022, 19:08
RE: Help with movie upscale - by humanoid86 - 22.12.2022, 13:55
RE: Help with movie upscale - by Selur - 22.12.2022, 16:38
RE: Help with movie upscale - by humanoid86 - 23.12.2022, 04:58
RE: Help with movie upscale - by Selur - 23.12.2022, 05:02
RE: Help with movie upscale - by humanoid86 - 23.12.2022, 07:40
RE: Help with movie upscale - by Selur - 23.12.2022, 08:50
RE: Help with movie upscale - by humanoid86 - 23.12.2022, 08:57
RE: Help with movie upscale - by Selur - 23.12.2022, 14:52
RE: Help with movie upscale - by humanoid86 - 24.12.2022, 06:23
RE: Help with movie upscale - by Selur - 26.12.2022, 20:49
RE: Help with movie upscale - by humanoid86 - 27.12.2022, 13:17
RE: Help with movie upscale - by Selur - 27.12.2022, 13:22
RE: Help with movie upscale - by humanoid86 - 27.12.2022, 13:47
RE: Help with movie upscale - by Selur - 27.12.2022, 14:05
RE: Help with movie upscale - by humanoid86 - 27.12.2022, 14:35

Forum Jump:


Users browsing this thread: 1 Guest(s)