05.08.2021, 15:49
I used DPIR as deblocker, but that deblocker isn't available in normal builds or dev builds.
Using PP7 with CQ around 8 should also do the trick.
Using PP7 with CQ around 8 should also do the trick.
Quote:So it is always lossless visuallyNot always. Running a compression loop will produce compression artifacts since the format is not lossless.
Quote:It is professional industry codec.So is basically any wildly used video format.
Quote:.. offers visually lossless preservation of the highest-quality professional HD video that a single-link HD-SDI signal can carrysee: https://support.apple.com/en-us/HT202410
Quote:I just try to explain that using Deblocker filter on SD file that use 56Mb/s compression is totally useless, because you never see any blocks artifacts with that bitrate.using a highly artifical example
# Imports
import os
import sys
import ctypes
import vapoursynth as vs
core = vs.core
# Import scripts folder (need to be adjusted)
scriptPath = 'I:/Hybrid/64bit/vsscripts'
sys.path.append(os.path.abspath(scriptPath))
# Loading Support Files (need to be adjusted)
core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/GrainFilter/AdaptiveGrain/adaptivegrain_rs.dll")
core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/GrainFilter/AddGrain/AddGrain.dll")
core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/ColorFilter/Retinex/Retinex.dll")
import vapoursynth as vs
# getting Vapoursynth core
# Import scripts
import havsfunc
clip = core.std.BlankClip(format=vs.YUV422P8, width=720, height=576, length=1000, color=[128, 128, 128])
# adding grain using GrainFactory3
clip = havsfunc.GrainFactory3(clp=clip)
clip = core.resize.Bicubic(clip=clip, format=vs.YUV444P8, range_s="full")
# color adjustment using Retinex
clip = core.retinex.MSRCP(input=clip, sigma=[25,80,250], fulls=True, fulld=True)
clip = core.resize.Bicubic(clip=clip, format=vs.YUV422P10, range_s="full")
clip.set_output()
# Imports
import os
import sys
import ctypes
import vapoursynth as vs
core = vs.core
# Import scripts folder (needs to be adjusted)
scriptPath = 'I:/Hybrid/64bit/vsscripts'
sys.path.append(os.path.abspath(scriptPath))
# Loading Support Files (needs to be adjusted)
core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/GrainFilter/AdaptiveGrain/adaptivegrain_rs.dll")
core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/GrainFilter/AddGrain/AddGrain.dll")
core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/ColorFilter/Retinex/Retinex.dll")
core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
import vapoursynth as vs
# getting Vapoursynth core
# Import scripts
import havsfunc
clip = core.std.BlankClip(format=vs.YUV422P8, width=720, height=576, length=1000, color=[128, 128, 128])
# adding grain using GrainFactory3
clip = havsfunc.GrainFactory3(clp=clip)
clip = core.resize.Bicubic(clip=clip, format=vs.YUV444P8, range_s="full")
# color adjustment using Retinex
clip = core.retinex.MSRCP(input=clip, sigma=[25,80,250], fulls=True, fulld=True)
clip = core.resize.Bicubic(clip=clip, format=vs.YUV422P10, range_s="full")
# path needs to be adjusted
clip2 = core.lsmas.LibavSMASHSource(source="E:/Output/testing.mov")
difference = core.std.MakeDiff(clip, clip2)
# Output
difference.set_output()