Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
![]() |
#1 | Link |
Registered User
Join Date: Feb 2018
Posts: 24
|
Help with AviSynth
I'm working on the treatment of the cutscenes of the game (from PlayStation 1), Megaman 8. But as I know almost nothing about the handling of AviSynth I will need some advice on the plugins.
The video, as you can see, was been most likely compressed because of the limited space available on the CD-ROMs used for burning PS1 games. Here is my AviSynth script. I also added the Warp sharp filter from VirtualDub, this aspect having significantly improved the quality of the image automatically made the drawing lines a bit strange. PS: For the purpose of curiosity I riped the cutscenes with the help of a program called jpsxdec. Last edited by Enigma0456; 24th February 2020 at 18:36. |
![]() |
![]() |
![]() |
#2 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,765
|
I get a http 403 error when clicking on your script...
Your drawing lines are strange because the warping effect is too strong, set it lower. If you want to try out vapoursynth, here's a quick & dirty script than looks not that bad. An Avisynth version would look more or less the same. ( I don't have it installed right now) Sample Code:
import vapoursynth as vs import mvsfunc as mvf import havsfunc as haf import nnedi3_rpow2 as nn core = vs.get_core() clip = core.lsmas.LWLibavSource(source=r"D:\Download\ROCK8.avi") clip = mvf.Depth(clip, 16) orig=clip def mega(clip): pre=clip.knlm.KNLMeansCL(d=4, a=8, h=4) pre = haf.DeHalo_alpha(pre, rx=2,ry= 2) return haf.SMDegrain(clip, tr=3, pel=2, contrasharp=True, thSAD = 550, thSADC = 450, blksize = 8, truemotion = False, RefineMotion=True, prefilter=pre) clip = mega(clip) clip = haf.DeHalo_alpha(clip, darkstr= .6, brightstr=.8,ss=2, rx=2.6,ry= 2.6) clip = nn.nnedi3_rpow2(clip, nsize =4, qual =2, nns =4) clip = core.warp.AWarpSharp2(clip, type = 1, blur=1, depth=4) clip = clip.f3kdb.Deband(preset="medium", output_depth = 10).rgvs.RemoveGrain(mode=1) crop = 0 clip = core.std.StackHorizontal([ core.std.CropRel(nn.nnedi3_rpow2(orig).fmtc.bitdepth(bits=10), crop,crop,0,0).text.Text("source"), \ core.std.CropRel(clip, crop,crop,0,0), \ ]) clip.set_output()
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database || https://github.com/avisynth-repository Last edited by ChaosKing; 19th February 2018 at 22:12. |
![]() |
![]() |
![]() |
#3 | Link | |
Registered User
Join Date: Feb 2018
Posts: 24
|
Quote:
|
|
![]() |
![]() |
![]() |
#4 | Link | |
Registered User
Join Date: Jul 2011
Location: Tennessee, USA
Posts: 266
|
Quote:
There is no way to increase the resolution. It is what it is. Do you mean sharpen it? |
|
![]() |
![]() |
![]() |
#5 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,765
|
My script doubles the resolution.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database || https://github.com/avisynth-repository |
![]() |
![]() |
![]() |
#6 | Link | |
Registered User
Join Date: Feb 2018
Posts: 24
|
Quote:
![]() AviSource("C:\Vid\ROCK8.AVI") Crop(0,0,-0,-4) BicubicResize(1280,720) ConvertToYV12 unblock(cartoon=true) HQDering(255, 255) DeHalo_alpha(rx=2.0, ry=2.0, darkstr=0.4, brightstr=1.0, lowsens=50, highsens=50, ss=1.5) As you can see, it is a very simple script. That's because I'm just a beginner. I know that. I wanted to say is to place a HD resolution in the video. |
|
![]() |
![]() |
![]() |
#7 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,765
|
You will just waste hdd space with a HD resolution and it won't look better! You can't turn a crappy source into gold.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database || https://github.com/avisynth-repository |
![]() |
![]() |
![]() |
Tags |
avisynth script, virtual dub |
Thread Tools | Search this Thread |
Display Modes | |
|
|