View Full Version : I want to upscale a Super Nes video in HD
SuperLumberjack
18th August 2016, 14:28
Hello :)
I'm new on this forum and I'm French. I try to upscale video captured with a Super Nes emulator (Snes9x) which are in a resolution of 256x224, in a resolution of 1408x1080.
[with Higan Emulator, the output resolution is 584x448 (or 584x480 with black bars), and it is known to be the more accurate emulator, so I took a proportional resolution]
My principal problem is this :
Pixel Aspect Ratio and Sampling
Analogue RGB signals from retro consoles use composite video or composite sync in addition to the color information. This type of sync doesn't contain information about the horizontal pixels. This is commonly called RGBS as opposed to RGBHV, where H and V stand for the horizontal and vertical sync. RGBHV is used in more modern devices for VGA for example. On CRTs it doesn't matter that there is no horizontal sync information, because each line of the picture is drawn across the whole screen. On LCD screens and for capture this is a problem. In the process of creating a digital version of the signal the picture lines are sampled and pushed into a mask of pixels. The number of pixels is fixed and doesn't take the original console into account. Usually there are 720 or 640 horizontal pixels after the sampling step.
sampling
https://blz.la/rgb/img/2014/sampling.png
240p signal with non-square pixels sampled and linedoubled to 720x480 pixel.
Retro consoles usually only have a low amount of pixels in the horizontal resolution. These pixels are stretched to fill a whole line on the screen. In the case of the SNES there are 256 pixels horizontally in each line on the console. To fill the screen the pixels are slightly stretched, resulting in pixels that are wider than tall. The actual pixel ascept ratio (PAR) for the SNES is 11:10. On a PC each pixel has the same width and height, or in other words a pixel aspect ratio of 1:1. In the sampled version of the signal each non-square pixel from the console influences the color of 1 or 2 horizontally adjacent square pixels making it slightly blurry on the horizontal axis.
(source : https://blz.la/rgb/)
Do you see what I mean ?
When I do an enlargement oh the image with classic resize filter, it becomes inaccurate horizontaly.
The best I tried is the SimpleResize, but the YV24 and RGB24 color formats aren't supported, so I have a loss of accuracy for the colors :(
Have you an idea for this ?
We can took this picture to begin :
http://image.noelshack.com/fichiers/2016/33/1471598760-dk3-image-originale-basse-definition.png
Thanks for your help ! ;)
wonkey_monkey
19th August 2016, 18:58
The best I tried is the SimpleResize, but the YV24 and RGB24 color formats aren't supported, so I have a loss of accuracy for the colors
You can always take the three RGB channels, convert them to separate clips, and use simpleresize on each one. Something like this:
r=clip.showred.converttoyv12
g=clip.showgreen.converttoyv12
b=clip.showblue.converttoyv12
r2=r.simpleresize(... , ...)
g2=g.simpleresize(... , ...)
b2=b.simpleresize(... , ...)
mergergb(r2,g2,b2)
(not tested)
SuperLumberjack
19th August 2016, 18:59
I tried the SimpleResize with this base of code :
w=<new width, integer>
h=<new height, integer>
## Last=YV24
YToUV(
\ UToY.SimpleResize(w, h)
\ , VToY.SimpleResize(w, h)
\ , Last.SimpleResize(w, h)
\ )
But, it's not perfect.
http://forum.doom9.org/showthread.php?p=1777501#post1777501
Strangly, I noticed on my notebook (with Intel HD4600 chipset), that in VirtualDub a upscaling was effective with previews.
See the picture in fullscreen. The upscaling by the Intel HD is effective in the left window. In the right window, I upscaled the image 4X with Nearest Neighbor filter.
http://image.noelshack.com/fichiers/2016/33/1471561397-upscaling-actif-par-defaut-sur-pc-portable.png
This upscaling is effective in other programs (like ACDSee) too.
http://image.noelshack.com/fichiers/2016/33/1471561661-upscaling-actif-vs-bicubic.png
Intel HD upscaling vs. Bicubic
But it's enough impressive, because when we enlarge a picture, it's almost transparent. It's like stretching chewing-gum :p
http://image.noelshack.com/fichiers/2016/33/1471562134-tirement-image-upscaling-actif.png
Here is the image in ACDSee, when I zoom at 1000% :
http://image.noelshack.com/fichiers/2016/33/1471598634-upscaling-intel-hd-image-zoomee-1000x.png
Zoom 2000% :
http://image.noelshack.com/fichiers/2016/33/1471598669-upscaling-intel-hd-image-zoomee-2000x.png
Zoom 5000% :
http://image.noelshack.com/fichiers/2016/33/1471598704-upscaling-intel-hd-image-zoomee-5000x.png
Zoom 10000% :
http://image.noelshack.com/fichiers/2016/33/1471598729-upscaling-intel-hd-image-zoomee-10000x.png
Where can I find a filter like this for AviSynth ? :)
It could be the solution for this problem :o
https://blz.la/rgb/img/2014/sampling.png
Thanks for your help ! :thanks:
SuperLumberjack
19th August 2016, 19:28
You can always take the three RGB channels, convert them to separate clips, and use simpleresize on each one. Something like this:
r=clip.showred.converttoyv12
g=clip.showgreen.converttoyv12
b=clip.showblue.converttoyv12
r2=r.simpleresize(... , ...)
g2=g.simpleresize(... , ...)
b2=b.simpleresize(... , ...)
mergergb(r2,g2,b2)
(not tested)
In the same moment ! :p Thanks for the answer :)
Yes, someone told me for the SimpleResize with YV24 color format (it was better than with RGB24, because it was directly in YV24) ;)
SuperLumberjack
19th August 2016, 19:40
How can I reduce the size of the images on this thread please ? It's too big :p
mastrboy
19th August 2016, 19:45
Tried pointresize(1024,896) ? (basically 256*4x224*4)
SuperLumberjack
19th August 2016, 19:53
Yeah ! But it's ugly :D
In reality, the output resolution must be proportional to : 584x448.
It's the Higan (the Super Nes emulator known as the more accuracy) resolution.
So, I need to change the aspect ratio :)
I want 1408x1080 for the output resolution.
mastrboy
19th August 2016, 20:01
I see, well then my idea is of course completely useless ;)
SuperLumberjack
19th August 2016, 20:04
No, because I tried with PointResize and others filters too ;)
I tried many things :D
feisty2
19th August 2016, 20:09
Take a look at HQx
feisty2
19th August 2016, 20:10
https://en.wikipedia.org/wiki/Hqx
raffriff42
19th August 2016, 20:15
http://avisynth.nl/index.php/PointSize
a collection of specialized resizers for pixel-art and other low resolution graphics (e.g. old or portable video game captures).
(including HQx)
SuperLumberjack
19th August 2016, 20:46
Thanks ! :)
But I don't like HQx and emulator filters :p
For me, the biggest problem is to get a transparency change of the aspect ratio. So the problem is this :scared: :
https://blz.la/rgb/img/2014/sampling.png
But for the upscaling, I prefer maybe Spline16 or Bicubic. A filter which doesn't cause this around the objects :
http://www.repaire.net/forums/attachments/madvr-jinc-sans-anti-ringing-png.34435/
Spline36, Lanczos, Blackman, Sinc, etc., it's bad for me ! :D
Or I need to begin with Spline16 and Bicubic, and after continue with an other filter.
But I think I must change the aspect ratio in the end. It would be the best with a filter like the Intel HD upscaling. It's amazing when we enlarge a picture :)
trip_let
20th August 2016, 06:28
But it can't be transparent, at least as long as the display device has square pixels. Either it's going to have to be interpolated and stretched by some resampler now or on playback, if you want the displayed aspect ratio correct.
Isn't the preview you're looking at just with some bilinear upsize or something like that?
Just a quick check of a couple things:
bilinear, convert to YUV444 (https://my.mixtape.moe/dldgca.png)
nnedi3 doubled three times to 2048x1792, then Catmull-Rom (bicubic b=0, c=1/2) down to target and convert to YUV444 (https://my.mixtape.moe/tcfrdt.png)
SuperLumberjack
20th August 2016, 09:40
Hello. Thanks for your answer ! :)
Bilinear, it's a bit too sweet.
I tried with Nnedi3 too. But with this filter in first position, we have some deformations of straight lignes.
See here :
http://image.noelshack.com/fichiers/2016/33/1471681733-mario-nnedi-3-catmull-rom.png
AviSource()
ConvertToYV24()
nnedi3_rpow2(rfactor=4, nsize=0, nns=4, qual=1, etype=0, pscrn=2, threads=0, opt=0, fapprox=0)
BicubicResize(b=0, c=0.5, 1408, 1080)
I noticed, when we begin with a filter like Bicubic or Spline16, we haven't this problem.
See here :
http://image.noelshack.com/fichiers/2016/33/1471681753-mario-spline16-nnedi-3-catmull-rom.png
AviSource()
ConvertToYV24()
Spline16Resize(512, 448)
nnedi3_rpow2(rfactor=2, nsize=0, nns=4, qual=1, etype=0, pscrn=2, threads=0, opt=0, fapprox=0)
BicubicResize(b=0, c=0.5, 1408, 1080)
I know, I'm too perfectionist :p
But it's not only for Super Nes videos. I want to use this for others low resolution videos later.
I search for a natural renderer. But not too sweet (and not too sharp). It's why I want to upscale my videos :o
For the transparency of the enlargement, I exactly find that it's not so bad with the upscaling of Intel HD chipset. But I don't know where I can find a similar thing.
feisty2
20th August 2016, 09:47
xbrz(6)
xbrz(6)
BicubicResize(1408, 1080,b=-1,c=0)
http://i.imgur.com/GQCAkdn.png
SuperLumberjack
20th August 2016, 10:09
No sorry, it's too ugly ! :D
As I said, I don't like filters like emulators filters.
I low pixel art, but I don't want neither it's like Nearest Neighbor :p
I want to find the good balance. I will show you an example after ;)
SuperLumberjack
20th August 2016, 10:24
This is sweet, but is a good compromise :
http://image.noelshack.com/fichiers/2016/33/1471684649-dk3-catmull-rom-simpleresize.png
AviSource()
ConvertToYV24()
BicubicResize(b=0, c=0.5, 512, 448)
## Last=YV24
YToUV(
\ UToY.SimpleResize(1408, 1080)
\ , VToY.SimpleResize(1408, 1080)
\ , Last.SimpleResize(1408, 1080)
\ )
ConvertToRGB24()
But it's not perfect ! :(
As I said, the pincipal problem is to get a change of the aspect ratio which is looking natural :)
Like on the CRT-screen, when horizontal resolution wasn't a problem.
All the difficulty comes from the nature of the image, because it's pixel art. When we enlarge an image, we can see the loss.
It's why this upscaling Intel thing seems to be interesting (up on the thread) :p
In fact, I want to preserve the essence of the pixel art, but enhance it to a HD resolution.
It's important that in movement, it remembers the sensations of the era (especially, this real 2D effect).
SuperLumberjack
20th August 2016, 10:48
A little change :
http://image.noelshack.com/fichiers/2016/33/1471686347-dk3-not-bad.png
AviSource()
ConvertToYV24()
BicubicResize(b=0, c=0.5, 584, 448)
## Last=YV24
YToUV(
\ UToY.SimpleResize(1408, 1080)
\ , VToY.SimpleResize(1408, 1080)
\ , Last.SimpleResize(1408, 1080)
\ )
ConvertToRGB24()
It's look more pixel perfect, but there is still a little thing which looks unatural in the relief.
SuperLumberjack
20th August 2016, 11:18
Do you see what I mean by (almost) natural ? :p
http://image.noelshack.com/fichiers/2016/33/1471688014-dk3-spline16-simpleresize-catmull-rom.png
AviSource()
ConvertToYV24()
Spline16Resize(1168, 896)
## Last=YV24
YToUV(
\ UToY.SimpleResize(2816, 2160)
\ , VToY.SimpleResize(2816, 2160)
\ , Last.SimpleResize(2816, 2160)
\ )
ConvertToRGB24()
BicubicResize(b=0, c=0.5, 1408, 1080)
Original picture :
http://image.noelshack.com/fichiers/2016/33/1471688026-dk3-original-picture.png
It remembers me the original picture, but the immersion isn't perfect. It's why I need something more transparent for the change of the aspect ratio.
If somebody knows if I can find a filter like the Intel upscaling (see up in the thread). The enlargement looks almost transparent I find.
SuperLumberjack
20th August 2016, 12:49
I tried to enlarge the image in a resolution of 584x448 in the preview of VirtualDub. So the Intel HD upscaling is effective.
I just wanted to see :)
http://image.noelshack.com/fichiers/2016/33/1471693272-dk3-enlargement-in-virtualdub-intel-hd-upscaling-effective.png
After, I take a screenshot and cut the picture in Paint :
http://image.noelshack.com/fichiers/2016/33/1471693245-dk3-intel-hd-upscaling-584x448.png
I reduce the size to 292x224 :
http://image.noelshack.com/fichiers/2016/33/1471693258-dk3-intel-hd-upscaling-reduced-to-292x224.png
Original :
http://image.noelshack.com/fichiers/2016/33/1471688026-dk3-original-picture.png
When we compare to the original picture, the enlargement is almost transparent (a bit blurry, but it's very natural, and maybe it's because I started with a resolution of 584x448 and downsized) compared to others filters, don't you think ? :p
And then, I tried with the same AviSynth script :
http://image.noelshack.com/fichiers/2016/33/1471693296-dk3-avisynth.png
I should try directly in resolution 352x270 for the base. The problem is that I can't use this filter to encode videos.
SuperLumberjack
20th August 2016, 13:12
The picture in 352x270 with Intel HD upscaling :
http://image.noelshack.com/fichiers/2016/33/1471694697-dk3-intel-hd-upscaling-352x270.png
The picture upscaled to 1408x1080 just with Spline16 :
http://image.noelshack.com/fichiers/2016/33/1471694715-dk3-avisynth-2.png
I hoped something better :p But now I know :D
So, the best result for the moment is this with the original picture :
http://image.noelshack.com/fichiers/2016/33/1471688014-dk3-spline16-simpleresize-catmull-rom.png
AviSource()
ConvertToYV24()
Spline16Resize(1168, 896)
## Last=YV24
YToUV(
\ UToY.SimpleResize(2816, 2160)
\ , VToY.SimpleResize(2816, 2160)
\ , Last.SimpleResize(2816, 2160)
\ )
ConvertToRGB24()
BicubicResize(b=0, c=0.5, 1408, 1080)
So, officially, pixel perfect doesn't exist with digital resize :p
I will see if I can enhance this.
Nevilne
20th August 2016, 13:14
what are you even trying to do dude
SuperLumberjack
20th August 2016, 14:20
Hello :)
I want when I see this...
http://image.noelshack.com/fichiers/2016/33/1471688014-dk3-spline16-simpleresize-catmull-rom.png
...that it seems natural like this :p
http://image.noelshack.com/fichiers/2016/33/1471688026-dk3-original-picture.png
But it's not easy, I know :rolleyes:
(it's not the same aspect ratio)
Reel.Deel
20th August 2016, 14:22
The best I tried is the SimpleResize, but the YV24 and RGB24 color formats aren't supported, so I have a loss of accuracy for the colors
You can always take the three RGB channels, convert them to separate clips, and use simpleresize on each one. Something like this:
r=clip.showred.converttoyv12
g=clip.showgreen.converttoyv12
b=clip.showblue.converttoyv12
r2=r.simpleresize(... , ...)
g2=g.simpleresize(... , ...)
b2=b.simpleresize(... , ...)
mergergb(r2,g2,b2)
ShowRed().ConvertToYV12() is not lossless, ShowRed("YV12") is.
r=clip.ShowRed("YV12")
g=clip.ShowGreen("YV12")
b=clip.ShowBlue("YV12")
r2=r.SimpleResize(... , ...)
g2=g.SimpleResize(... , ...)
b2=b.SimpleResize(... , ...)
MergeRGB(r2,g2,b2)
SuperLumberjack
20th August 2016, 14:36
Yes, I noticed ;) Thansk for the confirmation :)
It's why I choose YV24 :p
Reel.Deel
20th August 2016, 15:08
Yes, I noticed ;) Thansk for the confirmation :)
It's why I choose YV24 :p
If you're source is RGB then you're better off sticking with RGB. Then again I'm not really sure what you're doing. I see you're resampling 3 times? Why no just once to your final resolution? There's also no good reason to be using SimpleResize :)
SuperLumberjack
20th August 2016, 15:43
I see you're resampling 3 times? Why no just once to your final resolution? There's also no good reason to be using SimpleResize :)
It's because, as you see, I'm a complicated person :D No, seriously, I know it's a bit complicated to understand, but I want to get a natural image.
I want that the result remembers me the era where I played Super Nintendo games on a CRT :) I'm just talking about the feeling. I don't want scanlines and others things like that :p
It's complicated to have an enhanced image and to preserve this old feeling proper to these old games. I search the good balance. I tried with just one step and many filters, but I don't get this special thing :(
If you're source is RGB then you're better off sticking with RGB. Then again I'm not really sure what you're doing.
I just convert to YV24 for the SimpleResize.
YV24 is equivalent to RGB24 no ? :)
But, yes, if I don't need to convert to YV24, I prefer to stay with RGB24 ;)
Reel.Deel
20th August 2016, 16:13
It's because, as you see, I'm a complicated person :D No, seriously, I know it's a bit complicated to understand, but I want to get a natural image.
I want that the result remembers me the era where I played Super Nintendo games on a CRT :) I'm just talking about the feeling. I don't want scanlines and others things like that :p
It's complicated to have an enhanced image and to preserve this old feeling proper to these old games. I search the good balance. I tried with just one step and many filters, but I don't get this special thing :(
I just don't see how resizing 3 times helps maintain a natural image. But hey, to each is own :)
I just convert to YV24 for the SimpleResize.
YV24 is equivalent to RGB24 no ? :)
But, yes, if I don't need to convert to YV24, I prefer to stay with RGB24 ;)
To an extent, both YV24 and RGB are not subsampled but YV24 is a different color space than RGB. To avoid these unnecessary color space conversions use the example in post #25.
SuperLumberjack
20th August 2016, 17:34
Yeah, I know that it's completely subjective ;)
I just try to find the good alchemy visually :p
I tried this, and its not so bad ! :)
http://image.noelshack.com/fichiers/2016/33/1471710710-dk3-avisynth-new-script.png
The original :
http://image.noelshack.com/fichiers/2016/33/1471688026-dk3-original-picture.png
AviSource()
ConvertToYV24()
Spline16Resize(1234, 1080)
## Last=YV24
YToUV(
\ UToY.SimpleResize(2816, 2160)
\ , VToY.SimpleResize(2816, 2160)
\ , Last.SimpleResize(2816, 2160)
\ )
ConvertToRGB24()
BicubicResize(b=0, c=0.5, 1408, 1080)
But it's in movement and full screen that we see really if it's natural or not.
For the conversion RGB24 to YV24, as I said, it's just for the filters that don't support RGB24 ;)
Reel.Deel
20th August 2016, 17:54
For the conversion RGB24 to YV24, as I said, it's just for the filters that don't support RGB24 ;)
I don't think you understand what I'm saying.
AviSource() # RGB source
Spline16Resize(1234, 1080)
r = ShowRed("YV12").SimpleResize(2816, 2160)
g = ShowGreen("YV12").SimpleResize(2816, 2160)
b = ShowBlue("YV12").SimpleResize(2816, 2160)
MergeRGB(r,g,b)
BicubicResize(b=0, c=0.5, 1408, 1080)
No color space conversion.
SuperLumberjack
20th August 2016, 18:08
I understand, but the reason of the conversion with SimpleResize is that with this
## Last=YV24
YToUV(
\ UToY.SimpleResize(w, h)
\ , VToY.SimpleResize(w, h)
\ , Last.SimpleResize(w, h)
\ )
I get better quality than this :
## Last=RGB24
MergeRGB(
\ ShowRed ("YV12").SimpleResize(w, h)
\ , ShowGreen("YV12").SimpleResize(w, h)
\ , ShowBlue ("YV12").SimpleResize(w, h)
\ )
You can try. It's more blurry with RGB ;) I don't know why. I thought maybe there is a conversion RGB24 to YV12 and YV12 to RGB24. So there is a loss of definition for the chroma. Isn't it that ?
Reel.Deel
20th August 2016, 18:24
You can try. It's more blurry with RGB ;) I don't know why. I thought maybe there is a conversion RGB24 to YV12 and YV12 to RGB24. So there is a loss of definition for the chroma. Isn't it that ?
No there is no RGB to YV12 conversion happening. I tried it with both methods and I do not see any visual difference. Although the suggested method is a bit more accurate since there's no RGB --> YUV --> RGB conversion. Anyways, Groucho2004 gave you solid advice (http://forum.doom9.org/showthread.php?p=1777336#post1777336) in another thread. Use AviSynth's internal resizers instead! There's no reason to be using SimpleResize(). Good luck :)
SuperLumberjack
20th August 2016, 20:16
Thanks ! ;)
But with the internal resizers only, I didn't get what I research.
It's in the movement that there is a big difference.
I'm doing a video that I will upload on YouTube to show you differents resultats of the scripts I already did the other days.
raffriff42
20th August 2016, 20:24
I want that the result remembers me the era where I played Super Nintendo games on a CRT :)
I'm just talking about the feeling. I don't want scanlines and others things like that :pWell I'm gonna suggest scanlines anyway, because AFAIK there is no filter for "feeling."
http://forum.doom9.org/showthread.php?t=170732
https://www.dropbox.com/s/52biuuwy64smlxg/SuperNES-crt_display-crop.jpg?raw=1
(cropped to save bandwidth because the image is not very compressible)
LoadPlugin(pathBase + "MaskTools2\tp7masktools\masktools2.dll")
Import(pathBase + "Dither\v1.27.1\dither.avsi")
Import(pathBase + "crt_display\crt_display.avsi")
ImageSource("SuperNES-originale-basse-definition.png", pixel_type="RGB32")
par = 8.0 / 7.0 ## Pixel Aspect Ratio
crt_display(4*par, 4, ppp=2*par, maskpp=2, blurh=1.1,
\ vcs=0.071, cromaclear=1, scandist=1.5, glowgain=0.5,
\ glowh=2, glowv=0.5, halgain=0.03, cutoff=0.9)
return Last
More on CRT artifacts:
http://bogost.com/games/a_television_simulator/
SuperLumberjack
20th August 2016, 20:33
Whaou ! It's strong ! :p
Thanks raffriff42 ;) Maybe I will try, juste for fun ! :)
SuperLumberjack
21st August 2016, 00:21
Here is a video to show you what are the sensations in movement :p :
https://youtu.be/-Q6fyxXDTJU
For each script, a different feeling ! ;)
But the purest feeling is with the original resolution. It's what I try to retrieve in HD.
SuperLumberjack
21st August 2016, 10:06
Do you like ? :p
What script ? One in particular ? All ? Nothing ? :D
StainlessS
21st August 2016, 13:17
SuperLumberjack, I'm not sure what you want either, no idea how you measure this 'feeling' thing.
But curious to know what does the below plugin 'feel' like ?
(~40KB)
http://www.mediafire.com/download/1d8383ginz38ek5/Rgb_Test_v0.0_dll_20160329.zip
Plug was hacked up some time ago (will be quite slow), to try and bring out some detail from a car number plate, (burglar driver),
dont bother with the r,g,b modification stuff, just resizing arg SZ.
Doc supplied in zip (zip incl source)
Rgb_Test(clip c, Int "SZ",float "Rr"=1.0,Float "Rg"=0.0,Float "Rb"=0.0,
\ float "Gr"=0.0,Float "Gg"=1.0,Float "Gb"=0.0,float "Br"=0.0,Float "Bg"=0.0,Float "Bb"=1.0)
Filter to both upsize clip and modify R,G,B, RGB24 ONLY, null audio.
Output frame is c.Width*SZ x c.Height*SZ pixels, RGB24.
Views source frame as a c.Width*SZ x c.Height*SZ frame of micropixels where each source pixel is SZxSZ micro pixels.
Each output pixel is result of summing SZxSZ source micropixels.
The R,G and B channels are modified via the other arguments,
eg red component comes from Int((rSum * Rr + gSum * Rg + bSum * Rb) / (SZ*SZ) + 0.5) # Range 0 -> 255.0 if Rr+Rg+Rb sum to 1.0)
The result pixel Red channel is then limited to range 0->255.
Same for the other channels.
Defaults:
SZ = 5, output clip 5x5 size of input clip. Range ODD ONLY, 1 -> 9. (1=No resize)
Rr = 1.0 Rg = 0.0 Rb = 0.0 Should sum to 1.0 (valid -3.0 to 3.0)
Gr = 0.0 Gg = 1.0 Gb = 0.0 Should sum to 1.0 (valid -3.0 to 3.0)
Br = 0.0 Bg = 0.0 Bb = 1.0 Should sum to 1.0 (valid -3.0 to 3.0)
Suggest something like RGB_Test(5) # or RGB_Test() as SZ=5 is default.
SuperLumberjack
21st August 2016, 13:48
Thanks ! ;)
But I didn't understand everything :o
Have you an exemple with an output resolution of 1408x1080 please ? :)
StainlessS
21st August 2016, 14:03
Just do something like
#ImageSource("1471688026-dk3-original-picture.png",end=0)
ImageSource("1471598760-dk3-image-originale-basse-definition.png",end=0)
RGB_test()
EDIT: Output would be 256*5=1280, * , 224*5=1120. (Not exactly what you want, but how does it feel this rez).
SuperLumberjack
21st August 2016, 14:11
In fact, I didn't understand how to do the entire script :D It's mysterious for me :p
StainlessS
21st August 2016, 14:30
As I said previously, the plugin was created to try to bring out detail on a car number plate, a Doom9 user had been robbed by a burglar,
but the user had captured footage of the burglar's vehicle.
The r,g,b stuff is irrelevant here, just ignore it. Only the SZ arg is of any use and multiplies the original size in odd number steps from
1 (no change) up to 9 where result would be 9*Original_Width x 9*Original_Height.
I only posted because the result of SZ=5, seemed to me, quite like what you were describing as 'feeling' good.
A further resize using point resize or whatever would be needed to convert to final requirement.
EDIT: Resize, and/or Addborders.
EDIT:
Below resizer, thick black lines mark original source pixels.
Thin (dotted) black lines mark the output pixels (where SZ=5).
The red square is an OUTPUT pixel, and is sum of the input micro pixels marked in purple (but then divided by SZ*SZ).
https://s20.postimg.org/ber0uouil/grid_zpscaoyn4xw.jpg (https://postimg.org/image/ngmeou3qx/)
EDIT: AVS script to create grid using Grid() by V.C Mohan (colored in by hand)
SZ=5
BlankClip(Width=256,height=256,color=$FFFFFF)
grid(Bold=SZ,vbold=1)
EDIT: Perhaps above is identical to BiLinearResize where output dimensions are exact ODD multiple of input dimensions.
I have never looked at any resize code before, so no idea if same (The original reason for doing as above was to
achieve the color mods simultaneous to resize and without any additional error due to rounding).
SuperLumberjack
21st August 2016, 16:16
As I said previously, the plugin was created to try to bring out detail on a car number plate, a Doom9 user had been robbed by a burglar,
but the user had captured footage of the burglar's vehicle.
The r,g,b stuff is irrelevant here, just ignore it. Only the SZ arg is of any use and multiplies the original size in odd number steps from
1 (no change) up to 9 where result would be 9*Original_Width x 9*Original_Height.
I only posted because the result of SZ=5, seemed to me, quite like what you were describing as 'feeling' good.
A further resize using point resize or whatever would be needed to convert to final requirement.
EDIT: Resize, and/or Addborders.
EDIT:
Below resizer, thick black lines mark original source pixels.
Thin (dotted) black lines mark the output pixels (where SZ=5).
The red square is an OUTPUT pixel, and is sum of the input micro pixels marked in purple (but then divided by SZ*SZ).
http://i1136.photobucket.com/albums/n494/StainlessStephen/grid_zpscaoyn4xw.jpg
EDIT: AVS script to create grid using Grid() by V.C Mohan (colored in by hand)
SZ=5
BlankClip(Width=256,height=256,color=$FFFFFF)
grid(Bold=SZ,vbold=1)
EDIT: Perhaps above is identical to BiLinearResize where output dimensions are exact ODD multiple of input dimensions.
I have never looked at any resize code before, so no idea if same (The original reason for doing as above was to
achieve the color mods simultaneous to resize and without any additional error due to rounding).
Thanks. I will try maybe ;)
The right way to judge an upscaler IMHO (not talking about Super NES or other pixel-art sources for the moment) is to take a good quality test source, downscale it (say from 1080p to 720p), re-upscale it, and compare to the original. That way you know what a "perfect" upscale should look like.
Here is a script that does that test by flipping between a selection of upscale filters (which you can change of course). I won't post my personal conclusions, because I don't expect to change anybody's mind. Judge for yourself. ## downscale/upscale test ...
## (add, remove or rewrite upscaler tests as you wish)
## current dependencies = MaskTools2, nnedi3, SimpleResize, AviSynthShader
## <view in frame jog mode only>
<Last=YV12>
O=Last
w=Width
h=Height
## downscale (emulate 1080b->720p or 720p->480p with typical bicubic)
BicubicResize(Round(0.667*w), Round(0.667*h))
## compare upscale methods:
return Interleave(
\ O.Subtitle("org", size=14, align=5)
\
\ , BicubicResize(w, h, b=0, c=0.5)
\ .Sharpen(0.8)
\ .Subtitle("Bicubic+Sharpen", size=14, align=5)
\
\ , Spline64Resize(w, h)
\ .Sharpen(0.8)
\ .Subtitle("Spline64Resize+Sharpen", size=14, align=5)
\
\ , SimpleResize(w, h)
\ .Sharpen(0.8)
\ .Subtitle("SimpleResize+Sharpen", size=14, align=5)
\
\ , nnedi3_rpow2(
\ 2, nns=4, qual=2, cshift="BicubicResize",
\ fwidth=w, fheight=h)
\ .Sharpen(0.8)
\ .Subtitle("nnedi3+Sharpen", size=14, align=5)
\
\ , SuperRes(Passes=2, Str=1.00, Soft=0.0,
\ Upscale="""nnedi3_rpow2(2, nns=4, cshift="BicubicResize", """
\ + "fwidth="+String(w)+", fheight="+String(h)+", Threads=2)",
\ PlanarOut=false)
\ .Sharpen(0.8)
\ .Subtitle("SuperRes+Sharpen", size=14, align=5)
\ )
Thanks ;) Yes, generally I do like that to compare with the upscale and the originale video. But here, it's more complicated because it's not a multiple of the original resolution and I must strech the image to change the aspect ratio :(So It doesn't match perfectly with the originale. But I try somme things :)
I'll be back later :p I must move a bit :D
raffriff42
21st August 2016, 17:27
Thanks ;) Yes, generally I do like that to compare with the upscale and the originale video. But here, it's more complicated because it's not a multiple of the original resolution and I must strech the image to change the aspect ratio :(So It doesn't match perfectly with the originale. But I try somme things :)You are right, my post did not apply to your case. Which is why I moved it to a different thread (http://forum.doom9.org/showthread.php?p=1777884#post1777884).
SuperLumberjack
21st August 2016, 18:41
But it's still a good advice ;)
SuperLumberjack
21st August 2016, 18:49
I tried the Grid StainlessS, but I just have a grid :D
I really don't understand how it works :p
Edit : I think I understand the role of this filter now :) I thought it was for an other thing. It's a good idea ;)
MysteryX
21st August 2016, 19:50
it's more complicated because it's not a multiple of the original resolution and I must strech the image to change the aspect ratio :(So It doesn't match perfectly with the originale.
I haven't read the whole conversation but that's not a problem. Upscale more and then downscale into the desired proportion.
SuperLumberjack
21st August 2016, 19:54
Hello.
Yes, it's what I usually do ;) But it's not pixel perfect. The depth of the image change a bit.
SuperLumberjack
21st August 2016, 23:25
I thought one thing when I saw this video (very interesting :) ) :
https://youtu.be/RAi8AVj9GV8
The feeling is associated to the technology of the era too.
The scanlines give to the image an illusion of more 3D and definition.
So my last scripts are more in this direction and I tried to get more relief, but without scanlines. I will upload a new video where we see the effect of the scanlines too :p
But I had to upsize the image 4X because I lost a lot with the colors after the convertion of RGB24 to YV12. In RGB24, we see better the benefit of scanlines in this lower resolution :
http://image.noelshack.com/fichiers/2016/34/1471818152-donkey-kong-country-3-scanlines.png
And I used the trick of the grid for the last script of my video. It's very useful ! ;)
SuperLumberjack
22nd August 2016, 01:24
I finished ti upload my new video :)
Here is the first :
https://youtu.be/-Q6fyxXDTJU
Here is the second :
https://youtu.be/Zex-66qtzOk
(see in 1080p full screen)
Can you tell me what image you prefer please ? ;)
But don't cheat, don't look the scripts in the description please ! :p
raffriff42
22nd August 2016, 02:49
I have no Super NES childhood feeling (it was before my time), so my opinion is worth nothing, BUT I like "Original with scanlines." It might get tiring to watch after a while though, maybe it should be softened? Second choice would be "Script 3." It seems a tiny bit sharper than the others, I'm not sure. I would like to see it sharper still.
I've got a little idea for a sharp, pixelated look, with very dim scanlines, plus a subtle bloom effect:
https://www.dropbox.com/s/pfz8709sz312r53/SuperNES-gauss-glow4-scan1-crop.jpg?raw=1
Screen shot, slightly out of date; too lazy to upload a new image.
EDIT complete script with no dependencies except MaskTools AFAIK
## requires: MaskTools2
ImageSource("...", pixel_type="RGB32")
#<source=RGB>
## upscale "point-wise" to half scale
## (Gauss p=100 is sharp like PointResize, but works at non-integer ratios)
GaussResize(1408/2, 1080/2, p=100)
## Rec601/Rec709 as required for correct colors
ConvertToYV12(matrix="Rec709")
## scanlines effect, set very weak, no flickering
scanlines2(2, 0.3, false)
## final upscale (p= 0 to 100 to set sharpness)
GaussResize(1408, 1080, p=100)
## subtle bloom effect
SoftBloom_B(radius=198, minlevels=219, min=174, max=185,
\ threshold=251, sat=0.64, cont=173, mul=0.76)
return Last
##################################
### scanlines effect
## http://forum.doom9.org/showthread.php?p=1719572#post1719572
##
function scanlines2(clip C, int "size", float "strength", bool "flicker")
{
size = Min(Max(1, Default(size, 2)), 4)
strength = Min(Max(0.0, Default(strength, 0.25)), 1.0)
flicker = Default(flicker, false)
C
A=mt_lutspa(
\ mode="absolute",
\ expr=mt_polish("(((y/(2*"+String(0.25*size)+"))%2)>0)?128+64:128-64"),
\ u=-128, v=-128
\ )
B = (flicker)
\ ? ScriptClip(A, """(current_frame % 2) > 0 ? Last : Last.FlipVertical""")
\ : A
return Overlay(B, opacity=0.25*strength, mode="luma")
}
##################################
## SoftBloom with constrained inputs and resizing
## original by MJLives12
## @ http://forum.doom9.org/showthread.php?p=1642381#post1642381
## modded raffriff42
## @ http://forum.doom9.org/showthread.php?p=1642453#post1642453
##
function SoftBloom_B(clip Last, int "radius", int "minlevels",
\ int "min", int "max", int "threshold", int "blur",
\ float "sat", int "cont", float "mul") {
## (limits are set based on guesswork; please adjust if needed)
radius = Min(Max(2, Default (radius, 2)), Width / 2)
edges = (width / radius) + ((width / radius) % 2) #bigger radius smaller effect
threshold = Min(Max(16, Round (Default (threshold, 250) * 219 / 255.0) + 16), 255)
minlevels = Min(Max(-255, Default (minlevels, 0)), threshold-1)
min = Min(Max(threshold+1, Default (min, 254)), 254)
max = Min(Max(min+1, Default (max, min+1)), 255)
blur = Min(Max(0, Default (blur, 1)), 100)
sat = Min(Max(0.0, Default (sat, 0.5)), 4.0)
cont = Min(Max(16, Default (cont, 127)), 255)
mul = Min(Max(0.0, Float(Default (mul, 0.25))), 4.0)
old_wid = Width
old_hgt = height
new_wid = width / edges
new_hgt = height / edges
new_wid = Min(Max(64, new_wid), old_wid / 2)
new_hgt = Min(Max(64, new_hgt), old_hgt / 2)
new_wid = new_wid + new_wid % 2
new_hgt = new_hgt + new_hgt % 2
Mask = ConvertToRGB32().RGBLevelsG(min, 1.0, max, 0, 255)
\ .Levels(minlevels, 0.1, threshold, 0, 255, false)
\ .ConvertToYV12()
\ .GaussResize(new_wid, new_hgt, p = blur)
\ .BilinearResize(old_wid, old_hgt)
\ .Tweak(sat = sat)
\ .Levels(0, 1.0, cont, 0, 255, false)
White = BlankClip(Mask).Invert("Y")
MT_Merge(MT_lutxy(Mask
\ ,uexpr = " y 128 < x y * 128 /"
\ ,vexpr = " y 128 < x y * 128 /", U = 3, V = 3), White, luma = true
\ ,Merge(Tweak(cont = 0, sat = 0), Mask, mul))
}
##################################
### Levels in RGB mode
## http://forum.doom9.org/showthread.php?p=1642622#post1642622
## @ StainlessS
##
function RGBlevelsG(clip clp,
\ int "input_low", float "gamma", int "input_high",
\ int "output_low", int "output_high", bool "show_function")
{
input_low = Default(input_low, 0)
gamma = Default(gamma, 1.0)
input_high = Default(input_high, 255)
output_low = Default(output_low, 0)
output_high = Default(output_high, 255)
show_function = Default(show_function, false)
wicked = (gamma > 1.0)
\ ? "x " +string(input_low)+ " - " +string(input_high)+
\ " " +string(input_low)+ " - / 1 " +string(gamma)+
\ " / ^ " +string(output_high)+ " " +string(output_low)+
\ " - * " +string(output_low)+ " + x * x 255 x - * + 255 /"
\ : "x " +string(input_low)+ " - " +string(input_high)+
\ " " +string(input_low)+ " - / 1 " +string(gamma)+
\ " / ^ " +string(output_high)+ " " +string(output_low)+
\ " - * " +string(output_low)+ " + 255 x - * x x * + 255 /"
return (show_function) ? clp.subtitle(wicked)
\ : clp.UUmt_rgblut(wicked, wicked, wicked)
}
#######################################
### RGBLUT for MaskTools v.2
## http://forum.doom9.org/showthread.php?p=1677914#post1677914
##
function UUmt_rgblut(clip C,
\ string Rexpr, string Gexpr, string Bexpr,
\ bool "showargs")
{
Assert(C.IsRGB, "UUmt_rgblut: source must be RGB")
showargs = Default(showargs, false)
## v = R, y = G, u = B
Cy = YToUV(C.ShowBlue("YV12"), C.ShowRed("YV12"), C.ShowGreen("YV12"))
Zy = Cy.mt_lut(yexpr=Gexpr, uexpr=Bexpr, vexpr=Rexpr, U=3, V=3)
## R = v, G = y, B = u
Z = MergeRGB(Zy.VToY, Zy.ConvertToY8, Zy.UToY,
\ pixel_type=(C.IsRGB32)?"RGB32":"RGB24")
return (showargs==false) ? Z
\ : Z.Subtitle("Rexpr = "+SplitLines(Rexpr, 80), lsp=0, align=7)
\ .Subtitle("Gexpr = "+SplitLines(Gexpr, 80), lsp=0, align=4)
\ .Subtitle("Bexpr = "+SplitLines(Bexpr, 80), lsp=0, align=1)
}
#### end main script - the following required only for UUmt_rgblut above if showargs=true
##################################
##
function StrReplace(string base, string findstr, string repstr)
{
pos = FindStr(base, findstr)
return (StrLen(findstr)==0) || (pos==0)
\ ? base
\ : StrReplace(
\ LeftStr(base, pos-1) + repstr +
\ MidStr(base, pos+StrLen(findstr)),
\ findstr, repstr)
}
##################################
## Split long lines for Subtitle line wrap;
## tries to split on word boundaries
## with a /very/ basic algorithm.
##
## Example: Subtitle(SplitLines(longstring, 80), lsp=0)
## (remember to add the /lsp/ argument)
##
## @ lastcol - maximum line length before breaking (default 80)
## @ cc - line count, for internal use; leave it alone
##
## On return, global variable /splitlines_count/
## is set to the number of lines in the string
## this will be needed if you want to bottom-align.
## (splitlines_count==1 means one line & no breaks)
##
## Suggest caller remove line breaks from source argument with:
## StrReplace(Chr(10), "")
## StrReplace(Chr(13), " ")
##
function SplitLines(string s, int "lastcol", int "cc")
{
lastcol = Default(lastcol, 80)
cc = Default(cc, 1)
global splitlines_count = cc
## dumb split: no word breaks
#return (StrLen(s)<lastcol) ? s :
#\ TrimLeft(LeftStr(s, lastcol)) + "\n"
#\ + SplitLines(MidStr(s, lastcol+1), lastcol, counter+1)
## a little smarter
p = FindStr(RevStr(LeftStr(s, lastcol)), " ")
return (StrLen(s)<lastcol)
\ ? TrimLeft(s)
\ : (p < 12)
\ ? TrimLeft(LeftStr(s, lastcol-p)) + "\n" +
\ SplitLines(MidStr(s, lastcol-p+1), lastcol, cc+1)
\ : TrimLeft(LeftStr(s, lastcol)) + "\n" +
\ SplitLines(MidStr(s, lastcol+1), lastcol, cc+1)
}
##################################
## SplitLines helper: trim spaces from left side of string
##
function TrimLeft(string s) {
# return (LeftStr(s, 1)==" ") ? TrimLeft(MidStr(s, 2)) : s
return Ord(s)==9 ? TrimLeft(MidStr(s, 2))
\ : Ord(s)==10 ? TrimLeft(MidStr(s, 2))
\ : Ord(s)==12 ? TrimLeft(MidStr(s, 2))
\ : Ord(s)==32 ? TrimLeft(MidStr(s, 2))
\ : Ord(s)==160 ? TrimLeft(MidStr(s, 2))
\ : s
}
SuperLumberjack
22nd August 2016, 10:06
Thanks ! ;) It looks very interesting :p
But I didn't find where I must download the DLL for SoftBloom :scared: And scanlines2, is it the same that scanlines ? I didn't found it either.
Here is an extract of the original video for tests :) :
https://mega.nz/#!ihcE0D6b!t7Qz0UZeBwbc6gTMgRo1ZdZspwLMMee75p-36A0iP2U
Thanks for your opinion too.
raffriff42
22nd August 2016, 14:00
Sorry for the confusion Super, I've edited my post to include all dependencies.
SuperLumberjack
22nd August 2016, 14:23
Thanks raffriff42 ! ;)
But it seems very complicated for me :p I must try this when I have more time.
StainlessS
22nd August 2016, 16:59
But it seems very complicated for me :p I must try this when I have more time.
What is complicated ???, RaffRiff42 already gave full script,
all you have to do is make sure Masktools v2 is in your autoload plugins directory,
change below '...'
ImageSource("...", pixel_type="RGB32")
to you image file, or eg
AviSource("SuperLumberjack.AVI").ConvertToRGB32()
and run the script.
Perhaps RaffRiff needs a bigger spoon :)
SuperLumberjack
22nd August 2016, 18:26
Ok. Thanks :p
Yes, I didn't understand why there were URLs in this script. So I wondered what I must take in this script, because it' very big :D
The look is very interesting :
http://image.noelshack.com/fichiers/2016/34/1471886444-dk3-new-look.png
I really like this :) The feeling is nice ! But I can't use it because it's too different with the colors, a bit washed-out. But sentimentally, I like.
Thanks again raffriff42 ! ;) You do interesting things.
Edit : Maybe I will just try to change the bightness-contrast, because I really love this. It's incredible !
SuperLumberjack
22nd August 2016, 18:43
I tried with the internal filter "Brightness & Contrast" in VirtualDub, with brightness on "-12.5", and it's really impressive : :p
http://image.noelshack.com/fichiers/2016/34/1471887673-dk3-new-look-brightness-changed.png
I love the effect ! :)
SuperLumberjack
22nd August 2016, 19:20
I just tried the Sony Vegas upscaling with 2 filters, but I'm not convinced.
https://youtu.be/uR7E_mSdovU
Now, I will just choose a script et puis voilą ! :D
raffriff42
22nd August 2016, 19:24
I love the effect ! :)Agree, it looks nice! Hope it looks as good in a video!
The SoftBloom_B parameters are very un-intuitive - I used a "randomizer" script (from this post (The SoftBloom_B parameters are very un-intuitive - I used a "randomizer" script (at the link) and copied the parameters from a resulting image that looked good to me.)) and copied the parameters from a resulting image that looked good to me.
SuperLumberjack
22nd August 2016, 20:18
In a video it looks nice too ! :)
I don't know how you did this big script, because it very complicated :eek:
I keep this for later, if I want to do a video with this effect and play with nostalgia ;)
But now, I mainly must upgrade my video to modern displays :p But I love it !
SuperLumberjack
25th August 2016, 17:58
Hello :)
I noticed that the real Higan (the perfect emulator) resolution is "585x448", not "584x448".
The problem comes from Fraps. When I took screenshots, their resolution were 584x448.
So my scripts are wrong ! :D
But I corrected it in the description of my videos ;) :
https://www.youtube.com/playlist?list=PLL_S06Mn5k4mRZ1a50jW3G7DVYqx9NhoT
But I choose my finale script now ! :p
AviSource()
Spline16Resize(1410, 1234)
BicubicResize(1410, 1080)
nnedi3_rpow2(rfactor=2, nsize=0, nns=4, qual=1, etype=0, pscrn=2, threads=0, opt=0, fapprox=0)
BicubicResize(b=0, c=0.5, 1410, 1080)
I didn't do a video, but maybe I will.
SuperLumberjack
26th August 2016, 01:49
The video :) :
https://youtu.be/LrPqtcoJkRg
thecoreyburton
27th August 2016, 04:04
The video looks good, SuperLumberJack. I'm glad you've solved a lot of your filter problems!
When it comes to game footage, I tend to do three separate encodes and put them all the same MKV video as different selectable streams. This way, I can view the same game in several different ways. I also remove duplicate frames and whatnot, but in this case I'll just elaborate on the resizing:
XBR is good for simple games, such as Super Mario World. It retains a lot of the clarity and smooths a lot of the the round edges without making the image too blurry. It works significantly better than HQX in terms of having a higher resolution, and still functioning in the pre-rendered Donkey Kong Country games. The downside is that still images in those games appear a little watered out, but upon playback the motion looks a little better than before. It's just a shame there's no scale=8.
xBRZ(scale=6)
This is your traditional nearest-neighbor resize. Assuming the output's gonna be YUV, it's nice to keep an even number (I prefer multiples of four) as the resize value, to avoid any chroma bleeding. This gives a pixel-accurate look to how the emulator displays the game and it's a good option if all the other resizing methods don't meet your needs.
PointResize(last.width*8,last.height*8)
If you're looking for the an old TV look, then this is what you'd likely go for. It's very customizable and listed below are simply my own settings. The time it takes is extensive, but I've found the final product to be more than worth it. In addition to simply resizing and filtering spatially, the colors are tweaked by the filter slightly to give a more natural look:
AspectRatio=8/7
ScaleFactor=8
CRT_Display(ScaleFactor*AspectRatio, ScaleFactor, ppp=(ScaleFactor/2)*AspectRatio, blurh=1.0, maskpp=2.5, phosphor=true, scandist=3, cutoff=0.8, glowgain=1, glowh=8, glowv=0, halgain=0.03, sharpv=0.5,gamma=2.2)
ConvertToYV12()
Tweak(Sat=1.15)
I know I didn't answer your question directly regarding the resizer you wanted, but I'm hoping that if ever you're having trouble deciding what to do this can help a bit. You can easily chuck your final script in the mix and make another encode and compare them. As frustrating as getting the right filter can be, it can open the door to a lot of new things. MKV is a very versatile container and is not limited to a single video stream, so you can always double up if there are two you like. The problem with emulators is that they are giving you a much more clear, digital output than the original console. You're going to have to make a sacrifice one way or another and it just depends on what you're comfortable with. If you're happy with what you've chosen, remember it's all subjective and what's best for you is what's best.
Happy encoding!
Edit: I just noticed you mentioned you're using Fraps for capturing. Whilst FRAPS is a great piece of software I use frequently, try BizHawk from TASVideos. It has the bsnes/higan core build into it for SNES emulation so you won't be compromising and it has a built-in AVI dumping feature- you just tell it to save an AVI, choose a (preferably lossless) codec, and it does! You don't have to worry about cropping or timing or missing certain frames.
SuperLumberjack
27th August 2016, 11:18
Hello :):thanks:
Yes, multiple video streams in a MKV is a good idea :p But it's for YouTube or Dailymotion, so I can't :(
But I use MKV format generally ;)
Fraps, it was only to capture the image from Higan (and other games but in HD, but sometimes I use Dxtory too). But for my videos of Super Nes video games, I use only the Snes9x emulator. I can directly record video in the native resolution of the game :)
SuperLumberjack
27th August 2016, 17:32
Hello again :p
At the beginning, I tried to use Jinc filter in a AVS script. But I encountered some problems :(
I like Jinc upscaling in madVR with anti-ringing filter :)
Here is the low resolution image :
http://image.noelshack.com/fichiers/2016/34/1472314156-low-definition-picture.png
Here is the image with Media Player Classic and madVR :
http://image.noelshack.com/fichiers/2016/34/1472313736-jinc-upscaling-with-ar-filter-in-media-player-classic.png
The aspect ratio is not corrected (output 1410x1080), but the picture is beautiful, very natural ! :o
madVR settings :
http://image.noelshack.com/fichiers/2016/34/1472313790-jinc-in-madvr-settings.png
I tried with the Jinc filter here :
http://avisynth.nl/index.php/JincResize
But the AR filter isn't implemented yet and there are some bugs.
The picture with Jinc36Resize in a resolution of 1410x1080 :
http://image.noelshack.com/fichiers/2016/34/1472313845-jinc36-upscaling-without-ar-filter-in-an-avs-script.png
As you see, there are some strange vertical lines.
And some double countours :
http://image.noelshack.com/fichiers/2016/34/1472314080-jinc36-in-avs-script-double-contours.png
(It's the same with Lanczos, Spline36 and superior, Blackman, etc.)
The only way to remove these lines and the double countours is to begin with a Bicubic or Spline16 filter :
AviSource()
ConvertToYV24()
BicubicResize(512, 448)
Jinc36Resize(1410, 1080)
http://image.noelshack.com/fichiers/2016/34/1472313922-bicubic-jinc36-in-an-avs-script.png
But we lost the benefit of the Jinc filter.
And there is one last problem :D
The picture is a bit distored with the Jinc filter :
http://image.noelshack.com/fichiers/2016/34/1472314116-distortion-of-the-picture-with-jinc36-in-an-avs-script.png
Left :
AviSource()
ConvertToYV24()
BicubicResize(705, 540)
Jinc36Resize(1410, 1080)
Right :
AviSource()
ConvertToYV24()
BicubicResize(705, 540)
AddBorders(4, 4, 3, 4)
Jinc36Resize(1424, 1096)
Crop(8, 8, -6, -8)
The filter adds a weird lign of pixel on the bottom and the right (I added borders to see it better). The only way to prevent this, is to add borders before using the Jinc filter, and to crop them after.
So, is there a way to use well the Jinc filter, like in Media Player Classic and madVR ? :p
How can I erase the double countours ?
Thanks for your answer ;)
I found my final script, but this is interesting me :)
raffriff42
27th August 2016, 18:44
The video :) :
https://youtu.be/LrPqtcoJkRgIt looks great. Stop fiddling with it :)
SuperLumberjack
27th August 2016, 22:09
OK. Thanks raffriff42 ! :p
It's what I needed to hear ! :)
bxyhxyh
7th September 2016, 14:11
Hello, you seem to got your desired result?
You want crt feeling but you don't want strong scanlines or something right?
For me, this one looks good.
w=1410 h=1080
norm=Spline16Resize(w,h).nnedi3_rpow2(rfactor=2,nns=4).BicubicResize(w,h,0,0.5).ConvertToYV24(matrix="Rec709")
crt_display(3,3,gainb=1.2,gamma=2.0)
spline36resize(w,h).ConvertToYV24(matrix="Rec709")
crt_str=1.0
expr="x " + string(crt_str) + " * y + " + string(crt_str+1) + " /"
mt_lutxy(last,norm,expr,u=3,v=3)
I haven't played with crt_display settings much, because crt_display(3,3,gainb=1.2,gamma=2.0) this one works just ok to me on Genesis and SNES games.
norm part was in your youtube description, but I just removed one bicubicresize from resize chain.
Since these games are made in crt era and made for crt tvs, these gameplay captures need crt effects if you want "original" feeling.
It's just my opinion though.
SuperLumberjack
7th September 2016, 15:42
Thanks ! It's very beautiful ! :)
But I keep this for the next time, because I already did my video ;)
SuperLumberjack
2nd April 2018, 03:27
Hello everybody :)
I didn't come here for a long time ! :p If I'm here, it's because yesterday, I was surprised by something, a UHD Blu-Ray review of the movie "Dark Crystal" !
What I found extraordinary was that we can at last recover something organic, vibrant, alive... whereas it's a pure digital picture !
It's a familiar feeling that we lost somewhere with the end of the analogic support like the VHS.
See these picture and tell me if you understand what I mean ;)
Old picture (Blu-Ray 2009) :
http://res.cloudinary.com/hd-numerique/image/upload/v1507270622/dossiers/photos/696-04-brd-850.jpg
New picture (UHD Blu-Ray 2018 - 4k remaster) :
http://res.cloudinary.com/hd-numerique/image/upload/v1507270622/dossiers/photos/696-04-hdr-850.jpg
Old picture :
http://res.cloudinary.com/hd-numerique/image/upload/v1507270622/dossiers/photos/696-01-brd-850.jpg
New picture :
http://res.cloudinary.com/hd-numerique/image/upload/v1507270622/dossiers/photos/696-01-hdr-850.jpg
Old picture :
http://res.cloudinary.com/hd-numerique/image/upload/v1507270622/dossiers/photos/696-05-brd-850.jpg
New picture :
http://res.cloudinary.com/hd-numerique/image/upload/v1507270622/dossiers/photos/696-05-hdr-850.jpg
(source : http://www.hdnumerique.com/dossiers/696-test-4k-ultra-hd-blu-ray-dark-crystal-master-4k.html)
See the textures (and the colors of course) ! It's not only a simple image anymore, it's organic, it's alive ! I love this feeling ! ^_^
I thought that I will never feel this anymore with our modern display... but I was wrong ! :p
And so I understood one thing ! This feeling doesn't exclusively depend on the fact that before we used old CRT display and now we use modern display like LCD or OLED. No ! It depends on how the picture is too ! :rolleyes:
It's strange ! Because today I discover too a video game called "You Have to Win the Game".
It's a game with a retro-style ! And in this game, we can emulate a CRT display or play in a modern style ! :)
I find that the emulated CRT effect is very great as you can see :
https://media.joomeo.com/medium/5ac1840dc56a4.jpg (https://media.joomeo.com/large/5ac1840dc56a4.jpg)
original : https://media.joomeo.com/original/5ac1840dc56a4.png
But we lost the impression of immersion, that the things are alive without this effect :
https://media.joomeo.com/medium/5ac18523eed6d.jpg (https://media.joomeo.com/large/5ac18523eed6d.jpg)
https://media.joomeo.com/original/5ac18523eed6d.png
But as I you could see above with the UHD Blu-Ray of Dark Crystal, it's possible to have something alive with a digital picture ! ;)
So I tried to test with a avisynth script, if I could get something more immersive, more alive ! :p
I already tried before, but I never thought it was possible !
But I get this :
https://media.joomeo.com/medium/5ac1854d5c17e.jpg (https://media.joomeo.com/large/5ac1854d5c17e.jpg)
I know, it's very subtl ! :D
But if we look closer, we can almost think that it's moving, there is a kind of consciousness ! Or maybe I'm just crazy ah ah ! :p
(sorry for my bad English)
SuperLumberjack
2nd April 2018, 03:33
Other pictures :
https://media.joomeo.com/medium/5ac18bb1101cc.jpg (https://public.joomeo.com/files/5ac18bb1101cc)
https://media.joomeo.com/original/5ac18bb1101cc.png
https://media.joomeo.com/medium/5ac18bf5154fc.jpg (https://media.joomeo.com/large/5ac18bf5154fc.jpg)
https://media.joomeo.com/original/5ac18bf5154fc.png
It's not evident with theses pictures ! Maybe more with these others :
https://media.joomeo.com/large/5ac189d59c688.jpg
https://media.joomeo.com/original/5ac189d59c688.png
https://media.joomeo.com/medium/5ac18a2598953.jpg (https://media.joomeo.com/large/5ac18a2598953.jpg)
https://media.joomeo.com/original/5ac18a2598953.png
Here is the script for this last picture :
AviSource()
BicubicResize(5640, 4320)
Blur(0.2, -1.0)
Blur(0.01, 0.1)
Spline16Resize(2820, 2160)
As you can see, I added a light blur to get more depth in the image and hide some distracting details.
This next picture comes from my previous script :
https://media.joomeo.com/medium/5ac18dba39e0c.jpg (https://media.joomeo.com/large/5ac18dba39e0c.jpg)
https://media.joomeo.com/original/5ac18dba39e0c.png
My previous script (maybe it changed just a bit :D ) :
AviSource()
Spline16Resize(1170, 896)
nnedi3_rpow2(rfactor=2, nsize=0, nns=4, qual=1, etype=0, pscrn=2, threads=0, opt=0, fapprox=0)
BicubicResize(2820, 2160)
As you can see, it looks sharper ! But I don't know if you think like me, there are more insignificant and distracting details that get us out from the picture ! :)
Other pictures :
https://media.joomeo.com/large/5ac190b9bbe3a.jpg
https://media.joomeo.com/original/5ac190b9bbe3a.png
With the new script :
https://media.joomeo.com/medium/5ac19187cb497.jpg (https://media.joomeo.com/large/5ac19187cb497.jpg)
https://media.joomeo.com/original/5ac19187cb497.png
The picture must have a 8/7 aspect ratio instead of 4/3, so the script is :
AviSource()
BicubicResize(4936, 4320)
Blur(0.2, -1.0)
Blur(0.01, 0.1)
Spline16Resize(2468, 2160)
It's almost like a cartoon ! :) The picture becomes less important I think here, but the action is more highlighted.
And with the old script :
https://media.joomeo.com/medium/5ac19211b4c0e.jpg (https://media.joomeo.com/large/5ac19211b4c0e.jpg)
https://media.joomeo.com/original/5ac19211b4c0e.png
AviSource()
Spline16Resize(1024, 896)
nnedi3_rpow2(rfactor=2, nsize=0, nns=4, qual=1, etype=0, pscrn=2, threads=0, opt=0, fapprox=0)
BicubicResize(2468, 2160)
What do you think about all of that ? Am I just a bit crazy ? :D Maybe ! :p
cork_OS
2nd April 2018, 16:17
Since it's already 2018, madVR has NGU AA/Standart/Sharp, adding grain and SuperRes for upscaling.
SuperLumberjack
2nd April 2018, 18:08
Hello :)
Thanks for you answer ! But I already use madVR with MPC to read movies.
But here, I want to encode movies :p It's for some records done with "snes9x". I want to upscale them for YouTube ;)
SuperLumberjack
2nd April 2018, 18:25
What do you think about this new script ? (I knowed it won't be the last :p)
https://media.joomeo.com/medium/5ac2645b1cf7b.jpg (https://media.joomeo.com/large/5ac2645b1cf7b.jpg)
https://media.joomeo.com/original/5ac2645b1cf7b.png
AviSource()
BicubicResize(256, 448)
Spline16Resize(2820, 4320)
Blur(0, 0.1)
+ "deinterlace (internal)" filter in VirtualDub and "Discard fields"
https://media.joomeo.com/medium/5ac26518179f4.jpg (https://media.joomeo.com/large/5ac26518179f4.jpg)
https://media.joomeo.com/original/5ac26518179f4.png
AviSource()
BicubicResize(256, 448)
Spline16Resize(2468, 4320)
Blur(0, 0.1)
+ "deinterlace (internal)" filter in VirtualDub and "Discard fields"
By the way, do you know with what script I could discard fields like the deinterlace filter in VirtualDub ? :)
It's not to deinterlace of course !
But these pictures made me thinking :
https://cdn-enterprise.discourse.org/gamekult_forum/forum/uploads/default/original/3X/d/c/dc42e39555dd8416c6a4f1b9a63338862990eb11.png
https://cdn-enterprise.discourse.org/gamekult_forum/forum/uploads/default/original/3X/1/2/12a75443647b8e8bf141d99b417cf5cdebd4d260.png
(source : https://www.gamekult.com/forum/t/le-topic-des-scanlines-crt-whores-welcome/343154)
I wanted to do a trick, to create something like a scanlines effect, but without the scanlines :D
With the scanlines, we have like a illusion of uper resolution whereas it doesn't change. So I tried to double the vertical resolution with the Bicubic resizer and at the end, delete the half of the vertical resolution, as if there were scanlines.
It's outlandish, but I tried some things ! :p In any case, it's based on subjectivity...
`Orum
3rd April 2018, 01:49
For truly interlaced sources (i.e. not telecined sources), there's always nnedi3() (http://avisynth.nl/index.php/Nnedi3). Of course if you're throwing away a field anyway to do some scanline effect, you don't need to deinterlace at all. Though, that depends on the effect, and I know if I were to attempt a scanline filter I would try and make use of any additional vertical information I could. (EDIT: Maybe you could do it with just a single black field and bleed the other field into it? It would probably work best with at least a 3x resize though.)
There are several scanline filters out there for emulators, and if they're not already ported to AviSyth it probably wouldn't be to hard to. I've never looked as I'm not a huge fan of the effect.
I also agree that most/all of the filters in PointSize won't help you, as these are sort of in that awkward middle ground of detail between "very low" (e.g. [S]NES / Genesis era) and "high enough"(e.g. PS3) for general resizers (Spline, Lanczos, Bicubic, etc.).
SuperLumberjack
3rd April 2018, 21:54
Thanks for all these informations ;)
But I already tried the nnedi3 and it's not so good with the straight lignes I found :(
But now, I think I got my last script... at last ! :D
This video was my inspiration :p
https://www.youtube.com/watch?v=mBBaEODh5EA
I don't want scanlines, because I want something adapted to the modern display, but I tried to recreate a kind of illusion like the scanlines did... because it's a trick I think ! :)
The scanlines, that we can call empty lines or empty informations, are strangly a part of the entire informations which are composing the whole image. We can see this here :
https://cdn-enterprise.discourse.org/gamekult_forum/forum/uploads/default/original/3X/6/8/6848b70ebe228c875ae09613fbf0580e392f9369.png
Without the scanlines, it's like if some informations were missing.
It's why I tried to recreate the same logic, but without the scanlines. It's like a doubled vertical resolution, but with void. It's here, but not here ! :D
So at first I doubled the vertical resolution and finished with the good resolution. Doubled resolution but not ! Same logic :D
What do you think about this ? :)
https://media.joomeo.com/medium/5ac555ef9668e.jpg (https://media.joomeo.com/large/5ac555ef9668e.jpg)
https://media.joomeo.com/original/5ac555ef9668e.png
AviSource()
Spline16Resize(2820, 4320)
PointResize(2820, 2160)
https://media.joomeo.com/medium/5ac5563362add.jpg (https://media.joomeo.com/large/5ac5563362add.jpg)
https://media.joomeo.com/original/5ac5563362add.png
AviSource()
Spline16Resize(2468, 4320)
PointResize(2468, 2160)
It's so simple ! But I'm a complicated man ! :D
`Orum
5th April 2018, 16:52
Doesn't look bad, but it's definitely not the same effect as the scan lines. You might have piqued my curiosity enough to get me to write a scan line filter at some point, but it's not a priority right now.
Also, to make things look "right" on a scan line filter, I suspect you're going to need to at least double the resolution in each spatial dimension, if not more. I'll also need some high res photos of a CRT, but I think I still have one of those lying around that I can snap some pics of. Finally, for modern LCD displays, you'll probably need something with small pixel pitch (not too hard now with smallish 4k monitors) and might need to watch it at 1:1 (i.e. no scaling) to get it to look right. That said, I think it's doable.
SuperLumberjack
5th April 2018, 21:27
Hello
Thanks for your answer ! ;) This is interesting ! :)
But if I don't want scanlines, it's to not have to watch it at 1:1, because as you know, it can create problems :p
And everybody who is watching on YouTube doesn't understand this kind of subtleties and doesn't want to watch the videos in fullscreen :(
In addition, I just understood the limits of all this. I tought a lot about this and I think it's impossible to well reproduce the picture of an old video game with a CRT display. The problem is that we must alter the video file to emulate the picture on a CRT. But I want to keep the file as clean as possible.
I juste wanted to reproduce a look-like depth, something immersive, but with a picture adapted to the modern displays. But if you want to do scripts with something like scanlines, I would be very interested to see your job ;)
But finally, I got my last script ! :D
https://media.joomeo.com/medium/5ac7fb9e69916.jpg (https://media.joomeo.com/large/5ac7fb9e69916.jpg)
https://media.joomeo.com/original/5ac7fb9e69916.png
AviSource()
Spline16Resize(1170, 896)
BicubicResize(5640, 4320)
BicubicResize(2820, 2160)
https://media.joomeo.com/medium/5ac7fc4e94f64.jpg (https://media.joomeo.com/large/5ac7fc4e94f64.jpg)
https://media.joomeo.com/original/5ac7fc4e94f64.png
AviSource()
Spline16Resize(1024, 896)
BicubicResize(4936, 4320)
BicubicResize(2468, 2160)
I don't think I can do better, because it's totally subjective, it's a question of alchemy for me ! But it's a circle without end, a quest for a perfection that we can't achieve ! So, I will stop (maybe) ! But it was a very good therapy for me in fact ! :D
(sorry for my bad English)
qyot27
6th April 2018, 04:35
There is a Scanlines filter, but it's pretty old: http://avisynth.nl/index.php/Scanlines
There were also a couple threads which discuss similar methods:
https://forum.doom9.org/showthread.php?t=156658
https://forum.doom9.org/showthread.php?t=170970 (Dot matrix effect, which I *think* might be what you're talking about here?)
The biggest drawback is that it doesn't support* the huge amount of new pixel formats introduced in AviSynth+ (which would be important for high bit depth with HDR, since you're talking about UHD here; the planar RGB formats would probably be useful for game captures too). Having Scanlines updated for that would be nice. Oddly enough, it actually does seem to work with YV24 input, even though it's a 2.5.8 plugin and was last updated in 2003.
*it's not that it rejects them outright, but some of them have a decidedly wrong hue or brightness on output - Planar RGB turns a pinkish color, 10-bit 4:4:4 was a lot darker than either 8-bit or 16-bit 4:4:4, and I'm sure there are lots of other examples if I tried testing them all.
(I could have been really unhelpful and said, "just buy a Super Nt and hook it into a capture card", but that'd be mean.)
SuperLumberjack
6th April 2018, 11:12
(Dot matrix effect, which I *think* might be what you're talking about here?)
No, because as I said, I want a clean image adapted to the modern display :p I try to rethink the old feeling, but without scanlines in the output video, and without a CRT display to watch it ;)
The biggest drawback is that it doesn't support* the huge amount of new pixel formats introduced in AviSynth+ (which would be important for high bit depth with HDR, since you're talking about UHD here; the planar RGB formats would probably be useful for game captures too). Having Scanlines updated for that would be nice. Oddly enough, it actually does seem to work with YV24 input, even though it's a 2.5.8 plugin and was last updated in 2003.
The UHD Blu-Ray, it was just an example to compare and to show that with a digital image, we can have an analog and argentic feeling :)
In comparison, the old 1080p Blu-Ray looks more digital and artificial I think ;)
*it's not that it rejects them outright, but some of them have a decidedly wrong hue or brightness on output - Planar RGB turns a pinkish color, 10-bit 4:4:4 was a lot darker than either 8-bit or 16-bit 4:4:4, and I'm sure there are lots of other examples if I tried testing them all.
Yes, that's right. We lost a lot of brightness with scanlines. It's why I don't want it too :p
In fact, my goal is just to have a feeling which can remember us the feeling of our childhood, but without all the old things :D
It's complicated, because this feeling was rely on the old display too, but there always was a trick with the original scanlines, a kind of illusion for the eyes and the brain, because the developers of these old games took into account the display of the game on the old TV for the drawing of the sprites.
It's why I tought that there is maybe another way to create this kind of trick, but without the need of the scanlines. It's just a matter of perception ! :)
SuperLumberjack
7th April 2018, 00:17
I just wanted to show you a video of my last script with 2 games, one with a (almost) 4:3 aspect ratio and the other with a 8:7 AR :)
https://youtu.be/Q9khxebvc7k
For the AR it depends of the games.
I just want to say that I played very bad with Donkey Kong Country 3 :o But it was just to record quickly a short clip to test my scripts :p With Mr. Nutz, I don't play. It's a demo in the game.
Not very interesting informations, I know... ! :D
Here is the script I used until now :
https://youtu.be/LrPqtcoJkRg
What do you prefer ?
SuperLumberjack
8th April 2018, 01:21
I did a new video with 3 versions of my last script ;) :
- One that looks more like a "modern progressive image" and is the smoothest.
- One that reminds more the "old CRT feeling" but without the scanlines. Strangly, I find that the scanlines added more relief with the old Super Nintendo games (the signal was progressive with a resolution of 256x224 in low resolution mode) that on a modern display. But it was just a illusion, because as you know, the scanlines are black :D So the resolution is the same with and without scanlines.
So I got an idea to imitate this illusion, just in reducing the horizontal resolution with the "nearest neighbor filter" (PointResize), because it's almost like doubling the vertical resolution by the same lines of pixels, but without sacrificing the information brought by the upscaled resolution and especially the one from the vertical resolution.
It's like a reverse logic of the illusion of the scanlines :p Personnally, I find it's not bad ! :) It really remember me the image, the speed and so the feeling of the original Super Nes video games on a CRT display. But it less smooth than with the 1st script above and a bit less defined because of the half horizontal resolution, but the illusion suggests the contrary to the brain. For an old feeling, I find it's good ! :)
- One that is something in between the old and the modern style, because I used the Nnedi3 filter which is like "`Orum" said, adapted to a interlaced source, even if in this case, the signal is progressive. But the scanlines of the old CRT display with a progressive signal remember me the same feeling than a interlaced signal on a modern display. So for me, it's between these both old and modern feeling ;)
The video : https://youtu.be/MJMgWhRPXEE
Script for modern display style (4:3 AR) :
AviSource()
Spline16Resize(1170, 896)
BicubicResize(5640, 4320)
BicubicResize(2820, 2160)
https://media.joomeo.com/medium/5acaa3a5ca9af.jpg (https://media.joomeo.com/large/5acaa3a5ca9af.jpg)
https://media.joomeo.com/original/5acaa3a5ca9af.png
Script for modern display style (8:7 AR) :
AviSource()
Spline16Resize(1024, 896)
BicubicResize(4936, 4320)
BicubicResize(2468, 2160)
https://media.joomeo.com/medium/5acaa2e86be09.jpg (https://media.joomeo.com/large/5acaa2e86be09.jpg)
https://media.joomeo.com/original/5acaa2e86be09.png
-----------------
Script for old display style (4:3 AR) :
AviSource()
Spline16Resize(1170, 896)
BicubicResize(5640, 4320)
PointResize(2820, 4320)
BicubicResize(2820, 2160)
https://media.joomeo.com/medium/5acaa40670849.jpg (https://media.joomeo.com/large/5acaa40670849.jpg)
https://media.joomeo.com/original/5acaa40670849.png
Script for old display style (8:7 AR) :
AviSource()
Spline16Resize(1024, 896)
BicubicResize(4936, 4320)
PointResize(2468, 4320)
BicubicResize(2468, 2160)
https://media.joomeo.com/medium/5acaa33cbe876.jpg (https://media.joomeo.com/large/5acaa33cbe876.jpg)
https://media.joomeo.com/original/5acaa33cbe876.png
-----------------
Script for between old & modern style (4:3 AR) :
AviSource()
Spline16Resize(1170, 896)
BicubicResize(2820, 2160)
nnedi3_rpow2(rfactor=2, nsize=0, nns=4, qual=1, etype=0, pscrn=2, threads=0, opt=0, fapprox=0)
BicubicResize(2820, 2160)
https://media.joomeo.com/medium/5acaa4750335c.jpg (https://media.joomeo.com/large/5acaa4750335c.jpg)
https://media.joomeo.com/original/5acaa4750335c.png
Script for between old & modern style (8:7 AR) :
AviSource()
Spline16Resize(1024, 896)
BicubicResize(2468, 2160)
nnedi3_rpow2(rfactor=2, nsize=0, nns=4, qual=1, etype=0, pscrn=2, threads=0, opt=0, fapprox=0)
BicubicResize(2468, 2160)
https://media.joomeo.com/medium/5acaa36f55bf7.jpg (https://media.joomeo.com/large/5acaa36f55bf7.jpg)
https://media.joomeo.com/original/5acaa36f55bf7.png
What do you think about this ? What image do you prefer ? :o
Thanks for your opinion ! :p
SuperLumberjack
9th April 2018, 23:20
I did another version of the "Old display style" script :p (we will call it "Old display style 2")
It's very similar to the version 1, but I find the relief is a bit different. It's hard to see with static images, but more easy in movement with a video.
Judge by yourself ! ;)
Script for old display style 1 (4:3 AR) :
AviSource()
Spline16Resize(1170, 896)
BicubicResize(5640, 4320)
PointResize(2820, 4320)
BicubicResize(2820, 2160)
https://media.joomeo.com/medium/5acaa996b0182.jpg (https://media.joomeo.com/large/5acaa996b0182.jpg)
https://media.joomeo.com/original/5acaa996b0182.png
Script for old display style 2 (4:3 AR) :
AviSource()
Spline16Resize(1170, 896)
BicubicResize(1410, 4320)
BicubicResize(2820, 2160)
Note : For this script, it works only with the 2160p resolution, because we lost the particular relief with lower resolution contrary to the other.
https://media.joomeo.com/medium/5acbe66b173ef.jpg (https://media.joomeo.com/large/5acbe66b173ef.jpg)
https://media.joomeo.com/original/5acbe66b173ef.png
And here a video to see how it looks like in movement : https://youtu.be/ckJXsOxjpKo
SuperLumberjack
9th April 2018, 23:39
I want to give you a little formula for the differents scripts I did (except the "Old display style 2"), if someone wants to use it with a different resolution than the 2160p :)
Exemple with the script for "modern display style (4:3 AR)" :
With the 2160p resolution :
AviSource()
Spline16Resize(1170, 896)
BicubicResize(5640, 4320)
BicubicResize(2820, 2160)
But if we want 720p, we will put this :
AviSource()
Spline16Resize(1170, 896)
BicubicResize(1880, 1440)
BicubicResize(940, 720)
So, the general formula is :p :
AviSource()
Spline16Resize(Source HorRes X4 adapted to 4:3 AR, Source VertRes X4)
BicubicResize(Output HorRes X2, Output VertRes X2)
BicubicResize(Output HorRes, Output VertRes)
It's the same logic for the others. I try to repect the proportionality with the output resolution ;)
But all of this, it's juste for the people who are interested... :D
SuperLumberjack
11th April 2018, 02:04
I did a new script, but without a doubt my last now ! Promised ! :D
For me, there are 2 winners : the "Modern display style" script and this new script that I will call "New style" :p
I don't know if one of them is better, because I love both ! :)
So, here is my old script and my new ;) :
Script for modern display style (4:3 AR) :
AviSource()
Spline16Resize(1170, 896)
BicubicResize(5640, 4320)
BicubicResize(2820, 2160)
https://media.joomeo.com/medium/5acd5adf0cdc8.jpg (https://media.joomeo.com/large/5acd5adf0cdc8.jpg)
https://media.joomeo.com/original/5acd5adf0cdc8.png
Script for new style (4:3 AR) :
AviSource()
Spline16Resize(1024, 4320)
BicubicResize(2820, 2160)
https://media.joomeo.com/medium/5acd5b6c7b75c.jpg (https://media.joomeo.com/large/5acd5b6c7b75c.jpg)
https://media.joomeo.com/original/5acd5b6c7b75c.png
I dit a super video to see how it is in movement :cool: : https://youtu.be/DrRHVDjbyiY
And another video "Modern display style vs New style" :o : https://youtu.be/BgBqAPgUKnE
To do much more simple, here is the playlist of all my videos about script :p : https://youtu.be/-Q6fyxXDTJU?list=PLL_S06Mn5k4mRZ1a50jW3G7DVYqx9NhoT
https://youtu.be/BgBqAPgUKnE
Here is the general formula for different resolution :) :
AviSource()
Spline16Resize(Source HorRes X4 adapted to 4:3 AR, Source VertRes X4)
BicubicResize(Output HorRes X2, 1080p VertRes X4)
BicubicResize(Output HorRes, Output VertRes)
SuperLumberjack
12th April 2018, 00:24
Hello bothers :p
I think I found my ultimate script ! :rolleyes: It's why I called it "Booya style" :cool: :D
It's very close of what I wanted :)
These 3 videos helped me to find what I want :
https://youtu.be/X3egFl03LVc
https://youtu.be/YXW6OOGxC-k
https://youtu.be/51iwiDlcQKk
Script for Booya style (4:3 AR) :
AviSource()
Spline16Resize(1024, 1792)
BicubicResize(5640, 4320)
BicubicResize(2820, 2160)
PointResize(5640, 2160)
BicubicResize(2820, 2160)
Note : To aim a different resolution, 720p for example, juste change the last line (but keep the same AR), like this :
BicubicResize(940, 720)
Original picture
https://media.joomeo.com/original/5ace9518da51f.png
Upscaled picture
https://media.joomeo.com/medium/5ace957dce854.jpg (https://media.joomeo.com/large/5ace957dce854.jpg)
https://media.joomeo.com/original/5ace957dce854.png
Script for Booya style (8:7 AR) :
AviSource()
Spline16Resize(1024, 1792)
BicubicResize(4936, 4320)
BicubicResize(2468, 2160)
PointResize(4936, 2160)
BicubicResize(2468, 2160)
Original picture
https://media.joomeo.com/original/5ace963616058.png
Upscaled picture
https://media.joomeo.com/medium/5ace96601c5cb.jpg (https://media.joomeo.com/large/5ace96601c5cb.jpg)
https://media.joomeo.com/original/5ace96601c5cb.png
And here, the last video that I did, to compare the "Modern display style", the "New style" and the "Booya style" :p :
https://youtu.be/YKADxthNPbo
OK... my job is finished ! :D Goodbye ! :p
tormento
12th April 2018, 07:04
OK... my job is finished ! :D Goodbye ! :p
May I suggest you (and anybody of course) to use LensDump (https://lensdump.com) for images with thumbnails? :o
SuperLumberjack
12th April 2018, 11:11
Why ? :p
I use Joomeo, and I find it's fine ! ;) But it's true that it's not the ideal with big images on this forum :scared:
It shoud be an option to resize the shared pictures on this forum :(
Personnally, I change the zoom to see them with Firefox.
lansing
13th April 2018, 07:49
I really don't see any difference between any of them
SuperLumberjack
13th April 2018, 12:05
Hello :)
There is one thing that I would like to enhance. As you can see on the zoomed image of my "Booya style" upscaling (:D), there is still a kind of ringing around some objects (letters, etc.).
https://media.joomeo.com/large/5ad08bdd809a6.jpg
https://media.joomeo.com/original/5ad08bdd809a6.png
But with Media Player Classic and MadVR for example, we can remove this ringing effect.
Here is the original video (resolution of 256x224) upscaled to a resolution of 1234x1080 with MadVR (the chroma too) and the Jinc resizer, but without anti-ringing filter :
https://media.joomeo.com/large/5ad08c0657899.jpg
https://media.joomeo.com/original/5ad08c0657899.png
As you can see, there is ringing too.
But here, it's with the anti-ringing filter :
https://media.joomeo.com/large/5ad08c21358af.jpg
https://media.joomeo.com/original/5ad08c21358af.png
As you can see, it's cleaner ! :o
So, do you think I could get the same thing with a AviSynth script and a filter like this anti-ringing ?
Thanks for your help ! ;)
SuperLumberjack
13th April 2018, 12:06
I really don't see any difference between any of them
With the static images, it's complicated, that's true ! :scared:
But with the videos, it's more evident ! ;)
tormento
13th April 2018, 12:08
Why ? :p
Cause it supports PNG and bbcode thumbnails. There is no need to post here full size images when you can post thumbnails.
You can use whatever img hosting you like but please keep threads readable. :)
Such as (PhotoZoom Pro edited):
https://i.lensdump.com/i/8BO0T1.th.png (https://lensdump.com/i/8BO0T1)
SuperLumberjack
13th April 2018, 16:46
Better now ? :p
I can post thumbnails too, but the only problem is that to see the full picture in PNG, we have to download it :scared:
It's why each time I put the link to the original picture. The thumbnails will redirect to compressed images in a horizontal resolution of 1920 pxls. I would prefer a vertical resolution of 1080 pxls, it's more logic... or the possibility to display the original picture, but otherwise Joomeo is very complete for a free image hosting, and French ! :)
lansing
13th April 2018, 19:30
With the static images, it's complicated, that's true ! :scared:
But with the videos, it's more evident ! ;)
My comment is based off of your video comparison and I didn't see it.
There's nothing complicated about it because it was expected. Your source is 256 x 224, there's nothing can a high end resizer do for you anyway.
SuperLumberjack
13th April 2018, 20:35
However, we can see differences in movements. It's a question of feeling too. Sometimes it's more smooth, sometimes more heavy, more old 2D games sensations, etc. ;)
I don't know how I can explain it, but it's not only a matter of picture.
The Spline resizer and the Bicubic resizer don't give the same sensation in movements for example. So, different orders and combinations don't give the same results. I'm looking for a balance between a good picture and a good feeling !
It's hard, because it's a bit subjective, I know ! :p
lansing
13th April 2018, 22:46
However, we can see differences in movements. It's a question of feeling too. Sometimes it's more smooth, sometimes more heavy, more old 2D games sensations, etc. ;)
I don't know how I can explain it, but it's not only a matter of picture.
The Spline resizer and the Bicubic resizer don't give the same sensation in movements for example. So, different orders and combinations don't give the same results. I'm looking for a balance between a good picture and a good feeling !
It's hard, because it's a bit subjective, I know ! :p
You're seeing invincible things.
SuperLumberjack
14th April 2018, 01:36
No, I agree that it's sometimes hard to see differences on the static images, even with a 400% zoom.
But I keep saying that there are differences in movement. Observe the background and the other plans, the character, the sensations...
It's always different if you can see ! :p
lansing
14th April 2018, 03:13
If you see difference in movement in the comparison, there must be a bug with your resizers, or your pc may be too slow to play the videos.
SuperLumberjack
14th April 2018, 10:09
Or a bug with me... ;) :D
SuperLumberjack
14th April 2018, 14:50
And here, can you see the differences ? :)
Don't tell me that you can't see them please ! :p
See how the background moves, the sensation of weight of the characters and objets, the fluidity...
I know it looks identical with static pictures. I admit that it's hard to see. But there are subtle differences that make the sensation different too.
It's not only a question of "how it looks", but "how it moves" ! ;)
You will only see it if you watch the videos in fullscreen and with 1080p or 4k resolution.
Here is a new video, with a new script :D : https://youtu.be/PrrUjauNGto
I called the new script "Ultimate style - Clean version" :p It's a comparison between "Booya style" and "Ultimate style" !
[Edit : I did a new version of the script, with a more "old" look. It's interesting, because it's modern, but reminds the old sensations I find. But I kept the "Clean version", so I have a pure modern look or a mix modern/old... still without the scanlines or grids :D ]
Script for booya style with 8:7 aspect ratio :
AviSource()
Spline16Resize(1024, 1792)
BicubicResize(4936, 4320)
BicubicResize(2468, 2160)
PointResize(4936, 2160)
BicubicResize(2468, 2160)
Script for ultimate style clean version with 8:7 aspect ratio :
AviSource()
Spline16Resize(2560, 1920)
BicubicResize(4936, 4320)
BicubicResize(2468, 2160)
Note : I first upscaled in a resolution of 2560x1920 with Spline16 because it's a multiple of 320x240, and the output resolution of the Super Nintendo was 240p. I find the relief of the image is more correct like this.
https://media.joomeo.com/medium/5ad3dc5ce628e.jpg (https://media.joomeo.com/large/5ad3dc5ce628e.jpg)
https://media.joomeo.com/original/5ad3dc5ce628e.png
Script for booya style with 4:3 aspect ratio :
AviSource()
Spline16Resize(1024, 1792)
BicubicResize(5640, 4320)
BicubicResize(2820, 2160)
PointResize(5640, 2160)
BicubicResize(2820, 2160)
Script for ultimate style clean version with 4:3 aspect ratio :
AviSource()
Spline16Resize(2560, 1920)
BicubicResize(5640, 4320)
BicubicResize(2820, 2160)
https://media.joomeo.com/medium/5ad3dcb96b9aa.jpg (https://media.joomeo.com/large/5ad3dcb96b9aa.jpg)
https://media.joomeo.com/original/5ad3dcb96b9aa.png
What do you think ? :scared:
SuperLumberjack
14th April 2018, 16:25
Somebody knows how to remove the ringing like MadVR do with Media Player Classic please ? :)
I talked about it on the previous page.
Atak_Snajpera
14th April 2018, 19:04
Retro games look much better with CRT emulation enabled. Your upscalled images look weird and unnatural. Games didn't look like this in old days.
I definitely prefer this over your weird upscalling routine.
https://www.youtube.com/watch?v=B8Jea_k5DI4
SuperLumberjack
14th April 2018, 19:55
Yes I know, but the videos with scanlines can be problematic if not watched in full screen, you know ! :(
It's not for nothing that I try to find something in between, a subtitute :p
But I have to do lots of experimentations... :D
You know what ? I will share the original videos. So you will be able to test, if you want ;)
It's interesting me, because I'm not a big boss with AviSynth :o
SuperLumberjack
14th April 2018, 20:39
I think it's not so bad with my last script (even if I know that it's hard to see differences with static images, but I persist to say that I can see them with movement in videos) :)
https://media.joomeo.com/medium/5ad3dedddbcce.jpg (https://media.joomeo.com/large/5ad3dedddbcce.jpg)
https://media.joomeo.com/original/5ad3dedddbcce.png
Video to compare : https://www.youtube.com/watch?v=51iwiDlcQKk
https://media.joomeo.com/medium/5ad3df1c6069e.jpg (https://media.joomeo.com/large/5ad3df1c6069e.jpg)
https://media.joomeo.com/original/5ad3df1c6069e.png
Video to compare : https://www.youtube.com/watch?v=YXW6OOGxC-k
But it will never be like in the old days, it's clear !
SuperLumberjack
14th April 2018, 21:32
Here are the video, if you want to test ;) :
https://mega.nz/#!K5FRlJhb!pKqQ06WOnZVI5gLnSzpLj5Ix2aa36yGiozQuikkk77A
For the Donkey Kong Country games, the output resolution must be 1410x1080 or 2820x2160, and for Mr. Nutz and Super Mario World it must be 1234x1080 or 2468x2160.
SuperLumberjack
15th April 2018, 01:01
The difference between the renderer on a CRT and a LCD is quite impressive :) :
https://www.youtube.com/watch?v=6Iwq-blhOtE
Hard to reproduce I think...
Atak_Snajpera
15th April 2018, 17:28
Yes I know, but the videos with scanlines can be problematic if not watched in full screen, you know ! :(
It's not for nothing that I try to find something in between, a subtitute :p
But I have to do lots of experimentations... :D
You know what ? I will share the original videos. So you will be able to test, if you want ;)
It's interesting me, because I'm not a big boss with AviSynth :o
Instead of simple scan lines you should use crt grid
http://nix.moderatelyimpressive.com/shaders/ULUS10251_00000.png
This looks very convincing to me
https://youtu.be/xrpm8o17cHE?t=16m11s
raffriff42
15th April 2018, 18:14
Instead of simple scan lines you should use crt grid
[...]
This looks very convincing to me
https://youtu.be/xrpm8o17cHE?t=16m11s
Very interesting!
This is a shader effect BTW - maybe @MysteryX can help in getting them to work in AviSynth Shader (http://forum.doom9.org/showthread.php?t=172698).
Shader source: https://github.com/libretro/slang-shaders/tree/master/crt
magiblot
15th April 2018, 20:19
I made some research on this a few days ago and found the same picture as Atak_Snajpera.
Appearently the source is this one: http://forums.ppsspp.org/showthread.php?tid=6594&pid=109617#pid109617 (I guess what raffriff found was the source of the shader used in the video, instead)
The author offers the fragment shader code, but it is designed to work with the PPSSPP emulator (which I have never used). We really need MysteryX's help here.
It's not just the CRT grid, but also the bowing effect that makes me doubt wether this is an actual screen or not:
http://nix.moderatelyimpressive.com/shaders/ULUS10062_00000.png
poisondeathray
15th April 2018, 21:12
Personally, I like the look and style of the last few posts more
For producing the barrel image distortion, you can use DH's defish plugin
SuperLumberjack
15th April 2018, 21:15
This is very joli ! :)
But maybe a little too many grids ! If it's a CRT that is simulated here, it's very impressive, but I have the sensation to have the nose glued to the screen... :D Sorry ! :p
SuperLumberjack
16th April 2018, 06:36
Somebody knows for the anti-ringing please ? :p
Somebody knows how to remove the ringing like MadVR do with Media Player Classic please ? :)
I talked about it on the previous page.
https://media.joomeo.com/large/5ad08bdd809a6.jpg
https://media.joomeo.com/original/5ad08bdd809a6.png
Without the anti-ringing filter in MadVR :
https://media.joomeo.com/large/5ad08c0657899.jpg
https://media.joomeo.com/original/5ad08c0657899.png
With the anti-ringing filter in MadVR :
https://media.joomeo.com/large/5ad08c21358af.jpg
https://media.joomeo.com/original/5ad08c21358af.png
raffriff42
16th April 2018, 23:58
I have two humble suggestions. Forgive me if either one has been mentioned before in this thread.
One is PointSize to smooth the jaggies and create the partial illusion of higher resolution.
http://forum.doom9.org/showthread.php?t=154674
http://en.wikipedia.org/wiki/Pixel_art_scaling_algorithms
http://avisynth.nl/index.php/PointSize
PointSize only scales by integer factors such as 2x, 3x, 4x.
The other is GaussResize to perform the final resize and aspect ratio correction. GaussResize does not ring at all; no de-ringing is needed.
http://avisynth.nl/index.php/Resize#GaussResize
LoadPlugin("<path>\PointSize_x64.dll")
## (source RGB32)
LQx(4) ## retains some jaggies (best for 'digital' look)
#xBRZ(2) ## softer gradients (best for 'smooth' look)
ConvertToYV12(matrix="Rec709")
## (other filters here -- try QTGMC for example)
GaussResize(1408, 1080, p=70)
https://www.dropbox.com/s/c92e9srof78zhbc/PointSize-test-LQx4.jpg?raw=1
(LQx)
https://www.dropbox.com/s/7zlhfbaiy4s11yl/PointSize-test-brz4.jpg?raw=1
(xBRZ)
SuperLumberjack
17th April 2018, 01:35
Very interesting raffriff42 ! Thanks ! ;)
But a light "Oil painting" effect... Sorry, but I'm not totally convinced :p But however, it's interesting ! :)
Apart from that, I did an alternative version of my "Ultimate script" :D I called it "New vintage version" :p
This video of comparison between a CRT display and a LCD display inspired me : https://www.youtube.com/watch?v=6Iwq-blhOtE
My impression was that with the CRT display, the picture has almost a HD look with low resolution material (a Super Nintendo game in this case) compared to the LCD display which is showing big pixels, even if in reality, it's the LCD which is HD :o
I found that we have approximately the sensation of a vertical resolution 4 times bigger !
So I tried to do a trick :rolleyes:
I remind you that I choose to begin with a upscaling of the resolution 320x240, so I rose up to 2560x7680 and reduce the horizontal resolution to 1280 with PointResize.
It's like a vertical resolution approximately 4X more defined.
To create this script, I used this video of Donkey Kong Country played on a CRT display as a model : https://www.youtube.com/watch?v=3GtsHXgB4lM
And this too : https://www.youtube.com/watch?v=X3egFl03LVc
To have a similar image without scanlines or grids, I find it's not so bad :) :
https://media.joomeo.com/medium/5ad67461ab76f.jpg (https://media.joomeo.com/large/5ad67461ab76f.jpg)
https://media.joomeo.com/original/5ad67461ab76f.png
https://media.joomeo.com/medium/5ad6749b24a9b.jpg (https://media.joomeo.com/large/5ad6749b24a9b.jpg)
https://media.joomeo.com/original/5ad6749b24a9b.png
Anyway, it has always been a kind of trick or illusion ! So, I tried to do the same to get relief !
Here is my script :
Script for ultimate style new vintage version with 8:7 aspect ratio :
AviSource()
Spline16Resize(2560, 7680)
PointResize(1280, 7680)
BicubicResize(2468, 2160)
https://media.joomeo.com/medium/5ad671ef5d28f.jpg (https://media.joomeo.com/large/5ad671ef5d28f.jpg)
https://media.joomeo.com/original/5ad671ef5d28f.png
Script for ultimate style new vintage version with 4:3 aspect ratio :
AviSource()
Spline16Resize(2560, 7680)
PointResize(1280, 7680)
BicubicResize(2820, 2160)
https://media.joomeo.com/medium/5ad6724d0a1f6.jpg (https://media.joomeo.com/large/5ad6724d0a1f6.jpg)
https://media.joomeo.com/original/5ad6724d0a1f6.png
I will do a video soon, because it's hard to see the differences with screenshots ! ;)
MysteryX
17th April 2018, 17:45
Very interesting!
This is a shader effect BTW - maybe @MysteryX can help in getting them to work in AviSynth Shader (http://forum.doom9.org/showthread.php?t=172698).
Shader source: https://github.com/libretro/slang-shaders/tree/master/crt
slangp? Looks like a shader language for Vulkan drivers. What I wrote works with old DirectX 9 with pixel shaders version PS_3; Vulkan driver stuff didn't exist back then, so it's completely different technology.
raffriff42
17th April 2018, 21:18
it's completely different technology.Oh, too bad -- thanks for letting us know though.
SuperLumberjack
17th April 2018, 23:37
Here is a new video I did to compare my script "Ultimate style - Clean version" with "Ultimate style - New vintage version" :p :
https://youtu.be/uVmmpPIkKPY
lansing
18th April 2018, 02:46
Oh gosh, please just simply number your test scripts, no one cares about what they call.
For the ringing problem, you'll need to go with some higher end resizer like nnedi3.
And it's pretty clear now that adding a shader on top gives the best visual effect for these retro games. As the main problems with these low resolution images are the pixelated diagonal lines and the lack of texture when upscaled, so you can't blur them because that will turn them into ugly color blocks. The vertical and gird shader looks like the answer here, as they both added fake details to "smooth" out the diagonal lines and added fake "textures" into the color blocks.
raffriff42
18th April 2018, 04:51
The vertical and gird shader looks like the answer here, as they both added fake details to "smooth" out the diagonal lines and added fake "textures" into the color blocks.Very clear description of why the shader effect looks good!
Which gives me an idea! Suppose we emulate the shader by
smoothly sizing to 1/4 or 1/2 of the final size, then pixel sizing the rest of the way (to retain some jagginess);
de-registering the RGB colors slightly (to imitate the phosphor arrangement); and
superimposing a black grid pattern?
I already have a grid pattern generator function, made years ago (part of an attempt to recreate NTSC dot crawl artifacts (http://forum.doom9.org/showthread.php?t=170433)). The grids are not exactly like the shader grids, but they might be close "enough."
https://www.dropbox.com/s/ydp9qxjrsz1ocl4/PointSize-test-brz2%2Bdots-x4.gif?raw=1
https://www.dropbox.com/s/wosmwpr5ep72vlz/PointSize-test-brz2%2Bdots.jpg?raw=1
LoadPlugin("<path>\PointSize_x64.dll")
## (source RGB32)
xBRZ(2)
Org = Last
Org
GaussResize(1408, 1080, p=70)
ConvertToYV24
gridmask_square(2)
ConvertToRGB32
Trim(0, length=1)
Loop(Org.FrameCount)
Dots = Last
Org
GaussResize(1408/4, 1080/4, p=70)
PointResize(1408, 1080)
ShiftRedBlue(rx = -2, bx = +2)
Overlay(Dots, mode="darken", opacity=0.25)
Levels(0, 1.0, 255-64, 0, 255, coring=false)
ConvertToYV12(matrix="Rec709")
return Last
# https://forum.doom9.org/showthread.php?p=1803247#post1803247
##################################
### shift and/or resize Red and Blue relative to Green
##
## @ rx, ry, bx, by - "shift" red & blue position
## @ rxd, ryd, bxd, byd - "delta" width & height
##
function ShiftRedBlue(clip C,
\ float "rx", float "ry",
\ float "bx", float "by",
\ float "rxd", float "ryd",
\ float "bxd", float "byd")
{
Assert(C.IsRGB,
\ "ShiftRedBlue: source must be RGB")
rx = Float(Default(rx, 0))
ry = Float(Default(ry, 0))
bx = Float(Default(bx, 0))
by = Float(Default(by, 0))
rxd = Float(Default(rxd, 0))
ryd = Float(Default(ryd, 0))
bxd = Float(Default(bxd, 0))
byd = Float(Default(byd, 0))
C
return (C.IsRGB24)
\ ? MergeRGB(
\ ShowRed.Spline64Resize(Width, Height, -rx, -ry, Width-rxd, Height-ryd)
\ , ShowGreen
\ , ShowBlue.Spline64Resize(Width, Height, -bx, -by, Width-bxd, Height-byd)
\ )
\ : MergeARGB(
\ ShowAlpha
\ , ShowRed.Spline64Resize(Width, Height, -rx, -ry, Width-rxd, Height-ryd)
\ , ShowGreen
\ , ShowBlue.Spline64Resize(Width, Height, -bx, -by, Width-bxd, Height-byd)
\ )
}
## http://forum.doom9.org/showthread.php?t=170433
#######################################
### create a fixed pattern of dots.
function gridmask_square(clip C, int size)
{
C
return mt_logic(
\ mt_lutspa(mode="absolute", chroma="-128",
\ expr="x "+String(size)+" / pi * cos 108 * 126 + "),
\ mt_lutspa(mode="absolute", chroma="-128",
\ expr="y "+String(size)+" / pi * cos 108 * 126 + "),
\ "andn")
}
SuperLumberjack
18th April 2018, 11:50
Oh gosh, please just simply number your test scripts, no one cares about what they call.
For the ringing problem, you'll need to go with some higher end resizer like nnedi3.
And it's pretty clear now that adding a shader on top gives the best visual effect for these retro games. As the main problems with these low resolution images are the pixelated diagonal lines and the lack of texture when upscaled, so you can't blur them because that will turn them into ugly color blocks. The vertical and gird shader looks like the answer here, as they both added fake details to "smooth" out the diagonal lines and added fake "textures" into the color blocks.
Oh gosh, please be nice and maybe a little more fun ! :D It's not more complicated with names than with numbers, because it follows a logic order. Besides, I think it's easier to recognize a script with a name ;)
But thanks for the advice of the nnedi3 ! :)
But I already used it, and it's not really an anti-ringing filter like MadVR uses :( The other problem is to begin a script with nnedi3. I never begin a script with this filter because the straight lines become distored. But it's true that it's good to clean the image ;)
Otherwise, I just want to remind that I don't want scanlines or grids. Il will tell you why. It's because in the old times, even if we have these kinds of picture with the CRT display, it was always when we were close to the screen, but never at a certain distance. And personnally, I never glued my nose to the screen :D
So I think, this passion for the scanlines and grids are a bit too exagerated. To a certain distance, the old CRT displays delivered a normal and clean picture I think. I never had the souvenirs of having seen scanlines at this time.
But you can post your experimentations here. It's always interesting and I think it's the good subject for this :p Long live diversity ! :)
Very clear description of why the shader effect looks good!
Which gives me an idea! Suppose we emulate the shader by
smoothly sizing to 1/4 or 1/2 of the final size, then pixel sizing the rest of the way (to retain some jagginess);
de-registering the RGB colors slightly (to imitate the phosphor arrangement); and
superimposing a black grid pattern?
I already have a grid pattern generator function, made years ago (part of an attempt to recreate NTSC dot crawl artifacts (http://forum.doom9.org/showthread.php?t=170433)). The grids are not exactly like the shader grids, but they might be close "enough."
https://www.dropbox.com/s/ydp9qxjrsz1ocl4/PointSize-test-brz2%2Bdots-x4.gif?raw=1
https://www.dropbox.com/s/wosmwpr5ep72vlz/PointSize-test-brz2%2Bdots.jpg?raw=1
LoadPlugin("<path>\PointSize_x64.dll")
## (source RGB32)
xBRZ(2)
Org = Last
Org
GaussResize(1408, 1080, p=70)
ConvertToYV24
gridmask_square(2)
ConvertToRGB32
Trim(0, length=1)
Loop(Org.FrameCount)
Dots = Last
Org
GaussResize(1408/4, 1080/4, p=70)
PointResize(1408, 1080)
ShiftRedBlue(rx = -2, bx = +2)
Overlay(Dots, mode="darken", opacity=0.25)
Levels(0, 1.0, 255-64, 0, 255, coring=false)
ConvertToYV12(matrix="Rec709")
return Last
# https://forum.doom9.org/showthread.php?p=1803247#post1803247
##################################
### shift and/or resize Red and Blue relative to Green
##
## @ rx, ry, bx, by - "shift" red & blue position
## @ rxd, ryd, bxd, byd - "delta" width & height
##
function ShiftRedBlue(clip C,
\ float "rx", float "ry",
\ float "bx", float "by",
\ float "rxd", float "ryd",
\ float "bxd", float "byd")
{
Assert(C.IsRGB,
\ "ShiftRedBlue: source must be RGB")
rx = Float(Default(rx, 0))
ry = Float(Default(ry, 0))
bx = Float(Default(bx, 0))
by = Float(Default(by, 0))
rxd = Float(Default(rxd, 0))
ryd = Float(Default(ryd, 0))
bxd = Float(Default(bxd, 0))
byd = Float(Default(byd, 0))
C
return (C.IsRGB24)
\ ? MergeRGB(
\ ShowRed.Spline64Resize(Width, Height, -rx, -ry, Width-rxd, Height-ryd)
\ , ShowGreen
\ , ShowBlue.Spline64Resize(Width, Height, -bx, -by, Width-bxd, Height-byd)
\ )
\ : MergeARGB(
\ ShowAlpha
\ , ShowRed.Spline64Resize(Width, Height, -rx, -ry, Width-rxd, Height-ryd)
\ , ShowGreen
\ , ShowBlue.Spline64Resize(Width, Height, -bx, -by, Width-bxd, Height-byd)
\ )
}
## http://forum.doom9.org/showthread.php?t=170433
#######################################
### create a fixed pattern of dots.
function gridmask_square(clip C, int size)
{
C
return mt_logic(
\ mt_lutspa(mode="absolute", chroma="-128",
\ expr="x "+String(size)+" / pi * cos 108 * 126 + "),
\ mt_lutspa(mode="absolute", chroma="-128",
\ expr="y "+String(size)+" / pi * cos 108 * 126 + "),
\ "andn")
}
Thanks to share your ideas and your experimentations ! It's always very (very very) interesting and enriching ! :)
But as I said to lansing, I don't want scanlines or grids, but I love to see the knowledge you share ;)
Let's say that my idea is rather to rethink the original picture, imitate a kind of old feeling, but keep a maximum quality.
It's like a remastering the idea ! :p
raffriff42
18th April 2018, 12:14
I'm just posting ideas that interest me. You can use them, or not use them, or take parts of them and leave other parts out! It's your video! :)
SuperLumberjack
18th April 2018, 12:34
I'm just posting ideas that interest me. You can use them, or not use them, or take parts of them and leave other parts out! It's your video!
Yes, I have no problem with this ! As I said, it's always interesting and inspiring ! ;)
Atak_Snajpera
18th April 2018, 13:54
So I think, this passion for the scanlines and grids are a bit too exagerated. To a certain distance, the old CRT displays delivered a normal and clean picture I think. I never had the souvenirs of having seen scanlines at this time.
No They don't! You clearly forgot about color bleeding effect (bloom). Games on CRT have never been pixel perfect even from distance.
SuperLumberjack
18th April 2018, 17:09
You didn't understand me. I never said it was pixel perfect. I only said that from a certain distance, we didn't notice the scanlines. It looked almost clean, not like some filters with scanlines or grids ;)
SuperLumberjack
18th April 2018, 17:35
I still did just one last script, but I start from a new beginning, with another logic : just remaster the image ! :o
It was just for the fun ! :p This time, I didn't care about old feeling ! I just remastered ! :)
I compared the image of my script with a screenshot from an emulator called Higan (one of the most precise) to see if what I did was what I want :
https://media.joomeo.com/medium/5adbc4752e8da.jpg (https://media.joomeo.com/large/5adbc4752e8da.jpg)
https://media.joomeo.com/original/5adbc4752e8da.png
And I compare with a video which shows different versions of the game "Mr. Nutz", but played on a CRT display : https://www.youtube.com/watch?v=mh3KWHrwvhE
https://media.joomeo.com/medium/5adbc4bc33ef2.jpg (https://media.joomeo.com/large/5adbc4bc33ef2.jpg)
https://media.joomeo.com/original/5adbc4bc33ef2.png
In any case, I find that it's magic ! :) So I called it "Magic" ! :D
Script for magic style with 8:7 aspect ratio :
AviSource()
Spline16Resize(5120, 1920)
GaussResize(2560, 1920, p=50)
nnedi3_rpow2(rfactor=2, nsize=0, nns=4, qual=1, etype=0, pscrn=2, threads=0, opt=0, fapprox=0)
BicubicResize(2468, 2160)
https://media.joomeo.com/medium/5adbc52d1fb13.jpg (https://media.joomeo.com/large/5adbc52d1fb13.jpg)
https://media.joomeo.com/original/5adbc52d1fb13.png
Script for magic style with 4:3 aspect ratio :
AviSource()
Spline16Resize(5120, 1920)
GaussResize(2560, 1920, p=50)
nnedi3_rpow2(rfactor=2, nsize=0, nns=4, qual=1, etype=0, pscrn=2, threads=0, opt=0, fapprox=0)
BicubicResize(2820, 2160)
https://media.joomeo.com/medium/5adbc589dda6b.jpg (https://media.joomeo.com/large/5adbc589dda6b.jpg)
https://media.joomeo.com/original/5adbc589dda6b.png
raffriff42 inspired me with his script and the GaussResize ! :p
Thanks ! ;)
lansing
18th April 2018, 19:07
Oh gosh, please be nice and maybe a little more fun ! :D It's not more complicated with names than with numbers, because it follows a logic order. Besides, I think it's easier to recognize a script with a name ;)
You're just confusing everybody with those names. And I found no logic between "ultimate style - clean version" and "ultimate style - new vintage" whatsoever, what do they even mean?
But thanks for the advice of the nnedi3 ! :)
But I already used it, and it's not really an anti-ringing filter like MadVR uses :( The other problem is to begin a script with nnedi3. I never begin a script with this filter because the straight lines become distored. But it's true that it's good to clean the image ;)
I read your earlier posts, those are not straight lines, those are just single-pixels. And you don't need deringing filter because nnedi3 doesn't produces ringing. The ringing problem you have on your images came from the low quality resizers you used.
Otherwise, I just want to remind that I don't want scanlines or grids. Il will tell you why. It's because in the old times, even if we have these kinds of picture with the CRT display, it was always when we were close to the screen, but never at a certain distance. And personnally, I never glued my nose to the screen :D
So I think, this passion for the scanlines and grids are a bit too exagerated. To a certain distance, the old CRT displays delivered a normal and clean picture I think. I never had the souvenirs of having seen scanlines at this time.
The scanlines had always been there in the old CRT TV, you just don't see them because of the low resolution.
Let's say that my idea is rather to rethink the original picture, imitate a kind of old feeling, but keep a maximum quality.
It's like a remastering the idea ! :p
If that is your goal then I think you can just simply achieved that by changing your window resolution to 640 x 480.
SuperLumberjack
18th April 2018, 19:37
You're just confusing everybody with those names. And I found no logic between "ultimate style - clean version" and "ultimate style - new vintage" whatsoever, what do they even mean?
Why am I confusing you with these names, while in any case you don't like my scripts, because there are nos scanlines ? :p
Besides, I shared a playlist with the videos of all my scripts and wrote them in their description ;) : https://www.youtube.com/playlist?list=PLL_S06Mn5k4mRZ1a50jW3G7DVYqx9NhoT
I read your earlier posts, those are not straight lines, those are just single-pixels. And you don't need deringing filter because nnedi3 doesn't produces ringing. The ringing problem you have on your images came from the low quality resizers you used.
On this picture, you can see the problem of the Nnedi3 filter with straight lines (in red) :
https://www.repaire.net/forums/attachments/avisynth-nnedi3-png.34437/
These distorsions aren't in the original picture. They disappear if I put the Nnedi3 filter after another one.
The scanlines had always been there in the old CRT TV, you just don't see them because of the low resolution.
Yes, the scanlines had always been there, but from a certain distance, we can't see them. It's what I said :)
It's why I don't want them in my upscaling. Only if it's very very subtle... eventually !
If that is your goal then I think you can just simply achieved that by changing your window resolution to 640 x 480.
This is not my idea of a remastering ! :D It means to be adapted to a modern HD display I think, not an old CRT display. Open your mind lansing ! :p
I already played all this old games on a CRT display and I will keep excellent souvenirs from them. But now, it's another time ;)
lansing
18th April 2018, 21:11
Why am I confusing you with these names, while in any case you don't like my scripts, because there are nos scanlines ? :p
Besides, I shared a playlist with the videos of all my scripts and wrote them in their description ;) :
https://www.youtube.com/playlist?list=PLL_S06Mn5k4mRZ1a50jW3G7DVYqx9NhoT
There're no meaning in those names and they doesn't follow logical orders. Numbering them makes logical order because it tells people what came first.
On this picture, you can see the problem of the Nnedi3 filter with straight lines (in red) :
These distorsions aren't in the original picture. They disappear if I put the Nnedi3 filter after another one.
In the original image, those areas were just single-dot pixels, they were not a representation of straight lines. They were pixels that were connected to form a shape, in this case, a curve. Nnedi3 connected these pixels by smoothing them so you don't see jagged diagonal lines.
Yes, the scanlines had always been there, but from a certain distance, we can't see them. It's what I said :)
It's why I don't want them in my upscaling. Only if it's very very subtle... eventually !
I have never said to use a scanline shader either because it looks bad on motion.
This is not my idea of a remastering ! :D It means to be adapted to a modern HD display I think, not an old CRT display. Open your mind lansing ! :p
I already played all this old games on a CRT display and I will keep excellent souvenirs from them. But now, it's another time ;)
You're not going to get a HD remastering out of a 300 x 200 source. If you're to upscale it 6x, you're going to have to deal with chunks of ugly color blocks and jagged diagonal lines. The only reasonable way to do is to hide them with shaders.
SuperLumberjack
18th April 2018, 21:53
There're no meaning in those names and they doesn't follow logical orders. Numbering them makes logical order because it tells people what came first.
I remember that you said that you don't see any difference between all my screenshots. And here, I give you a playlist with all the videos of my scripts, which are in order and where you can see (maybe) the differences, but you are still not satisfied... :p
In the original image, those areas were just single-dot pixels, they were not a representation of straight lines. They were pixels that were connected to form a shape, in this case, a curve. Nnedi3 connected these pixels by smoothing them so you don't see jagged diagonal lines.
I'm ok with what you say, but in the original picture, it was straight ! :)
PointResize X4
https://media.joomeo.com/large/5adbc6a8e6a69.jpg
Nnedi3 X4
https://media.joomeo.com/large/5adbc6d92ab01.jpg
I have never said to use a scanline shader either because it looks bad on motion.
Ok. We agree ! ;)
You're not going to get a HD remastering out of a 300 x 200 source. If you're to upscale it 6x, you're going to have to deal with chunks of ugly color blocks and jagged diagonal lines. The only reasonable way to do is to hide them with shaders.
I know. It's just a word that I used to make you understand what is my goal. I don't expect miracles !
SuperLumberjack
19th April 2018, 00:24
Here is the video of my last script that I called "Magic style" :p : https://youtu.be/CHXsyhBZJ5g
In fact, I love my new script ! :)
It's close to what I wanted ! :o
I remind you that I shared some of the original videos, if you want to test with you own scripts ;) : https://mega.nz/#!K5FRlJhb!pKqQ06WOnZVI5gLnSzpLj5Ix2aa36yGiozQuikkk77A
SuperLumberjack
19th April 2018, 00:33
Just a question ! Does anybody know how to circumvent this error please ? :confused:
https://media.joomeo.com/medium/5adbc7a06e389.jpg (https://media.joomeo.com/large/5adbc7a06e389.jpg)
I got this with a script with high resolutions, but think it's just a limitation of AviSynth, not a material limitation, so there must be a way ! :)
Thanks for you help !
lansing
19th April 2018, 02:18
Here is the video of my last script that I called "Remastering style" :p : https://youtu.be/Mb0YFEbf_7g
In fact, I love my new script ! :)
It's close to what I wanted ! :o
I remind you that I shared some of the original videos, if you want to test with you own scripts ;) : https://mega.nz/#!X59ijIKR!QwVlLwNnQ24x-xTgtahRC814mBzloQovwFhZP2ErqhU
Your script is wrong. The power of nnedi3 on upscale is its quality, so it is pointless to use it on a 2560x1920 clip. It has to be the first in your filter chain if you are to use it.
And the purpose of the upscale-then-downscale process is for the anti-aliasing effect, but since your videos are pixelated stuffs, it pretty much did nothing to the images.
AviSource()
Spline16Resize(5120, 1920)
GaussResize(2560, 1920, p=50)
nnedi3_rpow2(rfactor=2, nsize=0, nns=4, qual=1, etype=0, pscrn=2, threads=0, opt=0, fapprox=0)
BicubicResize(2468, 2160)
BicubicResize(2820, 2160)
poisondeathray
19th April 2018, 02:30
Just a question ! Does anybody know how to circumvent this error please ? :confused:
<snip>
I got this with a script with high resolutions, but think it's just a limitation of AviSynth, not a material limitation, so there must be a way ! :)
Thanks for you help !
Are you using avisynth x86 ? If yes, then use x64
SuperLumberjack
19th April 2018, 06:39
Maybe. In fact, I don't find the information :p
But I will try the x64 version if I have not ;) Thanks for your help ! :)
SuperLumberjack
19th April 2018, 11:00
Your script is wrong. The power of nnedi3 on upscale is its quality, so it is pointless to use it on a 2560x1920 clip. It has to be the first in your filter chain if you are to use it.
And the purpose of the upscale-then-downscale process is for the anti-aliasing effect, but since your videos are pixelated stuffs, it pretty much did nothing to the images.
AviSource()
Spline16Resize(5120, 1920)
GaussResize(2560, 1920, p=50)
nnedi3_rpow2(rfactor=2, nsize=0, nns=4, qual=1, etype=0, pscrn=2, threads=0, opt=0, fapprox=0)
BicubicResize(2468, 2160)
BicubicResize(2820, 2160)
The screenshots that I posted about the effect of the Nnedi3 on straight lines was quite telling.
I just used that :
AviSource()
nnedi3_rpow2(rfactor=4, nsize=0, nns=4, qual=1, etype=0, pscrn=2, threads=0, opt=0, fapprox=0)
SuperLumberjack
19th April 2018, 16:08
Are you using avisynth x86 ? If yes, then use x64
I was looking for AviSynth 64 bits, but the only version that I found is the 2.5.8 :(
Is there a more recent version ? :confused:
If not, what version have I to take please ?
Thanks for your help ! ;)
magiblot
19th April 2018, 17:20
Here!
https://github.com/pinterf/AviSynthPlus/releases
It will only work with the x64 versions of AvsPmod / VirtualDub:
AvsPmod: https://forum.doom9.org/showpost.php?p=1801766&postcount=1202
VirtualDub: https://sourceforge.net/projects/vdfiltermod/
SuperLumberjack
19th April 2018, 17:44
OK. Thank you very much ! :)
I just tried and I got a similar error :
"VirtualDub Error
Avisynth read error:
Could not allocate video frame. Out of memory. memory_max = 1073741824, memory_used = 495732537 Request=235929663"
But I will try with AvsPmod or the x64 version of AviSynth ;)
SuperLumberjack
19th April 2018, 18:07
It works with VirtualDub2 ! x64 :) You're the boss man ! :p
Thank you so much magiblot ! :thanks:
I just had to copy the x64 version of the Nnedi3 plugin in the "plugins64+" folder of AviSynth, and it ran like a war machine ! :D
You gave me hope ! :o I was effraid that I could never use this script. It's for another video with a resolution of 640x480 :p
Original
https://media.joomeo.com/medium/5adbc8270a2f0.jpg (https://media.joomeo.com/large/5adbc8270a2f0.jpg)
https://media.joomeo.com/original/5adbc8270a2f0.png
Upscaled to 2160p
https://media.joomeo.com/medium/5adbc8742f01c.jpg (https://media.joomeo.com/large/5adbc8742f01c.jpg)
https://media.joomeo.com/original/5adbc8742f01c.png
Thanks to poisondeathray too ! ;)
foxyshadis
20th April 2018, 05:31
Very clear description of why the shader effect looks good!
Which gives me an idea! Suppose we emulate the shader by
smoothly sizing to 1/4 or 1/2 of the final size, then pixel sizing the rest of the way (to retain some jagginess);
de-registering the RGB colors slightly (to imitate the phosphor arrangement); and
superimposing a black grid pattern?
I already have a grid pattern generator function, made years ago (part of an attempt to recreate NTSC dot crawl artifacts (http://forum.doom9.org/showthread.php?t=170433)). The grids are not exactly like the shader grids, but they might be close "enough."
https://www.dropbox.com/s/ydp9qxjrsz1ocl4/PointSize-test-brz2%2Bdots-x4.gif?raw=1
https://www.dropbox.com/s/wosmwpr5ep72vlz/PointSize-test-brz2%2Bdots.jpg?raw=1
I have no idea what SuperLumberjack is hoping to accomplish, but sign me up for your newsletter, because this is a seriously awesome filter. Even if you hate scanlines, you can blend it down a bit to minimize them; otherwise, it looks mindblowing on 4K.
SuperLumberjack
22nd April 2018, 15:33
I updated my last script and I think I will never touch it again ! :p
I understand that you have difficulty to follow my logic, but I will tell you why I did so complicated things :) It's only for videos of these old Super Nes games, but for other videos of old video games, of the PS2 and Xbox era too. It's why I didn't want scanlines or other things like that ;)
But now, I tested my script with something else, and I think it's better like this. Because as I said, I wanted a kind of logical formula that could be all right with lots of low resolution videos from old games.
So I abandoned the idea to have something perfect with the Super Nintendo games. I want unity with all the old videos.
Consequently, I tried with this video taken from the game "Legacy of Kain: Defiance". The advantage is that this video was done with the engine of the game, so I can compare with the graphics of the game to see if it's credible. Little precision : the video has a resolution of 640x480 with black bars, and wasn't in the exact correct aspect ratio compared to the game. So I correct it too.
Original
https://media.joomeo.com/medium/5adc7c56c1e4a.jpg (https://media.joomeo.com/large/5adc7c56c1e4a.jpg)
https://media.joomeo.com/original/5adc7c56c1e4a.png
Upscaled to 2160p with my script
https://media.joomeo.com/medium/5adc7c7ea4f42.jpg (https://media.joomeo.com/large/5adc7c7ea4f42.jpg)
https://media.joomeo.com/original/5adc7c7ea4f42.png
Graphics in-game
https://media.joomeo.com/medium/5adc98d934370.jpg (https://media.joomeo.com/large/5adc98d934370.jpg)
https://media.joomeo.com/original/5adc98d934370.jpg
This picture is from this site : http://www.pcmrace.com/2015/01/06/epic-shots-legacy-of-kain-defiance/
But apparently some textures mods were used to enhance the display in 2160p. But it seams that it's compliant with the original graphics. No extravagances ! :p
Original
https://media.joomeo.com/medium/5adc7e6d8cf96.jpg (https://media.joomeo.com/large/5adc7e6d8cf96.jpg)
https://media.joomeo.com/original/5adc7e6d8cf96.png
We clearly see the deformation of the picture (see the barrels) compared to the picture in-game.
Upscaled to 2160p with my script
https://media.joomeo.com/medium/5adc7e961716a.jpg (https://media.joomeo.com/large/5adc7e961716a.jpg)
https://media.joomeo.com/original/5adc7e961716a.png
Graphics in-game
https://media.joomeo.com/medium/5adc7f0e99004.jpg (https://media.joomeo.com/large/5adc7f0e99004.jpg)
https://media.joomeo.com/original/5adc7f0e99004.jpg
Here was my script for this :
AviSource()
Crop(0, 80, 0, -80)
Spline16Resize(2560, 1280)
GaussResize(10240, 2880, p=50)
BicubicResize(3840, 2160)
If I multiplied the horizontal resolution 4 times with the GaussResize, it's because compared to a video with 4:3 AR (2880x2160), we need more precision horizontaly.
Besides, we keep a certain ratio between the resolution of the GaussResize and the final resolution.
We have :
(10240x2880)/(3840x2160) = 3,55
With a video with a 4:3 resolution of 640x480, I used this script :
AviSource()
Spline16Resize(2560, 1920)
GaussResize(5120, 3840, p=50)
BicubicResize(2880, 2160)
We have :
(5120x3840)/(2880x2160) = 3,16
And with the script for Super Nes video games :
AviSource()
Spline16Resize(2048, 1792)
GaussResize(5120, 3840, p=50)
BicubicResize(2820, 2160)
We have :
(5120x3840)/(2820x2160) = 3,22
Similar ratio ! :)
SuperLumberjack
22nd April 2018, 15:44
I post my video again for my last script ;) : https://youtu.be/CHXsyhBZJ5g
Playlist of all my scripts : https://www.youtube.com/playlist?list=PLL_S06Mn5k4mRZ1a50jW3G7DVYqx9NhoT
If you want to test scripts with some original videos of Super Nes games :) : https://mega.nz/#!K5FRlJhb!pKqQ06WOnZVI5gLnSzpLj5Ix2aa36yGiozQuikkk77A
SuperLumberjack
25th April 2018, 20:00
Hello my friends ! :)
I'm back ! :D I tried so many things (sometimes, there is no big difference, it's true) and I'm never satisfied :(
But I know what I want ! It's just hard to achieve... :rolleyes:
I want something that reminds me the picture on CRT but clean ! :cool:
https://media.joomeo.com/medium/5ae0ce366b87e.jpg (https://media.joomeo.com/large/5ae0ce366b87e.jpg)
https://media.joomeo.com/original/5ae0ce366b87e.png
source : https://youtu.be/3uB52C4zE_4
I tried the WarpResize in VirtualDub and it gives the type of image I want, so you will see better. It's very similar to the picture on CRT I think, but without the black scanlines (furthermore, we don't see them like everybody says, it's more subtle).
This is in 2160p :
https://media.joomeo.com/medium/5ae0ce6c47bd3.jpg (https://media.joomeo.com/large/5ae0ce6c47bd3.jpg)
https://media.joomeo.com/original/5ae0ce6c47bd3.png
In 4320p it's a bit better :
https://media.joomeo.com/medium/5ae0cec0c10c3.jpg (https://media.joomeo.com/large/5ae0cec0c10c3.jpg)
https://media.joomeo.com/original/5ae0cec0c10c3.png
The only problem are these defaults :scared: :
https://media.joomeo.com/medium/5ae0cf0272b54.jpg (https://media.joomeo.com/large/5ae0cf0272b54.jpg)
https://media.joomeo.com/original/5ae0cf0272b54.png
This is the picture only with the Spline16Resize :
https://media.joomeo.com/medium/5ae0cf2e41d9e.jpg (https://media.joomeo.com/large/5ae0cf2e41d9e.jpg)
https://media.joomeo.com/original/5ae0cf2e41d9e.png
It's not so bad, but a bit boring...
So, now you know what I'm looking for :) Have you an idea how to get the same kind of picture but without the defaults please ?
Thanks a lot ! ;)
Edit : I added the video from the title menu of Killer Instinct in my WinRAR archive, if you want to test with your own scripts ;)
real.finder
26th April 2018, 04:59
don't know if it already mentioned here or not, but there are http://ldesoras.free.fr/src/avs/crt-display-1.0.zip
it will give you feel like you see old SONY Trinitron
edit: raffriff42 Post here was good too
SuperLumberjack
26th April 2018, 09:44
No, thanks ! :p
I already said that I don't want scanlines ;)
bxyhxyh
26th April 2018, 17:29
Ok I tried small combination with scanlines again. Just check it if it works for you or not.
Tested with your Mr.Nuts and Donkey Kong samples since they were NOT strictly made for crt screen.
But your Super Mario World one NEEDS strong crt effects.
Since I'm not a fan of 2160p upscale (or even 1080p) I tested by upscaling them to 1080p.
AVISource("C:\Users\BallGNM\Desktop\Super Nintendo videos\Donkey Kong Country 3.avi")
#AVISource("C:\Users\BallGNM\Desktop\Super Nintendo videos\Mr. Nutz.avi")
small=last
w=1440 h=1080
normal=Spline16Resize(512,384).ConvertToYV24(matrix="Rec709").maa2().nnedi3_rpow2(rfactor=4,nns=4,fwidth=w,fheight=h,cshift="bicubicresize",ep0=0,ep1=0.6)
crt_str=0.25
crt=crt_display(small,4,4,gainb=1.2,gamma=1.9).spline16resize(w,h).ConvertToYV24(matrix="Rec709")
expr="x " + string(crt_str) + " * y + " + string(crt_str+1) + " /"
mt_lutxy(crt,normal,expr,u=3,v=3)
ConvertToYV12(matrix="Rec709",chromaresample="spline16")
#normal
#crt
#small.spline36resize(w,h)
#small.pointresize(1536,1120).spline16resize(w,h)
SuperLumberjack
26th April 2018, 19:27
Thanks ! :)
But I'm not sure if I understand this kind of script. It's a bit too complex for me I think ! :D
Can you post a screenshot please ? :p
Just a question : does somebody know how to use the "Precise bicubic (A=-0.75)" filter from VirtualDub in AviSynth please ?
I read that "BicubicResize(b=0, c=0.75, x, y)" is the same thing, but I tested, and it isn't exactly identical.
Thanks for you help ! ;)
StainlessS
26th April 2018, 19:39
D9 forum search is a bit limited when looking for something like "precise bicubic" as one phrase,
try google
"precise bicubic" site:forum.doom9.org
Plenty of hits, not viewed them.
Or here link to same:- https://www.google.com/search?client=firefox-b&ei=ThziWpCnG8X7kwXiqpXoBQ&q=%22precise+bicubic%22+site%3Aforum.doom9.org&oq=%22precise+bicubic%22+site%3Aforum.doom9.org&gs_l=psy-ab.3...98162.98644.0.99108.2.2.0.0.0.0.340.458.0j1j0j1.2.0....0...1c.1.64.psy-ab..0.0.0....0.5UhwE1cp86I
EDIT: Also, just want to point out that the below has a hyphen in it ie, ' - 0.75 '.
"Precise bicubic (A=-0.75)"
EDIT: Actually D9 search dont do too bad if phrase is wrapped in double quotes.
SuperLumberjack
27th April 2018, 09:16
I searched, but I didn't find anything about how to use the "Precise bicubic (A=-0.75)" from VirtualDub in AviSynth :o
StainlessS
27th April 2018, 12:33
See post #3 here:- http://forum.digital-digest.com/f25/avisynth-bicubic-resize-parameters-28921.html
Two questions,
1) Are you really spending all this time messing with some screen caps from some naff game.
2) Why.
:)
SuperLumberjack
27th April 2018, 12:53
1) Yes ! :)
2) Because I like this ! :p
The information of your link is wrong. I already read that as I said :
I read that "BicubicResize(b=0, c=0.75, x, y)" is the same thing, but I tested, and it isn't exactly identical.
And it's not exactly the same result !
StainlessS
27th April 2018, 13:05
Are you resizing RGB ?
SuperLumberjack
27th April 2018, 15:16
Yep ! ;)
The source is RGB24. But I export from VirtualDub with the "UtVideo YUV420 BT.709 VCM" codec. And finally I encode with Handbrake :p
StainlessS
27th April 2018, 16:46
Why not just use VDub, it is almost certain to be exactly the same as that which you seek.
SuperLumberjack
27th April 2018, 16:48
Because it's not enough ! :D
bxyhxyh
27th April 2018, 17:53
Thanks ! :)
Can you post a screenshot please ? :p
Donkey Kong Country 3
https://i.imgur.com/oPWhmhH.png - spline36
https://i.imgur.com/1yq6dvx.png - point
https://i.imgur.com/Sy7JzyV.png - crt_display()
https://i.imgur.com/Y2hcQ3l.png - that script
Mr.Nutz
https://i.imgur.com/2I04duY.png - spline36
https://i.imgur.com/iuWAtmq.png - point
https://i.imgur.com/ozCEWcu.png - crt_display()
https://i.imgur.com/8ocuOMm.png - that script
If you think it's being too blurry you could sharpen clip normal with weak settings or increase crt strength crt_str.
Idea is simple. You upscale original small clip a little with a standard avisynth resizer. It's to avoid getting too much side effects from anti aliasers or nnedi3_rpow2 (that line bending artifact for example).
Then use anti-aliaser maa2. Then upscale it again using nnedi3_rpow2.
Result would look bad for that alone. Then you hide those bad things in crt effect.
SuperLumberjack
27th April 2018, 20:53
Thanks a lot bxyhxyh ! ;)
I must admit that this script is very interesting ! :p
More than the CRT effect, because it's finer ! :)
But I have difficulty to understand all the script :stupid:
Sorry, but can you give a copy of the exact script you used please ? It will be more understandable for me.
Thanks ! ;)
StainlessS
27th April 2018, 22:44
Because it's not enough ! #
On occasion, you may want to use a bunch of stuff, kinda horses for courses, and that.
EDIT: I have zero to offer, on this quest.
SuperLumberjack
28th April 2018, 01:20
I laughed !:p
In fact, I find it's more practical to use scripts to load filters instead of using a vdscript to load them.
It's better to create templates I think ;)
In addition, I tell myself that if something is possible with VirtualDub, it can be possible without a doubt with AviSynth. No ? :p
raffriff42
28th April 2018, 02:33
does somebody know how to use the "Precise bicubic (A=-0.75)" filter from VirtualDub in AviSynth please ?
I read that "BicubicResize(b=0, c=0.75, x, y)" is the same thing, but I tested, and it isn't exactly identical.
Thanks for you help ! ;)
Vdub2 Precise bicubic (-0.75), 400%
https://www.dropbox.com/s/8qxiiaiph01xply/resize-test-102%20x4%2001%20vdub2%20PBic-0.75.png?raw=1
Avisynth+ BicubicResize (b=0, c=-0.75), 400%
https://www.dropbox.com/s/qprjnfq5xlgrgqe/resize-test-102%20x4%2002%20avs%2B%20Bic-0.75.png?raw=1
Difference, exaggerated by 8x
https://www.dropbox.com/s/1cfz1q4jqvj3sgq/resize-test-102%20x4%2003%20diffx8.png?raw=1
The Avisynth one has fixed some minor edge artifacts, but otherwise they are the same.
They are both lousy for upscaling (of this type of source). Almost anything would be better.
Here's Avisynth+ GaussResize (p=80)
https://www.dropbox.com/s/ybjkuyx3owy8ojo/resize-test-102%20x4%2004%20gauss80.png?raw=1
Here's Spline16Resize:
https://www.dropbox.com/s/dxx56kovtuv7xkb/resize-test-102%20x4%2005%20spline16.png?raw=1
Source:
https://www.dropbox.com/s/21pdwxeyzv578sc/resize-test-102-retroarch.png?raw=1
SuperLumberjack
28th April 2018, 15:40
It's bizarre, because when I compared, I saw big differences. But maybe I did something wrong :p
Maybe a VirtualDub filter was activated in the same time...
Thanks for your lights ! :)
bxyhxyh
28th April 2018, 22:38
Sorry, but can you give a copy of the exact script you used please ? It will be more understandable for me.
Thanks ! ;)
What do you mean by exact? You want copy of .avs file or something? That's the exact script I used.
SuperLumberjack
29th April 2018, 02:17
OK. I asked because it didn't work for me :(
But maybe a filter is missing or something like that.
bxyhxyh
29th April 2018, 23:56
http://avisynth.nl/index.php/MAA2
Check this page. Dowload maa2 avsi and all required plugins.
SuperLumberjack
1st May 2018, 10:15
Thank you very much bxyhxyh ! ;)
But I just noticed one thing with your script : there are 2 CRT pixels for 1 digital pixels ! :p
https://i.imgur.com/iuWAtmq.png
https://i.imgur.com/8ocuOMm.png
killmoms
3rd May 2018, 01:03
Thank you very much bxyhxyh ! ;)
But I just noticed one thing with your script : there are 2 CRT pixels for 1 digital pixels ! :p
https://i.imgur.com/iuWAtmq.png
https://i.imgur.com/8ocuOMm.png
I mean, it's hard to talk about CRTs and "pixels", but this is not really inaccurateNTSC televisions had more horizontal resolution than any of the consoles of the 90s were capable to driving during normal gameplay. That said, plugging an SNES into something like a professional Sony NTSC CRT broadcast monitor will look completely different than plugging into a bog-standard home television. The image that's being generated by bxyhxyh's script is closer to an idealized NTSC broadcast monitor than it is to what you probably would recognize as the CRT "feeling" you're after.
SuperLumberjack
3rd May 2018, 14:23
But as I already said, I want an old feeling, without CRT filter, even if it's interesting ;) By the way, I got a very satisfied result now :p
With the 8:7 aspect ratio in any case.
The only problem is with 4:3. I'm not totally satisfied, because it becomes blurry horizontally. It would be perfect, if we could adjust the sharpness of the GaussResize separatly vertically and horizontally (I put 50 with the original aspect ratio, because I don't have to change it) :)
GaussResize(2820, 2160, p=?)
It's my last wish ! :o
Because in 2160p, the resolution is 2468x2160 with 8:7 AR and 2820x2160 with 4:3 AR (it's not perfect 4:3, but it's like that with the Higan emulator, and it's more precise than the standard 4:3 actually), I must take this number for the p to counter the blurriness of the horizontal stretch :
p = (2820/2468)x50 = 57.131280388978930307941653160454
The problem is that the vertical resolution will be affected to. So, for the moment, I must use a compromise :
p = (57.131280388978930307941653160454 + 50)/2 = 53.565640194489465153970826580227
But if I could adjust the p for separatly for the horizontal and vertical resolutions, it would be better :)
SuperLumberjack
3rd May 2018, 14:47
Seriously, it would be perfect if I could adjust the sharpness of the GaussGauss Resize for the horitontal and the vertical resolutions separatly ! :)
Because at last I'm happy now with what I got ! :p
I undertsood the limits of an upscale, so I did with what I have.
I just tried this :
GaussResize(2820, 2160, p=50) .Blur(-0.11426256077795786061588330632091, 0)
Because : 2820/2468 = 1,1426256077795786061588330632091
But it's not perfect, but close ! :D
Here is my 8:7 version that I love very much :) :
(click on the pictures, because the compression is very dirty)
https://media.joomeo.com/medium/5aeb2f9293a35.jpg (https://media.joomeo.com/large/5aeb2f9293a35.jpg)
https://media.joomeo.com/original/5aeb2f9293a35.png
AviSource()
Spline16Resize(1024, 896)
Blur(0.5, 0.25)
GaussResize(2468, 2160, p=50)
And here is the 4:3 version (GaussResize + Blur) :
https://media.joomeo.com/medium/5aeb2fe33a27a.jpg (https://media.joomeo.com/large/5aeb2fe33a27a.jpg)
https://media.joomeo.com/original/5aeb2fe33a27a.png
AviSource()
Spline16Resize(1024, 896)
Blur(0.5, 0.25)
GaussResize(2820, 2160, p=50) .Blur(-0.11426256077795786061588330632091, 0)
But it clearly would be better if we could separate horizontal and vertical resolutions with Gauss Resize like the Blur filter, because we wouldn't see the stretch of the image, and this... it would be cool ! :p
Ideally, I would like a p of "50" horizontally and "57.131280388978930307941653160454" vertically ;)
SuperLumberjack
4th May 2018, 00:21
Hello again ! :)
I was surprised to see that on the old boxes of these Super Nes games, the pictures look so 3D and... without scanlines ! :D But natural, not weird (even if they still are low resolutions pictures) ! :o
(I took these pictures from boxes on eBay)
https://media.joomeo.com/large/5aeb976db4456.jpg
https://media.joomeo.com/original/5aeb976db4456.png
It's interesting, because my source videos don't look 3D ! :confused:
I wonder how they did to do these kind of pictures... Are they from captures of the real Super Nes or the original images like me, but reworked to look like this (because if you look carefully, the aspect ratio is 4:3)...
creaothceann
4th May 2018, 00:47
In reality, the output resolution must be proportional to 584x448. [...] I want 1408x1080 for the output resolution.That can only be done without color bleeding with an extremely high-resolution display. Basically, the least common multiple of 512 and 584 for the horz. axis, i.e. x=37376 pixels.
Bilinear, it's a bit too sweet.???
I want to get a natural image. [...] I want that the result remembers me the era where I played Super Nintendo games on a CRT :) I'm just talking about the feeling. I don't want scanlines and others things like that :pAh. Sounds like you do want scanlines (https://www.retrogameboards.com/t/scanline-screenshot-thread-because-240p-is-all-the-ps-i-need-56k-warning/71). And horz. blending for the dithering (http://www.sega-16.com/forum/showthread.php?28893-Genesis-v-s-Super-Nintendo-hardware-comparison/page21).
https://i.imgur.com/PLMkhuMt.gif (https://i.imgur.com/PLMkhuM.gif)
FrapsThe correct way to get videos is via the emulator's own recording function (e.g. BizHawk, RetroArch - both have bsnes cores). That way you get the exact framerate of 5*7*9 / 88 * 6 * 10^6 / 1364 / 524 * 2 = 60.098 fps, and no frame drops/duplications.
Strangly, I find that the scanlines added more relief with the old Super Nintendo games (the signal was progressive with a resolution of 256x224 in low resolution mode) that on a modern display. But it was just a illusion, because as you know, the scanlines are black :DActually... very bright colors bleed into the scanlines (which is emulated with more advanced shaders).
Otherwise, I just want to remind that I don't want scanlines or grids. Il will tell you why. It's because in the old times, even if we have these kinds of picture with the CRT display, it was always when we were close to the screen, but never at a certain distance. And personnally, I never glued my nose to the screen :DRecreating the experience naturally includes moving a bit away from the screen. ;) Or make it 720p and display it in a window / with borders.
I wonder how they did to do these kind of pictures... Are they from captures of the real Super Nes or the original images like me, but reworked to look like this (because if you look carefully, the aspect ratio is 4:3)...You don't see any scanlines when you shrink the picture (might be photographs or RGB snapshots, maybe even from prototype versions).
SuperLumberjack
4th May 2018, 01:15
That can only be done without color bleeding with an extremely high-resolution display. Basically, the least common multiple of 512 and 584 for the horz. axis, i.e. x=37376 pixels.
It's old all of this ! :) In fact, I did a mistake in this time. The resolution in 4:3 aspect ratio was 585x448 with Higan or 1170x896.
So we have 1410x1080 or 2820x2160 :p
???
Not sharp !
Ah. Sounds like you do want scanlines (https://www.retrogameboards.com/t/scanline-screenshot-thread-because-240p-is-all-the-ps-i-need-56k-warning/71). And horz. blending for the dithering (http://www.sega-16.com/forum/showthread.php?28893-Genesis-v-s-Super-Nintendo-hardware-comparison/page21).
https://i.imgur.com/PLMkhuMt.gif (https://i.imgur.com/PLMkhuM.gif)
Amazing the 2nd picture ! :) Was it done with a script, or is it a photography of a CRT ? :o
The correct way to get videos is via the emulator's own recording function (e.g. BizHawk, RetroArch - both have bsnes cores). That way you get the exact framerate of 5*7*9 / 88 * 6 * 10^6 / 1364 / 524 * 2 = 60.098 fps, and no frame drops/duplications.
I used the Snes9X emulator to record my videos. It's exactly 60 fps, but I never saw any dropped frames :confused:
Can you give me more explanations please ? :p
Actually... very bright colors bleed into the scanlines (which is emulated with more advanced shaders).
Bleed ? I'm not sure that I understand :scared: Sorry, I'm French ! :o
Recreating the experience naturally includes moving a bit away from the screen. ;) Or make it 720p and display it in a window / with borders.
Yes, but it's too bad to lose all these pixels ! :p
You don't see any scanlines when you shrink the picture (might be photographs or RGB snapshots, maybe even from prototype versions).
But my RGB snapshots aren't like this. So maybe photos... :)
lansing
4th May 2018, 05:17
But as I already said, I want an old feeling, without CRT filter, even if it's interesting ;) By the way, I got a very satisfied result now :p
With the 8:7 aspect ratio in any case.
The only problem is with 4:3. I'm not totally satisfied, because it becomes blurry horizontally. It would be perfect, if we could adjust the sharpness of the GaussResize separatly vertically and horizontally (I put 50 with the original aspect ratio, because I don't have to change it) :)
GaussResize(2820, 2160, p=?)
It's my last wish ! :o
Because in 2160p, the resolution is 2468x2160 with 8:7 AR and 2820x2160 with 4:3 AR (it's not perfect 4:3, but it's like that with the Higan emulator, and it's more precise than the standard 4:3 actually), I must take this number for the p to counter the blurriness of the horizontal stretch :
p = (2820/2468)x50 = 57.131280388978930307941653160454
The problem is that the vertical resolution will be affected to. So, for the moment, I must use a compromise :
p = (57.131280388978930307941653160454 + 50)/2 = 53.565640194489465153970826580227
But if I could adjust the p for separatly for the horizontal and vertical resolutions, it would be better :)
The "p" in gaussresize does not scale linear to resolution, so this whole mess you're doing is pointless.
creaothceann
4th May 2018, 08:14
Not sharp!https://en.wiktionary.org/wiki/blurry
Amazing the 2nd picture ! :) Was it done with a script, or is it a photography of a CRT? :oProbably a photo (like most examples in that thread), though I wonder what the picture would look like with a TV shader... (http://www.gamasutra.com/blogs/KylePittman/20150420/241442/CRT_Simulation_in_Super_Win_the_Game.php)
I used the Snes9X emulator to record my videos. It's exactly 60 fps, but I never saw any dropped frames :confused:
SNES9x synchronizes the frames with your display (especially if you have VSync activated), so it's 60.0 instead of 60.098 fps. To keep the audio in sync, the audio input rate is set to 31900 Hz instead of the actual 32040.5 Hz (you can change it in the options).
The bsnes core emulates it at the correct speed, but you'll get a dropped frame every 1 / (60.098 - 60) = 10.15 seconds if you don't use a GSync/FreeSync display. If you emulate it on a TV that runs at the default NTSC speed (60 / 1.001 Hz) you get a dropped frame every 6.3 seconds.
Bleed?
It means that bright pixels extend (https://youtu.be/EgzVK5aYczI?t=243) a bit into the black scanline gaps. When white pixels are aligned vertically, the black scanlines can disappear entirely in that area (https://i.imgur.com/0bIYWmp.jpg).
But my RGB snapshots aren't like this. So maybe photos... :)Well, they were printed (https://en.wikipedia.org/wiki/Halftone), and probably faded a bit before they were scanned.
real.finder
4th May 2018, 09:22
blur() in avs or ablur() in awarpsharpmt can do blur in only horizontal that can make it like what CRT look, there are some filters like Lghost and edgesidebleed that fix the old analog artifact manually that you can also use then to made these artifact
edit: you may also like to try this https://pastebin.com/TvpRdQA8
SuperLumberjack
4th May 2018, 10:27
The "p" in gaussresize does not scale linear to resolution, so this whole mess you're doing is pointless.
Thanks ! ;) You are always here to remind me that what I'm doing is pointless :p
But I try to do things with my eyes, and for me, it could work if only we could adjust the "p" horizontally and vertically. An idea ? Could you try to help me please ? :) Even if I'm wrong...
https://en.wiktionary.org/wiki/blurry
But I thought sweet, not blurry ! :D Sweet like a woman, like a flower... :p
Probably a photo (like most examples in that thread), though I wonder what the picture would look like with a TV shader... (http://www.gamasutra.com/blogs/KylePittman/20150420/241442/CRT_Simulation_in_Super_Win_the_Game.php)
OK. Interesting link by the way ! ;)
SNES9x synchronizes the frames with your display (especially if you have VSync activated), so it's 60.0 instead of 60.098 fps. To keep the audio in sync, the audio input rate is set to 31900 Hz instead of the actual 32040.5 Hz (you can change it in the options).
The bsnes core emulates it at the correct speed, but you'll get a dropped frame every 1 / (60.098 - 60) = 10.15 seconds if you don't use a GSync/FreeSync display. If you emulate it on a TV that runs at the default NTSC speed (60 / 1.001 Hz) you get a dropped frame every 6.3 seconds.
OK. I understand now ! :) Thanks !
It means that bright pixels extend (https://youtu.be/EgzVK5aYczI?t=243) a bit into the black scanline gaps. When white pixels are aligned vertically, the black scanlines can disappear entirely in that area (https://i.imgur.com/0bIYWmp.jpg).
OK. Yes, it's logical ! :) Thanks for your explanations ! ;)
Well, they were printed (https://en.wikipedia.org/wiki/Halftone), and probably faded a bit before they were scanned.
It's possible ! :)
blur() in avs or ablur() in awarpsharpmt can do blur in only horizontal that can make it like what CRT look, there are some filters like Lghost and edgesidebleed that fix the old analog artifact manually that you can also use then to made these artifact
edit: you may also like to try this https://pastebin.com/TvpRdQA8
Thanks ! :p But this kind of scripts is too complicated for me :( I only understand the basic scripts like what I did :stupid:
SuperLumberjack
4th May 2018, 10:53
Otherwise, it's funny, I see lots of people who are interested and are participating, but a very little number of screenshots from them ! :p
And if you were sharing some of your screenshots to have a better view ? :D
Here are some videos to test ;) It would be cool and interesting to see what you like ! :)
https://mega.nz/#!K5FRlJhb!pKqQ06WOnZVI5gLnSzpLj5Ix2aa36yGiozQuikkk77A
lansing
4th May 2018, 19:34
Thanks ! ;) You are always here to remind me that what I'm doing is pointless :p
But I try to do things with my eyes, and for me, it could work if only we could adjust the "p" horizontally and vertically. An idea ? Could you try to help me please ? :) Even if I'm wrong...
You need to see an eye doctor if you're seeing difference between
p=57.1 and p=57.131280388978930307941653160454. The "p" parameter in Gaussresize is not an addon feature, you can't break it apart from the resizer.
Aside from that, what is the reason for you to even try to separate the sharpening into horizontal and vertical?
SuperLumberjack
4th May 2018, 22:00
You are not a positive man ! :)
SuperLumberjack
5th May 2018, 02:17
What do you think about these new pictures ? :p
Original (8:7 AR)
https://media.joomeo.com/medium/5aed00897c55c.jpg (https://media.joomeo.com/large/5aed00897c55c.jpg)
https://media.joomeo.com/original/5aed00897c55c.png
Upscaled to 2160p (8:7 AR)
https://media.joomeo.com/medium/5af108ed79b8c.jpg (https://media.joomeo.com/large/5af108ed79b8c.jpg)
https://media.joomeo.com/original/5af108ed79b8c.png
Original (8:7 AR)
https://media.joomeo.com/medium/5aed019458739.jpg (https://media.joomeo.com/large/5aed019458739.jpg)
https://media.joomeo.com/original/5aed019458739.png
Upscaled to 2160p (4:3 AR)
https://media.joomeo.com/medium/5af1094190a30.jpg (https://media.joomeo.com/large/5af1094190a30.jpg)
https://media.joomeo.com/original/5af1094190a30.png
Original (4:3 AR)
https://media.joomeo.com/medium/5aed021e59505.jpg (https://media.joomeo.com/large/5aed021e59505.jpg)
https://media.joomeo.com/original/5aed021e59505.png
Upscaled to 2160p (4:3 AR)
https://media.joomeo.com/medium/5af10990cbf5a.jpg (https://media.joomeo.com/large/5af10990cbf5a.jpg)
https://media.joomeo.com/original/5af10990cbf5a.png
Original (4:3 AR)
https://media.joomeo.com/medium/5aed02f0db60c.jpg (https://media.joomeo.com/large/5aed02f0db60c.jpg)
https://media.joomeo.com/original/5aed02f0db60c.png
Note : Here, the aspect ratio is wrong if we compare with other videos from the Legacy of Kain saga (for the connoisseurs :D ) and the aspect ratio in-game. There shouldn't be black bars. So I just had to cut the black bars to have the correct AR.
Upscaled to 2160p (16:9 AR)
https://media.joomeo.com/medium/5af109cf258d5.jpg (https://media.joomeo.com/large/5af109cf258d5.jpg)
https://media.joomeo.com/original/5af109cf258d5.png
Oki ! Good night ! :)
creaothceann
5th May 2018, 09:38
If you want to upscale 3D games then you ought to do that via the game's engine / the emulator (https://www.reddit.com/r/emulation/comments/8e4fp5/rpcs3_demons_souls_in_4k_30_fps_outperforming_a/) / the graphics card (https://www.geforce.com/hardware/technology/dsr/technology).
SuperLumberjack
5th May 2018, 10:09
Ah ah ! :p
But for the last picture, even if the video was done with the engine of the game, it's not in real time ;)
I know that it's misleading, but the original file was a ".bik" file (Bink Videos), so it's was originally a real video :)
raffriff42
5th May 2018, 11:11
It would be perfect, if we could adjust the sharpness of the GaussResize separately vertically and horizontally [...] It's my last wish ! :oNo problem...
##################################
function GaussResize2(clip C, int target_width, int target_height,
\ float "src_left", float "src_top", float "src_width", float "src_height",
\ float "px", float "py")
{
px = Default(px, 30.0)
py = Default(py, px)
R = C.GaussResize(target_width, C.Height,
\ src_left, 0, src_width, 0, px)
\ .GaussResize(target_width, target_height,
\ 0, src_top, 0, src_height, py)
return R
}
This works becausehttp://avisynth.nl/index.php/Resize#Notes
AviSynth has completely separate vertical and horizontal resizers. If input is the same as output on one axis, that resizer will be skipped.
So if I understand what you are trying to do (not likely!), you would use it like this:GaussResize2(2820, 2160, px=(2820.0/2468.0)*50.0, py=50.0)
(specifying px, py as formulas is shorter and more clear than writing long floating-point numbers like 57.131280388978930307941653160454, which are not needed anyway since 32-bit floats only convey 7 or 8 significant digits (https://en.wikipedia.org/wiki/IEEE_754#Basic_and_interchange_formats))
SuperLumberjack
5th May 2018, 12:07
Exactly ! :)
Thanks raffriff42 ! You're the best ! ;)
Bur for my last pictures, I didn't use the GaussResize like this, only with a p of 25. I adjusted the picture with a Blur after that. But it still will be useful for another script, because as you know, I always try new things ! :D
Original (8:7 AR)
https://media.joomeo.com/medium/5aed00897c55c.jpg (https://media.joomeo.com/large/5aed00897c55c.jpg)
https://media.joomeo.com/original/5aed00897c55c.png
Upscaled to 2160p (8:7 AR)
https://media.joomeo.com/medium/5af108ed79b8c.jpg (https://media.joomeo.com/large/5af108ed79b8c.jpg)
https://media.joomeo.com/original/5af108ed79b8c.png
Original (8:7 AR)
https://media.joomeo.com/medium/5aed019458739.jpg (https://media.joomeo.com/large/5aed019458739.jpg)
https://media.joomeo.com/original/5aed019458739.png
Upscaled to 2160p (4:3 AR)
https://media.joomeo.com/medium/5af1094190a30.jpg (https://media.joomeo.com/large/5af1094190a30.jpg)
https://media.joomeo.com/original/5af1094190a30.png
Original (4:3 AR)
https://media.joomeo.com/medium/5aed021e59505.jpg (https://media.joomeo.com/large/5aed021e59505.jpg)
https://media.joomeo.com/original/5aed021e59505.png
Upscaled to 2160p (4:3 AR)
https://media.joomeo.com/medium/5af10990cbf5a.jpg (https://media.joomeo.com/large/5af10990cbf5a.jpg)
https://media.joomeo.com/original/5af10990cbf5a.png
Original (4:3 AR)
https://media.joomeo.com/medium/5aed02f0db60c.jpg (https://media.joomeo.com/large/5aed02f0db60c.jpg)
https://media.joomeo.com/original/5aed02f0db60c.png
Note : Here, the aspect ratio is wrong if we compare with other videos from the Legacy of Kain saga (for the connoisseurs :D ) and the aspect ratio in-game. There shouldn't be black bars. So I just had to cut the black bars to have the correct AR.
Upscaled to 2160p (16:9 AR)
https://media.joomeo.com/medium/5af109cf258d5.jpg (https://media.joomeo.com/large/5af109cf258d5.jpg)
https://media.joomeo.com/original/5af109cf258d5.png
My last script has the best perspective I think ! :)
3 years ago, I wanted to show you another new script, but I did another... and another... :D
But I will still take the opportunity to post the relative video for this script :p :
https://youtu.be/RjxJZj55Rzc?list=PLL_S06Mn5k4mRZ1a50jW3G7DVYqx9NhoT
Here is the playlist with all my scripts : https://www.youtube.com/playlist?list=PLL_S06Mn5k4mRZ1a50jW3G7DVYqx9NhoT
My other favorite scripts are those :
Modern display style : https://youtu.be/Q9khxebvc7k?list=PLL_S06Mn5k4mRZ1a50jW3G7DVYqx9NhoT
Old display style 1 & 2 : https://youtu.be/ckJXsOxjpKo?list=PLL_S06Mn5k4mRZ1a50jW3G7DVYqx9NhoT
But I still not have a video for my last script ! :)
SuperLumberjack
5th May 2018, 12:53
raffriff42, can you just give me the script you did with the GaussResize2 with an input resolution of "256x224" and and output resolution of "2820x2160" with "px=50" and "py=50" please ? :o
It's juste to have a modele that I understand, because this kind of scripts it's a bit too elaborated for me ! :p
In fact, I tried, and it didn't work :(
Edit :
How can I do to have the equivalent of that ? :)
AviSource()
Spline16Resize(2560, 1440)
GaussResize2(10240, 5760, px=50, py=25)
BicubicResize(3840, 2160)
Need I an other filter than the internal filter GaussResize ?
It's for another video with a resolution of 640x360 that I want in 3840x2160. It's my reference to validate all my different scripts ! :p
raffriff42
5th May 2018, 13:38
raffriff42, can you just give me the script you did with the GaussResize2 with an input resolution of "256x224" and and output resolution of "2820x2160" with "px=50" and "py=50" please ? :o
This (https://forum.doom9.org/showthread.php?p=1841295#post1841295) script? (EDIT fixed the link)
LoadPlugin("<path>\PointSize_x64.dll") ## FIX THIS PATH
## ADD SOURCE HERE (RGB32, 256x224)
## (256x224 -> 1024x896)
LQx(4) ## retains some jaggies (best for 'digital' look)
#xBRZ(4) ## softer gradients (best for 'smooth' look)
ConvertToYV12(matrix="Rec709")
## (other filters here -- try QTGMC for example)
GaussResize2(2820, 2160, px=50, py=50)
return Last
##################################
function GaussResize2(clip C, int target_width, int target_height,
\ float "src_left", float "src_top", float "src_width", float "src_height",
\ float "px", float "py")
{
px = Default(px, 30.0)
py = Default(py, px)
R = C.GaussResize(target_width, C.Height,
\ src_left, 0, src_width, 0, px)
\ .GaussResize(target_width, target_height,
\ 0, src_top, 0, src_height, py)
return R
}
SuperLumberjack
5th May 2018, 13:44
Houlala ! Thanks raffriff42 ! But I still don't understand all this code :p
I just want the equivalent of this (I updated my last post, sorry :D ) :
GaussResize2(10240, 5760, px=50, py=25)
(But it really need to be the perfect equivalent !)
Nothing special, just this, but in this script :
AviSource()
Spline16Resize(2560, 1440)
GaussResize2(10240, 5760, px=50, py=25)
BicubicResize(3840, 2160)
It's just to test ! ;)
But I would like to stay with RGB24 or RGB32, not convert to YV12 or something else. I do this when I export the video :)
Can you do the real script please ? Not the general formula. Sorry, it's just to better understand :)
Thank you very much ! ;)
raffriff42
5th May 2018, 13:58
>I just want the equivalent of this...
"equivalent" ???
SuperLumberjack
5th May 2018, 14:03
Yes, the equivalent :p This I suppose, but with the numbers :D :
function GaussResize2(clip C, int target_width, int target_height,
\ float "src_left", float "src_top", float "src_width", float "src_height",
\ float "px", float "py")
{
px = Default(px, 30.0)
py = Default(py, px)
R = C.GaussResize(target_width, C.Height,
\ src_left, 0, src_width, 0, px)
\ .GaussResize(target_width, target_height,
\ 0, src_top, 0, src_height, py)
return R
}
Sorry, but it's hard to understand for me ! :( I'm a bit slow... and a noob ! :stupid:
I only understand the simple fonctions for the moment.
So if I want this to work :
AviSource()
Spline16Resize(2560, 1440)
GaussResize2(10240, 5760, px=50, py=25)
BicubicResize(3840, 2160)
(source resolution : 640x360 [RGB24])
What exact code (so that I can use directly without adapt it) have I to put ? :)
SuperLumberjack
5th May 2018, 14:49
OK. I understand better now :)
I read this :
http://salp.wikia.com/wiki/AviSynth_Basics
So the "#" are for comments and don't affect the script. Oki ! ;)
So I just have to keep this if I understand :
GaussResize2(10240, 5760, px=50, py=25)
But I tried this and it didn't recognize the fonction :(
So, how can I do please ? :scared:
SuperLumberjack
5th May 2018, 18:08
Is there somebody ? :scared:
Because my vacations will be over in one day... :D
SuperLumberjack
7th May 2018, 17:56
So this is not possible if I understand :) :
GaussResize2(10240, 5760, px=50, py=25)
Was it just for the example ? :o
raffriff42
8th May 2018, 02:03
Sure, it's possible. Use the script I posted above (https://forum.doom9.org/showthread.php?p=1841305#post1841305) and change the arguments. Remember to include the GaussResize2 function in your script:...
GaussResize2(2820, 2160, px=50, py=25)
return Last
##################################
function GaussResize2(clip C, int target_width, int target_height,
\ float "src_left", float "src_top", float "src_width", float "src_height",
\ float "px", float "py")
{
px = Default(px, 30.0)
py = Default(py, px)
R = C.GaussResize(target_width, C.Height,
\ src_left, 0, src_width, 0, px)
\ .GaussResize(target_width, target_height,
\ 0, src_top, 0, src_height, py)
return R
}
SuperLumberjack
8th May 2018, 03:32
Thanks raffriff42 ! :)
So, if I understand, I must add this too ?
##################################
function GaussResize2(clip C, int target_width, int target_height,
\ float "src_left", float "src_top", float "src_width", float "src_height",
\ float "px", float "py")
{
px = Default(px, 30.0)
py = Default(py, px)
R = C.GaussResize(target_width, C.Height,
\ src_left, 0, src_width, 0, px)
\ .GaussResize(target_width, target_height,
\ 0, src_top, 0, src_height, py)
return R
}
But why is there "30.0" here ? :confused:
px = Default(px, 30.0)
StainlessS
8th May 2018, 09:52
So, if I understand, I must add this too ?
Yes, because that is the script function that you are calling, in blue.
[EDIT: GaussResize2() is a user defined script function, which in turn calls GaussResize() which is an Avisynth built in function].
GaussResize2(2820, 2160, px=50, py=25)
return Last
function GaussResize2(clip C, int target_width, int target_height,
\ float "src_left", float "src_top", float "src_width", float "src_height",
\ float "px", float "py")
{
px = Default(px, 30.0)
py = Default(py, px)
R = C.GaussResize(target_width, C.Height,
\ src_left, 0, src_width, 0, px)
\ .GaussResize(target_width, target_height,
\ 0, src_top, 0, src_height, py)
return R
}
But why is there "30.0" here ?
These arguments to the above GaussResize2() function are compulsory, "clip C, int target_width, int target_height,".
The remaining arguments are optional, (they are surrounded in double quotes in the function definition).
If the px and py optional arguments are not supplied [EDIT: when calling the script function], then px will be given the default of 30.0, and
px is the default for py (after px is either accepting caller arg or defaulting to 30.0).
The other optional args (ie src_left etc), are not given defaults within the above script function, they are
simply passed on the two GaussResize() calls, and accept whatever the defaults are in those filters.
Your curiosity might suggest that you would like to have a crack at leaning Avisynth scripting, there are worst ways to spend your time.
See, "New to Avisynth - Start here":- http://avisynth.nl/index.php/Main_Page
User defined script functions [specific to above questions]:- http://avisynth.nl/index.php/User_defined_script_functions
SuperLumberjack
8th May 2018, 16:47
raffriff42 and StainlessS, you are real heros ! :p You are the bests ! ;)
It works ! :D And thanks fot the explanations StainlessS. It's so cool to learn from you both ! :)
In fact, I thought that I must change some things in the fonction. It's why I was afraid ! :scared:
But finally, I got my new super script ! :p
AviSource()
Spline16Resize(1024, 896)
nnedi3_rpow2(rfactor=2, nsize=0, nns=2, qual=1, etype=0, pscrn=2, threads=0, opt=0, fapprox=0)
GaussResize2(5760, 4320, px=37.5, py=12.5)
return Last
function GaussResize2(clip C, int target_width, int target_height,
\ float "src_left", float "src_top", float "src_width", float "src_height",
\ float "px", float "py")
{
px = Default(px, 50.0) # I used 50.0 instead of raffriff42 default of 30.0
py = Default(py, px)
R = C.GaussResize(target_width, C.Height,
\ src_left, 0, src_width, 0, px)
\ .GaussResize(target_width, target_height,
\ 0, src_top, 0, src_height, py)
return R
}
But I only have a problem ! :o When I add this line :
BicubicResize(2880, 2160)
It stays in the resolution of 5760x4320. How can I do please ? :confused:
Thank you ! :thanks:
StainlessS
8th May 2018, 17:27
AviSource()
Spline16Resize(1024, 896)
nnedi3_rpow2(rfactor=2, nsize=0, nns=2, qual=1, etype=0, pscrn=2, threads=0, opt=0, fapprox=0)
GaussResize2(5760, 4320, px=37.5, py=12.5)
# ???????? # <<----<< Bung whatever else in here, which is processed after the preceding lines above.
return Last # This is the end of the program, and returns the result that is displayed in player.
ie
AviSource()
Spline16Resize(1024, 896) # NOT Sure that you really want this one
nnedi3_rpow2(rfactor=2, nsize=0, nns=2, qual=1, etype=0, pscrn=2, threads=0, opt=0, fapprox=0)
GaussResize2(5760, 4320, px=37.5, py=12.5)
BicubicResize(2880, 2160)
return Last # This is the end of the program, and returns the result that is displayed in player.
EDIT: And yes, you do still need the GaussResize2 thing in the script (as already established).
SuperLumberjack
8th May 2018, 19:57
Thank you for you explanations ! ;)
So I put the Bicubic in the wrong place :p
You don't like Spline16 ? Do you have another recommendation ? :)
StainlessS
8th May 2018, 20:07
No recommendation, just thought that 4 resize's was a bit much, if that produces what you want then use it by all means.
EDIT:
nnedi3_rpow2(rfactor=2) doubles the input size, so
Spline16Resize(1024, 896) # NOT Sure that you really want this one
nnedi3_rpow2(rfactor=2, nsize=0, nns=2, qual=1, etype=0, pscrn=2, threads=0, opt=0, fapprox=0)
outputs 2048x1792,
then GaussResize2() to 5760x4320,
then back to 2880x2160, via BiCubic.
EDIT: I've no idea what you want to do, and absolutely no clue as to why you want to do it.
(why do people record a video game, indeed why do people play games is a mystery to me :) )
EDIT: More like from post #186
LoadPlugin("<path>\PointSize_x64.dll") ## FIX THIS PATH
## ADD SOURCE HERE (RGB32, 256x224)
#AviSource("...")
### CONFIG ###
## (256x224 -> 2820x2160)
LQx_ARG = 4 ## retains some jaggies (best for 'digital' look)
xBRZ_ARG = 4 ## softer gradients (best for 'smooth' look)
OUTW = 2820
OUTH = 2160
### END CONFIG ###
LQx(LQx_ARG)
#xBRZ(xBRZ_ARG)
ConvertToYV12(matrix="Rec709")
## (other filters here -- try QTGMC for example)
GaussResize2(OUTW, OUTH, px=50, py=50)
return Last
##################################
function GaussResize2(clip C, int target_width, int target_height,
\ float "src_left", float "src_top", float "src_width", float "src_height",
\ float "px", float "py")
{
px = Default(px, 30.0)
py = Default(py, px)
R = C.GaussResize(target_width, C.Height,
\ src_left, 0, src_width, 0, px)
\ .GaussResize(target_width, target_height,
\ 0, src_top, 0, src_height, py)
return R
}
SuperLumberjack
8th May 2018, 20:30
No recommendation, just thought that 4 resize's was a bit much, if that produces what you want then use it by all means.
EDIT:
nnedi3_rpow2(rfactor=2) doubles the input size, so
Spline16Resize(1024, 896) # NOT Sure that you really want this one
nnedi3_rpow2(rfactor=2, nsize=0, nns=2, qual=1, etype=0, pscrn=2, threads=0, opt=0, fapprox=0)
outputs 2048x1792,
then GaussResize2() to 5760x4320,
then back to 2880x2160, via BiCubic.
EDIT: I've no idea what you want to do, and absolutely no clue as to why you want to do it.
(why do people record a video game, indeed why do people play games is a mystery to me :) )
Lots of mysteries in the universe ! :D
In fact, I play (sometimes, but I have not enough times, and I prefer old games) and I do videos :p
It's just for fun ! I'm not a youtuber ! :o
I love testing some things too !
For short explanations, I begin with Spline16 to get more details, with a resolution of 1024x896, because it's 256x224x4.
Then, I tested with Nnedi3, because it gives a clean look to the image :)
The GaussResize is to change the aspect ratio. It's good for that I think, almost transparent. And it's good to clean the image too.
I prefer always rise the resolution, and in the end, reduce with a Bicubic. I find the Bicubic is well-balanced to reduce the resolution. I don't like Lanczos for example.
Voilą ! :D
StainlessS
8th May 2018, 20:46
OK, something like this maybe (Just change config stuff to play with it).
LoadPlugin("<path>\PointSize_x64.dll") ## FIX THIS PATH
## ADD SOURCE HERE (RGB32, 256x224)
#AviSource("...")
### CONFIG ###
## (256x224 -> 2820x2160)
LQx_ARG = 4 ## retains some jaggies (best for 'digital' look)
xBRZ_ARG = 4 ## softer gradients (best for 'smooth' look)
SPL_W = 1024 ## Spline16
SPL_H = 896
GAU_W = 5760 # Gauss
GAU_H = 4320
GAU_PX = 37.5
GAU_PY = 12.5
BIC_W = 2820 # BiCubic (Output)
BIC_H = 2160
### END CONFIG ###
LQx(LQx_ARG) # Uncomment 1 or NONE [EDIT: Changed 'Both' to 'NONE']
#xBRZ(xBRZ_ARG)
ConvertToYV12(matrix="Rec709")
## (other filters here -- try QTGMC for example)
#########
Spline16Resize(SPL_W, SPL_H)
nnedi3_rpow2(rfactor=2, nsize=0, nns=2, qual=1, etype=0, pscrn=2, threads=0, opt=0, fapprox=0)
GaussResize2(GAU_W, GAU_H, px=GAU_PX, py=GAU_PY)
BiCubicResize(BIC_W,BIC_H)
return Last
##################################
function GaussResize2(clip C, int target_width, int target_height,
\ float "src_left", float "src_top", float "src_width", float "src_height",
\ float "px", float "py")
{
px = Default(px, 30.0)
py = Default(py, px)
R = C.GaussResize(target_width, C.Height,
\ src_left, 0, src_width, 0, px)
\ .GaussResize(target_width, target_height,
\ 0, src_top, 0, src_height, py)
return R
}
EDIT: changed RED stuff.
SuperLumberjack
8th May 2018, 22:12
Thanks StainlessS ! ;)
I will try tomorrow at the afternoon, because I haven't enough time any more. I work tomorrow ! Ouch ! :D
But I have just enough time, to show you my pictures and my new scripts :p
Original (8:7 AR)
https://media.joomeo.com/medium/5aed00897c55c.jpg (https://media.joomeo.com/large/5aed00897c55c.jpg)
https://media.joomeo.com/original/5aed00897c55c.png
Upscaled to 2160p (8:7 AR)
https://media.joomeo.com/medium/5af20e33ccff4.jpg (https://media.joomeo.com/large/5af20e33ccff4.jpg)
https://media.joomeo.com/original/5af20e33ccff4.png
AviSource()
Spline16Resize(512, 448)
nnedi3_rpow2(rfactor=2, nsize=0, nns=2, qual=1, etype=0, pscrn=2, threads=0, opt=0, fapprox=0)
GaussResize2(2468, 2160, px=200/3, py=200/3)
return Last
##################################
function GaussResize2(clip C, int target_width, int target_height,
\ float "src_left", float "src_top", float "src_width", float "src_height",
\ float "px", float "py")
{
px = Default(px, 50.0)) # I used 50.0 instead of raffriff42 default of 30.0
py = Default(py, px)
R = C.GaussResize(target_width, C.Height,
\ src_left, 0, src_width, 0, px)
\ .GaussResize(target_width, target_height,
\ 0, src_top, 0, src_height, py)
return R
}
Original (8:7 AR)
https://media.joomeo.com/medium/5aed019458739.jpg (https://media.joomeo.com/large/5aed019458739.jpg)
https://media.joomeo.com/original/5aed019458739.png
Upscaled to 2160p (4:3 AR)
https://media.joomeo.com/medium/5af20e689b51a.jpg (https://media.joomeo.com/large/5af20e689b51a.jpg)
https://media.joomeo.com/original/5af20e689b51a.png
AviSource()
Spline16Resize(512, 448)
nnedi3_rpow2(rfactor=2, nsize=0, nns=2, qual=1, etype=0, pscrn=2, threads=0, opt=0, fapprox=0)
GaussResize2(2820, 2160, px=200/3, py=200/3)
return Last
##################################
function GaussResize2(clip C, int target_width, int target_height,
\ float "src_left", float "src_top", float "src_width", float "src_height",
\ float "px", float "py")
{
px = Default(px, 50.0)) # I used 50.0 instead of raffriff42 default of 30.0
py = Default(py, px)
R = C.GaussResize(target_width, C.Height,
\ src_left, 0, src_width, 0, px)
\ .GaussResize(target_width, target_height,
\ 0, src_top, 0, src_height, py)
return R
}
Original (4:3 AR)
https://media.joomeo.com/medium/5aed021e59505.jpg (https://media.joomeo.com/large/5aed021e59505.jpg)
https://media.joomeo.com/original/5aed021e59505.png
Upscaled to 2160p (4:3 AR)
https://media.joomeo.com/medium/5af20e92c6351.jpg (https://media.joomeo.com/large/5af20e92c6351.jpg)
https://media.joomeo.com/original/5af20e92c6351.png
AviSource()
Spline16Resize(1280, 960)
ConvertToRGB24
nnedi3_rpow2(rfactor=2, nsize=0, nns=2, qual=1, etype=0, pscrn=2, threads=0, opt=0, fapprox=0)
GaussResize2(2880, 2160, px=100/3, py=100/3)
return Last
##################################
function GaussResize2(clip C, int target_width, int target_height,
\ float "src_left", float "src_top", float "src_width", float "src_height",
\ float "px", float "py")
{
px = Default(px, 50.0)) # I used 50.0 instead of raffriff42 default of 30.0
py = Default(py, px)
R = C.GaussResize(target_width, C.Height,
\ src_left, 0, src_width, 0, px)
\ .GaussResize(target_width, target_height,
\ 0, src_top, 0, src_height, py)
return R
}
Original (4:3 AR)
https://media.joomeo.com/medium/5aed02f0db60c.jpg (https://media.joomeo.com/large/5aed02f0db60c.jpg)
https://media.joomeo.com/original/5aed02f0db60c.png
Note : Here, the aspect ratio is wrong if we compare with other videos from the Legacy of Kain saga (for the connoisseurs :D ) and the aspect ratio in-game. There shouldn't be black bars. So I just had to cut the black bars to have the correct AR.
Upscaled to 2160p (16:9 AR)
https://media.joomeo.com/medium/5af20eea87ccd.jpg (https://media.joomeo.com/large/5af20eea87ccd.jpg)
https://media.joomeo.com/original/5af20eea87ccd.png
AviSource()
Crop(0, 80, 0, -80)
Spline16Resize(1280, 640)
ConvertToRGB24
nnedi3_rpow2(rfactor=2, nsize=0, nns=2, qual=1, etype=0, pscrn=2, threads=0, opt=0, fapprox=0)
GaussResize2(3840, 2160, px=100/3, py=100/3)
return Last
##################################
function GaussResize2(clip C, int target_width, int target_height,
\ float "src_left", float "src_top", float "src_width", float "src_height",
\ float "px", float "py")
{
px = Default(px, 50.0)) # I used 50.0 instead of raffriff42 default of 30.0
py = Default(py, px)
R = C.GaussResize(target_width, C.Height,
\ src_left, 0, src_width, 0, px)
\ .GaussResize(target_width, target_height,
\ 0, src_top, 0, src_height, py)
return R
}
I know, finally, I put the same value to the px and py for the GaussResize2 :D So I could use the simple GaussResize. But I noticed a little difference when I zoomed the picture, between :
GaussResize2(3840, 2160, px=100/3, py=100/3)
and
GaussResize(3840, 2160, p=100/3)
And finally, I prefer the GaussResize that raffriff42 did ! :p
Ok. Have a nice night tonight ! :)
And :thanks:
StainlessS
8th May 2018, 23:35
Oops, sorry, changed stuff in red in my prev post (was untested, online scripting only).
Still untested, sitting in pub.
StainlessS
9th May 2018, 02:32
But I noticed a little difference when I zoomed the picture,
Imagination, not possible.
EDIT: By the way, 100/3 is 33 (integer divide) not 33.33333, use eg 1.0/3 or 1/3.0, or 1.0/3.0.
SuperLumberjack
9th May 2018, 15:45
Oops, sorry, changed stuff in red in my prev post (was untested, online scripting only).
Still untested, sitting in pub.
Sitting in a pub ? You are forgiven ! :D
Imagination, not possible.
But there are differences ! :p See by yourself ;)
GaussResize(3840, 2160, p=100/3)
https://media.joomeo.com/medium/5af305d36883e.jpg (https://media.joomeo.com/large/5af305d36883e.jpg)
https://media.joomeo.com/original/5af305d36883e.png
GaussResize2(3840, 2160, px=100/3, py=100/3)
https://media.joomeo.com/medium/5af3064138cf8.jpg (https://media.joomeo.com/large/5af3064138cf8.jpg)
https://media.joomeo.com/original/5af3064138cf8.png
GaussResize(3840, 2160, p=100/3) (zoom 1600%)
https://media.joomeo.com/medium/5af3067d7a24c.jpg (https://media.joomeo.com/large/5af3067d7a24c.jpg)
https://media.joomeo.com/original/5af3067d7a24c.png
GaussResize2(3840, 2160, px=100/3, py=100/3) (zoom 1600%)
https://media.joomeo.com/medium/5af306a96cff1.jpg (https://media.joomeo.com/large/5af306a96cff1.jpg)
https://media.joomeo.com/original/5af306a96cff1.png
GaussResize(3840, 2160, p=100/3) (zoom 3200%)
https://media.joomeo.com/medium/5af306dbd4be8.jpg (https://media.joomeo.com/large/5af306dbd4be8.jpg)
https://media.joomeo.com/original/5af306dbd4be8.png
GaussResize2(3840, 2160, px=100/3, py=100/3) (zoom 3200%)
https://media.joomeo.com/medium/5af30708778cf.jpg (https://media.joomeo.com/large/5af30708778cf.jpg)
https://media.joomeo.com/original/5af30708778cf.png
GaussResize vs. GaussResize2 (zoom 3200%)
https://media.joomeo.com/medium/5af3072e72a52.jpg (https://media.joomeo.com/large/5af3072e72a52.jpg)
https://media.joomeo.com/original/5af3072e72a52.png
So, there are little differences between this :
GaussResize(3840, 2160, p=100/3)
and this :
GaussResize2(3840, 2160, px=100/3, py=100/3)
return Last
##################################
function GaussResize2(clip C, int target_width, int target_height,
\ float "src_left", float "src_top", float "src_width", float "src_height",
\ float "px", float "py")
{
px = Default(px, 50.0)) # I used 50.0 instead of raffriff42 default of 30.0
py = Default(py, px)
R = C.GaussResize(target_width, C.Height,
\ src_left, 0, src_width, 0, px)
\ .GaussResize(target_width, target_height,
\ 0, src_top, 0, src_height, py)
return R
}
:D
Maybe it's because I changed this ? :confused:
px = Default(px, 50.0)
EDIT: By the way, 100/3 is 33 (integer divide) not 33.33333, use eg 1.0/3 or 1/3.0, or 1.0/3.0.
So it never uses decimals ?
StainlessS
9th May 2018, 17:57
Maybe it's because I changed this ?
Should not really do that, if comparing with eg a RaffRiff42 example then may cause confusion as your function will act differently to his,
if 30.0 is official default, then really should keep that and use your pref as calling arg.
So it never uses decimals ?
100 is an integer and so is 3, so 100/3 is 33 not 33.33333, an integer multiplied by or divided by or added to, subtracted from another integer, has an integer result. [EDIT: any fractional part discarded/truncated, NOT rounded]
An integer + a float (and all other above operations too) has a Float result. (The integer is converted to a float prior to the operation).
Above is true for many programming languages.
The difference between RaffRiff GaussResize2 and GaussResize may be down to the order of resize, Width, Height, or Height, Width.
Raffs does resize width and then resize height, think builtin resize chooses the longest side (or shortest, not sure offhand which) side first, and then the other.
SuperLumberjack
9th May 2018, 18:29
Oki. Thank you for your explanations ! :) It's always a pleasure to learn from you ;)
Otherwise, I tried the "HQx" and the "LQx" resizers, and I feel that the perfect resizer would be something in between. Sad ! :p
SuperLumberjack
10th May 2018, 01:22
Hello !
I updated my scripts a little bit :)
It's almost identical, but it's better when I zoom ! :p
I just changed these lines :
nnedi3_rpow2(rfactor=2, nsize=0, nns=2, qual=1, etype=0, pscrn=4, threads=0, opt=0, fapprox=0)
I compared with screenshots, and I found it's more natural visually with "pscrn=4"
GaussResize2(4936, 4320, px=50, py=50)
BicubicResize(2468, 2160)
I still upsize 2 times and then reduce with the final resolution.
px = Default(px, 30.0)
I put the original value.
Voilą ! ;)
Original (8:7 AR)
https://media.joomeo.com/medium/5aed00897c55c.jpg (https://media.joomeo.com/large/5aed00897c55c.jpg)
https://media.joomeo.com/original/5aed00897c55c.png
Upscaled to 2160p (8:7 AR)
https://media.joomeo.com/medium/5af38ab2ab3f0.jpg (https://media.joomeo.com/large/5af38ab2ab3f0.jpg)
https://media.joomeo.com/original/5af38ab2ab3f0.png
AviSource()
Spline16Resize(512, 448)
nnedi3_rpow2(rfactor=2, nsize=0, nns=2, qual=1, etype=0, pscrn=4, threads=0, opt=0, fapprox=0)
GaussResize2(4936, 4320, px=50, py=50)
BicubicResize(2468, 2160)
return Last
##################################
function GaussResize2(clip C, int target_width, int target_height,
\ float "src_left", float "src_top", float "src_width", float "src_height",
\ float "px", float "py")
{
px = Default(px, 30.0)
py = Default(py, px)
R = C.GaussResize(target_width, C.Height,
\ src_left, 0, src_width, 0, px)
\ .GaussResize(target_width, target_height,
\ 0, src_top, 0, src_height, py)
return R
}
Original (8:7 AR)
https://media.joomeo.com/medium/5aed019458739.jpg (https://media.joomeo.com/large/5aed019458739.jpg)
https://media.joomeo.com/original/5aed019458739.png
Upscaled to 2160p (4:3 AR)
https://media.joomeo.com/medium/5af38afa516b3.jpg (https://media.joomeo.com/large/5af38afa516b3.jpg)
https://media.joomeo.com/original/5af38afa516b3.png
AviSource()
Spline16Resize(512, 448)
nnedi3_rpow2(rfactor=2, nsize=0, nns=2, qual=1, etype=0, pscrn=4, threads=0, opt=0, fapprox=0)
GaussResize2(5640, 4320, px=50, py=50)
BicubicResize(2820, 2160)
return Last
##################################
function GaussResize2(clip C, int target_width, int target_height,
\ float "src_left", float "src_top", float "src_width", float "src_height",
\ float "px", float "py")
{
px = Default(px, 30.0)
py = Default(py, px)
R = C.GaussResize(target_width, C.Height,
\ src_left, 0, src_width, 0, px)
\ .GaussResize(target_width, target_height,
\ 0, src_top, 0, src_height, py)
return R
}
Original (4:3 AR)
https://media.joomeo.com/medium/5aed021e59505.jpg (https://media.joomeo.com/large/5aed021e59505.jpg)
https://media.joomeo.com/original/5aed021e59505.png
Upscaled to 2160p (4:3 AR)
https://media.joomeo.com/medium/5af38b407e38d.jpg (https://media.joomeo.com/large/5af38b407e38d.jpg)
https://media.joomeo.com/original/5af38b407e38d.png
AviSource()
Spline16Resize(1280, 960)
ConvertToRGB24
nnedi3_rpow2(rfactor=2, nsize=0, nns=2, qual=1, etype=0, pscrn=4, threads=0, opt=0, fapprox=0)
GaussResize2(5760, 4320, px=50, py=50)
BicubicResize(2880, 2160)
return Last
##################################
function GaussResize2(clip C, int target_width, int target_height,
\ float "src_left", float "src_top", float "src_width", float "src_height",
\ float "px", float "py")
{
px = Default(px, 30.0)
py = Default(py, px)
R = C.GaussResize(target_width, C.Height,
\ src_left, 0, src_width, 0, px)
\ .GaussResize(target_width, target_height,
\ 0, src_top, 0, src_height, py)
return R
}
Original (4:3 AR)
https://media.joomeo.com/medium/5aed02f0db60c.jpg (https://media.joomeo.com/large/5aed02f0db60c.jpg)
https://media.joomeo.com/original/5aed02f0db60c.png
Note : Here, the aspect ratio is wrong if we compare with other videos from the Legacy of Kain saga (for the connoisseurs :D ) and the aspect ratio in-game. There shouldn't be black bars. So I just had to cut the black bars to have the correct AR.
Upscaled to 2160p (16:9 AR)
https://media.joomeo.com/medium/5af38b84c2020.jpg (https://media.joomeo.com/large/5af38b84c2020.jpg)
https://media.joomeo.com/original/5af38b84c2020.png
AviSource()
Crop(0, 80, 0, -80)
Spline16Resize(1280, 640)
ConvertToRGB24
nnedi3_rpow2(rfactor=2, nsize=0, nns=2, qual=1, etype=0, pscrn=4, threads=0, opt=0, fapprox=0)
GaussResize2(7680, 4320, px=50, py=50)
BicubicResize(3840, 2160)
return Last
##################################
function GaussResize2(clip C, int target_width, int target_height,
\ float "src_left", float "src_top", float "src_width", float "src_height",
\ float "px", float "py")
{
px = Default(px, 30.0)
py = Default(py, px)
R = C.GaussResize(target_width, C.Height,
\ src_left, 0, src_width, 0, px)
\ .GaussResize(target_width, target_height,
\ 0, src_top, 0, src_height, py)
return R
}
Bonne nuit now ! :D
StainlessS
10th May 2018, 12:21
Should not really do that, if comparing with eg a RaffRiff42 example then may cause confusion as your function will act differently to his,
if 30.0 is official default, then really should keep that and use your pref as calling arg.
Perhaps you might like to add this, ie as your own defaulting to 50.0
Function GaussResizeSL(clip C, int target_width, int target_height,
\ float "src_left", float "src_top", float "src_width", float "src_height",
\ float "px", float "py") {
px = Default(px, 50.0) # SLJ default instead of RR42 default of 30.0
Return GaussResize2(C,target_width,target_height,src_left,src_top,src_width,src_height,px,py)
}
Call the new function, you still need to raff42 version.
If posting some example, either include your own stub (as well as original) or modify caller to use original func with your modified px arg (avoids confusion).
SuperLumberjack
10th May 2018, 12:36
Yes, you are right ! :) Thanks for the advice ! ;)
I edited my posts.
SuperLumberjack
10th May 2018, 21:19
Is there a way to have the EPBX scaling algorithm in AviSynth ? :p
https://upload.wikimedia.org/wikipedia/commons/thumb/c/ce/Pixel-Art_Scaling_Comparison.png/800px-Pixel-Art_Scaling_Comparison.png
SuperLumberjack
10th May 2018, 21:58
No, in fact I'm happy with my last script ! ;)
I don't think I could do better. It's pleasant to my eyes ! :p
SuperLumberjack
12th May 2018, 12:53
Hello buddies :)
I come back to you, because I thought about one thing... an important thing ! :p
As some of you know, Higan is the perpect emulator, close to the original experience of the Super Nes, but on the modern display ;)
But I asked myself, how they did to reproduce the original colors, which are darker. Is it simply a way to imitate the feeling of the old CRT display ? I think yes and no... maybe ! :)
I thought one thing : my pictures are in RGB 24 bits, so the levels are 0-255.
But at the time of the CRT display, maybe it was meant to be display in a equivalent of RGB 16-235.
No ? :o
I tried this, and in fact, my image was close to the image of Higan, even if not exactly (maybe the gamma).
After some other researches, I read that the gamma of the CRT was close to 2.5 too if we compare to the gamma of 2,22 on a modern display.
So I convert the gamma of the image too :p
Actually :
1 / 0,45 = 2,2222222222222222222222222222222
So I calculated :
2,5 / (1 / 0,45) = 1,125
So, I used this function to transform my gamma and my levels :
Levels(16, 1.125, 235, 0, 255)
And really, it's closer of what I remember of my experience on a CRT display !
Just for the example, the picture of Mr. Nutz with the spider, I remember how it was dark on my CRT screen when I was a child. It really was a dark atmosphere, the moon was very present, like almost the only comforting glow...
By the way, I was always surprised to see that it's so clear on my LCDs with an emulator :confused:
As you will see, it's not so bad... I hope ! :D
I change this too :
nnedi3_rpow2(rfactor=2, nsize=0, nns=2, qual=1, etype=0, pscrn=3, threads=0, opt=0, fapprox=0)
With "pscrn=3" instead of 4, I noticed that it's closer that what I remember. And yes, I can see the difference ! :D
I compare in zooming with the original picture of Killer Instinct and a the picture of the same game in a video of the Super NT (a real Super Nintendo HD, not an emulator), and it's closer now !
With "pscrn=2" and "pscrn=4", there was something weird. It didn't perfectly match !
SuperLumberjack
12th May 2018, 12:54
Just to compare :
Higan
https://media.joomeo.com/medium/5af6c5501a3d1.jpg (https://media.joomeo.com/large/5af6c5501a3d1.jpg)
https://media.joomeo.com/original/5af6c5501a3d1.png
Super NT :
https://media.joomeo.com/medium/5af6c5feba931.jpg (https://media.joomeo.com/large/5af6c5feba931.jpg)
https://media.joomeo.com/original/5af6c5feba931.png
YouTube video : Episode 1 | First Time Beating Donkey Kong Country | Super NT (https://youtu.be/t3LsceMM6MU)
My script (with levels changed)
https://media.joomeo.com/medium/5af6c70a49172.jpg (https://media.joomeo.com/large/5af6c70a49172.jpg)
https://media.joomeo.com/original/5af6c70a49172.png
My script (without change of levels)
https://media.joomeo.com/medium/5af6c79919a95.jpg (https://media.joomeo.com/large/5af6c79919a95.jpg)
https://media.joomeo.com/original/5af6c79919a95.png
Higan
https://media.joomeo.com/medium/5af6ca69e7656.jpg (https://media.joomeo.com/large/5af6ca69e7656.jpg)
https://media.joomeo.com/original/5af6ca69e7656.png
Super NT :
https://media.joomeo.com/medium/5af6caa61ff98.jpg (https://media.joomeo.com/large/5af6caa61ff98.jpg)
https://media.joomeo.com/original/5af6caa61ff98.png
Analogue Super NT - Donkey Kong Country 2 (No Scanlines) 02-22-2018 (https://youtu.be/0efBLtLU3l0)
My script (with levels changed)
https://media.joomeo.com/medium/5af6cae2304f4.jpg (https://media.joomeo.com/large/5af6cae2304f4.jpg)
https://media.joomeo.com/original/5af6cae2304f4.png
My script (without change of levels)
https://media.joomeo.com/medium/5af6cb11444d0.jpg (https://media.joomeo.com/large/5af6cb11444d0.jpg)
https://media.joomeo.com/original/5af6cb11444d0.png
Higan
https://media.joomeo.com/medium/5af6cb6b68280.jpg (https://media.joomeo.com/large/5af6cb6b68280.jpg)
https://media.joomeo.com/original/5af6cb6b68280.png
Super NT :
https://media.joomeo.com/medium/5af6cb98de4b4.jpg (https://media.joomeo.com/large/5af6cb98de4b4.jpg)
https://media.joomeo.com/original/5af6cb98de4b4.png
Analogue Super NT - Killer Instinct (Hybrid Scanlines) 02-23-2018 (https://youtu.be/VI7IEkCdjhI)
My script (with levels changed)
https://media.joomeo.com/medium/5af6cbc1a8c0f.jpg (https://media.joomeo.com/large/5af6cbc1a8c0f.jpg)
https://media.joomeo.com/original/5af6cbc1a8c0f.png
My script (without change of levels)
https://media.joomeo.com/medium/5af6cc28a3095.jpg (https://media.joomeo.com/large/5af6cc28a3095.jpg)
https://media.joomeo.com/original/5af6cc28a3095.png
What do you think ? :)
Here are some videos about the Super NT il you are interested ;) :
DF Retro: Analogue Super Nt Review - a 21st Century SNES! (https://youtu.be/LOSQgBEf5ac)
Super NT Console vs. SNES Classic & OG Super Nintendo - Graphics Comparison (https://youtu.be/86aHhZnIzh4)
SuperLumberjack
12th May 2018, 12:55
And now, the picture of my last scripts :p :
Original (8:7 AR)
https://media.joomeo.com/medium/5aed00897c55c.jpg (https://media.joomeo.com/large/5aed00897c55c.jpg)
https://media.joomeo.com/original/5aed00897c55c.png
Upscaled to 2160p (8:7 AR)
https://media.joomeo.com/medium/5af6d35020a92.jpg (https://media.joomeo.com/large/5af6d35020a92.jpg)
https://media.joomeo.com/original/5af6d35020a92.png
AviSource()
Spline16Resize(512, 448)
nnedi3_rpow2(rfactor=2, nsize=0, nns=2, qual=1, etype=0, pscrn=3, threads=0, opt=0, fapprox=0)
GaussResize2(4936, 4320, px=50, py=50)
BicubicResize(2468, 2160)
Levels(16, 1.125, 235, 0, 255)
return Last
##################################
function GaussResize2(clip C, int target_width, int target_height,
\ float "src_left", float "src_top", float "src_width", float "src_height",
\ float "px", float "py")
{
px = Default(px, 30.0)
py = Default(py, px)
R = C.GaussResize(target_width, C.Height,
\ src_left, 0, src_width, 0, px)
\ .GaussResize(target_width, target_height,
\ 0, src_top, 0, src_height, py)
return R
}
Original (8:7 AR)
https://media.joomeo.com/medium/5aed019458739.jpg (https://media.joomeo.com/large/5aed019458739.jpg)
https://media.joomeo.com/original/5aed019458739.png
Upscaled to 2160p (4:3 AR)
https://media.joomeo.com/medium/5af6d37e35ba5.jpg (https://media.joomeo.com/large/5af6d37e35ba5.jpg)
https://media.joomeo.com/original/5af6d37e35ba5.png
AviSource()
Spline16Resize(512, 448)
nnedi3_rpow2(rfactor=2, nsize=0, nns=2, qual=1, etype=0, pscrn=3, threads=0, opt=0, fapprox=0)
GaussResize2(5640, 4320, px=50, py=50)
BicubicResize(2820, 2160)
Levels(16, 1.125, 235, 0, 255)
return Last
##################################
function GaussResize2(clip C, int target_width, int target_height,
\ float "src_left", float "src_top", float "src_width", float "src_height",
\ float "px", float "py")
{
px = Default(px, 30.0)
py = Default(py, px)
R = C.GaussResize(target_width, C.Height,
\ src_left, 0, src_width, 0, px)
\ .GaussResize(target_width, target_height,
\ 0, src_top, 0, src_height, py)
return R
}
Original (4:3 AR)
https://media.joomeo.com/medium/5aed021e59505.jpg (https://media.joomeo.com/large/5aed021e59505.jpg)
https://media.joomeo.com/original/5aed021e59505.png
Upscaled to 2160p (4:3 AR)
https://media.joomeo.com/medium/5af6d3a82231a.jpg (https://media.joomeo.com/large/5af6d3a82231a.jpg)
https://media.joomeo.com/original/5af6d3a82231a.png
AviSource()
Spline16Resize(1280, 960)
ConvertToRGB24
nnedi3_rpow2(rfactor=2, nsize=0, nns=2, qual=1, etype=0, pscrn=3, threads=0, opt=0, fapprox=0)
GaussResize2(5760, 4320, px=50, py=50)
BicubicResize(2880, 2160)
return Last
##################################
function GaussResize2(clip C, int target_width, int target_height,
\ float "src_left", float "src_top", float "src_width", float "src_height",
\ float "px", float "py")
{
px = Default(px, 30.0)
py = Default(py, px)
R = C.GaussResize(target_width, C.Height,
\ src_left, 0, src_width, 0, px)
\ .GaussResize(target_width, target_height,
\ 0, src_top, 0, src_height, py)
return R
}
Original (4:3 AR)
https://media.joomeo.com/medium/5aed02f0db60c.jpg (https://media.joomeo.com/large/5aed02f0db60c.jpg)
https://media.joomeo.com/original/5aed02f0db60c.png
Note : Here, the aspect ratio is wrong if we compare with other videos from the Legacy of Kain saga (for the connoisseurs :D ) and the aspect ratio in-game. There shouldn't be black bars. So I just had to cut the black bars to have the correct AR.
Upscaled to 2160p (16:9 AR)
https://media.joomeo.com/medium/5af6d3dbd5f1f.jpg (https://media.joomeo.com/large/5af6d3dbd5f1f.jpg)
https://media.joomeo.com/original/5af6d3dbd5f1f.png
AviSource()
Crop(0, 80, 0, -80)
Spline16Resize(1280, 640)
ConvertToRGB24
nnedi3_rpow2(rfactor=2, nsize=0, nns=2, qual=1, etype=0, pscrn=3, threads=0, opt=0, fapprox=0)
GaussResize2(7680, 4320, px=50, py=50)
BicubicResize(3840, 2160)
return Last
##################################
function GaussResize2(clip C, int target_width, int target_height,
\ float "src_left", float "src_top", float "src_width", float "src_height",
\ float "px", float "py")
{
px = Default(px, 30.0)
py = Default(py, px)
R = C.GaussResize(target_width, C.Height,
\ src_left, 0, src_width, 0, px)
\ .GaussResize(target_width, target_height,
\ 0, src_top, 0, src_height, py)
return R
}
So ? What is your opinion about all of that please ? :scared:
SuperLumberjack
12th May 2018, 13:56
I just checked one more time if there is a logic with the levels and the gamma, and without a doubt, whatever you think, in all modesty, I think I'm right :p
There is a balance ! I checked with the levels filter of VirtualDub.
I just changed a bit to see "14-237" in input, "15-236", "17-234"... and with the gradations, it perfectly match with "16-236".
I adjusted the gamma without watching the value. I reduced the gamma , I increased the gamma, I saw the dark tones becoming brighter, the light tones becoming darker... and I felt a balance ! Believe me or not, but I was on "1.123" for the gamma ! ;)
So "1.125", perfect ! :D I admit that I'm surprised, because the gamma of the CRT screens wasn't perfectly linear if I'm not wrong ! :confused: But it works !
I think it's even better than Higan or the Super NT, not like the old experience maybe on CRT, but more precise digitally (but maybe I'm wrong and it's only my own interpretation, I don't know) ! Always in all modesty... :D
But for the picture itself, you are the judges ! ;)
SuperLumberjack
12th May 2018, 20:22
Finally, even if it works, I'm not sure of what I did... :confused:
I need some explanations ! :D
I read that the RGB 16-235 was created to prevent clipping which could cause some artefacts and other defaults.
So, what is the signal that transit in a RGB scart ?
YCbCr signal ? Full RGB ? Limited RGB ?
This picture seams to show that it can be Full RGB :
https://media.joomeo.com/medium/5ae0ce366b87e.jpg (https://media.joomeo.com/large/5ae0ce366b87e.jpg)
Because if we compare with all the other pictures...
Higan
https://media.joomeo.com/medium/5af6cb6b68280.jpg (https://media.joomeo.com/large/5af6cb6b68280.jpg)
https://media.joomeo.com/original/5af6cb6b68280.png
Super NT :
https://media.joomeo.com/medium/5af6cb98de4b4.jpg (https://media.joomeo.com/large/5af6cb98de4b4.jpg)
https://media.joomeo.com/original/5af6cb98de4b4.png
Analogue Super NT - Killer Instinct (Hybrid Scanlines) 02-23-2018 (https://youtu.be/VI7IEkCdjhI)
My script (with levels changed)
https://media.joomeo.com/medium/5af6cbc1a8c0f.jpg (https://media.joomeo.com/large/5af6cbc1a8c0f.jpg)
https://media.joomeo.com/original/5af6cbc1a8c0f.png
My script (without change of levels)
https://media.joomeo.com/medium/5af6cc28a3095.jpg (https://media.joomeo.com/large/5af6cc28a3095.jpg)
https://media.joomeo.com/original/5af6cc28a3095.png
... there are all the informations of the pictures ! :rolleyes:
So why the 16-235 levels exist to prevent defaults of the image, if here, it seams that we have Full RGB ?
I don't understand !
Or maybe, the Raw image in RGB from the Super Nes is converted in a Limited RGB or YUV signal ?
So, there is no clipping in the extreme blacks and whites, but mapping of the "RGB 0-255" to "RGB 16-235" or "YUV 4:2:0" (with Rec.601 color matrix I think) !
Can you explain to me please ? :)
And for the gamma, if I understand, I didn't need to convert it ? :p
And so, what is the good way to display the image like it was on a CRT TV ?
Thanks for your help ! ;) I'm so confused now ! :D
creaothceann
12th May 2018, 20:50
(why do people record a video game, indeed why do people play games is a mystery to me :) )
https://www.youtube.com/watch?v=KS7hkwbKmBM ;)
StainlessS
12th May 2018, 21:30
Totally unbelievable.
SuperLumberjack
13th May 2018, 02:18
It's weird ! :scared:
This is "Mr. Nutz" with the Higan emulator, without the "Colors" filter (so, the default colors of the game with the raw picture) :
https://media.joomeo.com/medium/5af78c0030bd9.jpg (https://media.joomeo.com/large/5af78c0030bd9.jpg)
https://media.joomeo.com/original/5af78c0030bd9.png
And here is the game with the "Colors" filter activated (in the "Settings" and "Video emulation" sections) :
https://media.joomeo.com/medium/5af78e096ba09.jpg (https://media.joomeo.com/large/5af78e096ba09.jpg)
https://media.joomeo.com/original/5af78e096ba09.png
I understand now that it's more that only a levels adjustement or brightness/contrast adjustement.
But nothing is logical !
First, with this picture of "Donkey Kong Country", it's darker with the Higan and the Super NT picture :
Higan
https://media.joomeo.com/medium/5af6c5501a3d1.jpg (https://media.joomeo.com/large/5af6c5501a3d1.jpg)
https://media.joomeo.com/original/5af6c5501a3d1.png
Super NT :
https://media.joomeo.com/medium/5af6c5feba931.jpg (https://media.joomeo.com/large/5af6c5feba931.jpg)
https://media.joomeo.com/original/5af6c5feba931.png
My script (with levels changed)
https://media.joomeo.com/medium/5af6c70a49172.jpg (https://media.joomeo.com/large/5af6c70a49172.jpg)
https://media.joomeo.com/original/5af6c70a49172.png
But with this picture of "Donkey Kong Country 2", we notice, that some parts of the picture are lighter, with more details (see in the left-bottom corner) with the Super NT compared to Higan or my script :
Higan
https://media.joomeo.com/medium/5af6ca69e7656.jpg (https://media.joomeo.com/large/5af6ca69e7656.jpg)
https://media.joomeo.com/original/5af6ca69e7656.png
Super NT :
https://media.joomeo.com/medium/5af6caa61ff98.jpg (https://media.joomeo.com/large/5af6caa61ff98.jpg)
https://media.joomeo.com/original/5af6caa61ff98.png
My script (with levels changed)
https://media.joomeo.com/medium/5af6cae2304f4.jpg (https://media.joomeo.com/large/5af6cae2304f4.jpg)
https://media.joomeo.com/original/5af6cae2304f4.png
There is no logic ! :p Can you explain to me please ? :)
lansing
13th May 2018, 10:11
Why don't you email the Higan developer and ask him? How are we going to know what exact number did he uses?
SuperLumberjack
13th May 2018, 11:06
Aaaah lansing... ! I suppose that in the street, we recognize you immediatly ! You are the guy who never smiles ! Am I right ? :D
But thanks for your answer ! :p
In fact, I thought that maybe somebody could have an idea about the logic of the filters they used or what they did, that's all ! Because there are lots of professionnals and persons who have great ideas here ! ;)
SuperLumberjack
13th May 2018, 13:18
Finally, I will not change the gamma and the levels, because I tried something and I understood ! :)
I add scanlines on one of my picture, and when I observe, it was equivalent to the same picture with the gamma to 2.5 instead of 2.2.
So, I conclued that the scanlines from the CRT screen affected the gamma and the general luminosity of the picture. And it's not a question of levels.
A gamma of 2.2 on a CRT looks like a gamma of 2.5 on a modern display, because of the technology that it used.
The other problem is, that I shoud change the gamma for all my videos, and I don't think it's the good thing to do. It's better to calibrate a screen to a certain gamma rather than to change the gamma of videos.
And if Higan propose to have a color filter that we can activate or not, it's just for a certain representation of what the CRT were. It doesn't respond to an objective will.
Voilą ! J'ai tout dit ! :p
(I know it's not exactly representative of the reality, but these pictures are just for the examples)
Mr. Nutz - Scanlines vs. Original
https://media.joomeo.com/medium/5af843d4308eb.jpg (https://media.joomeo.com/large/5af843d4308eb.jpg)
https://media.joomeo.com/original/5af843d4308eb.png
Mr. Nutz - Scanlines vs. Original (gamma changed for 2.5)
https://media.joomeo.com/medium/5af844264413d.jpg (https://media.joomeo.com/large/5af844264413d.jpg)
https://media.joomeo.com/original/5af844264413d.png
Mr. Nutz - Scanlines vs. Original (gamma changed for 2.5 and luminosity adjusted)
https://media.joomeo.com/medium/5af8445997808.jpg (https://media.joomeo.com/large/5af8445997808.jpg)
https://media.joomeo.com/original/5af8445997808.png
SuperLumberjack
14th May 2018, 15:48
I just want to do a little off topic about a particularity of my laptop Toshiba equipped with a Intel Core i7-4700MQ CPU :)
In ACDSee and VirtualDub, I think that an upscaling is done by the Intel HD 4600 IGP when I zoom in the picture.
For example, here is an original picture that I will zoom in ACDSee :
Original picture
https://media.joomeo.com/medium/5af99af26674f.jpg (https://media.joomeo.com/large/5af99af26674f.jpg)
https://media.joomeo.com/original/5af99af26674f.png
Picture zoomed 200%
https://media.joomeo.com/medium/5af99b9bc4466.jpg (https://media.joomeo.com/large/5af99b9bc4466.jpg)
https://media.joomeo.com/original/5af99b9bc4466.png
Picture zoomed 400%
https://media.joomeo.com/medium/5af99bff55915.jpg (https://media.joomeo.com/large/5af99bff55915.jpg)
https://media.joomeo.com/original/5af99bff55915.png
Picture zoomed 800%
https://media.joomeo.com/medium/5af99c4d69792.jpg (https://media.joomeo.com/large/5af99c4d69792.jpg)
https://media.joomeo.com/original/5af99c4d69792.png
Picture zoomed 1600%
https://media.joomeo.com/medium/5af99ca190c69.jpg (https://media.joomeo.com/large/5af99ca190c69.jpg)
https://media.joomeo.com/original/5af99ca190c69.png
This upscaling is effective in VirtualDub too when I zoom in the image :
https://media.joomeo.com/medium/5af99d11cb21d.jpg (https://media.joomeo.com/large/5af99d11cb21d.jpg)
https://media.joomeo.com/original/5af99d11cb21d.png
To compare, here it is with the nearest neighbor resizer :
https://media.joomeo.com/medium/5af99d6d1c40b.jpg (https://media.joomeo.com/large/5af99d6d1c40b.jpg)
https://media.joomeo.com/original/5af99d6d1c40b.png
But this kind of upscaling could be very useful to strech an image, change the aspect ratio, etc., because as you can see, it's rather natural ;) :
https://media.joomeo.com/medium/5af99e164fb8a.jpg (https://media.joomeo.com/large/5af99e164fb8a.jpg)
https://media.joomeo.com/original/5af99e164fb8a.png
Here is an image in a resolution of 3840x2160, composed by 4 images in a resolution of 1920x1080 (I zoomed 200%) :
https://media.joomeo.com/medium/5af99f31a4a96.jpg (https://media.joomeo.com/large/5af99f31a4a96.jpg)
https://media.joomeo.com/original/5af99f31a4a96.png
It looks like an enlargement photo I think :p It's not sharper, but this algorithm could be useful to print posters ! :D
My question is especially : what do you think it is like algorithm ? I don't know something similar (maybe the simple resizer, but I don't think it's it), and you ? :confused:
Thanks for your help ! ;)
bxyhxyh
14th May 2018, 17:31
Aaaah lansing... ! I suppose that in the street, we recognize you immediatly ! You are the guy who never smiles ! Am I right ? :D
I think you should refrain from this kind of subjective attacks. (or any kind of.)
And what's your latest script for SNES upscale right now? And PS ones
Who knows, it might be useful fot some people.
SuperLumberjack
14th May 2018, 17:48
It's not an attack, it's a joke ! ;)
Sometimes I just want to ask : "Why so serious ?" :o (I don't like to hurt people)
But I admit that I prefer talk to persons that want to help rather than those who can't hide their exasperation... :rolleyes:
The goal isn't the same !
Some people like raffriff42 or StainlessS are always ready to play the game, help, post scripts, screenshots, etc.
Some other people don't ! It's another mentality ! Sorry ! But when somebody doesn't want to help, why bother to answer ?
And yes, I know that sometimes, I do some extravagant things ! :p But I try things ! ;) Is there a sense ? Does the life have a sense... ? So, I ask you again : "Why so serious ?" :D
And what's your latest script for SNES upscale right now? And PS ones
Who knows, it might be useful fot some people.
Isn't it a form of subjective attack ? :p
bxyhxyh
14th May 2018, 18:48
He recommended that you could ask numbers from higan devs.
And your response was plain insult.
Isn't it a form of subjective attack ? :p
I genuinely asked that. I just lost track because of those new screenshots.
You asked good script for your videos. And you seemed to like your current script.
Others might think it might be useful for their videos. Tastes are not universal.
SuperLumberjack
14th May 2018, 19:32
He recommended that you could ask numbers from higan devs.
And your response was plain insult.
It wasn't an insult ! I have nothing against him, even if sometimes, I think he could speak on a nicer tone ! :p
Because he answers this too :
How are we going to know what exact number did he uses?
Why add this ?
But I don't want to speak against him. Maybe I'm too sensitive ! Who knows ? :)
But you know, I often say the same thing to my brother, that he's sometimes too serious and must smile a bit more, but it's just to free him ! :D Not to mock him ! ;) And it doesn't take it incorrectly.
I'm not a person who hates others. Sometimes it's hard to retranscribe by words the emotions of what we think. Maybe there were some misunderstanding.
I genuinely asked that. I just lost track because of those new screenshots.
You asked good script for your videos. And you seemed to like your current script.
Others might think it might be useful for their videos. Tastes are not universal.
I thought it was ironic ! Sorry ! :p But I didn't take it bad, no problem ;) I have a lot of self-derision :)
I will post my scripts and some screenshots after if you want ;)
SuperLumberjack
14th May 2018, 20:46
Here are some screenshots from Super Nes games with 4:3 aspect ratio (in reality 585:448) upscaled to 2160p :
(source resolution : 256x224 60 fps)
Killer Instinct
https://media.joomeo.com/medium/5b034d618e6eb.jpg (https://media.joomeo.com/large/5b034d618e6eb.jpg)
https://media.joomeo.com/original/5b034d618e6eb.png
Killer Instinct
https://media.joomeo.com/medium/5b034e0812fc3.jpg (https://media.joomeo.com/large/5b034e0812fc3.jpg)
https://media.joomeo.com/original/5b034e0812fc3.png
Donkey Kong Country
https://media.joomeo.com/medium/5b034e4cdb57d.jpg (https://media.joomeo.com/large/5b034e4cdb57d.jpg)
https://media.joomeo.com/original/5b034e4cdb57d.png
Donkey Kong Country 3
https://media.joomeo.com/medium/5b034e9ada8a6.jpg (https://media.joomeo.com/large/5b034e9ada8a6.jpg)
https://media.joomeo.com/original/5b034e9ada8a6.png
AviSource()
Spline16Resize(512, 448)
nnedi3_rpow2(rfactor=2, nsize=0, nns=2, qual=1, etype=0, pscrn=2, threads=0, opt=0, fapprox=0)
GaussResize2(5640, 4320, px=50, py=50)
BicubicResize(2820, 2160)
return Last
##################################
function GaussResize2(clip C, int target_width, int target_height,
\ float "src_left", float "src_top", float "src_width", float "src_height",
\ float "px", float "py")
{
px = Default(px, 30.0)
py = Default(py, px)
R = C.GaussResize(target_width, C.Height,
\ src_left, 0, src_width, 0, px)
\ .GaussResize(target_width, target_height,
\ 0, src_top, 0, src_height, py)
return R
}
Here are some screenshots from Super Nes games with 8:7 aspect ratio upscaled to 2160p :
Mr. Nutz
https://media.joomeo.com/medium/5b034eef0741a.jpg (https://media.joomeo.com/large/5b034eef0741a.jpg)
https://media.joomeo.com/original/5b034eef0741a.png
Mr. Nutz
https://media.joomeo.com/medium/5b034f6680f75.jpg (https://media.joomeo.com/large/5b034f6680f75.jpg)
https://media.joomeo.com/original/5b034f6680f75.png
Super Mario World
https://media.joomeo.com/medium/5b034fa8c23cf.jpg (https://media.joomeo.com/large/5b034fa8c23cf.jpg)
https://media.joomeo.com/original/5b034fa8c23cf.png
Super Mario Bros. 3
https://media.joomeo.com/medium/5b034fe7462b5.jpg (https://media.joomeo.com/large/5b034fe7462b5.jpg)
https://media.joomeo.com/original/5b034fe7462b5.png
AviSource()
Spline16Resize(512, 448)
nnedi3_rpow2(rfactor=2, nsize=0, nns=2, qual=1, etype=0, pscrn=2, threads=0, opt=0, fapprox=0)
GaussResize2(4936, 4320, px=50, py=50)
BicubicResize(2468, 2160)
return Last
##################################
function GaussResize2(clip C, int target_width, int target_height,
\ float "src_left", float "src_top", float "src_width", float "src_height",
\ float "px", float "py")
{
px = Default(px, 30.0)
py = Default(py, px)
R = C.GaussResize(target_width, C.Height,
\ src_left, 0, src_width, 0, px)
\ .GaussResize(target_width, target_height,
\ 0, src_top, 0, src_height, py)
return R
}
What do you think ? :)
SuperLumberjack
14th May 2018, 22:07
Here are some screenshots from PlayStation 1 games upscaled to 2160p :
Tomb Raider
(source resolution : 320x208 15 fps)
https://media.joomeo.com/medium/5b0350c155064.jpg (https://media.joomeo.com/large/5b0350c155064.jpg)
https://media.joomeo.com/original/5b0350c155064.png
AviSource()
ChangeFPS(30)
Spline16Resize(640, 416)
ConvertToRGB24
nnedi3_rpow2(rfactor=2, nsize=0, nns=2, qual=1, etype=0, pscrn=2, threads=0, opt=0, fapprox=0)
GaussResize2(6646, 4320, px=50, py=50)
AddBorders(517, 0, 517, 0)
BicubicResize(3840, 2160)
return Last
##################################
function GaussResize2(clip C, int target_width, int target_height,
\ float "src_left", float "src_top", float "src_width", float "src_height",
\ float "px", float "py")
{
px = Default(px, 30.0)
py = Default(py, px)
R = C.GaussResize(target_width, C.Height,
\ src_left, 0, src_width, 0, px)
\ .GaussResize(target_width, target_height,
\ 0, src_top, 0, src_height, py)
return R
}
Tomb Raider 2
(source resolution : 320x160 15 fps)
https://media.joomeo.com/medium/5b03510e81820.jpg (https://media.joomeo.com/large/5b03510e81820.jpg)
https://media.joomeo.com/original/5b03510e81820.png
AviSource()
ChangeFPS(30)
Spline16Resize(640, 320)
ConvertToRGB24
nnedi3_rpow2(rfactor=2, nsize=0, nns=2, qual=1, etype=0, pscrn=2, threads=0, opt=0, fapprox=0)
GaussResize2(7680, 3840, px=50, py=50)
AddBorders(0, 240, 0, 240)
BicubicResize(3840, 2160)
return Last
##################################
function GaussResize2(clip C, int target_width, int target_height,
\ float "src_left", float "src_top", float "src_width", float "src_height",
\ float "px", float "py")
{
px = Default(px, 30.0)
py = Default(py, px)
R = C.GaussResize(target_width, C.Height,
\ src_left, 0, src_width, 0, px)
\ .GaussResize(target_width, target_height,
\ 0, src_top, 0, src_height, py)
return R
}
Tomb Raider 2
(source resolution : 320x208 15 fps)
https://media.joomeo.com/medium/5b03516512119.jpg (https://media.joomeo.com/large/5b03516512119.jpg)
https://media.joomeo.com/original/5b03516512119.png
Soul Reaver
(source resolution : 320x240 15 fps)
https://media.joomeo.com/medium/5b0351a153d0d.jpg (https://media.joomeo.com/large/5b0351a153d0d.jpg)
https://media.joomeo.com/original/5b0351a153d0d.png
AviSource()
ChangeFPS(30)
Spline16Resize(640, 480)
ConvertToRGB24
nnedi3_rpow2(rfactor=2, nsize=0, nns=2, qual=1, etype=0, pscrn=2, threads=0, opt=0, fapprox=0)
GaussResize2(5760, 4320, px=50, py=50)
BicubicResize(2880, 2160)
return Last
##################################
function GaussResize2(clip C, int target_width, int target_height,
\ float "src_left", float "src_top", float "src_width", float "src_height",
\ float "px", float "py")
{
px = Default(px, 30.0)
py = Default(py, px)
R = C.GaussResize(target_width, C.Height,
\ src_left, 0, src_width, 0, px)
\ .GaussResize(target_width, target_height,
\ 0, src_top, 0, src_height, py)
return R
}
Here are some screenshots from PlayStation 2/PC games upscaled to 2160p :
Soul Reaver (bonus disc Soul Reaver 2 PS2)
(source resolution : 640x480 29.970 fps)
https://media.joomeo.com/medium/5b0351ef52811.jpg (https://media.joomeo.com/large/5b0351ef52811.jpg)
https://media.joomeo.com/original/5b0351ef52811.png
AviSource()
Spline16Resize(1280, 960)
ConvertToRGB24
nnedi3_rpow2(rfactor=2, nsize=0, nns=2, qual=1, etype=0, pscrn=2, threads=0, opt=0, fapprox=0)
GaussResize2(5760, 4320, px=50, py=50)
BicubicResize(2880, 2160)
return Last
##################################
function GaussResize2(clip C, int target_width, int target_height,
\ float "src_left", float "src_top", float "src_width", float "src_height",
\ float "px", float "py")
{
px = Default(px, 30.0)
py = Default(py, px)
R = C.GaussResize(target_width, C.Height,
\ src_left, 0, src_width, 0, px)
\ .GaussResize(target_width, target_height,
\ 0, src_top, 0, src_height, py)
return R
}
Soul Reaver 2 (PC)
(source resolution : 640x360 29.970 fps)
https://media.joomeo.com/medium/5b03523cf2310.jpg (https://media.joomeo.com/large/5b03523cf2310.jpg)
https://media.joomeo.com/original/5b03523cf2310.png
AviSource()
Spline16Resize(1280, 720)
ConvertToRGB24
nnedi3_rpow2(rfactor=2, nsize=0, nns=2, qual=1, etype=0, pscrn=2, threads=0, opt=0, fapprox=0)
GaussResize2(7680, 4320, px=50, py=50)
BicubicResize(3840, 2160)
return Last
##################################
function GaussResize2(clip C, int target_width, int target_height,
\ float "src_left", float "src_top", float "src_width", float "src_height",
\ float "px", float "py")
{
px = Default(px, 30.0)
py = Default(py, px)
R = C.GaussResize(target_width, C.Height,
\ src_left, 0, src_width, 0, px)
\ .GaussResize(target_width, target_height,
\ 0, src_top, 0, src_height, py)
return R
}
Blood Omen 2 (PS2)
(source resolution : 640x480 29.970 fps)
https://media.joomeo.com/medium/5b03527fd67c5.jpg (https://media.joomeo.com/large/5b03527fd67c5.jpg)
https://media.joomeo.com/original/5b03527fd67c5.png
AviSource()
Crop(0, 60, 0, -60)
Spline16Resize(1280, 720)
ConvertToRGB24
nnedi3_rpow2(rfactor=2, nsize=0, nns=2, qual=1, etype=0, pscrn=2, threads=0, opt=0, fapprox=0)
GaussResize2(7680, 4320, px=50, py=50)
BicubicResize(3840, 2160)
return Last
##################################
function GaussResize2(clip C, int target_width, int target_height,
\ float "src_left", float "src_top", float "src_width", float "src_height",
\ float "px", float "py")
{
px = Default(px, 30.0)
py = Default(py, px)
R = C.GaussResize(target_width, C.Height,
\ src_left, 0, src_width, 0, px)
\ .GaussResize(target_width, target_height,
\ 0, src_top, 0, src_height, py)
return R
}
Legacy of Kain: Defiance (PC)
(source resolution : 640x480 29.970 fps)
https://media.joomeo.com/medium/5b0352cd48fb8.jpg (https://media.joomeo.com/large/5b0352cd48fb8.jpg)
https://media.joomeo.com/original/5b0352cd48fb8.png
Note : Here, the aspect ratio is wrong if we compare with other videos from the Legacy of Kain saga and the aspect ratio in-game. After we cropped, we get a resolution of 640x320. We must have an equivalent of 640x360 to get a correct AR.
AviSource()
Crop(0, 80, 0, -80)
Spline16Resize(1280, 640)
ConvertToRGB24
nnedi3_rpow2(rfactor=2, nsize=0, nns=2, qual=1, etype=0, pscrn=2, threads=0, opt=0, fapprox=0)
GaussResize2(7680, 4320, px=50, py=50)
BicubicResize(3840, 2160)
return Last
##################################
function GaussResize2(clip C, int target_width, int target_height,
\ float "src_left", float "src_top", float "src_width", float "src_height",
\ float "px", float "py")
{
px = Default(px, 30.0)
py = Default(py, px)
R = C.GaussResize(target_width, C.Height,
\ src_left, 0, src_width, 0, px)
\ .GaussResize(target_width, target_height,
\ 0, src_top, 0, src_height, py)
return R
}
SuperLumberjack
15th May 2018, 00:31
What do you think about the Super NT ? :)
Super NT test 5 - Donkey Kong Country 2: Diddy's Kong Quest (https://youtu.be/lMqMYTog-AY)
Super NT test 1 - Yoshi's Island (https://youtu.be/6a0YLtTHjCY)
Super NT test 7 - Super Mario World (https://youtu.be/nNqG-H4O-4Y)
Super NT test 8 - Super Commie All Stars (https://youtu.be/oBSxnUT0ZII)
Super Metroid - Super NT [Part 1] (https://youtu.be/iIzFadUG1Ks)
DF Retro: Analogue Super Nt Review - a 21st Century SNES! (https://youtu.be/LOSQgBEf5ac)
SuperLumberjack
16th May 2018, 23:22
Hello :)
I finally did a video for my last scripts ! :p
I show in the video the title screen with the demo of two games : one with a 8:7 aspect ratio and another with a 4:3 aspect ratio ! It's a surprise ! :p
Here is the video : https://youtu.be/TDnQWvctEJE
The playlist with all my scripts (they are written in the description) : https://www.youtube.com/playlist?list=PLL_S06Mn5k4mRZ1a50jW3G7DVYqx9NhoT
https://media.joomeo.com/medium/5b0354b08afda.jpg (https://media.joomeo.com/large/5b0354b08afda.jpg)
https://media.joomeo.com/original/5b0354b08afda.png
https://media.joomeo.com/medium/5b0354f95f16b.jpg (https://media.joomeo.com/large/5b0354f95f16b.jpg)
https://media.joomeo.com/original/5b0354f95f16b.png
SuperLumberjack
19th May 2018, 01:23
Hello guys !
I could kill myself, because I already encoded all my videos, but I need to change something :p I'm sure that you expected this moment... no ? :D
But I must put this :
"pscrn=2"
instead of this :
"pscrn=3"
But for all the rest, I'm satisfied ! :)
To explain this change, I will just say that something disturbed me with the relief and the perspective. But it's more disturbing in movement I think.
It wasn't completely natural. My error was that I wanted a copy of the image of the Super NT. In fact I was confused ! I didn't know if I wanted a image like it is on a modern or CRT display, or both... :o
But it became clear when I compare these screenshots :
Tomb Raider PS1
https://media.joomeo.com/medium/5aff682dc7131.jpg (https://media.joomeo.com/large/5aff682dc7131.jpg)
PSX l Guķa l Tomb Raider l Parte 1 l !!! Comienza la aventura !!! (https://youtu.be/u1ym_K540BI)
Tomb Raider PS1 on a PVM
https://media.joomeo.com/medium/5aff68631ab0f.jpg (https://media.joomeo.com/large/5aff68631ab0f.jpg)
Ps1: Tomb Raider on PVM-14M4E (https://youtu.be/h7cTLSO0aTQ)
Tomb Raider PC
https://media.joomeo.com/medium/5aff689c15d89.jpg (https://media.joomeo.com/large/5aff689c15d89.jpg)
Tomb Raider (1996) Walkthrough 100% All Secrets Collected (PC) NO COMMENTARY (https://youtu.be/LtkMeyRpwCQ)
Tomb Raider PS1
https://media.joomeo.com/medium/5aff6c8ba98f1.jpg (https://media.joomeo.com/large/5aff6c8ba98f1.jpg)
Tomb Raider PS1 on a PVM
https://media.joomeo.com/medium/5aff6cd6ba6c5.jpg (https://media.joomeo.com/large/5aff6cd6ba6c5.jpg)
Tomb Raider PC vs. PS1
https://media.joomeo.com/medium/5aff6d0db254d.jpg (https://media.joomeo.com/large/5aff6d0db254d.jpg)
Tomb Raider 1 PC vs PS (https://youtu.be/kvQQ9Z4fCwo)
When we compare the PS1 picture on a modern display and on a PVM, we can noticed that the scanlines on the PVM tend to soften the angles and the aliasing.
On the PC picture, it's already good, equivalent to the PS1 version on a PVM.
It's the things that I forgot ! So, it was like if I tried to have a PS1 image on a modern display, thinking that I would get a PS1 image on a PVM :p
Do you follow me ? :D
There was a little gap with the "pscrn=3". I thought it would recreate the information between scalines, to get a image like the PC version of Tomb Raider for the comparison, but it already recreated this information with "pscrn=2".
I tried, and it's the same effect that have the PS1 version on a PVM or the PC version of Tomb Raider, but for a Super Nes game :) :
https://media.joomeo.com/medium/5aff6e0d03dc4.jpg (https://media.joomeo.com/large/5aff6e0d03dc4.jpg)
https://media.joomeo.com/medium/5aff6e36a83eb.jpg (https://media.joomeo.com/large/5aff6e36a83eb.jpgb)
foxyshadis
20th May 2018, 04:38
Hello buddies :)
I come back to you, because I thought about one thing... an important thing ! :p
As some of you know, Higan is the perpect emulator, close to the original experience of the Super Nes, but on the modern display ;)
But I asked myself, how they did to reproduce the original colors, which are darker. Is it simply a way to imitate the feeling of the old CRT display ? I think yes and no... maybe ! :)
I thought one thing : my pictures are in RGB 24 bits, so the levels are 0-255.
But at the time of the CRT display, maybe it was meant to be display in a equivalent of RGB 16-235.
No ? :o
I tried this, and in fact, my image was close to the image of Higan, even if not exactly (maybe the gamma).
After some other researches, I read that the gamma of the CRT was close to 2.5 too if we compare to the gamma of 2,22 on a modern display.
So I convert the gamma of the image too :p
Actually :
1 / 0,45 = 2,2222222222222222222222222222222
So I calculated :
2,5 / (1 / 0,45) = 1,125
So, I used this function to transform my gamma and my levels :
And really, it's closer of what I remember of my experience on a CRT display !
Just for the example, the picture of Mr. Nutz with the spider, I remember how it was dark on my CRT screen when I was a child. It really was a dark atmosphere, the moon was very present, like almost the only comforting glow...
By the way, I was always surprised to see that it's so clear on my LCDs with an emulator :confused:
As you will see, it's not so bad... I hope ! :D
I change this too :
nnedi3_rpow2(rfactor=2, nsize=0, nns=2, qual=1, etype=0, pscrn=3, threads=0, opt=0, fapprox=0)
With "pscrn=3" instead of 4, I noticed that it's closer that what I remember. And yes, I can see the difference ! :D
I compare in zooming with the original picture of Killer Instinct and a the picture of the same game in a video of the Super NT (a real Super Nintendo HD, not an emulator), and it's closer now !
With "pscrn=2" and "pscrn=4", there was something weird. It didn't perfectly match !
NTSC is YIQ, an analog form of YUV, in which signals between 53.6mV and 714mV are converted to RGB between "pure" black and white, at least to whatever limits your crappy TV could achieve. "Correct" color rendering under NTSC is a polite fiction that anyone who ever created or edited content knew was a dirty, dirty lie. "Never The Same Color" is its unofficial nickname.
Byuu picked the colors he did based as closely as possible to an ideally calibrated NTSC monitor, with a bit of haircut off the top to average in the effect of the phosphors dimming every field. It has nothing to do with 16-235, which was a concept not invented until digital video. No game console would use that until HDMI appeared. This task is purely subjective, purely for your own appreciation, and you should pick a scheme that looks aesthetically pleasing to you, not seek a holy grail of perfection that doesn't actually exist.
StainlessS
20th May 2018, 08:20
"Never The Same Color" is its unofficial nickname
AKA,
Never Twice the Same Color,
or
No True Skin Colors
Also, PAL,
Peace At Last,
Perfection At Last
Pictures Always Lovely.
Wikipedia, 2/3 way down page:- https://en.wikipedia.org/wiki/NTSC
SuperLumberjack
20th May 2018, 10:07
NTSC is YIQ, an analog form of YUV, in which signals between 53.6mV and 714mV are converted to RGB between "pure" black and white, at least to whatever limits your crappy TV could achieve. "Correct" color rendering under NTSC is a polite fiction that anyone who ever created or edited content knew was a dirty, dirty lie. "Never The Same Color" is its unofficial nickname.
Byuu picked the colors he did based as closely as possible to an ideally calibrated NTSC monitor, with a bit of haircut off the top to average in the effect of the phosphors dimming every field. It has nothing to do with 16-235, which was a concept not invented until digital video. No game console would use that until HDMI appeared. This task is purely subjective, purely for your own appreciation, and you should pick a scheme that looks aesthetically pleasing to you, not seek a holy grail of perfection that doesn't actually exist.
Thanks for the explanations ! ;)
Yes, you are right, what I did is only for my own appreciation :p It will never be perfect, I know. When I say it's perfect, it's just a way to express my contentment :) I'm aware of the limits of what I do, even if I try to do as if there were none.
Otherwise, I wouldn't try anything :o
If I share my scripts, it's precisely because it's subjective, and because maybe somebody would prefer another of my old scripts or something else that another person posted, because there are lots of interesting things ! :)
AKA,
Never Twice the Same Color,
or
No True Skin Colors
Also, PAL,
Peace At Last,
Perfection At Last
Pictures Always Lovely.
Wikipedia, 2/3 way down page:- https://en.wikipedia.org/wiki/NTSC
Do you prefer PAL ? :p
The only problem was the 50 Hz :scared:
Picture Always Late :D
creaothceann
20th May 2018, 21:16
Speaking of the Playstation... With the Beetle PSX HW core you can fix the "polygon wobbling" (PGXP function (https://www.libretro.com/index.php/mednafenbeetle-psx-pgxp-arrives/)) and the texture warping.
wipEout 1 - track 1, 1x internal res, PGXP disabled (http://www.mediafire.com/file/n1446j8difdu699/wipEout+1+-+track+1%2C+1x+res%2C+PGXP+disabled.mkv)
wipEout 1 - track 1, 4x internal res, PGXP enabled (http://www.mediafire.com/file/pxricw6em4bzdun/wipEout+1+-+track+1%2C+4x+res%2C+PGXP+enabled.mkv)
wipEout 1 - track 2, 4x internal res, PGXP disabled (http://www.mediafire.com/file/evj7guv2pmjmmjh/wipEout+1+-+track+2%2C+4x+res%2C+PGXP+disabled.mkv)
wipEout 1 - track 2, 4x internal res, PGXP enabled (http://www.mediafire.com/file/d72b7t9ekmt1afw/wipEout+1+-+track+2%2C+4x+res%2C+PGXP+enabled.mkv)
All played in Retroarch with the CRT Royale shader.
SuperLumberjack
22nd May 2018, 00:27
I will watch this tomorrow. Thanks ! :)
Moreover, I updated my screenshots, my scripts and my YouTube video above ! ;)
SuperLumberjack
22nd May 2018, 16:15
Speaking of the Playstation... With the Beetle PSX HW core you can fix the "polygon wobbling" (PGXP function (https://www.libretro.com/index.php/mednafenbeetle-psx-pgxp-arrives/)) and the texture warping.
wipEout 1 - track 1, 1x internal res, PGXP disabled (http://www.mediafire.com/file/n1446j8difdu699/wipEout+1+-+track+1%2C+1x+res%2C+PGXP+disabled.mkv)
wipEout 1 - track 1, 4x internal res, PGXP enabled (http://www.mediafire.com/file/pxricw6em4bzdun/wipEout+1+-+track+1%2C+4x+res%2C+PGXP+enabled.mkv)
wipEout 1 - track 2, 4x internal res, PGXP disabled (http://www.mediafire.com/file/evj7guv2pmjmmjh/wipEout+1+-+track+2%2C+4x+res%2C+PGXP+disabled.mkv)
wipEout 1 - track 2, 4x internal res, PGXP enabled (http://www.mediafire.com/file/d72b7t9ekmt1afw/wipEout+1+-+track+2%2C+4x+res%2C+PGXP+enabled.mkv)
All played in Retroarch with the CRT Royale shader.
It's really great ! :) I love the aspect ! :p But unfortunately, I don't think it's very adapted to YouTube :(
But for playing (not too close of the screen), it's cool ! ;) Thanks for all this !
Otherwise, I found some interesting videos from the "Raphaėl Guesqua" channel. :)
For information, Raphael Guesqua composed the music of the video game "Mr. Nutz" ;)
"Raphaėl Gesqua's professional career began in the video games industry, in the early 1990s, under his real name Raphaėl Gesqua, after he was previously known in the middle of the 16-bit demoscene, under the Audiomonster pseudonym adopted in 1989.
The composer worked with game designers, such as Paul Cuisset, for whom he arranged the soundtrack of the video game Flashback, for the Commodore Amiga, in 1992. The game has remained the world's best selling French video game.
He also worked twice with Pierre Adane, creator, among other things, of the Top Spin video games series, and for which he composed the soundtracks of Snow Bros video game, for Commodore Amiga, in 1991 (that production was cancelled for at the last minute for legal reasons), and in 1993, for Mr. Nutz,a side-scrolling platformer released for Super NES, Mega Drive/Genesis and Game Boy, which was a great success and went out of stock, just days after its release."
https://en.wikipedia.org/wiki/Rapha%C3%ABl_Gesqua
MR.NUTZ VIDEOGAME ORIGINAL FRENCH TV SPOTS (https://youtu.be/EGbRXSNPw70)
MR.NUTZ VIDEOGAME - SUPER NINTENDO/SUPER FAMICOM - 1993 (https://youtu.be/YKKuhL0S1Dg)
MR.NUTZ WINNING BEST PLATFORM GAME AWARD - VIDEOGAMES NIGHT - LA NUIT DES JEUX VIDEO 1993 (https://youtu.be/0yuq6Mzxuyw)
MR.NUTZ - VIDEOGAME - SUPER FAMICOM JAPAN VERSION BY SOFEL - 1994 (https://youtu.be/ByduotcQIQo)
It's interesting, because we see lots of video captures from the real Super Nes and... there aren't any scanlines, but it's nice ! :D
A great source of inspiration ! :)
But I don't think it's possible to have a similar result. My last script is maybe the closest of the result I wanted.
I don't want to boast, but I think it's not bad ! :D
https://media.joomeo.com/medium/5b04383e2c6bc.jpg (https://media.joomeo.com/large/5b04383e2c6bc.jpg)
https://media.joomeo.com/original/5b04383e2c6bc.png
creaothceann
22nd May 2018, 21:16
I don't think it's suited for YouTube :(
But for playing (not too close to the screen), it's cool! ;)
The PGXP function only fixes the wobbly polygon coordinates; the CRT effect is entirely by the shader.
Here's track 3 without the shader: wipEout 1 - track 3, 4x internal res, PGXP enabled.mkv (http://www.mediafire.com/file/apumcl2b0w5riud/wipEout+1+-+track+3%2C+4x+res%2C+PGXP+enabled.mkv) (228.3 MB)
(It's played in Rapier class, so it's much faster than the other videos)
SuperLumberjack
22nd May 2018, 22:29
The PGXP function only fixes the wobbly polygon coordinates
Like in the first Tomb Raider ? :p
the CRT effect is entirely by the shader.
Here's track 3 without the shader: wipEout 1 - track 3, 4x internal res, PGXP enabled.mkv (http://www.mediafire.com/file/apumcl2b0w5riud/wipEout+1+-+track+3%2C+4x+res%2C+PGXP+enabled.mkv) (228.3 MB)
(It's played in Rapier class, so it's much faster than the other videos)
It's different, but nice too ! :) The only problem on a modern display is that we lost the realistic aspect. But unfortunately, it's the same with some old movies ! :(
By the way, I love Wipeout, even if I didn't possess any of the games. But I played it with friends when I was younger ! Great soundtrack ! The Prodigy, etc. ! ;)
creaothceann
23rd May 2018, 07:47
Like in the first Tomb Raider? :p
Applies to all PSX games.
SuperLumberjack
23rd May 2018, 11:13
Yes, that's true ! I forgot it ;)
It's because I hadn't a PS1 (but a PS2). I played Tomb Raider on PC :p There was the same thing.
SuperLumberjack
23rd May 2018, 22:10
Hello :)
I just compared my script with a video of Soul Reaver on PS1 displayed on a Sony PVM.
First, I compared with the introduction of the game PS1 version (resolution of 320x240). Second, I compared with the intro which was on the bonus disc of Soul Reaver 2 on the PS2 version.
Soul Reaver PS1 on Sony PVM vs. Soul Reaver intro PS1 upscaled
https://media.joomeo.com/medium/5b05d622a0062.jpg (https://media.joomeo.com/large/5b05d622a0062.jpg)
https://media.joomeo.com/original/5b05d622a0062.png
Soul Reaver PS1 on Sony PVM vs. Soul Reaver intro PS2 on SR2 bonus disc upscaled
https://media.joomeo.com/medium/5b05d700c4a41.jpg (https://media.joomeo.com/large/5b05d700c4a41.jpg)
https://media.joomeo.com/original/5b05d700c4a41.png
(the video : PS1: Soul Reaver + Sony PVM 14M4E (https://youtu.be/HMvZnHxPqe4))
It's weird, because the colors don't seam correct on the PS1 version. On the PS2 version, it's good !
Maybe I forgot something when I exporte the videos from the PS1 version. I dit it with PSmplay for the PS1 videos and PSS Plex for the PS2 videos. But I exported the videos in RGB24 from PSmplay to keep the maximum quality, because of the low resolution too.
I don't know if it was a color matrix or something else... :confused:
And so ? It's not bad my script no ? :p
I still tried to change some parameters of my script when I compared with the video of the Sony PVM, but I definitely think I can't do better. It's the closest I can have for me.
Edit 1: There is no way to have different colors from PSmplay. But it's bizarre, because in this video the colors seam more correct :rolleyes::
PSX Longplay - Legacy of Kain: Soul Reaver (Part 1 of 2) (https://youtu.be/lz9HtrZc9Gk?t=121)
Do you know how to have the correct colors please ? Because I have other videos from PS1. But it's not a question of color matrix. I tried.
Thanks ! ;)
Edit 2: But in other videos, I noticed it's like me.
Here for example : Detonado de Legacy of Kain: Soul Reaver (PS1) - Parte 1 - A Morte - (Dublado Pt-Br) (https://youtu.be/STQ8b3-Wqvg?t=248)
So I don't why the colors are correct in some videos but are not in the originals.
SuperLumberjack
24th May 2018, 18:04
Hello :)
It's bizarre ! When I compare this same video from the PS1 version (left) and the Dreamcast version (right), the Dreamcast version looks normal.
See the difference :
https://media.joomeo.com/medium/5b06f052a81f8.jpg (https://media.joomeo.com/large/5b06f052a81f8.jpg)
https://media.joomeo.com/original/5b06f052a81f8.png
It's the same difference than I show you just in the previous post.
But strangely, in these 2 videos of the PS1 version, we see that one has the correct colors, and the other has the same colors than me :
https://media.joomeo.com/medium/5b06efc48202a.jpg (https://media.joomeo.com/large/5b06efc48202a.jpg)
https://media.joomeo.com/original/5b06efc48202a.png
So what is the logic behind this difference ? :confused:
Have you an idea ? :p
SuperLumberjack
25th May 2018, 01:54
I just tried to correct the colors with the "HSV Adjust" filter in VirtualDub, and I think it's closer to what we can except (Dreamcast version left - PS1 version right) :
https://media.joomeo.com/medium/5b075a474cc47.jpg (https://media.joomeo.com/large/5b075a474cc47.jpg)
https://media.joomeo.com/medium/5b075a76114f5.jpg (https://media.joomeo.com/large/5b075a76114f5.jpg)
https://media.joomeo.com/medium/5b075aac2ec4f.jpg (https://media.joomeo.com/large/5b075aac2ec4f.jpg)
https://media.joomeo.com/medium/5b075b03b2f3f.jpg (https://media.joomeo.com/large/5b075b03b2f3f.jpg)
https://media.joomeo.com/medium/5b075b565398d.jpg (https://media.joomeo.com/large/5b075b565398d.jpg)
https://media.joomeo.com/medium/5b075b87f08af.jpg (https://media.joomeo.com/large/5b075b87f08af.jpg)
https://media.joomeo.com/medium/5b075bb35f415.jpg (https://media.joomeo.com/large/5b075bb35f415.jpg)
https://media.joomeo.com/medium/5b075bdb20259.jpg (https://media.joomeo.com/large/5b075bdb20259.jpg)
https://media.joomeo.com/medium/5b075c0f2a704.jpg (https://media.joomeo.com/large/5b075c0f2a704.jpg)
Even with the Soul Reaver introduction, the PS1 version is closer to the PS2 version from the Soul Reaver bonus disc now (we see it clearly when we compared to the original colors to the right) :
https://media.joomeo.com/medium/5b075c3754147.jpg (https://media.joomeo.com/large/5b075c3754147.jpg)
But I still don't understand why in some videos on YouTube, the colors are correct and in others, they are incorrect. And I wonder especially why the videos that I converted from the original STR files (the video files from the PS1 games) have weird colors...
SuperLumberjack
25th May 2018, 02:08
So we can expect that it's a general problem with all the videos from the PS1 video games.
Here is a video from Tomb Raider with the incorrect colors :
https://media.joomeo.com/medium/5b075fa77cafb.jpg (https://media.joomeo.com/large/5b075fa77cafb.jpg)
(source : TOMB RAIDER 1 (Film-Game Complet HD Fr PSX) (https://youtu.be/H4kMtVkaWBc?t=3037))
A video with the correct colors (from the PSN on PS3) :
https://media.joomeo.com/medium/5b0760ac7fc89.jpg (https://media.joomeo.com/large/5b0760ac7fc89.jpg)
Tomb Raider (PS1 classic PSN/PS3) #75 LongPlay HD (https://youtu.be/BltNSs9Vzdg?t=19213)
Here is the original video in AVI converted from the original game :
https://media.joomeo.com/medium/5b07611a089dd.jpg (https://media.joomeo.com/large/5b07611a089dd.jpg)
And the same picture with the "HSV Adjust" filter (HUE -9.4°) :
https://media.joomeo.com/medium/5b07615e7c6ce.jpg (https://media.joomeo.com/large/5b07615e7c6ce.jpg)
I would like to understand all this logic about the colors ! Somebody has an idea please ? :p
Thanks ! ;)
SuperLumberjack
25th May 2018, 19:25
I tried many programs to read the SRT files (videos) from the PS1 games, and for the moment, STRPlay is the only one which can display the correct colors. Even in the pSX emulator, the colors are incorrect, like those I have for my AVI files converted from the STR files with PSmplay.
See the difference (correct colors with STRPlay) :
https://media.joomeo.com/medium/5b0854667961c.jpg (https://media.joomeo.com/large/5b0854667961c.jpg)
I tried to correct the colors with the "HSV Adjust" filter in VirtualDub, but this is the closest resultat that I can get :
https://media.joomeo.com/medium/5b0854b7b1999.jpg (https://media.joomeo.com/large/5b0854b7b1999.jpg)
Suggestions ? :p It would be cool, because it's important for me to have the correct colors ! :)
Thanks for your help ! ;)
SuperLumberjack
25th May 2018, 19:51
Just to show you the program that I used to extract the videos (PSmplay) compared to STRPlay which reads them with the correct colors :
https://media.joomeo.com/medium/5b085a5a015b5.jpg (https://media.joomeo.com/large/5b085a5a015b5.jpg)
https://media.joomeo.com/medium/5b085a753a62f.jpg (https://media.joomeo.com/large/5b085a753a62f.jpg)
It's interesting to see that there is a difference with the framerate too. PSmplay reads the videos in 15 fps (or 14.99) and STRPlay in 15.018 fps.
I need to find a way to have the correct colors and the correct framerate (I don't know how it is) ! :rolleyes:
It's was almost that with the program "STR Converter". It has the correct colors ! :) The only problem is that the beginning of the video I tested was freezed and I can't keep the sound to 37.8 kHz (I need to convert it to 44.1 kHz).
So, almost that, but it failed ! :( I need to find ! :p
SuperLumberjack
26th May 2018, 12:53
Still one picture to show you the difference :
https://media.joomeo.com/medium/5b09490083317.jpg (https://media.joomeo.com/large/5b09490083317.jpg)
At the left, we have the introduction of "Soul Reaver" extracted from the bonus of the DVD of Soul Reaver 2. At the right, we have the introduction from the PS1 version read by PSmplay, with the wrong colors, and after the same video read by STRPlay with the correct colors.
The problem is that I nead to convert the video to the AVI format with the right colors. PSmplay is perfect to extract the videos, but as we see, the colors are wrong, and with STRPlay I can't extract the videos but the colors are good :)
And with STR Converter, the colors are correct too, but the videos extracted have some issues, like freezes.
Rumbah
26th May 2018, 16:09
Did you try jSPXdec for movie decoding? It should get you results pretty similar to a TV (https://github.com/m35/jpsxdec).
The blog of the author is pretty interesting, too, with color comparisons of the different encoders out there. He even has done some Avisynth upscaling (https://jpsxdec.blogspot.de/2016/07/spu-and-hd-conversion.html).
SuperLumberjack
26th May 2018, 21:32
Thank you so much ! You are the boss ! :p
In the meantime, I found another solution which works, but yours is far better ;)
I used PSmplay to export the SRT files, and then I convert them to the AVI format with the good colors with PSXVideo.
https://media.joomeo.com/medium/5b09c53e84b9a.jpg (https://media.joomeo.com/large/5b09c53e84b9a.jpg)
I was so happy, but the colors and the framerate are more precise with your program, so I'm even more happy now ! :D
Excellent program ! ;)
I used these parameters and it's perfect !
https://media.joomeo.com/medium/5b09c56cabfc9.jpg (https://media.joomeo.com/large/5b09c56cabfc9.jpg)
And it's faster ! :)
SuperLumberjack
27th May 2018, 16:37
To see the difference "before (incorrect colors) / after (correct colors)", see these pictures ;) :
https://media.joomeo.com/medium/5b0acfb8cf8ae.jpg (https://media.joomeo.com/large/5b0acfb8cf8ae.jpg)
https://media.joomeo.com/medium/5b0acfd77038f.jpg (https://media.joomeo.com/large/5b0acfd77038f.jpg)
https://media.joomeo.com/medium/5b0acff968cff.jpg (https://media.joomeo.com/large/5b0acff968cff.jpg)
https://media.joomeo.com/medium/5b0ad01948e90.jpg (https://media.joomeo.com/large/5b0ad01948e90.jpg)
https://media.joomeo.com/medium/5b0ad03f92587.jpg (https://media.joomeo.com/large/5b0ad03f92587.jpg)
https://media.joomeo.com/medium/5b0ad0599b682.jpg (https://media.joomeo.com/large/5b0ad0599b682.jpg)
https://media.joomeo.com/medium/5b0ad07d4485a.jpg (https://media.joomeo.com/large/5b0ad07d4485a.jpg)
https://media.joomeo.com/medium/5b0ad09b4f47c.jpg (https://media.joomeo.com/large/5b0ad09b4f47c.jpg)
foxyshadis
6th June 2018, 11:54
To see the difference "before (incorrect colors) / after (correct colors)", see these pictures ;) :
https://media.joomeo.com/medium/5b0acfb8cf8ae.jpg (https://media.joomeo.com/large/5b0acfb8cf8ae.jpg)
https://media.joomeo.com/medium/5b0acfd77038f.jpg (https://media.joomeo.com/large/5b0acfd77038f.jpg)
https://media.joomeo.com/medium/5b0acff968cff.jpg (https://media.joomeo.com/large/5b0acff968cff.jpg)
https://media.joomeo.com/medium/5b0ad01948e90.jpg (https://media.joomeo.com/large/5b0ad01948e90.jpg)
https://media.joomeo.com/medium/5b0ad03f92587.jpg (https://media.joomeo.com/large/5b0ad03f92587.jpg)
https://media.joomeo.com/medium/5b0ad0599b682.jpg (https://media.joomeo.com/large/5b0ad0599b682.jpg)
https://media.joomeo.com/medium/5b0ad07d4485a.jpg (https://media.joomeo.com/large/5b0ad07d4485a.jpg)
https://media.joomeo.com/medium/5b0ad09b4f47c.jpg (https://media.joomeo.com/large/5b0ad09b4f47c.jpg)
What are you basing "correct" colors off of? NTSC is notoriously variable, and no TV was calibrated back then.
SuperLumberjack
6th June 2018, 16:32
I know the new colors are exact, because I perfectly know these games ;)
The mansion in the "Tomb Raider" games has always been with orange bricks. It's not yellow ! :p
https://media.joomeo.com/medium/5b17fd61691a1.jpg (https://media.joomeo.com/large/5b17fd61691a1.jpg)
https://media.joomeo.com/medium/5b0acfd77038f.jpg (https://media.joomeo.com/large/5b0acfd77038f.jpg)
And in this moment of "Soul Reaver" in the video (the vision of the chronoplast), we can see the future of Raziel who presumably got the Kain Reaver after his fight against Kain. We don't get it in the game, only with cheat codes :) It's not a very good representation, because the Kain Reaver is red and black. I think they didn't want to do too complicated, because it's just a cheat code :D
https://media.joomeo.com/medium/5b17fdda10a60.jpg (https://media.joomeo.com/large/5b17fdda10a60.jpg)
https://media.joomeo.com/medium/5b0ad0599b682.jpg (https://media.joomeo.com/large/5b0ad0599b682.jpg)
Update : This is a hacked version. It should have been like this :
http://www.thelostworlds.net/SR1/Images/Amplified_Reaver-Amplified_Reaver-01.JPG
Here it's said : http://www.thelostworlds.net/SR1/The_Debug_Menu.html
"Andrew also added some features of his own, like the ability to swim anywhere (which is very useful for exploring unreachable areas) and a fix for the colour of The Amplified Reaver, which does not otherwise display correctly in the PC version of Soul Reaver."
There is a fire Reaver in the game too, but sure it's not a represensation of this Reaver in the video, because it has nothing special for the history !
https://media.joomeo.com/medium/5b17fe2766526.jpg (https://media.joomeo.com/large/5b17fe2766526.jpg)
And I know all the history of this game ! ;)
SuperLumberjack
9th June 2018, 21:56
The correct way to get videos is via the emulator's own recording function (e.g. BizHawk, RetroArch - both have bsnes cores). That way you get the exact framerate of 5*7*9 / 88 * 6 * 10^6 / 1364 / 524 * 2 = 60.098 fps, and no frame drops/duplications.
I rethought to this story of correct framerate for the Super Nes games. Do you know with what emulator I could record videos with this exact framerate of 60,098 fps ?
(it's said 60,0988 fps here : http://nerdlypleasures.blogspot.com/2017/01/classic-systems-true-framerate.html)
Thanks ! :)
Note : So, if I understand, the output resolution of the Super Nes was 341x261 pxls ?
It explains why the resolution in Hegan is 1170x896. It's the same with the Super NT too (1170x896, but with the black bars it gives 1170x960) !
https://media.joomeo.com/medium/5b1c489b8cb10.jpg (https://media.joomeo.com/large/5b1c489b8cb10.jpg)
https://media.joomeo.com/medium/5b1c48bb6e402.jpg (https://media.joomeo.com/large/5b1c48bb6e402.jpg)
(Video source : Super Nt Settings for the Obsessive Compulsive (https://youtu.be/Hr6KgNXXRxs))
foxyshadis
10th June 2018, 08:06
The output resolution is 525 (263/262) interlaced lines, just like every other NTSC unit in existence. The horizontal resolution is defined more by the number of phosphors than the signal, but the maximum Nyquist resolution of the 15.7KHz was around 700 dots (thus 704 or 720 DVB/DVD standards). Of those 525 lines, a maximum of 480 and more often 450 contained any image data, where every other line was usually doubled from 240/225 lines generated internally. Internally, the horizontal resolution is generally 256, which is doubled to 512. There's also the interlaced 240x480 mode that was at the time unique to the SNES, but hardly ever used due to complexity and limited processing power. Likewise a of "512x240" mode where instead of each pixel being doubled, they're blended; this mode is much more commonly used since it doesn't increase complexity and processing power much, and another real 512x240 mode where backgrounds really were rendered in high resolution, but not foregrounds (sprites). After all of that, the SNES pads the video with the proper amount of blank pixels and lines, and the special sync lines every TV requires.
341x261 sounds like a misunderstanding of NTSC and SNES processing, thinking that it's the TV that does the resolution doubling, rather than the SNES itself. The resolution of every game on the SNES is 256x240 or 256x225, or a few using partial 512x240, outside of the handful of demos that used the 256x480 interlaced mode. How you want to refer to the final upsized frame size is up to you, but that seems unnecessarily esoteric when it's really 1024x896 padded out to some NTSC-friendly value.
SuperLumberjack
10th June 2018, 09:50
OK. Very good explanations ! :) Thanks ! ;)
SuperLumberjack
12th June 2018, 01:49
Hello everybody ! :p
I created a new script (I know...) based on a simple idea. I took like a reference the sequences of the chronoplast from the PS1 version of Soul Reaver, because they have the particularity of having been realised with the engine of the game on PS1 (but not in real time of course, because they are videos), and my goal was to give them a look like the PC version of the game.
I don't know if I'm clear, so I will show you examples.
A screenshot of the game on PC
https://media.joomeo.com/medium/5b1f15ce916ef.jpg (https://media.joomeo.com/large/5b1f15ce916ef.jpg)
A video of the PS1 version upscaled to 2160p
https://media.joomeo.com/medium/5b1f1604cd4d4.jpg (https://media.joomeo.com/large/5b1f1604cd4d4.jpg)
The original image
https://media.joomeo.com/medium/5b1f169be25e8.jpg (https://media.joomeo.com/large/5b1f169be25e8.jpg)
A screenshot of the game on PC
https://media.joomeo.com/medium/5b1f1749230f5.jpg (https://media.joomeo.com/large/5b1f1749230f5.jpg)
A video of the PS1 version upscaled to 2160p
https://media.joomeo.com/medium/5b1f1772c6d7a.jpg (https://media.joomeo.com/large/5b1f1772c6d7a.jpg)
The original image
https://media.joomeo.com/medium/5b1f17a165c8e.jpg (https://media.joomeo.com/large/5b1f17a165c8e.jpg)
And then I will show you my new scripts and some other screenshots... ;)
SuperLumberjack
12th June 2018, 02:08
Name of the scripts : Shiny style
Super Nes games with 8:7 aspect ratio upscaled to 2160p :
(source resolution : 256x224 60 fps)
Mr. Nutz
https://media.joomeo.com/medium/5b1f1902c2fb1.jpg (https://media.joomeo.com/large/5b1f1902c2fb1.jpg)
https://media.joomeo.com/original/5b1f1902c2fb1.png
Super Metroid
https://media.joomeo.com/medium/5b1f194ed568f.jpg (https://media.joomeo.com/large/5b1f194ed568f.jpg)
https://media.joomeo.com/original/5b1f194ed568f.png
Super Mario World
https://media.joomeo.com/medium/5b1f19a1c1a5e.jpg (https://media.joomeo.com/large/5b1f19a1c1a5e.jpg)
https://media.joomeo.com/original/5b1f19a1c1a5e.png
AviSource()
ConvertToRGB32
Spline16Resize(1024, 896)
xBRZ(2)
GaussResize(4936, 4320, p=50)
BicubicResize(2468, 2160)
Super Nes games with 4:3 aspect ratio upscaled to 2160p :
Killer Instinct
https://media.joomeo.com/medium/5b1f1ac26f0d1.jpg (https://media.joomeo.com/large/5b1f1ac26f0d1.jpg)
https://media.joomeo.com/original/5b1f1ac26f0d1.png
Killer Instinct
https://media.joomeo.com/medium/5b1f1b6eb925e.jpg (https://media.joomeo.com/large/5b1f1b6eb925e.jpg)
https://media.joomeo.com/original/5b1f1b6eb925e.png
Donkey Kong Country 2
https://media.joomeo.com/medium/5b1f1bb6cb857.jpg (https://media.joomeo.com/large/5b1f1bb6cb857.jpg)
https://media.joomeo.com/original/5b1f1bb6cb857.png
AviSource()
ConvertToRGB32
Spline16Resize(1024, 896)
xBRZ(2)
GaussResize(5640, 4320, p=50)
BicubicResize(2820, 2160)
As you can see, these new scripts are almost identical to the olders. I just begin to increase the resolution 4 times with the Spline16 and after replaced the Nnedi3 by the xBRZ.
So the PointSize filters are needed of course : http://avisynth.nl/index.php/PointSize
SuperLumberjack
12th June 2018, 02:38
Videos from PlayStation 1 games upscaled to 2160p :
Soul Reaver
(source resolution : 320x240 15 fps)
https://media.joomeo.com/medium/5b1f1e52c28ae.jpg (https://media.joomeo.com/large/5b1f1e52c28ae.jpg)
https://media.joomeo.com/original/5b1f1e52c28ae.png
AviSource()
ConvertToRGB32
ChangeFPS(30)
Spline16Resize(1280, 960)
xBRZ(2)
GaussResize(5760, 4320, p=50)
BicubicResize(2880, 2160)
Tomb Raider 2
(source resolution : 320x160 30 fps)
https://media.joomeo.com/medium/5b1f1f0431bf7.jpg (https://media.joomeo.com/large/5b1f1f0431bf7.jpg)
https://media.joomeo.com/original/5b1f1f0431bf7.png
https://media.joomeo.com/medium/5b1f1f4a0318a.jpg (https://media.joomeo.com/large/5b1f1f4a0318a.jpg)
https://media.joomeo.com/original/5b1f1f4a0318a.png
AviSource()
ConvertToRGB32
Spline16Resize(1280, 640)
xBRZ(2)
GaussResize(7680, 3840, p=50)
BicubicResize(3840, 1920)
AddBorders(0, 120, 0, 120)
Videos from PlayStation 2 games upscaled to 2160p :
Soul Reaver (introduction from the bonus on the Soul Reaver 2 DVD)
(source resolution : 640x480 29.970 fps)
https://media.joomeo.com/medium/5b1f20a6e5266.jpg (https://media.joomeo.com/large/5b1f20a6e5266.jpg)
https://media.joomeo.com/original/5b1f20a6e5266.png
AviSource()
ConvertToRGB32
Spline16Resize(2560, 1920)
xBRZ(2)
GaussResize(11520, 8640, p=50)
BicubicResize(2880, 2160)
Blood Omen 2
(source resolution : 640x480 29.970 fps)
https://media.joomeo.com/medium/5b1f2127bfe7f.jpg (https://media.joomeo.com/large/5b1f2127bfe7f.jpg)
https://media.joomeo.com/original/5b1f2127bfe7f.png
AviSource()
ConvertToRGB32
Crop(0, 60, 0, -60)
Spline16Resize(2560, 1440)
xBRZ(2)
GaussResize(15360, 8640, p=50)
BicubicResize(3840, 2160)
Legacy of Kain: Defiance
(source resolution : 640x480 29.970 fps)
https://media.joomeo.com/medium/5b1f2223e3bd9.jpg (https://media.joomeo.com/large/5b1f2223e3bd9.jpg)
https://media.joomeo.com/original/5b1f2223e3bd9.png
Note : The aspect ratio is wrong with the original videos of LoK Defiance. I had to correct it by cutting the black bars and stretch the picture vertically.
Here is the original picture :
https://media.joomeo.com/medium/5b1f2318e2679.jpg (https://media.joomeo.com/large/5b1f2318e2679.jpg)
https://media.joomeo.com/original/5b1f2318e2679.png
AviSource()
ConvertToRGB32
Crop(0, 80, 0, -80)
Spline16Resize(2560, 1280)
xBRZ(2)
GaussResize(15360, 8640, p=50)
BicubicResize(3840, 2160)
SuperLumberjack
12th June 2018, 02:55
A little precision !
With the videos with a resolution of 320x240, I tested this script :
AviSource()
ConvertToRGB32
ChangeFPS(30)
Spline16Resize(2560, 1920)
xBRZ(2)
GaussResize(11520, 8640, p=50)
BicubicResize(2880, 2160)
Instead of this :
AviSource()
ConvertToRGB32
ChangeFPS(30)
Spline16Resize(1280, 960)
xBRZ(2)
GaussResize(5760, 4320, p=50)
BicubicResize(2880, 2160)
But with a resolution upsized 8 times with the Spline16Resize instead of 4 times, I found that the picture became a bit unnatural and less close to the "PC game look" that I was looking for.
So I keep always the same logic :
- resolution 4X with Spline16Resize
- xBRZ 2X
- GaussResize a bit more than 2X, used to correct the aspect ratio sometimes, with a resolution that is a multiple of the 2160p resolution
- BicubicResize to reduce the resolution to the ouput resolution
SuperLumberjack
18th June 2018, 01:27
Hello everybody :)
I'm not here for new scripts... OK, I lied ! :D
I think at last I found my perfect script ! :p I had chance, because I almost missed it ! I was on something different (but as usual, I wasn"t completely satisfied), but I thought about something and did some researches.
I compared a video of Soul Reaver on PS1 displayed on a PVM with a capture I did from the PC version :
https://media.joomeo.com/medium/5b26f39a3c5f0.jpg (https://media.joomeo.com/large/5b26f39a3c5f0.jpg)
(video source : PS1: Soul Reaver + Sony PVM 14M4E (https://youtu.be/HMvZnHxPqe4))
We can see that the textures are smoother on the PC version than on the PS1 version and its ugly textures.
However, we have almost the same impression of quality with the PS1 version, because it's on a PVM !
So I wondered if the textures were thought to be perfectly adapted to the display on a CRT TV and if the resolution of them was different between the PS1 and PC version.
I searched, and in fact NO ! The resolution of the textures are exactly of 256x256 for the PS1 and the PC version and looks identical. Not in the game of course, but in the source.
So I conclued that the difference was because of the texture filtering, so with a bilinear or trilinear filter.
It's why I decided to use the bilinear filter ;)
I didn't use it at the beginning of the scrit, because it's too soft, but I used it at the second position.
This time, I didn't use the Spline16 resizernat first, but the Bicubic with "b=0" and "c=0.75", because I found that the result was closer to the original in terms of relief and texture.
Here is for example the result of my last script (I called it "New century style" :D ) with Super Mario World, compared to the game displayed on a Sony PVM :
https://media.joomeo.com/medium/5b26f9d519167.jpg (https://media.joomeo.com/large/5b26f9d519167.jpg)
(video source : Super Mario World on a Sony PVM vs a standard CRT television (https://youtu.be/MDkOSuXoFVw)
I think it's perfect now ! :p The picture is soft but clear, well-balanced I find ! :)
I newer liked the bilinear filter, but I love it today ! :D
Pictures and scripts ! :D
Super Nes games with 8:7 aspect ratio upscaled to 2160p :
(source resolution : 256x224 60 fps)
Mr. Nutz
https://media.joomeo.com/medium/5b26f8e3d4801.jpg (https://media.joomeo.com/large/5b26f8e3d4801.jpg)
https://media.joomeo.com/original/5b26f8e3d4801.png
Super Mario World
https://media.joomeo.com/medium/5b26f77310e16.jpg (https://media.joomeo.com/large/5b26f77310e16.jpg)
https://media.joomeo.com/original/5b26f77310e16.png
Super Metroid
https://media.joomeo.com/medium/5b26f9897ca00.jpg (https://media.joomeo.com/large/5b26f9897ca00.jpg)
https://media.joomeo.com/original/5b26f9897ca00.png
AviSource()
BicubicResize(b=0, c=0.75, 1024, 896)
BilinearResize(2048, 1792)
GaussResize(4936, 4320, p=50)
BicubicResize(2468, 2160)
Super Nes games with 4:3 aspect ratio upscaled to 2160p :
Donkey Kong Country 2
https://media.joomeo.com/medium/5b26fb1dace65.jpg (https://media.joomeo.com/large/5b26fb1dace65.jpg)
https://media.joomeo.com/original/5b26fb1dace65.png
Killer Instinct
https://media.joomeo.com/medium/5b26fb6bcc72d.jpg (https://media.joomeo.com/large/5b26fb6bcc72d.jpg)
https://media.joomeo.com/original/5b26fb6bcc72d.png
Donkey Kong Country 3
https://media.joomeo.com/medium/5b26fbb2ed411.jpg (https://media.joomeo.com/large/5b26fbb2ed411.jpg)
https://media.joomeo.com/original/5b26fbb2ed411.png
AviSource()
BicubicResize(b=0, c=0.75, 1024, 896)
BilinearResize(2048, 1792)
GaussResize(5640, 4320, p=50)
BicubicResize(2820, 2160)
SuperLumberjack
18th June 2018, 01:45
Videos from PlayStation 1 games upscaled to 2160p :
Soul Reaver
(source resolution : 320x240 15 fps)
https://media.joomeo.com/medium/5b26fd0459add.jpg (https://media.joomeo.com/large/5b26fd0459add.jpg)
https://media.joomeo.com/original/5b26fd0459add.png
AviSource()
ChangeFPS(30)
BicubicResize(b=0, c=0.75, 1280, 960)
BilinearResize(2560, 1920)
GaussResize(5760, 4320, p=50)
BicubicResize(2880, 2160)
Tomb Raider 2
(source resolution : 320x160 30 fps)
https://media.joomeo.com/medium/5b26fdb5e36e7.jpg (https://media.joomeo.com/large/5b26fdb5e36e7.jpg)
https://media.joomeo.com/original/5b26fdb5e36e7.png
AviSource()
BicubicResize(b=0, c=0.75, 1280, 640)
BilinearResize(2560, 1280)
GaussResize(7680, 3840, p=50)
BicubicResize(3840, 1920)
AddBorders(0, 120, 0, 120)
Blood Omen
(source resolution : 320x240 14.985 fps)
https://media.joomeo.com/medium/5b26fe4525c5e.jpg (https://media.joomeo.com/large/5b26fe4525c5e.jpg)
https://media.joomeo.com/original/5b26fe4525c5e.png
AviSource()
ChangeFPS(29.97)
BicubicResize(b=0, c=0.75, 1280, 960)
BilinearResize(2560, 1920)
GaussResize(5760, 4320, p=50)
BicubicResize(2880, 2160)
Videos from PlayStation 2 games upscaled to 2160p :
Soul Reaver (introduction from the bonus on the Soul Reaver 2 DVD)
(source resolution : 640x480 29.970 fps)
https://media.joomeo.com/medium/5b26ff007289c.jpg (https://media.joomeo.com/large/5b26ff007289c.jpg)
https://media.joomeo.com/original/5b26ff007289c.png
AviSource()
BicubicResize(b=0, c=0.75, 2560, 1920)
BilinearResize(5120, 3840)
GaussResize(11520, 8640, p=50)
BicubicResize(2880, 2160)
Blood Omen 2
(source resolution : 640x480 29.970 fps)
https://media.joomeo.com/medium/5b26ff7710c20.jpg (https://media.joomeo.com/large/5b26ff7710c20.jpg)
https://media.joomeo.com/original/5b26ff7710c20.png
AviSource()
Crop(0, 60, 0, -60)
BicubicResize(b=0, c=0.75, 2560, 1440)
BilinearResize(5120, 2880)
GaussResize(15360, 8640, p=50)
BicubicResize(3840, 2160)
Legacy of Kain: Defiance
(source resolution : 640x480 29.970 fps)
Note : The aspect ratio is wrong with the original videos of LoK Defiance. I had to correct it by cutting the black bars and stretch the picture vertically.
https://media.joomeo.com/medium/5b270018a7f54.jpg (https://media.joomeo.com/large/5b270018a7f54.jpg)
https://media.joomeo.com/original/5b270018a7f54.png
AviSource()
Crop(0, 80, 0, -80)
BicubicResize(b=0, c=0.75, 2560, 1280)
BilinearResize(5120, 2560)
GaussResize(15360, 8640, p=50)
BicubicResize(3840, 2160)
Good night and sweet dreams! :p
SuperLumberjack
24th June 2018, 15:06
I need a "2xSaI" filter :p
Does it exist for AviSynth ? :confused:
It's the filter I prefer for pixel art !
Thanks for your help ! ;)
SuperLumberjack
2nd July 2018, 20:34
Hello my friends ! :)
I'm back ! :D
I realized that there are lots of possibilities to upscale the image, that we can get very good results and nothing is really wrong or better.
So I decided to look for the more balanced result, not the best looking picture. I abandonned a bit my extravagant ideas and aimed a more simple logic ;)
But before this illumination, I still did another script :p
I just will post it too, because maybe somebody could like it, I don't know ! :)
And after that, I will post my very last script (maybe... you know me)! :rolleyes:
And maybe in the next days, I will do some videos for these scripts too ;)
OK. Let's go ! (lot of work)
Name of the scripts : Restoration style
Super Nes games with 8:7 aspect ratio upscaled to 2160p :
(source resolution : 256x224 60 fps)
Mr. Nutz
https://media.joomeo.com/medium/5b3a7bdbc1a8b.jpg (https://media.joomeo.com/large/5b3a7bdbc1a8b.jpg)
https://media.joomeo.com/original/5b3a7bdbc1a8b.png
Super Mario World
https://media.joomeo.com/medium/5b3a7c21ac43c.jpg (https://media.joomeo.com/large/5b3a7c21ac43c.jpg)
https://media.joomeo.com/original/5b3a7c21ac43c.png
Super Metroid
https://media.joomeo.com/medium/5b3a7c93c27de.jpg (https://media.joomeo.com/large/5b3a7c93c27de.jpg)
https://media.joomeo.com/original/5b3a7c93c27de.png
AviSource()
ConvertToRGB32
BicubicResize(b=0, c=0.75, 2048, 1792)
scalex(2)
BilinearResize(1024, 896)
GaussResize(2468, 2160, p=50)
Super Nes games with 4:3 aspect ratio upscaled to 2160p :
Donkey Kong Country 2
https://media.joomeo.com/medium/5b3a7d36765a4.jpg (https://media.joomeo.com/large/5b3a7d36765a4.jpg)
https://media.joomeo.com/original/5b3a7d36765a4.png
Killer Instinct
https://media.joomeo.com/medium/5b3a7d653cbcb.jpg (https://media.joomeo.com/large/5b3a7d653cbcb.jpg)
https://media.joomeo.com/original/5b3a7d653cbcb.png
Donkey Kong Country 3
https://media.joomeo.com/medium/5b3a7d967902e.jpg (https://media.joomeo.com/large/5b3a7d967902e.jpg)
https://media.joomeo.com/original/5b3a7d967902e.png
AviSource()
ConvertToRGB32
BicubicResize(b=0, c=0.75, 2048, 1792)
scalex(2)
BilinearResize(1024, 896)
GaussResize(2820, 2160, p=50)
The other screenshots will follow... :)
SuperLumberjack
2nd July 2018, 20:50
Videos from PlayStation 1 games upscaled to 2160p :
Soul Reaver
(source resolution : 320x240 15 fps)
https://media.joomeo.com/medium/5b3a7e97493f3.jpg (https://media.joomeo.com/large/5b3a7e97493f3.jpg)
https://media.joomeo.com/original/5b3a7e97493f3.png
AviSource()
ConvertToRGB32
ChangeFPS(30)
BicubicResize(b=0, c=0.75, 2560, 1920)
scalex(2)
BilinearResize(1280, 960)
GaussResize(2880, 2160, p=50)
Tomb Raider 2
(source resolution : 320x160 30 fps)
https://media.joomeo.com/medium/5b3a7eddc4ce1.jpg (https://media.joomeo.com/large/5b3a7eddc4ce1.jpg)
https://media.joomeo.com/original/5b3a7eddc4ce1.png
AviSource()
ConvertToRGB32
BicubicResize(b=0, c=0.75, 2560, 1280)
scalex(2)
BilinearResize(1280, 640)
GaussResize(3840, 1920, p=50)
AddBorders(0, 120, 0, 120)
Blood Omen
(source resolution : 320x240 14.985 fps)
https://media.joomeo.com/medium/5b3a7f451c399.jpg (https://media.joomeo.com/large/5b3a7f451c399.jpg)
https://media.joomeo.com/original/5b3a7f451c399.png
AviSource()
ConvertToRGB32
ChangeFPS(29.97)
BicubicResize(b=0, c=0.75, 2560, 1920)
scalex(2)
BilinearResize(1280, 960)
GaussResize(2880, 2160, p=50)
Videos from PlayStation 2 games upscaled to 2160p :
Soul Reaver (introduction from the bonus on the Soul Reaver 2 DVD)
(source resolution : 640x480 29.970 fps)
https://media.joomeo.com/medium/5b3a8075b7177.jpg (https://media.joomeo.com/large/5b3a8075b7177.jpg)
https://media.joomeo.com/original/5b3a8075b7177.png
AviSource()
ConvertToRGB32
BicubicResize(b=0, c=0.75, 5120, 3840)
scalex(2)
BilinearResize(2560, 1920)
GaussResize(5760, 4320, p=50)
BicubicResize(2880, 2160)
Blood Omen 2
(source resolution : 640x480 29.970 fps)
https://media.joomeo.com/medium/5b3a80d653bae.jpg (https://media.joomeo.com/large/5b3a80d653bae.jpg)
https://media.joomeo.com/original/5b3a80d653bae.png
AviSource()
ConvertToRGB32
Crop(0, 60, 0, -60)
BicubicResize(b=0, c=0.75, 5120, 2880)
scalex(2)
BilinearResize(2560, 1440)
GaussResize(7680, 4320, p=50)
BicubicResize(3840, 2160)
Legacy of Kain: Defiance
(source resolution : 640x480 29.970 fps)
https://media.joomeo.com/medium/5b3a814009b36.jpg (https://media.joomeo.com/large/5b3a814009b36.jpg)
https://media.joomeo.com/original/5b3a814009b36.png
Note : The aspect ratio is wrong with the original videos of LoK Defiance. I had to correct it by cutting the black bars and stretch the picture vertically.
AviSource()
ConvertToRGB32
Crop(0, 80, 0, -80)
BicubicResize(b=0, c=0.75, 5120, 2560)
scalex(2)
BilinearResize(2560, 1280)
GaussResize(7680, 4320, p=50)
BicubicResize(3840, 2160)
SuperLumberjack
2nd July 2018, 21:20
And NOW... my last scripts ! :p
I just want to quickly explain the logic of my scripts.
I found that I got the closest result to the original picture with the "BicubicResize(b=0, c=0.75, x, y)" filter in the higher resolutions.
I get an improvement, but I stay close to the original too :)
So I used it ! :p
But after, instead of the "GaussResize" filter, to change the aspect ratio, I noticed that I got better results with the "BilinearResize" filter. In addition, it smoothes the picture too ! So it's perfect ! ;)
And at the end, I downsize the picture with a simple "BicubicResize" filter.
When I compared the picture of my upscale with the picture of "Mr. Nutz" displayed on a CRT screen, I find it's quite similar, nothing disturbing I think :)
https://media.joomeo.com/medium/5b3a85286aa28.jpg (https://media.joomeo.com/large/5b3a85286aa28.jpg)
https://media.joomeo.com/original/5b3a85286aa28.png
(source of the video : https://youtu.be/mh3KWHrwvhE?t=1191)
https://media.joomeo.com/medium/5b3a85576c4d2.jpg (https://media.joomeo.com/large/5b3a85576c4d2.jpg)
https://media.joomeo.com/original/5b3a85576c4d2.png
And so here are my scripts :o ! For the information, I called it "Continuum style".
Super Nes games with 8:7 aspect ratio upscaled to 2160p :
(source resolution : 256x224 60 fps)
Super Mario Bros. 2
https://media.joomeo.com/medium/5b3a8638c11c5.jpg (https://media.joomeo.com/large/5b3a8638c11c5.jpg)
https://media.joomeo.com/original/5b3a8638c11c5.png
Mr. Nutz
https://media.joomeo.com/medium/5b3a8663d8606.jpg (https://media.joomeo.com/large/5b3a8663d8606.jpg)
https://media.joomeo.com/original/5b3a8663d8606.png
Super Mario World 2: Yoshi's Island
https://media.joomeo.com/medium/5b3a86b1256f6.jpg (https://media.joomeo.com/large/5b3a86b1256f6.jpg)
https://media.joomeo.com/original/5b3a86b1256f6.png
AviSource()
BicubicResize(b=0, c=0.75, 2468, 2160)
BilinearResize(4936, 4320)
BicubicResize(2468, 2160)
Super Nes games with 4:3 aspect ratio upscaled to 2160p :
Donkey Kong Country 2
https://media.joomeo.com/medium/5b3a87a833bb8.jpg (https://media.joomeo.com/large/5b3a87a833bb8.jpg)
https://media.joomeo.com/original/5b3a87a833bb8.png
Killer Instinct
https://media.joomeo.com/medium/5b3a87d763083.jpg (https://media.joomeo.com/large/5b3a87d763083.jpg)
https://media.joomeo.com/original/5b3a87d763083.png
Donkey Kong Country 3
https://media.joomeo.com/medium/5b3a883c85ff0.jpg (https://media.joomeo.com/large/5b3a883c85ff0.jpg)
https://media.joomeo.com/original/5b3a883c85ff0.png
AviSource()
BicubicResize(b=0, c=0.75, 2468, 2160)
BilinearResize(5640, 4320)
BicubicResize(2820, 2160)
SuperLumberjack
2nd July 2018, 21:37
Videos from PlayStation 1 games upscaled to 2160p :
Soul Reaver
(source resolution : 320x240 15 fps)
https://media.joomeo.com/medium/5b3a89e334e63.jpg (https://media.joomeo.com/large/5b3a89e334e63.jpg)
https://media.joomeo.com/original/5b3a89e334e63.png
AviSource()
ChangeFPS(30)
BicubicResize(b=0, c=0.75, 2880, 2160)
BilinearResize(5760, 4320)
BicubicResize(2880, 2160)
Tomb Raider 2
(source resolution : 320x160 30 fps)
https://media.joomeo.com/medium/5b3a8a69c65f6.jpg (https://media.joomeo.com/large/5b3a8a69c65f6.jpg)
https://media.joomeo.com/original/5b3a8a69c65f6.png
AviSource()
BicubicResize(b=0, c=0.75, 3840, 1920)
BilinearResize(7680, 3840)
BicubicResize(3840, 1920)
AddBorders(0, 120, 0, 120)
Blood Omen
(source resolution : 320x240 14.985 fps)
https://media.joomeo.com/medium/5b3a8ae02064d.jpg (https://media.joomeo.com/large/5b3a8ae02064d.jpg)
https://media.joomeo.com/original/5b3a8ae02064d.png
AviSource()
ChangeFPS(29.97)
BicubicResize(b=0, c=0.75, 2880, 2160)
BilinearResize(5760, 4320)
BicubicResize(2880, 2160)
Videos from PlayStation 2/PC games upscaled to 2160p :
Soul Reaver (introduction from the bonus on the Soul Reaver 2 DVD)
(source resolution : 640x480 29.970 fps)
https://media.joomeo.com/medium/5b3a8b46628d5.jpg (https://media.joomeo.com/large/5b3a8b46628d5.jpg)
https://media.joomeo.com/original/5b3a8b46628d5.png
AviSource()
BicubicResize(b=0, c=0.75, 5760, 4320)
BilinearResize(11520, 8640)
BicubicResize(2880, 2160)
Soul Reaver 2 (PC)
(source resolution : 640x360 29.970 fps)
https://media.joomeo.com/medium/5b3a8c0ee2c6a.jpg (https://media.joomeo.com/large/5b3a8c0ee2c6a.jpg)
https://media.joomeo.com/original/5b3a8c0ee2c6a.png
AviSource()
BicubicResize(b=0, c=0.75, 7680, 4320)
BilinearResize(15360, 8640)
BicubicResize(3840, 2160)
Legacy of Kain: Defiance (PC)
(source resolution : 640x480 29.970 fps)
https://media.joomeo.com/medium/5b3a8c654a35f.jpg (https://media.joomeo.com/large/5b3a8c654a35f.jpg)
https://media.joomeo.com/original/5b3a8c654a35f.png
AviSource()
Crop(0, 80, 0, -80)
BicubicResize(b=0, c=0.75, 7680, 3840)
BilinearResize(15360, 8640)
BicubicResize(3840, 2160)
Finished ! :D
And soon, some videos maybe ! :p
SuperLumberjack
5th July 2018, 22:35
Hello :)
One last script, but this time... I think it's the very very last ! :D It's the last ! :sly: Because I think it's perfect ! :p
(I called it "Evolved script". But I could have called it "The scanlines are not needed anymore, you can forget them style" too :D )
Screenshots and scripts ! ;)
Super Nes games with 8:7 aspect ratio upscaled to 2160p :
(source resolution : 256x224 60 fps)
Super Mario Bros. 2
https://media.joomeo.com/medium/5b3e8c1896af2.jpg (https://media.joomeo.com/large/5b3e8c1896af2.jpg)
https://media.joomeo.com/original/5b3e8c1896af2.png
Mr. Nutz
https://media.joomeo.com/medium/5b3e8c792ee68.jpg (https://media.joomeo.com/large/5b3e8c792ee68.jpg)
https://media.joomeo.com/original/5b3e8c792ee68.png
Super Mario World 2: Yoshi's Island
https://media.joomeo.com/medium/5b3e8ca125eb8.jpg (https://media.joomeo.com/large/5b3e8ca125eb8.jpg)
https://media.joomeo.com/original/5b3e8ca125eb8.png
AviSource()
ConvertToRGB32
BicubicResize(b=0, c=0.75, 1234, 1080)
xBRZ(2)
BilinearResize(9872, 4320)
BicubicResize(2468, 2160)
Super Nes games with 4:3 aspect ratio upscaled to 2160p :
Donkey Kong Country 2
https://media.joomeo.com/medium/5b3e8d4293d24.jpg (https://media.joomeo.com/large/5b3e8d4293d24.jpg)
https://media.joomeo.com/original/5b3e8d4293d24.png
Killer Instinct
https://media.joomeo.com/medium/5b3e8d69008a5.jpg (https://media.joomeo.com/large/5b3e8d69008a5.jpg)
https://media.joomeo.com/original/5b3e8d69008a5.png
Donkey Kong Country 3
https://media.joomeo.com/medium/5b3e8d9a2182e.jpg (https://media.joomeo.com/large/5b3e8d9a2182e.jpg)
https://media.joomeo.com/original/5b3e8d9a2182e.png
AviSource()
ConvertToRGB32
BicubicResize(b=0, c=0.75, 1234, 1080)
xBRZ(2)
BilinearResize(11280, 4320)
BicubicResize(2820, 2160)
And just to compare "Mr. Nutz" on a CRT screen with my new upscale :p :
https://media.joomeo.com/medium/5b3a85286aa28.jpg (https://media.joomeo.com/large/5b3a85286aa28.jpg)
https://media.joomeo.com/original/5b3a85286aa28.png
(source of the video : https://youtu.be/mh3KWHrwvhE?t=1191)
https://media.joomeo.com/medium/5b3e8e51715a0.jpg (https://media.joomeo.com/large/5b3e8e51715a0.jpg)
https://media.joomeo.com/original/5b3e8e51715a0.png
SuperLumberjack
5th July 2018, 22:54
Videos from PlayStation 1 games upscaled to 2160p :
Soul Reaver
(source resolution : 320x240 15 fps)
https://media.joomeo.com/medium/5b3e8fc37e1a9.jpg (https://media.joomeo.com/large/5b3e8fc37e1a9.jpg)
https://media.joomeo.com/original/5b3e8fc37e1a9.png
AviSource()
ConvertToRGB32
ChangeFPS(30)
BicubicResize(b=0, c=0.75, 1440, 1080)
xBRZ(2)
BilinearResize(11520, 4320)
BicubicResize(2880, 2160)
Tomb Raider 2
(source resolution : 320x160 30 fps)
https://media.joomeo.com/medium/5b3e90efbe938.jpg (https://media.joomeo.com/large/5b3e90efbe938.jpg)
https://media.joomeo.com/original/5b3e90efbe938.png
AviSource()
ConvertToRGB32
BicubicResize(b=0, c=0.75, 1920, 960)
xBRZ(2)
BilinearResize(15360, 3840)
BicubicResize(3840, 1920)
AddBorders(0, 120, 0, 120)
Blood Omen
(source resolution : 320x240 14.985 fps)
https://media.joomeo.com/medium/5b3e9131f0466.jpg (https://media.joomeo.com/large/5b3e9131f0466.jpg)
https://media.joomeo.com/original/5b3e9131f0466.png
AviSource()
ConvertToRGB32
ChangeFPS(29.97)
BicubicResize(b=0, c=0.75, 1440, 1080)
xBRZ(2)
BilinearResize(11520, 4320)
BicubicResize(2880, 2160)
Videos from PlayStation 2/PC games upscaled to 2160p :
Soul Reaver (introduction from the bonus on the Soul Reaver 2 DVD)
(source resolution : 640x480 29.970 fps)
https://media.joomeo.com/medium/5b3e918688e42.jpg (https://media.joomeo.com/large/5b3e918688e42.jpg)
https://media.joomeo.com/original/5b3e918688e42.png
AviSource()
ConvertToRGB32
BicubicResize(b=0, c=0.75, 2880, 2160)
xBRZ(2)
BilinearResize(23040, 8640)
BicubicResize(2880, 2160)
Soul Reaver 2 (PS2)
(source resolution : 640x480 29.970 fps)
https://media.joomeo.com/medium/5b3e91e9bf1ce.jpg (https://media.joomeo.com/large/5b3e91e9bf1ce.jpg)
https://media.joomeo.com/original/5b3e91e9bf1ce.png
Note : The aspect ratio is wrong with the introduction of Soul Reaver 2 on PS2 (but correct with the PC version). I had to correct it by cutting the black bars and stretch the picture vertically.
AviSource()
Crop(0, 71, 0, -72)
ConvertToRGB32
BicubicResize(b=0, c=0.75, 3840, 2022)
xBRZ(2)
BilinearResize(30720, 8640)
BicubicResize(3840, 2160)
Legacy of Kain: Defiance (PC)
(source resolution : 640x480 29.970 fps)
https://media.joomeo.com/medium/5b3e92670ba50.jpg (https://media.joomeo.com/large/5b3e92670ba50.jpg)
https://media.joomeo.com/original/5b3e92670ba50.png
Note : The aspect ratio is wrong with the original videos of LoK Defiance. I had to correct it by cutting the black bars and stretch the picture vertically.
AviSource()
Crop(0, 80, 0, -80)
ConvertToRGB32
BicubicResize(b=0, c=0.75, 3840, 1920)
xBRZ(2)
BilinearResize(30720, 8640)
BicubicResize(3840, 2160)
SuperLumberjack
6th July 2018, 11:54
HERE are the videos for all my last scripts ! :)
Shiny style : https://youtu.be/2bOHRR0bUaw
New century style : https://youtu.be/ewTnUUzhGOw
Restoration style : https://youtu.be/1YA7mnSglcM
Continuum style : https://youtu.be/Za-hm0Oq-Es
Evolved style : https://youtu.be/EmkP2cfXoRo
And the playlist with all the videos of my scripts ;) : https://www.youtube.com/playlist?list=PLL_S06Mn5k4mRZ1a50jW3G7DVYqx9NhoT
I haven't explained yet the logic of my last script (Evolved style) ! :p
It's simple, it's like always ! ^_^
I wanted to give to the image a modern look, so without scanlines, but which doesn't denature too much the original look and feeling.
It was like moving to this (PS1 on a Sony PVM) :
https://media.joomeo.com/medium/5aff68631ab0f.jpg (https://media.joomeo.com/large/5aff68631ab0f.jpg)
to this (screenshot of the PC version) :
https://media.joomeo.com/medium/5aff689c15d89.jpg (https://media.joomeo.com/large/5aff689c15d89.jpg)
Or to this to this :
https://media.joomeo.com/medium/5b26f39a3c5f0.jpg (https://media.joomeo.com/large/5b26f39a3c5f0.jpg)
Or here the PS1 version to the PC version :p :
https://media.joomeo.com/medium/5aff6d0db254d.jpg (https://media.joomeo.com/large/5aff6d0db254d.jpg)
But as I said before, there is no difference with the resolution of the textures between the PS1 and the PC version of Soul Reaver or Tomb Raider.
The only difference is the texture filtering.
It's why I still used the Bilinear resizer in my script. But I found that the result was better when I doubled the horizontal resolution with the Bilinear filter compared to the vertical resolution. It was more like "it's adapted to a display without scanlines" ! ;)
It was totally my goal ! I don't know if it's perfect, but I think we can better forget with the image of my last script that we should have scanlines to correctly display the sprites of the Super Nes games, like if it was thought for a modern display.
What do you think ? Yes ? No ? :D
And I used xBRZ too just to modernize a bit the image. So voilą ! :p
SuperLumberjack
6th July 2018, 21:38
No comment ! I did a new script ! :D
I called it "Vivid style" ! :)
But this time, I used the Bicubic resize to scale the videos to the good resolution and change the aspect ratio. I just want to try new things ! If you want, we can say that it's always the case ! :p
Super Nes games with 8:7 aspect ratio upscaled to 2160p :
(source resolution : 256x224 60 fps)
Super Mario Bros. 2
https://media.joomeo.com/medium/5b3fcf9456f9b.jpg (https://media.joomeo.com/large/5b3fcf9456f9b.jpg)
https://media.joomeo.com/original/5b3fcf9456f9b.png
Mr. Nutz
https://media.joomeo.com/medium/5b3fcfc1166b5.jpg (https://media.joomeo.com/large/5b3fcfc1166b5.jpg)
https://media.joomeo.com/original/5b3fcfc1166b5.png
Super Mario World 2: Yoshi's Island
https://media.joomeo.com/medium/5b3fcff1b9a59.jpg (https://media.joomeo.com/large/5b3fcff1b9a59.jpg)
https://media.joomeo.com/original/5b3fcff1b9a59.png
AviSource()
Spline16Resize(1024, 896)
BilinearResize(2048, 1792)
BicubicResize(4936, 4320)
BicubicResize(2468, 2160)
Super Nes games with 4:3 aspect ratio upscaled to 2160p :
Donkey Kong Country 2
https://media.joomeo.com/medium/5b3fd08b943c4.jpg (https://media.joomeo.com/large/5b3fd08b943c4.jpg)
https://media.joomeo.com/original/5b3fd08b943c4.png
Killer Instinct
https://media.joomeo.com/medium/5b3fd0b5403ca.jpg (https://media.joomeo.com/large/5b3fd0b5403ca.jpg)
https://media.joomeo.com/original/5b3fd0b5403ca.png
Donkey Kong Country 3
https://media.joomeo.com/medium/5b3fd0dc417fd.jpg (https://media.joomeo.com/large/5b3fd0dc417fd.jpg)
https://media.joomeo.com/original/5b3fd0dc417fd.png
AviSource()
Spline16Resize(1024, 896)
BilinearResize(2048, 1792)
BicubicResize(5640, 4320)
BicubicResize(2820, 2160)
And just to compare "Mr. Nutz" on a CRT screen with my new upscale :p :
https://media.joomeo.com/medium/5b3a85286aa28.jpg (https://media.joomeo.com/large/5b3a85286aa28.jpg)
https://media.joomeo.com/original/5b3a85286aa28.png
(source of the video : https://youtu.be/mh3KWHrwvhE?t=1191)
https://media.joomeo.com/medium/5b3fd05ccbde6.jpg (https://media.joomeo.com/large/5b3fd05ccbde6.jpg)
https://media.joomeo.com/original/5b3fd05ccbde6.png
SuperLumberjack
6th July 2018, 21:51
Videos from PlayStation 1 games upscaled to 2160p :
Soul Reaver
(source resolution : 320x240 15 fps)
https://media.joomeo.com/medium/5b3fd427bc4a5.jpg (https://media.joomeo.com/large/5b3fd427bc4a5.jpg)
https://media.joomeo.com/original/5b3fd427bc4a5.png
AviSource()
ChangeFPS(30)
Spline16Resize(1280, 960)
BilinearResize(2560, 1920)
BicubicResize(5760, 4320)
BicubicResize(2880, 2160)
Tomb Raider 2
(source resolution : 320x160 30 fps)
https://media.joomeo.com/medium/5b3fd469ccd1e.jpg (https://media.joomeo.com/large/5b3fd469ccd1e.jpg)
https://media.joomeo.com/original/5b3fd469ccd1e.png
AviSource()
Spline16Resize(1280, 640)
BilinearResize(2560, 1280)
BicubicResize(7680, 3840)
BicubicResize(3840, 1920)
AddBorders(0, 120, 0, 120)
Blood Omen
(source resolution : 320x240 14.985 fps)
https://media.joomeo.com/medium/5b3fd4b2bd8ce.jpg (https://media.joomeo.com/large/5b3fd4b2bd8ce.jpg)
https://media.joomeo.com/original/5b3fd4b2bd8ce.png
AviSource()
ChangeFPS(29.97)
Spline16Resize(1280, 960)
BilinearResize(2560, 1920)
BicubicResize(5760, 4320)
BicubicResize(2880, 2160)
Videos from PlayStation 2/PC games upscaled to 2160p :
Soul Reaver (introduction from the bonus on the Soul Reaver 2 DVD)
(source resolution : 640x480 29.970 fps)
https://media.joomeo.com/medium/5b3fd535b67cc.jpg (https://media.joomeo.com/large/5b3fd535b67cc.jpg)
https://media.joomeo.com/original/5b3fd535b67cc.png
AviSource()
Spline16Resize(2560, 1920)
BilinearResize(5120, 3840)
BicubicResize(11520, 8640)
BicubicResize(2880, 2160)
Soul Reaver 2 (PS2)
(source resolution : 640x480 29.970 fps)
https://media.joomeo.com/medium/5b3fd573333ed.jpg (https://media.joomeo.com/large/5b3fd573333ed.jpg)
https://media.joomeo.com/original/5b3fd573333ed.png
Note : The aspect ratio is wrong with the introduction of Soul Reaver 2 on PS2 (but correct with the PC version). I had to correct it by cutting the black bars and stretch the picture vertically.
AviSource()
Crop(0, 71, 0, -72)
Spline16Resize(2560, 1348)
BilinearResize(5120, 2696)
BicubicResize(15360, 8640)
BicubicResize(3840, 2160)
Legacy of Kain: Defiance (PC)
(source resolution : 640x480 29.970 fps)
https://media.joomeo.com/medium/5b3fd5b810695.jpg (https://media.joomeo.com/large/5b3fd5b810695.jpg)
https://media.joomeo.com/original/5b3fd5b810695.png
Note : The aspect ratio is wrong with the original videos of LoK Defiance. I had to correct it by cutting the black bars and stretch the picture vertically.
AviSource()
Crop(0, 80, 0, -80)
Spline16Resize(2560, 1280)
BilinearResize(5120, 2560)
BicubicResize(15360, 8640)
BicubicResize(3840, 2160)
Oki doki ! :) Tomorrow a video ! ;)
Sparktank
6th July 2018, 22:35
Oh wow. I spent days playing the first blood omen!
Really revived the vampire genre for me.
I wonder how the video will turn out.
SuperLumberjack
6th July 2018, 23:14
Yes, it was a very good game ! :)
But I played it a bit late, because I began with Soul Reaver. But I really love it, proof that a good game stays a good game ! ;)
In fact, all the "Legacy of Kain" are good ! :p Even the unloved Blood Omen 2 is fun I find ! :)
SuperLumberjack
7th July 2018, 15:38
I did a new script... one more time ! :D
I called it "Always style" ! :)
Like "Always" :
https://m.media-amazon.com/images/M/MV5BYjcwODQ0YmItZGUwNC00MDYxLWIyZmItMzQ5YTJlNzZlNzE0XkEyXkFqcGdeQXVyNTI4MjkwNjA@._V1_.jpg
Or "Forever style", "Nostalgia style"... :D
It's a tribute ! :p
Super Nes games with 8:7 aspect ratio upscaled to 2160p :
(source resolution : 256x224 60 fps)
Super Mario Bros. 2
https://media.joomeo.com/medium/5b40ce37cab5a.jpg (https://media.joomeo.com/large/5b40ce37cab5a.jpg)
https://media.joomeo.com/original/5b40ce37cab5a.png
Mr. Nutz
https://media.joomeo.com/medium/5b40ce66d6a57.jpg (https://media.joomeo.com/large/5b40ce66d6a57.jpg)
https://media.joomeo.com/original/5b40ce66d6a57.png
Super Mario World 2: Yoshi's Island
https://media.joomeo.com/medium/5b40ce92df7b4.jpg (https://media.joomeo.com/large/5b40ce92df7b4.jpg)
https://media.joomeo.com/original/5b40ce92df7b4.png
AviSource()
ConvertToRGB32
Spline16Resize(2048, 896)
scalex(2)
BilinearResize(4096, 7168)
BicubicResize(2468, 2160)
Super Nes games with 4:3 aspect ratio upscaled to 2160p :
Donkey Kong Country 2
https://media.joomeo.com/medium/5b40cef3a23cf.jpg (https://media.joomeo.com/large/5b40cef3a23cf.jpg)
https://media.joomeo.com/original/5b40cef3a23cf.png
Killer Instinct
https://media.joomeo.com/medium/5b40cf1c7c977.jpg (https://media.joomeo.com/large/5b40cf1c7c977.jpg)
https://media.joomeo.com/original/5b40cf1c7c977.png
Donkey Kong Country 3
https://media.joomeo.com/medium/5b40cf6f41301.jpg (https://media.joomeo.com/large/5b40cf6f41301.jpg)
https://media.joomeo.com/original/5b40cf6f41301.png
AviSource()
ConvertToRGB32
Spline16Resize(2048, 896)
scalex(2)
BilinearResize(4096, 7168)
BicubicResize(2820, 2160)
And to compare "Mr. Nutz" on a CRT screen with the new upscale :
https://media.joomeo.com/medium/5b3a85286aa28.jpg (https://media.joomeo.com/large/5b3a85286aa28.jpg)
https://media.joomeo.com/original/5b3a85286aa28.png
(source of the video : https://youtu.be/mh3KWHrwvhE?t=1191)
https://media.joomeo.com/medium/5b40cfcd680ce.jpg (https://media.joomeo.com/large/5b40cfcd680ce.jpg)
https://media.joomeo.com/original/5b40cfcd680ce.png
SuperLumberjack
7th July 2018, 15:48
Videos from PlayStation 1 games upscaled to 2160p :
Soul Reaver
(source resolution : 320x240 15 fps)
https://media.joomeo.com/medium/5b40d0e1c00a6.jpg (https://media.joomeo.com/large/5b40d0e1c00a6.jpg)
https://media.joomeo.com/original/5b40d0e1c00a6.png
AviSource()
ConvertToRGB32
Spline16Resize(5120, 1920)
scalex(2)
BilinearResize(10240, 15360)
BicubicResize(2880, 2160)
Tomb Raider 2
(source resolution : 320x160 30 fps)
https://media.joomeo.com/medium/5b40d12acf159.jpg (https://media.joomeo.com/large/5b40d12acf159.jpg)
https://media.joomeo.com/original/5b40d12acf159.png
AviSource()
ConvertToRGB32
Spline16Resize(2560, 640)
scalex(2)
BilinearResize(5120, 5120)
BicubicResize(3840, 1920)
AddBorders(0, 120, 0, 120)
Blood Omen
(source resolution : 320x240 14.985 fps)
https://media.joomeo.com/medium/5b40d178caf9c.jpg (https://media.joomeo.com/large/5b40d178caf9c.jpg)
https://media.joomeo.com/original/5b40d178caf9c.png
AviSource)
ChangeFPS(29.97)
ConvertToRGB32
Spline16Resize(2560, 960)
scalex(2)
BilinearResize(5120, 7680)
BicubicResize(2880, 2160)
Videos from PlayStation 2/PC games upscaled to 2160p :
Soul Reaver (introduction from the bonus on the Soul Reaver 2 DVD)
(source resolution : 640x480 29.970 fps)
https://media.joomeo.com/medium/5b40d1e643e72.jpg (https://media.joomeo.com/large/5b40d1e643e72.jpg)
https://media.joomeo.com/original/5b40d1e643e72.png
AviSource()
ConvertToRGB32
Spline16Resize(5120, 1920)
scalex(2)
BilinearResize(10240, 15360)
BicubicResize(2880, 2160)
Soul Reaver 2 (PS2)
(source resolution : 640x480 29.970 fps)
https://media.joomeo.com/medium/5b40d22fc66fd.jpg (https://media.joomeo.com/large/5b40d22fc66fd.jpg)
https://media.joomeo.com/original/5b40d22fc66fd.png
Note : The aspect ratio is wrong with the introduction of Soul Reaver 2 on PS2 (but correct with the PC version). I had to correct it by cutting the black bars and stretch the picture vertically.
AviSource()
Crop(0, 71, 0, -72)
ConvertToRGB32
Spline16Resize(5120, 1348)
scalex(2)
BilinearResize(10240, 10784)
BicubicResize(3840, 2160)
Legacy of Kain: Defiance (PC)
(source resolution : 640x480 29.970 fps)
https://media.joomeo.com/medium/5b40d2736c3e5.jpg (https://media.joomeo.com/large/5b40d2736c3e5.jpg)
https://media.joomeo.com/original/5b40d2736c3e5.png
Note : The aspect ratio is wrong with the original videos of LoK Defiance. I had to correct it by cutting the black bars and stretch the picture vertically.
AviSource()
Crop(0, 80, 0, -80)
ConvertToRGB32
Spline16Resize(5120, 1280)
scalex(2)
BilinearResize(10240, 10240)
BicubicResize(3840, 2160)
HERE are the videos for my 2 last scripts ! :)
Vivid style : https://youtu.be/hVyLOTP9-7Y
Always style : https://youtu.be/9tEti7CnLQI
And the playlist with all the videos of my scripts ;) : https://www.youtube.com/playlist?list=PLL_S06Mn5k4mRZ1a50jW3G7DVYqx9NhoT
lansing
7th July 2018, 16:16
Can you please stop bumping your own thread every couple of days with the same old script? You have spammed the last 10 pages all by yourself the last 3 months, this forum is not your blog.
SuperLumberjack
7th July 2018, 17:12
But at least, I'm not a selfish person and I share my job ! :p
But you are right ! Finished ! ;)
bxyhxyh
8th July 2018, 16:44
Mods can delete my post because this is very off-topic here.
Please stop this kind of reply toward others.
But at least, I'm not a selfish person and I share my job ! :p
I even asked you to stop this kind of passive-aggressive personal attacks. And you're still doing this.
Everyone tried to help you including me and lansing.
And lansing's posts were perfectly ok.
They're nothing against you.
SuperLumberjack
8th July 2018, 17:32
Euh... are you crazy ? :confused:
I said that I'm not a selfish personn, not that the others are ! :mad:
You have too much imagination...
Some other people are much more agressive than me. And you will say that it's a kind of passive-aggressive personal attack...
Try to base your judgement on objective elements, not your imagination please ! I'm not an insidious person. My problem is to be too honest ! ;)
And you want to censor this honesty ! Are we living in democracy or not ?
SuperLumberjack
9th July 2018, 00:13
Hello :)
I just want to say that finally I retained the script named "Continuum style" :p
(Finally, it wasn't a bad idea to name them, because it's easy to remember I think :D )
When I compared to the other videos I made, I was surprised to find that it was the video of that script that I found the most natural.
It's not the most extravagant script, or the better image, but it's really the more balanced and natural I think ! :)
Here is the video : AviSynth script - Continuum style (https://youtu.be/Za-hm0Oq-Es)
Playlist of all the videos of scripts : Test AviSynth scripts (https://www.youtube.com/playlist?list=PLL_S06Mn5k4mRZ1a50jW3G7DVYqx9NhoT)
The posts with the scripts and the screenshots :
Scripts for the videos of Super Nintendo games (https://forum.doom9.org/showpost.php?p=1845768&postcount=268)
Scripts for the videos of PS1/PS2/PC games (https://forum.doom9.org/showpost.php?p=1845770&postcount=269)
I just updated one thing for the Super Nes games with 8:7 aspect ratio !
I prefered to put this line :
BilinearResize(5640, 4320)
Instead of this one :
BilinearResize(4936, 4320)
So the script for the games with 8:7 aspect ratio is :
AviSource()
BicubicResize(b=0, c=0.75, 2468, 2160)
BilinearResize(5640, 4320)
BicubicResize(2468, 2160)
I think, it reminds better the image of the original console, because it never was been thought to be displayed in an other aspect ratio than 4:3 I would say.
So, It reminds better the feeling of the original games in 4:3 aspect ratio, but the aspect ratio is corrected in 8:7 with the Bicubic filter at the end to be displayed correctly (games like "Mr. Nutz", "Super Metroid" or "Super Mario World for example).
This update isn't shown in the video or the screenshots.
OK. So it's finished ! :p
I won't bother you any more with my scripts ! ;) Adios ! :D
And thanks for your help ! :)
SuperLumberjack
13th August 2018, 16:00
Hi everybody :) ,
I know I already said 1 million times that it's the last time, I know it's not my blog, and I know I'm a bit crazy (when I re-read some of old posts, I know I reacted like an obsessed person, but I was, because I had a goal in my mind, and I'm perfectionist) ! ^_^
But just after my previous script, I did one that was quite acceptable for me and that I called "Forever style" :p But I won't hide from you that meanwhile, I created some other scripts, because I always ask myself if I can do better.
But, this time, I always come back to this script that I will show you ;)
But sometimes, the only other script with I can hesitate is the one called "Vivid style", which looks more natural on my smartphone with the Super AMOLED screen. It's why I enhanced it too and called it "Revival style". Maybe I will post it too... ^_^
I know some people don't like the fact that I post all my new scripts, but when I think it's good, I can't keep this just for me. Sorry !
If one day there will be some other new scripts, I swear that I won't post them here !
But this time I really think that it will be the lasts, because I have the impression that I tried everything ! :)
And I think I got the natural result that I wanted. It will be hard to do better for me.
So, I will post them !
Super Nes games with 8:7 aspect ratio upscaled to 2160p :
(source resolution : 256x224 60 fps)
Super Metroid
https://media.joomeo.com/medium/5b7194527ca8d.jpg (https://media.joomeo.com/large/5b7194527ca8d.jpg)
https://media.joomeo.com/original/5b7194527ca8d.png
Super Mario Bros. 2
https://media.joomeo.com/medium/5b71949be5428.jpg (https://media.joomeo.com/large/5b71949be5428.jpg)
https://media.joomeo.com/original/5b71949be5428.png
Mr. Nutz
https://media.joomeo.com/medium/5b7194c7875ce.jpg (https://media.joomeo.com/large/5b7194c7875ce.jpg)
https://media.joomeo.com/original/5b7194c7875ce.png
AviSource()
ConvertToRGB32
Spline16Resize(1024, 896)
xBRZ(2)
BicubicResize(4936, 4320)
BicubicResize(2468, 2160)
Super Nes games with 4:3 aspect ratio upscaled to 2160p :
Donkey Kong Country 3
https://media.joomeo.com/medium/5b71953f8bcb0.jpg (https://media.joomeo.com/large/5b71953f8bcb0.jpg)
https://media.joomeo.com/original/5b71953f8bcb0.png
Killer Instinct
https://media.joomeo.com/medium/5b7195704b334.jpg (https://media.joomeo.com/large/5b7195704b334.jpg)
https://media.joomeo.com/original/5b7195704b334.png
Donkey Kong Country 2
https://media.joomeo.com/medium/5b71959a8c354.jpg (https://media.joomeo.com/large/5b71959a8c354.jpg)
https://media.joomeo.com/original/5b71959a8c354.png
AviSource()
ConvertToRGB32
Spline16Resize(1170, 896)
xBRZ(2)
BicubicResize(5640, 4320)
BicubicResize(2820, 2160)
And to compare "Mr. Nutz" on a CRT screen with the new upscale :
https://media.joomeo.com/medium/5b3a85286aa28.jpg (https://media.joomeo.com/large/5b3a85286aa28.jpg)
https://media.joomeo.com/original/5b3a85286aa28.png
(source of the video : https://youtu.be/mh3KWHrwvhE?t=1191)
https://media.joomeo.com/medium/5b71960bb7289.jpg (https://media.joomeo.com/large/5b71960bb7289.jpg)
https://media.joomeo.com/original/5b71960bb7289.png
But what makes me really happy, it's the result with the arcade version of "Killer Instinct" ! :p
It looks almost like a PS1 3D game ! :)
https://media.joomeo.com/medium/5b719723ce32b.jpg (https://media.joomeo.com/large/5b719723ce32b.jpg)
https://media.joomeo.com/original/5b719723ce32b.png
I really think I should have taken this picture like reference for my tests ! :D
Here is the original :
https://media.joomeo.com/large/5b7197b669f7e.jpg (https://media.joomeo.com/large/5b7197b669f7e.jpg)
https://media.joomeo.com/original/5b7197b669f7e.png
If someone can do something better with this image, I stay open and listening ;)
SuperLumberjack
13th August 2018, 16:02
And now, the PS1, PS2 and PC games ! :)
Videos from PlayStation 1 games upscaled to 2160p :
Soul Reaver
(source resolution : 320x240 15 fps)
https://media.joomeo.com/medium/5b7199530ef66.jpg (https://media.joomeo.com/large/5b7199530ef66.jpg)
https://media.joomeo.com/original/5b7199530ef66.png
AviSource()
ChangeFPS(30)
ConvertToRGB32
Spline16Resize(1280, 960)
xBRZ(2)
BicubicResize(5760, 4320)
BicubicResize(2880, 2160)
Blood Omen
(source resolution : 320x240 14.985 fps)
https://media.joomeo.com/medium/5b7199cb47329.jpg (https://media.joomeo.com/large/5b7199cb47329.jpg)
https://media.joomeo.com/original/5b7199cb47329.png
AviSource()
ChangeFPS(29.97)
ConvertToRGB32
Spline16Resize(1280, 960)
xBRZ(2)
BicubicResize(5760, 4320)
BicubicResize(2880, 2160)
Tomb Raider 2
(source resolution : 320x160 15 fps)
https://media.joomeo.com/medium/5b719a17a9cc3.jpg (https://media.joomeo.com/large/5b719a17a9cc3.jpg)
https://media.joomeo.com/original/5b719a17a9cc3.png
AviSource()
ChangeFPS(30)
ConvertToRGB32
Spline16Resize(1280, 640)
xBRZ(2)
BicubicResize(7680, 3840)
BicubicResize(3840, 1920)
AddBorders(0, 120, 0, 120)
Videos from PlayStation 2/PC games upscaled to 2160p :
Soul Reaver (introduction from the bonus on the Soul Reaver 2 DVD)
(source resolution : 640x480 29.970 fps)
https://media.joomeo.com/medium/5b719ae14b311.jpg (https://media.joomeo.com/large/5b719ae14b311.jpg)
https://media.joomeo.com/original/5b719ae14b311.png
AviSource()
ConvertToRGB32
Spline16Resize(2560, 1920)
xBRZ(2)
BicubicResize(11520, 8640)
BicubicResize(2880, 2160)
Blood Omen 2 (PS2)
(source resolution : 640x480 29.970 fps)
https://media.joomeo.com/medium/5b719b2d57897.jpg (https://media.joomeo.com/large/5b719b2d57897.jpg)
https://media.joomeo.com/original/5b719b2d57897.png
AviSource()
Crop(0, 60, 0, -60)
ConvertToRGB32
Spline16Resize(2560, 1440)
xBRZ(2)
BicubicResize(15360, 8640)
BicubicResize(3840, 2160)
Legacy of Kain: Defiance (PC)
(source resolution : 640x480 29.970 fps)
https://media.joomeo.com/medium/5b719b74ad80a.jpg (https://media.joomeo.com/large/5b719b74ad80a.jpg)
https://media.joomeo.com/original/5b719b74ad80a.png
Note : The aspect ratio is wrong with the original videos of LoK Defiance. I had to correct it by cutting the black bars and stretch the picture vertically.
AviSource()
Crop(0, 80, 0, -80)
ConvertToRGB32
Spline16Resize(2560, 1440)
xBRZ(2)
BicubicResize(15360, 8640)
BicubicResize(3840, 2160)
So, this was the script called : "Forever style" !
I know, it's not very original ! :D
HERE is the video for my last script ! :)
Forever style : https://youtu.be/1c-QNfAAEv4
And the playlist with all the videos of my scripts : https://www.youtube.com/playlist?list=PLL_S06Mn5k4mRZ1a50jW3G7DVYqx9NhoT
What do you think ?
SuperLumberjack
21st August 2018, 18:09
As I said above, I enhanced a previous script called "Vivid style" too, and called it "Revival style" ;)
I haven't done the screenshots and the video yet, so I couldn't post it. But it's done now ! :p
The is no big differences with the "Forever style" script ! For me, it's 2 versions of a same script, my 2 lasts... :)
The only difference is that I used the Bilinear filter instead of the xBRZ after the Spline16 resizer. If you compare the last pictures of "Mr. Nutz" and zoom in, maybe you won't see any difference. It's subtle !
(but there are differences, because the weight of the video files are heavier with the "Forever" script and the "Revival" a bit faster for encoding ^_^ )
The "Forever" script is a bit more dynamic and sharper, and the "Revival" is a bit more smooth and natural I think !
On my LCD screen, I prefered the "Forever" script, but on the Super AMOLED screen of my Samsung smartphone, I prefered the smoothness and the depth of the "Revival script" as I said above ;)
Because I use the Bilinear filter with the "Revival" script, I corrected the aspect ratio with it instead of the Spline16 filter, and go to a resolution multiple of the 1080p resolution with it too.
But for the rest, it's almost identical as you will see ! ;)
Super Nes games with 8:7 aspect ratio upscaled to 2160p :
(source resolution : 256x224 60 fps)
Super Metroid
https://media.joomeo.com/medium/5b7c3cf058916.jpg (https://media.joomeo.com/large/5b7c3cf058916.jpg)
https://media.joomeo.com/original/5b7c3cf058916.png
Super Mario Bros. 2
https://media.joomeo.com/medium/5b7c3d671d67d.jpg (https://media.joomeo.com/large/5b7c3d671d67d.jpg)
https://media.joomeo.com/original/5b7c3d671d67d.png
Mr. Nutz
https://media.joomeo.com/medium/5b7c441f6c7d0.jpg (https://media.joomeo.com/large/5b7c441f6c7d0.jpg)
https://media.joomeo.com/original/5b7c441f6c7d0.png
AviSource()
Spline16Resize(1024, 896)
BilinearResize(4936, 4320)
BicubicResize(2468, 2160)
Super Nes games with 4:3 aspect ratio upscaled to 2160p :
Donkey Kong Country 3
https://media.joomeo.com/medium/5b7c451e6e4df.jpg (https://media.joomeo.com/large/5b7c451e6e4df.jpg)
https://media.joomeo.com/original/5b7c451e6e4df.png
Killer Instinct
https://media.joomeo.com/medium/5b7c454d0345d.jpg (https://media.joomeo.com/large/5b7c454d0345d.jpg)
https://media.joomeo.com/original/5b7c454d0345d.png
Donkey Kong Country 2
https://media.joomeo.com/medium/5b7c458023e0d.jpg (https://media.joomeo.com/large/5b7c458023e0d.jpg)
https://media.joomeo.com/original/5b7c458023e0d.png
AviSource()
Spline16Resize(1024, 896)
BilinearResize(5640, 4320)
BicubicResize(2820, 2160))
And to compare "Mr. Nutz" on a CRT screen with the new upscale :
https://media.joomeo.com/medium/5b3a85286aa28.jpg (https://media.joomeo.com/large/5b3a85286aa28.jpg)
https://media.joomeo.com/original/5b3a85286aa28.png
(source of the video : https://youtu.be/mh3KWHrwvhE?t=1191)
https://media.joomeo.com/medium/5b7c42e05c0ea.jpg (https://media.joomeo.com/large/5b7c42e05c0ea.jpg)
https://media.joomeo.com/original/5b7c42e05c0ea.png
The result with the arcade version of "Killer Instinct" is pleasant with this script too, because it's almost identical to the other (with always these subtle differences) ! :p
https://media.joomeo.com/medium/5b7c468602b0b.jpg (https://media.joomeo.com/large/5b7c468602b0b.jpg)
https://media.joomeo.com/original/5b7c468602b0b.png
Here is the original :
https://media.joomeo.com/large/5b7197b669f7e.jpg (https://media.joomeo.com/large/5b7197b669f7e.jpg)
https://media.joomeo.com/original/5b7197b669f7e.png
SuperLumberjack
21st August 2018, 18:21
And now, the PS1, PS2 and PC games ! :)
Videos from PlayStation 1 games upscaled to 2160p :
Soul Reaver
(source resolution : 320x240 15 fps)
https://media.joomeo.com/medium/5b7c478ac4e9b.jpg (https://media.joomeo.com/large/5b7c478ac4e9b.jpg)
https://media.joomeo.com/original/5b7c478ac4e9b.png
AviSource()
ConvertToRGB24
ChangeFPS(30)
Spline16Resize(1280, 960)
BilinearResize(5760, 4320)
BicubicResize(2880, 2160)
Blood Omen
(source resolution : 320x240 14.985 fps)
https://media.joomeo.com/medium/5b7c47da1ea8a.jpg (https://media.joomeo.com/large/5b7c47da1ea8a.jpg)
https://media.joomeo.com/original/5b7c47da1ea8a.png
AviSource()
ConvertToRGB24
ChangeFPS(29.97)
Spline16Resize(1280, 960)
BilinearResize(5760, 4320)
BicubicResize(2880, 2160)
Tomb Raider 2
(source resolution : 320x160 15 fps)
https://media.joomeo.com/medium/5b7c483bf2af3.jpg (https://media.joomeo.com/large/5b7c483bf2af3.jpg)
https://media.joomeo.com/original/5b7c483bf2af3.png
AviSource()
ConvertToRGB24
ChangeFPS(30)
Spline16Resize(1280, 640)
BilinearResize(7680, 3840)
BicubicResize(3840, 1920)
AddBorders(0, 120, 0, 120)
Videos from PlayStation 2/PC games upscaled to 2160p :
Soul Reaver (introduction from the bonus on the Soul Reaver 2 DVD)
(source resolution : 640x480 29.970 fps)
https://media.joomeo.com/medium/5b7c48cbb4a5c.jpg (https://media.joomeo.com/large/5b7c48cbb4a5c.jpg)
https://media.joomeo.com/original/5b7c48cbb4a5c.png
AviSource()
ConvertToRGB24
Spline16Resize(2560, 1920)
BilinearResize(11520, 8640)
BicubicResize(2880, 2160)
Blood Omen 2 (PS2)
(source resolution : 640x480 29.970 fps)
https://media.joomeo.com/medium/5b7c49179821b.jpg (https://media.joomeo.com/large/5b7c49179821b.jpg)
https://media.joomeo.com/original/5b7c49179821b.png
AviSource()
ConvertToRGB24
Crop(0, 60, 0, -60)
Spline16Resize(2560, 1440)
BilinearResize(15360, 8640)
BicubicResize(3840, 2160)
Legacy of Kain: Defiance (PC)
(source resolution : 640x480 29.970 fps)
https://media.joomeo.com/medium/5b7c49635059f.jpg (https://media.joomeo.com/large/5b7c49635059f.jpg)
https://media.joomeo.com/original/5b7c49635059f.png
Note : The aspect ratio is wrong with the original videos of LoK Defiance. I had to correct it by cutting the black bars and stretch the picture vertically.
AviSource()
ConvertToRGB24
Crop(0, 80, 0, -80)
Spline16Resize(2560, 1280)
BilinearResize(15360, 8640)
BicubicResize(3840, 2160)
This was the script called : "Revival style" ! :)
HERE is the video for my 2nd last script ! :)
Revival style : https://youtu.be/J47Dv72FO7o
And the playlist with all the videos of my scripts : https://www.youtube.com/playlist?list=PLL_S06Mn5k4mRZ1a50jW3G7DVYqx9NhoT
So... what do you think ? :D
Groucho2004
21st August 2018, 19:10
So... what do you think ? :DIn case you have not noticed - Nobody cares any more.
This thread is borderline spamming. Not to mention that it's been a monologue for the last 6+ weeks.
SuperLumberjack
21st August 2018, 19:21
Just a question : have you an idea of what filter is used here ? :confused:
https://media.joomeo.com/medium/5b7c53a62b202.jpg (https://media.joomeo.com/large/5b7c53a62b202.jpg)
https://media.joomeo.com/original/5b7c53a62b202.png
The screenshot comes from this video (720p) on YouTube : https://youtu.be/56LNqF6fL2s
I watched a lot of videos of Super Nes games, and the videos of the guy were the only that I found interesting.
It's the last thing that I would like to know ! :)
I suppose that it's not an upscaled video, but a filter used in the emulator. I already asked him, but he answers something else... I think he didn't really undestand my strange question ! :D
In any case, from the beginning, I knew exactly what I wanted, but I didn't know how to get this result ! :(
(yes, it's for that that it was so long and tedious ! sorry ! :scared: but you know now that I had a vision ! :D )
My script called "Revival" is not so far from that :
https://media.joomeo.com/medium/5b7c451e6e4df.jpg (https://media.joomeo.com/large/5b7c451e6e4df.jpg)
https://media.joomeo.com/original/5b7c451e6e4df.png
By the way, isn't it impressive how it looks almost similar ? Coincidence ? :) I didn't know that it was so close. I notice that now, when I compare the two pictures ;)
So, I really know what I like !
But I don't know what picture is the best ! Maybe the relief of my picture is not as good as the first picture :rolleyes: The screenshot from the video seems more natural and clean for me ! If I could get this with only one filter, it would be cool too ! :p
But for the moment, I don't know how to do better ! Do you have an idea please ? :)
What filter do you think it is ?
Thanks for your help ! ;)
SuperLumberjack
21st August 2018, 19:30
In case you have not noticed - Nobody cares any more.
This thread is borderline spamming. Not to mention that it's been a monologue for the last 6+ weeks.
Do you feel better now ? :)
Why do you leave a comment if you don't care ? Time to lose ? :p
------------------------
Finally, I checked the result on the Super AMOLED screen of my smartphone, and I love the result of my last script, the "Revival style" ! :p It's perfect for me ! ;-)
And I don't care about people who don't care ! ;) But thanks to the people who helped me ! :) I only care about these people ! Goodbye !
lansing
21st August 2018, 23:31
Do you feel better now ? :)
Why do you leave a comment if you don't care ? Time to lose ? :p
------------------------
Finally, I checked the result on the Super AMOLED screen of my smartphone, and I love the result of my last script, the "Revival style" ! :p It's perfect for me ! ;-)
And I don't care about people who don't care ! ;) But thanks to the people who helped me ! :) I only care about these people ! Goodbye !
Look, nobody give a shit about your experience on upscaling 20x the resolution with a bilinear resizer. Nobody give a shit about your sharing of how 1+1=2, where you feel so excited about. You're not contributing anything to the community except constant spamming posts and draining people's cell data with your massively pointless images where nobody understand.
If you want to write out every single pointless thing you did, get yourself a website and spam there all you want, not here, this is not your personal blog.
SuperLumberjack
21st August 2018, 23:38
I will cry I think ! :rolleyes:
Have you ever helped me ? I don't think ! So...
And I don't care about people who don't care ! ;) But thanks to the people who helped me ! :) I only care about these people ! Goodbye !
What did you expect ?
And... is it the only post from you today ? :p You have a curious manner to contribute to the community...
johnmeyer
22nd August 2018, 03:57
In case you have not noticed - Nobody cares any more.
This thread is borderline spamming. Not to mention that it's been a monologue for the last 6+ weeks.Totally agree. This thread has become totally silly:
Monty Python Silly (https://www.youtube.com/watch?v=2NS7Gkv4NNA&t=0m38s)
SuperLumberjack
22nd August 2018, 09:09
That's because :stupid:
But in all sincerity, my goal was honest ! (sorry for the repetition)
I really had an idea in mind and yes, I tried compulsively many things. And when I thought the result was good, I just wanted to share, because it's in my nature to share :)
This is not spamming, it's sharing !
But johnmeyer, have you ever tried to help me to achieve this goal ? I don't remember... I remember people who helped me !
Why people who never helped me decided to militate together to destroy this topic ?
Together, could you help me to find the answer to this question please ?
Just a question : have you an idea of what filter is used here ? :confused:
https://media.joomeo.com/medium/5b7c53a62b202.jpg (https://media.joomeo.com/large/5b7c53a62b202.jpg)
https://media.joomeo.com/original/5b7c53a62b202.png
The screenshot comes from this video (720p) on YouTube : https://youtu.be/56LNqF6fL2s
I watched a lot of videos of Super Nes games, and the videos of the guy were the only that I found interesting.
It's the last thing that I would like to know ! :)
As I said, I didn't try to got a similar result with my last script. It's a coincidence ! But so, I knew what I wanted, but didn't know how to get the result. That's all the problem !
The result is similar, but I would still like to know what filter this guy used !
If you could help me... please ! :p
Thanks for your help !
I undestand that I reacted a bit like a maniac, but I always thought that I achieve the goal ! I just wanted to share ! But maybe I'm not on the good forums. Sorry !
Groucho2004
22nd August 2018, 10:03
Just a question : have you an idea of what filter is used here ? :confused:
https://media.joomeo.com/medium/5b7c53a62b202.jpg (https://media.joomeo.com/large/5b7c53a62b202.jpg)
https://media.joomeo.com/original/5b7c53a62b202.png
This is similar to looking at a skid mark on the road and asking what colour the car is that made it.
But johnmeyer, have you ever tried to help me to achieve this goal ? I don't remember... I remember people who helped me !
Why people who never helped me decided to militate together to destroy this topic ?
So, you think that only people who posted in your thread and whose posts you consider helpful have the right to post? I think the cheese has slipped off of your cracker.
But maybe I'm not on the good forums
Nice attitude, sure to piss people off.
lansing
22nd August 2018, 10:37
That's because :stupid:
But in all sincerity, my goal was honest ! (sorry for the repetition)
I really had an idea in mind and yes, I tried compulsively many things. And when I thought the result was good, I just wanted to share, because it's in my nature to share :)
This is not spamming, it's sharing !
But johnmeyer, have you ever tried to help me to achieve this goal ? I don't remember... I remember people who helped me !
Why people who never helped me decided to militate together to destroy this topic ?
Together, could you help me to find the answer to this question please ?
People are speaking out because you have been polluting the forum with your stupidity for months. Nobody need you to tell them about the result of bilinear resizer because everybody KNEW that already. I repeat, we KNEW that already. Nobody need you to tell him 1+1=2, this is just plain stupid. And if you would had spent the time to actually learn the basic of avisynth instead of months of busy spamming the thread, you would had found that out yourself.
I undestand that I reacted a bit like a maniac, but I always thought that I achieve the goal ! I just wanted to share ! But maybe I'm not on the good forums. Sorry !
Yeah I understand that you feel so excited about typing out a letter, but please, save your stupidity to yourself, don't share it.
SuperLumberjack
22nd August 2018, 11:23
Nice attitude, sure to piss people off.
When I said "But maybe I'm not on the good forums", that wasn't ironical ! I simply think it ! It's not an attack ! Maybe I didn't understand that it was the good place for that.
Yeah I understand that you feel so excited about typing out a letter, but please, save your stupidity to yourself, don't share it.
Who are you ? The only thing you did here was to attack me ! Why should I believe that I'm stupid just because you said that ?
I have a life outside these forums (even if maybe you don't believe me :p ) ! Who are you for me ? You are just the unfriendly person who only writes agressive messages. You are just a bad person ! That's all !
We can be exasperated, yes ! But your reactions... excuse-me, that's just vomiting ! You are not a nice person !
Maybe I'm an irritating person, but I don't think I'm a bad person !
Maybe you despise my intelligence that you lead to stupidity, but try to express this kind of things in French as well as I express them in English !
My English isn't perfect, but I must try to express all of that in English ! Don't forget that ! It's not a simple thing !
lansing
22nd August 2018, 15:56
When I said "But maybe I'm not on the good forums", that wasn't ironical ! I simply think it ! It's not an attack ! Maybe I didn't understand that it was the good place for that.
Who are you ? The only thing you did here was to attack me ! Why should I believe that I'm stupid just because you said that ?
I have a life outside these forums (even if maybe you don't believe me :p ) ! Who are you for me ? You are just the unfriendly person who only writes agressive messages. You are just a bad person ! That's all !
We can be exasperated, yes ! But your reactions... excuse-me, that's just vomiting ! You are not a nice person !
Maybe I'm an irritating person, but I don't think I'm a bad person !
Maybe you despise my intelligence that you lead to stupidity, but try to express this kind of things in French as well as I express them in English !
My English isn't perfect, but I must try to express all of that in English ! Don't forget that ! It's not a simple thing !
I think I have waited long enough before calling you out now. People were nice enough to not to tell you straight how stupid your scripts were and hoped that you discover it yourself. But it looks like you're unable to realize that judging from the fact that you have kept on spamming for the last 3 months and kept throwing cheap shot insults at people who tried to hint you. So now I'm going to make sure you know: your script is stupid and stop spamming it as if it's worth anything.
If you need help on basic questions, there's always the newbies section (https://forum.doom9.org/forumdisplay.php?f=6).
SuperLumberjack
22nd August 2018, 16:21
Yes, I am a noob ! :)
But it would have been more interesting if more people have tried to participate to the game. Some people have proposed interesting things and I learned lots of things with them, even if I'm still a noob ! :p
This was interesting for example :
http://i.imgur.com/GQCAkdn.png
And this was :
http://image.noelshack.com/fichiers/2016/34/1471886444-dk3-new-look.png
This was too (very) :
https://i.imgur.com/8ocuOMm.png
And there were lots of other interesting things, like this function (thanks raffriff 42 ! that was really great ! I kept it somewhere !) :
##################################
function GaussResize2(clip C, int target_width, int target_height,
\ float "src_left", float "src_top", float "src_width", float "src_height",
\ float "px", float "py")
{
px = Default(px, 30.0)
py = Default(py, px)
R = C.GaussResize(target_width, C.Height,
\ src_left, 0, src_width, 0, px)
\ .GaussResize(target_width, target_height,
\ 0, src_top, 0, src_height, py)
return R
}
And some others ;) Thanks to these people !
So, with my stupidy, maybe some people learned new things, when you participated !
And maybe, I could have achieved my goal faster, and moved on quickly ! Sure that with all your knowledge, we can achieve this better and faster !
I'm aware not always having been clear, but I didn't know what I can hope to achieve... (and by the way, sometimes it can be hard to express this in English)
At least, there were some animation on these forums with my stupidities ! :D
But thanks for the newbies section lansing !
And I'm really sorry for the disturbance ! :o
SuperLumberjack
1st July 2019, 22:03
I should have asked on these forums (if I had known) to achieve what I was looking for, because they would have understood this quest of perfection I suppose :p :
http://tasvideos.org/forum/viewtopic.php?t=19426
Videos : https://www.youtube.com/playlist?list=PLR_HUaPVlquM-IsKOH4hhAr9_obTt_pIT
(Nevertheless, I am always grateful for the help that some have given me.)
I often watch some of these TAS, and I'm always impressed by the quality ! :) But strangely, I never thought about reading on the forums of this site :o
I only post this because I think there are some interesting things... for some persons who would be searching on Google maybe :p
Oki. Adios ! :)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.