Hi
however I'm a cat-
please be patient -
but seems it produce "crude" results of twitter when that video is converted to interlaced, almost as if instead of outputting in progressive and then interlacing with ffmpeg using -vf interlace seems a little more "smooth", less "crude".Code:AssumeTFF().separatefields().selectevery(4,0,3).weave()
So I wonder, is there an alternative or a plugin that interlace in avisynth reducing twittering?
+ Reply to Thread
Results 1 to 12 of 12
-
-
To reduce twitter you can lowpassfilter the source vertically before interlacing.
-
How many times do we have to repeat this? Apply a slight vertical blur to the video while it's progressive -- Blur(0.0, 0.5) or thereabouts. Limit it to only the most high contrast horizontal edges if you want to avoid blurring the entire frame.
-
Why not just delete every second frame with SelectEven() and add --fake-interlaced and --pic-struct to the x264 command line?
Avisynth functions Resize8 Mod - Audio Speed/Meter/Wave - FixBlend.zip - Position.zip
Avisynth/VapourSynth functions CropResize - FrostyBorders - CPreview (Cropping Preview) -
this is my source:
https://www.swisstransfer.com/d/169af830-016e-4de1-bef4-ebf6b64075e9
is UHD 50P 3840x2160
my target is mxf HD 25i, so I try this .avs
and encoding using:Code:Import("v:\automazioneclip\avisynth\plugins\IResize.avsi") Import("V:\automazioneclip\AviSynth\plugins\smoothFPS2.avsi") Import("v:\automazioneclip\AviSynth\plugins\FrostyBorders.avsi") Import("v:\automazioneclip\AviSynth\plugins\CropResizedic2017.avsi") Import("V:\automazioneclip\AviSynth\FrameRateConverter2021\FrameRateConverter.avsi") Import("V:\automazioneclip\AviSynth\LinearTransformation-3.0\LinearTransformation.avsi") LoadPlugin("v:\automazioneclip\AviSynth\AVSCube\x64\vscube.dll") LoadPlugin("v:\automazioneclip\AviSynth\FrameRateConverter2021\X64\FrameRateConverter.dll") Import("v:\automazioneclip\AviSynth\FFMS2_26022024\FFMS2.avsi") LoadPlugin("V:\automazioneclip\AviSynth\FFMS2_R1363_AGO2023\X64\ffms2.dll") LoadPlugin("v:\automazioneclip\AviSynth\LSMASH2026\x64\LSMASHSource.dll") LoadCPlugin("v:\automazioneclip\avisynth\plugins64\yadif.dll") LoadPlugin("v:\automazioneclip\AviSynth\YADIFMOD2_2023\x64\yadifmod2.dll") LoadPlugin("V:\automazioneclip\AviSynth\MaskTool2\X64\masktools2.dll") LoadPlugin("V:\automazioneclip\AviSynth\Santiag\ResampleMT.dll") LoadPlugin("V:\automazioneclip\AviSynth\Santiag\nnedi3.dll") LoadPlugin("V:\automazioneclip\AviSynth\Santiag\aWarpsharpMT.dll") LoadPlugin("V:\automazioneclip\AviSynth\Santiag\eedi3.dll") LoadPlugin("V:\automazioneclip\AviSynth\Santiag\EEDI2.dll") LoadPlugin("V:\automazioneclip\AviSynth\Santiag\GScript_26_64.dll") LoadPlugin("V:\automazioneclip\AviSynth\Santiag\SangNom2.dll") Import("V:\automazioneclip\AviSynth\Santiag\santiag.avsi") Import("V:\automazioneclip\AviSynth\QTGMC2025\QTGMC.avsi") Import("V:\automazioneclip\AviSynth\QTGMC2025\Zs_RF_Shared.avsi") LoadPlugin("V:\automazioneclip\AviSynth\QTGMC2025\mvtools2.dll") LoadPlugin("V:\automazioneclip\AviSynth\QTGMC2025\RgTools.dll") LoadPlugin("v:\automazioneclip\AviSynth\BestSource\2026\BestSource.dll") LoadPlugin("V:\automazioneclip\AviSynth\RIFE\RIFE.dll") LoadPlugin("V:\automazioneclip\AviSynth\RIFE\avsresize.dll") LoadPlugin("V:\automazioneclip\AviSynth\RIFE\PlanarTools.dll") LoadPlugin("V:\automazioneclip\AviSynth\HDRTools\x64\Release_W7_AVX2\HDRTools.dll") Import("v:\automazioneclip\AviSynth\GradFun3plus\ExTools.avsi") Import("V:\automazioneclip\AviSynth\GradFun3plus\ResizersPack.avsi") Import("v:\automazioneclip\AviSynth\CropResize\CropResize 2025-06-16.avsi") Import("v:\automazioneclip\AviSynth\CropResize\CropResize Resizer Functions 2025-06-16.avsi") Import("v:\automazioneclip\AviSynth\CropResize\CropResize Wrapper Functions 2025-06-16.avsi") LoadPlugin("v:\automazioneclip\AviSynth\neo_f3kdb\x64\neo-f3kdb.dll") LoadPlugin("v:\automazioneclip\AviSynth\neo_f3kdb\x64\dither.dll") LoadPlugin("v:\automazioneclip\AviSynth\neo_f3kdb\x64\avstp.dll") Import("v:\automazioneclip\AviSynth\neo_f3kdb\x64\dither.avsi") Import("v:\automazioneclip\AviSynth\neo_f3kdb\x64\mt_xxpand_multi.avsi") Import("v:\automazioneclip\AviSynth\FrostyBorders 2025-04-14\FrostyBorders Avisynth\FrostyBorders 2025-04-14.avsi") LoadPlugin("V:\automazioneclip\AviSynth\FFT3Dfilter\x64\fft3dfilter.dll") Import("V:\automazioneclip\AviSynth\GradFun3plus\GradFun3plusEX.avsi") #Import("V:\automazioneclip\AviSynth\GradFun3plus\GradFun3plusMix.avsi") Import("V:\automazioneclip\AviSynth\FramerateConverterMix\FrameRateConverterMIX.avsi") Import("V:\automazioneclip\AviSynth\FramerateConverterMix\GradePack.avsi") LoadPlugin("V:\automazioneclip\AviSynth\FramerateConverterMix\ExBlend_x64.dll") LWLibavVideoSource("C:\Users\Administrator\Desktop\Nuova cartella (23)\DJI_20260226150413_0004_D.MP4") CropResize(1920) #GradFun3Plus() # but too slow sorry :( # QTGMC(InputType=1, EzDenoise=2.0, Preset="Super Fast", SubPel=4 ) AssumeFPS(50) Prefetch(4)
ffmbcx642017.exe is here: https://www.swisstransfer.com/d/58b51710-3079-4fc0-aa5a-20d31f29a681Code:ffmpeg.exe -v quiet -stats -threads auto -y -i "C:\Users\Administrator\Desktop\Nuova cartella (23)\tempAVS1.avs" -vf scale=interl=1,interlace,setfield=tff,setsar=1/1,format=yuv422p -an -pix_fmt yuv422p -f rawvideo - | v:\automazioneclip\core\ffmbcX642017.exe -loglevel quiet -threads 12 -s 1920x1080 -r 25 -y -f rawvideo -pix_fmt yuv422p -i - -tff -target xdcamhd422 -an "out1_OK_1080i25.MXF"
and I get this (seems to me correct) MXF output file: https://www.swisstransfer.com/d/acc861ca-fed4-4334-b91c-3b7250d9379f
I suppose is "correct" with no too aliasing/twittering because if I import the original mp4 in Edius, set as 25i interlaced project setting, and I try export the interlaced MXF, this is the final result: https://www.swisstransfer.com/d/ec651242-2c2a-4b93-83b1-f2274cfff575
that appears very similar to the avs/ffmbc transcoded (out1_OK_1080i25.MXF)
But now I try to execute the same using an .avs output already 25i:
and encoding, excluding the -vf interlace from the commandline:Code:Import("v:\automazioneclip\avisynth\plugins\IResize.avsi") Import("V:\automazioneclip\AviSynth\plugins\smoothFPS2.avsi") Import("v:\automazioneclip\AviSynth\plugins\FrostyBorders.avsi") Import("v:\automazioneclip\AviSynth\plugins\CropResizedic2017.avsi") Import("V:\automazioneclip\AviSynth\FrameRateConverter2021\FrameRateConverter.avsi") Import("V:\automazioneclip\AviSynth\LinearTransformation-3.0\LinearTransformation.avsi") LoadPlugin("v:\automazioneclip\AviSynth\AVSCube\x64\vscube.dll") LoadPlugin("v:\automazioneclip\AviSynth\FrameRateConverter2021\X64\FrameRateConverter.dll") Import("v:\automazioneclip\AviSynth\FFMS2_26022024\FFMS2.avsi") LoadPlugin("V:\automazioneclip\AviSynth\FFMS2_R1363_AGO2023\X64\ffms2.dll") LoadPlugin("v:\automazioneclip\AviSynth\LSMASH2026\x64\LSMASHSource.dll") LoadCPlugin("v:\automazioneclip\avisynth\plugins64\yadif.dll") LoadPlugin("v:\automazioneclip\AviSynth\YADIFMOD2_2023\x64\yadifmod2.dll") LoadPlugin("V:\automazioneclip\AviSynth\MaskTool2\X64\masktools2.dll") LoadPlugin("V:\automazioneclip\AviSynth\Santiag\ResampleMT.dll") LoadPlugin("V:\automazioneclip\AviSynth\Santiag\nnedi3.dll") LoadPlugin("V:\automazioneclip\AviSynth\Santiag\aWarpsharpMT.dll") LoadPlugin("V:\automazioneclip\AviSynth\Santiag\eedi3.dll") LoadPlugin("V:\automazioneclip\AviSynth\Santiag\EEDI2.dll") LoadPlugin("V:\automazioneclip\AviSynth\Santiag\GScript_26_64.dll") LoadPlugin("V:\automazioneclip\AviSynth\Santiag\SangNom2.dll") Import("V:\automazioneclip\AviSynth\Santiag\santiag.avsi") Import("V:\automazioneclip\AviSynth\QTGMC2025\QTGMC.avsi") Import("V:\automazioneclip\AviSynth\QTGMC2025\Zs_RF_Shared.avsi") LoadPlugin("V:\automazioneclip\AviSynth\QTGMC2025\mvtools2.dll") LoadPlugin("V:\automazioneclip\AviSynth\QTGMC2025\RgTools.dll") LoadPlugin("v:\automazioneclip\AviSynth\BestSource\2026\BestSource.dll") LoadPlugin("V:\automazioneclip\AviSynth\RIFE\RIFE.dll") LoadPlugin("V:\automazioneclip\AviSynth\RIFE\avsresize.dll") LoadPlugin("V:\automazioneclip\AviSynth\RIFE\PlanarTools.dll") LoadPlugin("V:\automazioneclip\AviSynth\HDRTools\x64\Release_W7_AVX2\HDRTools.dll") Import("v:\automazioneclip\AviSynth\GradFun3plus\ExTools.avsi") Import("V:\automazioneclip\AviSynth\GradFun3plus\ResizersPack.avsi") Import("v:\automazioneclip\AviSynth\CropResize\CropResize 2025-06-16.avsi") Import("v:\automazioneclip\AviSynth\CropResize\CropResize Resizer Functions 2025-06-16.avsi") Import("v:\automazioneclip\AviSynth\CropResize\CropResize Wrapper Functions 2025-06-16.avsi") LoadPlugin("v:\automazioneclip\AviSynth\neo_f3kdb\x64\neo-f3kdb.dll") LoadPlugin("v:\automazioneclip\AviSynth\neo_f3kdb\x64\dither.dll") LoadPlugin("v:\automazioneclip\AviSynth\neo_f3kdb\x64\avstp.dll") Import("v:\automazioneclip\AviSynth\neo_f3kdb\x64\dither.avsi") Import("v:\automazioneclip\AviSynth\neo_f3kdb\x64\mt_xxpand_multi.avsi") Import("v:\automazioneclip\AviSynth\FrostyBorders 2025-04-14\FrostyBorders Avisynth\FrostyBorders 2025-04-14.avsi") LoadPlugin("V:\automazioneclip\AviSynth\FFT3Dfilter\x64\fft3dfilter.dll") Import("V:\automazioneclip\AviSynth\GradFun3plus\GradFun3plusEX.avsi") #Import("V:\automazioneclip\AviSynth\GradFun3plus\GradFun3plusMix.avsi") Import("V:\automazioneclip\AviSynth\FramerateConverterMix\FrameRateConverterMIX.avsi") Import("V:\automazioneclip\AviSynth\FramerateConverterMix\GradePack.avsi") LoadPlugin("V:\automazioneclip\AviSynth\FramerateConverterMix\ExBlend_x64.dll") LWLibavVideoSource("C:\Users\Administrator\Desktop\Nuova cartella (23)\DJI_20260226150413_0004_D.MP4") CropResize(1920) #GradFun3Plus() # but too slow sorry :( # QTGMC(InputType=1, EzDenoise=2.0, Preset="Super Fast", SubPel=4 ) AssumeTFF().SeparateFields().SelectEvery(4, 0, 3).Weave() #AssumeFPS(50) Prefetch(4)
and this is the "bad" result (with a lot amount of twittering):Code:ffmpeg.exe -v quiet -stats -threads auto -y -i "C:\Users\Administrator\Desktop\Nuova cartella (23)\tempAVS1.avs" -vf scale=interl=1,setfield=tff,setsar=1/1,format=yuv422p -an -pix_fmt yuv422p -f rawvideo - | v:\automazioneclip\core\ffmbcX642017.exe -loglevel quiet -threads 12 -s 1920x1080 -r 25 -y -f rawvideo -pix_fmt yuv422p -i - -tff -target xdcamhd422 -an "out2_wrong_1080i25.MXF"
https://www.swisstransfer.com/d/d6217dfd-bf58-4069-a546-cdde5097be8d
-------------------------------------------------------------------------------------
So my question is: is there a way to interlace directly in the avs script but avoiding the twittering?
-
for example I need to encode in virtualdub but need to "pass" the interlaced stream to Virtualdub: even if it have a "interlace" filter similar to avisynth that do the same twittering
-
@cat with the memory of a flea: In addition to revisiting your earlier posts on that same subject maybe marcorocco over at doom9 can tell?

https://forum.doom9.org/showthread.php?p=2029064#post2029064
Similar Threads
-
interlace or progressive?
By marcorocchini in forum Newbie / General discussionsReplies: 2Last Post: 29th Jan 2025, 13:41 -
QTGMC: How to de-interlace multiple files (using AVISynth and VirtualDub64)
By Skeptjk in forum Video ConversionReplies: 8Last Post: 10th Oct 2023, 07:10 -
any one got guide on how to install avisynth that don' point to avisynth.nl
By MrKool in forum Newbie / General discussionsReplies: 7Last Post: 9th Aug 2023, 10:57 -
Best & easiest way to de-interlace in avisynth/MeGUI?
By WAusJackBauer in forum Newbie / General discussionsReplies: 80Last Post: 29th Sep 2022, 08:24 -
how to interlace video in avisynth?
By FelipeArchives in forum EditingReplies: 15Last Post: 19th Aug 2022, 16:20



Quote

