Hello,
I have this video: https://veryfiles.com/y08u98f5dyo0
But this video is very worst.
I see someone can make it to clearer video by use effect.
Do you think that idea? And if yes, how do I make for this video clearly?
But no, can I do?
Thanks for read this post, and sorry because I just study EL so it not fluently.
+ Reply to Thread
Results 1 to 30 of 41
-
-
users currently on my ignore list: deadrats, Stears555, marcorocchini
-
What it really needs is to go back to the (Blu-ray?) source, do a proper inverse telecine, and encode with sufficient bitrate.
But if this is all you can get... It doesn't need to be sharper. It needs to be antialiased because of the way it was deinterlaced (discard field and resize). I did this in AviSynth:
Code:LSMASHVideoSource("Nanako.mp4", prefer_hw=2) TDecimate() SeparateFields() SelectEven() # even fields are sharper than odd Santiag(1,4) # antialias nnedi3(dh=true) # double height MergeChroma(aWarpSharp2(depth=5), aWarpSharp2(depth=10)) # smooth/sharpen chroma more than luma CAS(sharpness=0.7, y=3, u=3, v=3) # sharpen
-
You have too many double quotes in your path/filename. Like "C:\Path To\Your Video File.mp4".
Last edited by jagabo; 6th Feb 2022 at 09:54.
-
-
Post you entire script as text, like I did (copy/paste).
I can't see the extension in your post but note that LSMASHVideoSource() only works for MP4, MOV, and M4V files. Use LWlibavVideoSource() for MKV and other containers.
Do you have the LSMASH source filter installed? https://avisynth.nl/index.php/LSMASHSourceLast edited by jagabo; 6th Feb 2022 at 10:28.
-
Code:
#LoadPlugin("E:\Delicious Party♡Precure\L-SMASH-Works-20210811\x64\LSMASHSource.dll") LSMASHVideoSource("E:\"Delicious Party♡Precure"\"[NanakoRaws] Delicious Party♡Precure - 01 (WEB-DL 1920x1080 x264 AAC).mp4"", prefer_hw=2) TDecimate() SeparateFields() SelectEven() # even fields are sharper than odd Santiag(1,4) # antialias nnedi3(dh=true) # double height MergeChroma(aWarpSharp2(depth=5), aWarpSharp2(depth=10)) # smooth/sharpen chroma more than luma CAS(sharpness=0.7, y=3, u=3, v=3) # sharpen
-
You still have too many quotes in the path\filename. There should only be one quote at the start and one quote at the end:
Code:LSMASHVideoSource("E:\Delicious Party♡Precure\[NanakoRaws] Delicious Party♡Precure - 01 (WEB-DL 1920x1080 x264 AAC).mp4", prefer_hw=2)
folder:
Code:E:\Delicious
Code:Delicious1.mp4
Code:LSMASHVideoSource("E:Delicous\Delicious1.mp4")
-
Santiag isn't a plugin (DLL). It's a script (AVS or AVSI). Use Import() instead of LoadPlugin().
-
nnedi3 is a .dll (nnedi3.dll)
http://avisynth.nl/index.php/Nnedi3
https://github.com/jpsdr/NNEDI3/releases -
Ok, successfully
But this scene is some worst...
[Attachment 63212 - Click to enlarge] -
Most of those artifacts are from low bitrate compression
Did you prefer something like this ?
Original
[Attachment 63214 - Click to enlarge]
RealESRGANv2-animevideo-xsx2 model, downscaled using Spline16
[Attachment 63213 - Click to enlarge]
You can use Real-ESRGAN in vapoursynth , or there is a command line application on the official project page
https://github.com/xinntao/Real-ESRGAN
https://github.com/HolyWu/vs-realesrgan
It's very slow to process, and there is a learning curve for vapoursynth . It's a bit more difficult than avisynth for most people -
Yes, the antialiasing causes that text overlay to blur. Since the text is magenta with a white outline (some of it is the other way around) you can build a mask of areas where magenta and and white are near each other. The original (or more mildly antialiased) video over those areas to keep them from blurring so much.
Code:LSMASHVideoSource("Nanako.mp4", prefer_hw=2) TDecimate() alternate = Santiag().Sharpen(0.5) # mild antialiasing magentamask = MaskHS(startHue=50, EndHue=80, MinSat=20, MaxSat=90).mt_expand().mt_expand().PointResize(width, height) whitemask = mt_binarize(210).mt_expand().mt_expand().mt_expand().mt_expand().mt_inpand().mt_inpand() fullmask = Overlay(magentamask, whitemask, mode="multiply").GreyScale().Blur(1.4).Blur(1.4) SeparateFields() SelectEven()#Merge(SelectEven(), SelectOdd()) Santiag(1,4) nnedi3(dh=true) MergeChroma(aWarpSharp2(depth=5), aWarpSharp2(depth=10)) CAS(sharpness=0.7, y=3, u=3, v=3) Overlay(last, alternate, mask=fullmask)
-
a. Intro&Outro need to be filtered differently than the rest.
b. I doubt that any filter can restore the outro to something I would call 'okay', imhop some parts of the outro are just missing too much actual details.users currently on my ignore list: deadrats, Stears555, marcorocchini -
Yeah, for example, this picture:
[Attachment 63218 - Click to enlarge]
also, the character border feels unpolished and has a bit of jagged edges
[Attachment 63219 - Click to enlarge]
I don't know what script can fix this? -
Average bitrate of 1725 kbps is not enough. Make it 2500 kbps at least, for 1080p/1080i AVC encodes... If you use HEVC, you can lower to 1800-2000 kbps, because HEVC is a more efficient compression than AVC. You can get the exact quality with AVC at a lower bitrate.
You can also use "Zones" option (MeGUI) to give extra-bitrates to user-defined video segments. In your case, the frames at the beginning and at the end. -
-
I haven't had any AVS-creating problem in MeGUI. Do you get error while indexing? (with FFMSIndex or LSMASH-Works)
If I were you, I would re-encode the source video with MeGUI's recommended H264 settings, in Constant Quality mode. "Animation" tuning option can also be used.
If the final size is so important for you or you want exactly 2500 kbps average bitrate, you can use "automated 2 pass" mode with 2500 kbps bitrate. -
-
Apply the all recommended settings in x264 configuration dialog (encoder settings>x264>config). You can see the recommended settings when you put your cursor on each option.
For auto update, use "development server" (not "stable server", because it has old versions of the tools).
If you want to make high-quality encodings, you have to learn to use extra Avisynth filters. First, you create an AVS as usual, then you add other Avisynth script lines to it. You use "Import" call for the AVS files, "LoadPlugin" call for the DLLs needed. Here's a random example for using "Temporal Degrain" filter:
Import("C:\Program Files (x86)\AviSynth+\plugins\TemporalDegrain2.avs")
LoadPlugin("C:\Program Files (x86)\AviSynth+\plugins\neo-fft3d.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth+\plugins\masktools2.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth+\plugins\mvtools2.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth+\plugins\RgTools.dll")
TemporalDegrain2(degrainTR=2,postFFT=3,postSigma=3 ,postDither=-1)
Modern NVIDIA graphics processors have video encoding units called "NVENC". It gives much better results than software encoders:
https://developer.nvidia.com/blog/turing-h264-video-encoding-speed-and-quality/
You can do lots of research on the web. Good luck. -
The problem is that I don't know which script to use because those are too many, so I'm here to ask you guys
-
How to use it?
[Attachment 63286 - Click to enlarge]
Which step I wrong? -
You need a source filter to load video, similar to avisynth ( e.g LSmash)
Code:re = core.lsmas.LibavSMASHSource(r'PATH\[NanakoRaws] Delicious PartyPrecure - 01 (WEB-DL 1920x1080 x264 AAC).mp4') re = core.tivtc.TDecimate(re) re = core.resize.Bicubic(re, format=vs.RGBS, matrix_in_s="709") re = RealESRGAN(re, model_type=3 ) re = core.resize.Spline16(re, width=1920, height=1080, format=vs.YUV420P10, matrix_s="709") #10bit 4:2:0 ; if you wanted 8bit 4:2:0 use "YUV420P8") re.set_output()
You can use tiling if your GPU does not have enough memory e.g.
re = RealESRGAN(re, tile_pad=16, tile_x=960, tile_y=540, model_type=3 )
As the others have mentioned above, you need to filter the different parts, differently.
This model is probably too "sharp" for other sections, so you might use a smoother downscaler like Bilinear
One way to modulate the strength of the effect, is to use overlay or merge to combine with original or another filtered version -
Have error
[Attachment 63297 - Click to enlarge] -
Code:
core.std.LoadPlugin(r'PATH\LSMASHSource.dll')
-
[Attachment 63298 - Click to enlarge]
Have error
Similar Threads
-
How to Make A Thumbnail From 2 Splitted Video on Video Thumbnails Maker
By Daringbaaz in forum Newbie / General discussionsReplies: 1Last Post: 10th Jan 2019, 01:41 -
Looking to make BluRay video from 1080p/60fps video shot on Sony NX100 cam
By liberty610 in forum Authoring (Blu-ray)Replies: 38Last Post: 26th Sep 2018, 20:13 -
adding audio files to exist video with ffmpeg make the video currapted
By yanshof in forum Video ConversionReplies: 2Last Post: 21st Jan 2018, 14:37 -
adding audio files to exist video with ffmpeg make the video currapted
By yanshof in forum ProgrammingReplies: 1Last Post: 21st Jan 2018, 13:56 -
How can I make a VHS video get a better quality, is there a video software?
By hello0 in forum Newbie / General discussionsReplies: 9Last Post: 26th Jun 2017, 14:05