I saw someone on Twitter touting the merits of "AVC Labs Video Enhancer AI" and posting two comparison images to show the difference.
I have read different threads here indicating that AI software cannot surpass Avisynth and in this case I would like to know what filters you recommend to obtain a result which would be as close as possible to what the person obtained.
- https://twitter.com/migzou/status/1764228777612320775
Image links for those who don't have Twitter:
- https://i.imgur.com/hL2NE83.png
- https://i.imgur.com/lfSFm50.jpeg
Not being the owner of the video used, I do not have an extract to provide but given the quality, the person probably worked with VHS.
This thread is intended solely to gather as much information as possible on filters to use to improve poor quality anime, such as VHS.
I'm not necessarily looking to upscale HD, just to resize them to a decent resolution (720x540) and obtain a significant quality gain.
As in the image on Twitter but without the defects on the edges.
Note that I am familiar with Avisynth tools but know nothing about Vapoursynth.
Thanks.
+ Reply to Thread
Results 1 to 8 of 8
-
-
a. That doesn't look good at all, image still has tons of blocking.
b. Note that Avisynth with https://github.com/Asd-g/avs-mlrt also supports some machine learning stuff. And there are tons of models over at https://openmodeldb.info for handling animes&cartoons and avs-mlrt can use quite a few of them. (there are also tons of images)
If you want to upscale an image, use Adobe Photoshop or similar.
-> if you want Avisynth suggestions for a video, share a sample of your source.
Cu Selurusers currently on my ignore list: deadrats, Stears555, marcorocchini -
It is true that the image has a lot of block and the contours are also quite strange but I find that there is an improvement in terms of sharpness, particularly at eye level.
Likewise regarding the leaves in the background, I found it not bad.
In fact what I'm trying to say is that despite the glaring defects in the image, we really have the impression of having low-end DVD in front of us while the basic image clearly reminds us of from VHS.
I didn't know about the Asd-G project. If I understand correctly, it works under AviSynth+? If yes, how to use it?
Because I know how to use Avisynth under Megui but I have absolutely no knowledge of AviSynth+, nor how it works.
I'm a little afraid of being lost quickly. Does Asd-G work standalone or do you need to install things in addition to the requirements to make it work?
Thanks. -
I have read different threads here indicating that AI software cannot surpass Avisynth and in this case I would like to know what filters you recommend to obtain a result which would be as close as possible to what the person obtained.I didn't know about the Asd-G project. If I understand correctly, it works under AviSynth+? If yes, how to use it?
Because I know how to use Avisynth under Megui but I have absolutely no knowledge of AviSynth+, nor how it works. -
Yes but it seems to me that AviSynth and AviSynth+ are not the same thing, am I wrong? Hence my question.
Likewise, it seems to me that VapourSynth doesn't work the same way as AviSynth.
The question may seem stupid to you but not everyone is necessarily comfortable making scripts and I prefer to ask rather than find myself in a dead end.
What I'm trying to explain to you is that I know how AviSynth works, I know how to load a plugin, etc. but I haven't experimented with AviSynth+. -
The operation of AVISynth+ is the same as AVISynth; you'll probably find + uses different-dated or different-versioned filters.
The use is the same; create a script and open it in AVSPMod or VDub. If you know how to use AVISynth, you know how to use +.
https://github.com/AviSynth/AviSynthPlus -
And Vapoursynth does the same as Avisynth,Avisynth+, except code is in python. For example vapoursynth script can just load avisynth script. Basic differences:
Avisynth script:
Code:BlankClip() #8bit rgb black clip 640x480, perhaps 10 second long, or so
Code:import vapoursynth as vs clip = vs.core.std.BlankClip() clip.set_output(0)
also it is python , so you are set up using latest AI python things. Those latest AI setups could be ported to vaporsynth distributing dll. If you do anime, you do not waste much time and choose vapoursynth right from the beginning. It is anime scene what drives vapoursynth forward and distribute solutions. They jump on it right away.
loading video in avisynth:
Code:v=LSMASHVideoSource("video.mp4") a=LSMASHAudioSource("video.mp4") AudioDub(v, a) Spline36Resize(640,360)
Code:ffmpeg -i script.avs -vcodec VIDEO_CODEC -acodec AAUDIO_CODEC output.mp4
Code:import vapoursynth as vs v=vs.core.lsmas.LibavSMASHSource("video.mp4") a=vs.core.bas.Source("video.mp4") v=v.resize.Spline36(width=640,height=360) v.set_output(0) a.set_output(1)
Code:VSPipe --outputindex 0 --container y4m script.py - | x264 --demuxer y4m -o output.264 - VSPipe --outputindex 1 --container wav script.py - | neroAacEnc -ignorelength -lc -cbr 96000 -if - -of output.m4a ffmpeg -i output.264 -i output.m4a -c copy output.mp4
Code:import vapoursynth as vs from vapoursynth import core v=core.avisource.AVISource("script.avs") v.set_output()
Last edited by _Al_; 5th Mar 2024 at 23:29.
-
I'm a rank amateur at all of this, so take this post with a grain of salt.
If it helps any, I had posted this a few months ago:
If you're tempted by Topaz VEAI, look at free Hybrid and thank Selur
A clean version of my thoughts in that link
- download Selur's Hybrid software, install it
- drag your video over/select the input file
- go to the tab labeled "filtering" and choose "vaporsynth"
- choose "sharpen" under there
- click the box for "CAS"
- choose the "line" tab (right next to the earlier sharpen)
- click the box for "NNEDI3AA"
Once you've clicked those two boxes look down at the bottom right of the program and you'll see a "compare view" box above what looks like a filmstrip. Check that box, then press the filmstrip. It will show you the original and the potential conversion side by side.
See if that's close to what you want. I'm betting it is. If it's not, there are lots of numbers and adjustments to tinker with, although things will get sideways quickly so approach it deliberately and only change one setting at a time. I would recommend increasing CAS from 0.5 to 0.9 just to see what happens and then adjust down from there before you change anything else, and to see if that gets you close to where you want to be.
I'm far from an expert but working with things is the best way to learn. One change at a time is crucial for me so that I know which change created the effect I was after.
Good luck.
Similar Threads
-
How to achieve particular VHS audio quality
By rrats in forum AudioReplies: 4Last Post: 13th Jun 2023, 06:03 -
How do i achieve this effect as shown in the video?
By lambert888 in forum EditingReplies: 1Last Post: 22nd Sep 2022, 17:20 -
Anime re-mastering - how to achieve a particular look?
By lonelysenshi in forum Newbie / General discussionsReplies: 25Last Post: 23rd Nov 2021, 13:02 -
How to achieve frame-blending/motion blur?
By eko in forum Newbie / General discussionsReplies: 22Last Post: 29th Oct 2020, 09:36 -
How to achieve this?
By joeltheyap in forum Newbie / General discussionsReplies: 1Last Post: 16th Jan 2020, 00:30