Hi ***
please consider, for example, this drone source
https://www.swisstransfer.com/d/bb916604-02a6-419a-8aa5-05977af04b9b
not high quality image, it's simple a 50P HD MP4/avc video file
my target is to get a 50i video file (MXF 50i HD op1A)
so the original file have 1 converttoYV12 to entry in the emask processingCode:Import("v:\automazioneclip\avisynth\plugins\IResize.avsi") Import("V:\automazioneclip\AviSynth\plugins\smoothFPS2.avsi") Import("V:\automazioneclip\AviSynth\plugins\smoothFPS3.avsi") Import("v:\automazioneclip\AviSynth\plugins\CropResizedic2017.avsi") Import("V:\automazioneclip\AviSynth\FrameRateConverter2021\FrameRateConverter.avsi") LoadPlugin("v:\automazioneclip\AviSynth\FrameRateConverter2021\X64\FrameRateConverter.dll") LoadPlugin("v:\automazioneclip\AviSynth\ffms2-2.40-msvc\ffms2-2.40-msvc\x64\ffms2.dll") Import("V:\automazioneclip\AviSynth\FFMS2_AVSI_2019\ffms2.avsi") LoadPlugin("v:\automazioneclip\AviSynth\LSMASH_AGO_2023\x64\LSMASHSource.dll") LoadCPlugin("v:\automazioneclip\avisynth\plugins64\yadif.dll") LoadPlugin("V:\automazioneclip\AviSynth\MaskTool2\X64\masktools2.dll") vid=LSMASHVideoSource("C:\Users\Administrator\Desktop\Nuova cartella (3)\DJI_0581.MP4").WriteFileStart("Framecount.txt", "Framecount()") aud=LWLibavAudioSource("v:\automazioneclip\system\empty.wav",stream_index=0) left=GetChannel(aud, 1) right=GetChannel(aud, 2) both=mergechannels(left, right) audiodub(vid, both) ConvertAudioTo16Bit() #TurnRight() #Turn180() #TurnLeft() converttoYV12(interlaced=false) emask = mt_convolution(vertical="-1 2 -1").ColorYUV(off_y=-64).ColorYUV(gain_y=128).mt_expand(chroma="-128").Blur(0.8) Overlay(last, Blur(0.6, 0.7), mask=emask) ConvertToYUY2(interlaced=false) assumeFPS(50) AssumeTFF().SeparateFields().SelectEvery(4, 0, 3).Weave()
and again a ConvertToYUY2 to output the script to the encoder
I wonder: considering that the intermediate "emask" processing is important for me to reduce artefacts which would otherwise be produced since the output must be interlaced, does exist a way to increase the conversion quality or avoid unnecessary losses since the drone images source often include unwanted house roofs, trees, dense textures or moiré?
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 2 of 2
Thread
-
Last edited by marcorocchini; 6th Oct 2024 at 09:10.
-
Given that the source already is 4:2:0 and I do not see any moiré artifacts, I don't really see the need for those lines to begin with.
Also:
Code:emask = mt_convolution(vertical="-1 2 -1").ColorYUV(off_y=-64).ColorYUV(gain_y=128).mt_expand(chroma="-128").Blur(0.8) Overlay(last, Blur(0.6, 0.7), mask=emask)
=> the whole post makes no sense to me,...users currently on my ignore list: deadrats, Stears555
Similar Threads
-
Avidemux Optimize for Streaming
By Rinka_CA in forum Newbie / General discussionsReplies: 4Last Post: 4th Jul 2024, 15:18 -
Constraining x264's max bitrate to optimize (remote) streaming
By sebastiaaan in forum Newbie / General discussionsReplies: 0Last Post: 15th Nov 2023, 05:14 -
can anybody optimize the accident video and find the guilty party ?
By curieux in forum Newbie / General discussionsReplies: 7Last Post: 7th Dec 2022, 02:23 -
Optimize bad source material ripped from MakeMKV
By marco000 in forum Video ConversionReplies: 11Last Post: 21st Jun 2021, 11:18 -
simple drone with camera w/o remote
By giove in forum Newbie / General discussionsReplies: 8Last Post: 30th Jan 2021, 10:51