Posts: 12
Threads: 5
Joined: Sep 2018
Hello Selur, how are you?
I hope you are well in this epidemy.
My friend, help me. I have been using Hibryd for a long time and I never had any difficulty with the filters used.
However I decided to use the anti Aliasing filters and now I need your help.
I have a 3D video (video game) that by default is 900x558 and I would like to use the best
AA filter and the best
Resize algorithm for 1080p (No AR)
My question: What is the best AA filter and the best RESIZE and how to set up to get the best quality from both?
Video used:
https://drive.google.com/file/d/12wpvRHI...sp=sharing
Claudio
Posts: 10.618
Threads: 57
Joined: May 2017
17.12.2020, 18:02
(This post was last modified: 17.12.2020, 18:27 by Selur.)
"by default is 900x558 "
I doubt that this is the native resolution of the game, probably more like 320x240 or 400x240 or something like that, also there are tons of compression artifacts.
Problem is anything that does get rid of the aliasing would have to smooth a lot and kill tons of details.
-> not sure this is doable in a meaningful way (anti aliasing should be done in the emulator or the game,..)
Instead of trying AA filters better try aWarpSharp2.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 10.618
Threads: 57
Joined: May 2017
17.12.2020, 19:18
(This post was last modified: 17.12.2020, 19:18 by Selur.)
If this is really the best source you have, try:
- for AA:
- enable 'Filtering->Vapoursynth->Line->AntiAliasing->AAF'
- enable 'Filtering->Vapoursynth->Custom->Insert Before->AAF' and insert:
clip = core.std.Transpose(clip=clip)
clip = havsfunc.aaf(inputClip=clip)
clip = core.std.Transpose(clip=clip)
clip = havsfunc.aaf(inputClip=clip)
clip = core.std.Transpose(clip=clip)
clip = havsfunc.aaf(inputClip=clip)
clip = core.std.Transpose(clip=clip)
this might be a bit overkill, but the general idea is to apply the AntiAliasing on the normal video and the transposed video.
- to get some contrast back:
- enable 'Filtering->Vapoursynth->Sharpen->CAS'
- set 'Filtering->Vapoursynth->Sharpen->CAS->Sharpness' to '1'
- for the resizing to 1080p:
- Change 'Filtering->Vapoursynth->Misc->Filter Order' by moving 'Resize' below 'AAF'
- enable 'Filtering->Crop/Resize->Base->Picture Crop' and set 'bottom' to: 24 and 'right' to:4
- enable 'Filtering->Crop/Resize->Base->Resize'
- set 'Filtering->Crop/Resize->Base->Resize->Auto adjust' to 'width'
- set 'Filtering->Crop/Resize->Base->Resize->Target resolution' to 1080
- enable 'Filtering->Crop/Resize->Base->Letterbox'
- set 'Filtering->Crop/Resize->Base->Letterbox->Width' to 1920
- personally I would not use any sepcial resizer, but if you think it makes a noticeable difference use 'Filtering->Vapoursynth->Resize->NNEDI3' and enable 'GPU' if your hardware supports it.
otherwise if possible let the emulator or the game to the AA if possible, since the above does look 'okay' on still image, but I'm not sure how well it looks during normal playback.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 10.618
Threads: 57
Joined: May 2017
Quote:(No AR)
Augmented Reality?
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 12
Threads: 5
Joined: Sep 2018
(17.12.2020, 18:02)Selur Wrote: "by default is 900x558 "
I doubt that this is the native resolution of the game, probably more like 320x240 or 400x240 or something like that, also there are tons of compression artifacts.
Problem is anything that does get rid of the aliasing would have to smooth a lot and kill tons of details.
-> not sure this is doable in a meaningful way (anti aliasing should be done in the emulator or the game,..)
Instead of trying AA filters better try aWarpSharp2.
Cu Selur
Its a Youtube video. The guy record using a png template.
Will try now your settings.
Many thanks.
Claudio
(17.12.2020, 19:20)Selur Wrote: Quote:(No AR)
Augmented Reality?
Cu Selur
Resize with
No Aspect Ratio (Full screen) because strange resolution.
Claudio
Posts: 10.618
Threads: 57
Joined: May 2017
Quote:Will try now your settings.
Did you try it? How does it look in motion? (I only looked it frame by frame and I fear that the AA will cause flickering in motion.)
(didn't have time to actually encode the script to something and watch it in motion)
Also as further explanation, the
Quote:'Filtering->Vapoursynth->Custom->Insert Before->AAF' and insert:
clip = core.std.Transpose(clip=clip)
clip = havsfunc.aaf(inputClip=clip)
clip = core.std.Transpose(clip=clip)
clip = havsfunc.aaf(inputClip=clip)
clip = core.std.Transpose(clip=clip)
clip = havsfunc.aaf(inputClip=clip)
clip = core.std.Transpose(clip=clip)
part of the script followed be the normal "clip = havsfunc.aaf(inputClip=clip)" does simply apply:
1. aaf on the transposed video
2. aaf on the normal video
3. aaf on the transposed video
4. aaf on the normal video
you could do similar stuff with other AA filters or use aaf less frequent if the AA effect is too strong.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 12
Threads: 5
Joined: Sep 2018
(18.12.2020, 22:29)Selur Wrote: Quote:Will try now your settings.
Did you try it? How does it look in motion? (I only looked it frame by frame and I fear that the AA will cause flickering in motion.)
(didn't have time to actually encode the script to something and watch it in motion)
Also as further explanation, the
Quote:'Filtering->Vapoursynth->Custom->Insert Before->AAF' and insert:
clip = core.std.Transpose(clip=clip)
clip = havsfunc.aaf(inputClip=clip)
clip = core.std.Transpose(clip=clip)
clip = havsfunc.aaf(inputClip=clip)
clip = core.std.Transpose(clip=clip)
clip = havsfunc.aaf(inputClip=clip)
clip = core.std.Transpose(clip=clip)
part of the script followed be the normal "clip = havsfunc.aaf(inputClip=clip)" does simply apply:
1. aaf on the transposed video
2. aaf on the normal video
3. aaf on the transposed video
4. aaf on the normal video
you could do similar stuff with other AA filters or use aaf less frequent if the AA effect is too strong.
Cu Selur
Hi Selur,
Tested it previously and it worked very well.
Saturday I will be releasing a new pack of games and used your method again on videos and it served me very, very well indeed.
I did what you said about testing with fewer "lines parameters" and preferred the "full method".
He does a lot better than I expected.
Thank you very much for your attention to the answers.
Claudio