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.

Picture Crop Side by Side
#8
did a small test, didn't happen for me with the latest release
-> test with the release and create a debug output with that version if it still fails for you
This is what happens with current version for me when I try to reproduce your problem:
# Imports
import vapoursynth as vs
# getting Vapoursynth core
import sys
import os
core = vs.core
# Import scripts folder
scriptPath = 'F:/workspace/Hybrid/debug/64bit/vsscripts'
sys.path.insert(0, os.path.abspath(scriptPath))
# Loading Plugins
core.std.LoadPlugin(path="F:/workspace/Hybrid/debug/64bit/vsfilters/Support/fmtconv.dll")
core.std.LoadPlugin(path="F:/workspace/Hybrid/debug/64bit/vsfilters/DenoiseFilter/MiniDeen/libminideen.dll")
core.std.LoadPlugin(path="F:/workspace/Hybrid/debug/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
# Import scripts
import G41Fun
# source: 'G:\TestClips&Co\files\MPEG-4 H.264\8.Birds_1080p24fpsRef4-112Mbps.mkv'
# current color space: YUV420P8, bit depth: 8, resolution: 1920x1080, fps: 23.976, color matrix: 709, yuv luminance scale: limited, scanorder: progressive
# Loading G:\TestClips&Co\files\MPEG-4 H.264\8.Birds_1080p24fpsRef4-112Mbps.mkv using LWLibavSource
clip = core.lsmas.LWLibavSource(source="G:/TestClips&Co/files/MPEG-4 H.264/8.Birds_1080p24fpsRef4-112Mbps.mkv", format="YUV420P8", stream_index=0, cache=0, prefer_hw=0)
# Setting detected color matrix (709).
clip = core.std.SetFrameProps(clip, _Matrix=1)
# Setting color transfer info (709), when it is not set
clip = clip if not core.text.FrameProps(clip,'_Transfer') else core.std.SetFrameProps(clip, _Transfer=1)
# Setting color primaries info (), when it is not set
clip = clip if not core.text.FrameProps(clip,'_Primaries') else core.std.SetFrameProps(clip, _Primaries=1)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# making sure frame rate is set to 23.976
clip = core.std.AssumeFPS(clip=clip, fpsnum=24000, fpsden=1001)
clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=0) # progressive
original = clip
# converting to mod1 compatible format
clip = core.resize.Bicubic(clip=clip, format=vs.YUV444P8, range_s="limited")
# clip, new color sampling: YUV444P8, new bit depth: 8
clip = core.std.CropRel(clip=clip, left=25, right=25, top=25, bottom=25)# cropping to 1870x1030
# converting to mod1 compatible format
original = core.resize.Bicubic(clip=original, format=vs.YUV444P8, range_s="limited")
# original, new color sampling: YUV444P8, new bit depth: 8
original = core.std.CropRel(clip=original, left=25, right=25, top=25, bottom=25)# cropping to 1870x1030
# denoising using MiniDeen
clip = core.minideen.MiniDeen(clip=clip, radius=[4,4,4], threshold=[3,3,3])
# sharpening using DetailSharpen
clip = G41Fun.DetailSharpen(clip=clip)
# Resizing using 9 - lanczos
clip = core.fmtc.resample(clip=clip, kernel="lanczos", w=1920, h=1058, interlaced=False, interlacedd=False) # resolution 1920x1058 before YUV444P8 after YUV444P16
original = core.resize.Bicubic(clip=original, width=1920, height=1058)
# adjusting output color from: YUV444P8 to YUV420P8 for x264Model
original = core.resize.Bicubic(clip=original, format=vs.YUV420P8, range_s="limited")
# original, new color sampling: YUV420P8, new bit depth: 8
# adjusting output color from: YUV444P16 to YUV420P8 for x264Model
clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P8, range_s="limited", dither_type="error_diffusion")
# clip, new color sampling: YUV420P8, new bit depth: 8
original = core.text.Text(clip=original,text="Original",scale=2,alignment=7)
clip = core.text.Text(clip=clip,text="Filtered",scale=2,alignment=7)
stacked = core.std.StackHorizontal([original,clip])
# set output frame rate to 23.976fps (progressive)
stacked = core.std.AssumeFPS(clip=stacked, fpsnum=24000, fpsden=1001)
# Output
stacked.set_output()
-> no, you are doing something different than I

Quote:Fyi, just updated hybrid = no dice Shy = same result !
Okay, then I need a step-by-step of what you are doing, since it must be related to some step changing the outcome.

Cu Selur
------
offline 02.-07. July, https://www.rockharz-festival.com/ Big Grin
Reply


Messages In This Thread
Picture Crop Side by Side - by ToiletDuck - 07.12.2023, 05:38
RE: Picture Crop Side by Side - by Selur - 07.12.2023, 06:18
RE: Picture Crop Side by Side - by Bartoloni - 07.12.2023, 12:29
RE: Picture Crop Side by Side - by Selur - 07.12.2023, 13:36
RE: Picture Crop Side by Side - by ToiletDuck - 07.12.2023, 16:38
RE: Picture Crop Side by Side - by Selur - 07.12.2023, 16:51
RE: Picture Crop Side by Side - by ToiletDuck - 07.12.2023, 16:53
RE: Picture Crop Side by Side - by Selur - 07.12.2023, 17:02
RE: Picture Crop Side by Side - by Selur - 07.12.2023, 17:20
RE: Picture Crop Side by Side - by ToiletDuck - 07.12.2023, 19:10
RE: Picture Crop Side by Side - by Selur - 07.12.2023, 19:12
RE: Picture Crop Side by Side - by ToiletDuck - 07.12.2023, 19:19
RE: Picture Crop Side by Side - by Selur - 07.12.2023, 19:24
RE: Picture Crop Side by Side - by ToiletDuck - 07.12.2023, 19:31
RE: Picture Crop Side by Side - by Selur - 07.12.2023, 19:39
RE: Picture Crop Side by Side - by ToiletDuck - 07.12.2023, 19:41
RE: Picture Crop Side by Side - by Selur - 07.12.2023, 20:32
RE: Picture Crop Side by Side - by ToiletDuck - 08.12.2023, 02:06
RE: Picture Crop Side by Side - by Selur - 08.12.2023, 04:26
RE: Picture Crop Side by Side - by ToiletDuck - 08.12.2023, 15:31
RE: Picture Crop Side by Side - by Selur - 09.12.2023, 10:38
RE: Picture Crop Side by Side - by ToiletDuck - 09.12.2023, 14:22
RE: Picture Crop Side by Side - by Selur - 10.12.2023, 09:34
RE: Picture Crop Side by Side - by ToiletDuck - 10.12.2023, 17:56
RE: Picture Crop Side by Side - by Selur - 10.12.2023, 18:11
RE: Picture Crop Side by Side - by ToiletDuck - 10.12.2023, 18:45
RE: Picture Crop Side by Side - by Selur - 10.12.2023, 19:06
RE: Picture Crop Side by Side - by ToiletDuck - 10.12.2023, 19:10
RE: Picture Crop Side by Side - by Selur - 10.12.2023, 19:15
RE: Picture Crop Side by Side - by ToiletDuck - 10.12.2023, 19:20

Forum Jump:


Users browsing this thread: 1 Guest(s)