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.

Glithes on the preview and in the destination file
#2
Used script is:
ClearAutoloadDirs()
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
LoadPlugin("C:\PROGRA~1\Hybrid\64bit\Avisynth\AVISYN~1\LSMASHSource.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\64bit\Avisynth\AVISYN~1\ColorMatrix64.dll")
Import("C:\Program Files\Hybrid\64bit\Avisynth\avisynthPlugins\mtmodes.avsi")
# loading source: D:\clips\new73 [2022.09.26]\1\Luisa Sonza - Melhor Sozinha.mp4
# color sampling YV12@8, matrix: bt2020ncl, scantyp: progressive, luminance scale: limited
Source = LWLibavVideoSource("D:\clips\new73 [2022.09.26]\1\Luisa Sonza - Melhor Sozinha.mp4",cache=false,format="YUV420P8", prefer_hw=0,repeat=true)
# current resolution: 3840x2160
SourceFiltered = Source
# color modifications
SourceFiltered = SourceFiltered.ColorMatrix(mode="Rec.2020->Rec.709",clamp=0,interlaced=false,hints=false)
# filtering
# scaling to 1920x1080
Source = Source.PointResize(1920,1080)
SourceFiltered = SourceFiltered.PointResize(1920,1080)
Source = Source.Histogram("levels")
SourceFiltered = SourceFiltered.Histogram("levels")
# stacking horizontal for filter preview
# adjust color to RGB32 (for preview)
SourceFiltered = SourceFiltered.ConvertToRGB32(matrix="Rec2020")
# adjust color to RGB32 (for preview)
Source = Source.ConvertToRGB32(matrix="Rec2020")
StackHorizontal(Source, SourceFiltered)
# setting output fps to 23.976fps
AssumeFPS(24000,1001)
PreFetch(6)
#  output: color sampling RGB32@8, matrix: Rec.709, scantyp: progressive, luminance scale: limited
return last
I tried to reproduce this here using:
ClearAutoloadDirs()
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
LoadPlugin("I:\Hybrid\64bit\Avisynth\AVISYN~1\LSMASHSource.dll")
LoadPlugin("I:\Hybrid\64bit\Avisynth\AVISYN~1\ColorMatrix64.dll")
Import("I:\Hybrid\64bit\Avisynth\avisynthPlugins\mtmodes.avsi")
# loading source: G:\TestClips&Co\files\MPEG-4 H.264\4k\4k_sample_4096x2160.mp4
# color sampling YV12@8, matrix: bt2020ncl, scantyp: progressive, luminance scale: limited
Source = LWLibavVideoSource("G:\TestClips&Co\files\MPEG-4 H.264\4k\4k_sample_4096x2160.mp4",cache=false,format="YUV420P8", prefer_hw=0,repeat=true)
# current resolution: 4096x2160
SourceFiltered = Source
# color modifications
SourceFiltered = SourceFiltered.ColorMatrix(mode="Rec.2020->Rec.709",clamp=3,interlaced=false,hints=false)
# filtering
# scaling to 1920x1080
Source = Source.PointResize(1920,1080)
SourceFiltered = SourceFiltered.PointResize(1920,1080)
Source = Source.Histogram("levels")
SourceFiltered = SourceFiltered.Histogram("levels")
# stacking horizontal for filter preview
# adjust color to RGB32 (for preview)
SourceFiltered = SourceFiltered.ConvertToRGB32(matrix="Rec2020")
# adjust color to RGB32 (for preview)
Source = Source.ConvertToRGB32(matrix="Rec2020")
StackHorizontal(Source, SourceFiltered)
# setting output fps to 25.000fps
AssumeFPS(25,1)
PreFetch(16)
#  output: color sampling RGB32@8, matrix: Rec.709, scantyp: progressive, luminance scale: limited
return last
But here everything is fine.
=> Can't reproduce this. No clue what is causing this.
Can you share a short sample of your source which allows reproducing the issue?

Quote:Glithes on the preview and in the destination file
if the preview is broken it's to be expected that a reencode is too

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Messages In This Thread
RE: Glithes on the preview and in the destination file - by Selur - 27.11.2022, 20:08

Forum Jump:


Users browsing this thread: 1 Guest(s)