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.

artifacts when previewing
#1
artifacts when previewing Chroma subsampling : 4:2:2  file when a filter is enabled, for example, "levels"

[Image: _408347734d207b1ba3379883294c3939.jpeg]
Reply
#2
Looking at the preview script:
ClearAutoloadDirs()
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\LSMASHSource.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\SmoothAdjust.dll")
# loading source: D:\!_Video\Video_Mus\!_Edit\Nelli - Gde voda_1.67x_1280x720_amqs-1.mov
# color sampling YUY2@10, matrix: bt709, scantyp: progressive, luminance scale: limited
Source = LWLibavVideoSource("D:\!_Video\Video_Mus\!_Edit\Nelli - Gde voda_1.67x_1280x720_amqs-1.mov",cache=false,format="YUV422P16", prefer_hw=0,repeat=true)
# current resolution: 1280x720
# filtering
# color modifications
SourceFiltered = Source
SourceFiltered = SourceFiltered.SmoothLevels16(input_low=8995,input_high=47545,output_high=60395,chroma=30,Lmode=2,Ecenter=32896,HQ=true)
Source = Source.ColorYUV(analyze=true)
SourceFiltered = SourceFiltered.ColorYUV(analyze=true)
# stacking horizontal for filter preview
# adjust color to RGB32 (for preview)
SourceFiltered = SourceFiltered.ConvertToRGB32(matrix="Rec709")
# adjust color to RGB32 (for preview)
Source = Source.ConvertToRGB32(matrix="Rec709")
StackHorizontal(Source, SourceFiltered)
PreFetch(6)
# setting output fps to 25.000fps
AssumeFPS(25,1)
#  output: color sampling RGB32@16, matrix: bt709, scantyp: progressive, luminance scale: limited
return last
and your image I would say those 'artifacts' are the output of you eanbleding 'ColorYUV(analyze=true)'.

Cu Selur
Reply
#3
Quote:and your image I would say those 'artifacts' are the output of you eanbleding 'ColorYUV(analyze=true)'.
Now I uncheck "Show YUV color ranges"
artifacts when previewing again exist

ClearAutoloadDirs()
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\LSMASHSource.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\SmoothAdjust.dll")
# loading source: D:\!_Video\Video_Mus\!_Edit\Nelli - Gde voda_1.67x_1280x720_amqs-1.mov
# color sampling YUY2@10, matrix: bt709, scantyp: progressive, luminance scale: limited
LWLibavVideoSource("D:\!_Video\Video_Mus\!_Edit\Nelli - Gde voda_1.67x_1280x720_amqs-1.mov",cache=false,format="YUV422P16", prefer_hw=0,repeat=true)
# current resolution: 1280x720
# filtering
# color modifications
SmoothLevels16(input_low=8995,input_high=47545,output_high=60395,chroma=30,Lmode=2,Ecenter=32896,HQ=true)
# Dithering from 16 to 8bit for encoder
ConvertBits(8)
# adjust color to YV12 (color matrix: Rec709)
ConvertToYV12()
PreFetch(6)
# setting output fps to 25.000fps
AssumeFPS(25,1)
#  output: color sampling YV16@8, matrix: bt709, scantyp: progressive, luminance scale: limited
return last
Reply
#4
Okay, I can reproduce the issue.
Seems like Hybrid does something wrong when using the filter or theres a bug in the filter.
Will try to look into it further tomorrow after work.

-> okay problem is that smooth levels does not support native 16bit input (see: https://forum.doom9.org/showthread.php?p...ost1947034)
Will adjust Hybrid accordingly.

Cu Selur
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)