Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
18th August 2016, 14:28 | #1 | Link | |
French Registered User
Join Date: Aug 2016
Location: France
Posts: 333
|
I want to upscale a Super Nes video in HD
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 : Quote:
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 : Thanks for your help ! Last edited by SuperLumberjack; 19th August 2016 at 18:39. |
|
19th August 2016, 18:58 | #2 | Link | |
Formerly davidh*****
Join Date: Jan 2004
Posts: 2,496
|
Quote:
Code:
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) |
|
19th August 2016, 18:59 | #3 | Link | |
French Registered User
Join Date: Aug 2016
Location: France
Posts: 333
|
I tried the SimpleResize with this base of code :
Quote:
http://forum.doom9.org/showthread.ph...01#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. This upscaling is effective in other programs (like ACDSee) too. 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 Here is the image in ACDSee, when I zoom at 1000% : Zoom 2000% : Zoom 5000% : Zoom 10000% : Where can I find a filter like this for AviSynth ? It could be the solution for this problem Thanks for your help ! Last edited by SuperLumberjack; 19th August 2016 at 19:48. |
|
19th August 2016, 19:28 | #4 | Link | |
French Registered User
Join Date: Aug 2016
Location: France
Posts: 333
|
Quote:
Yes, someone told me for the SimpleResize with YV24 color format (it was better than with RGB24, because it was directly in YV24) Last edited by SuperLumberjack; 19th August 2016 at 19:34. |
|
19th August 2016, 19:53 | #7 | Link |
French Registered User
Join Date: Aug 2016
Location: France
Posts: 333
|
Yeah ! But it's ugly
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. |
19th August 2016, 20:15 | #12 | Link |
Retried Guesser
Join Date: Jun 2012
Posts: 1,373
|
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) |
19th August 2016, 20:46 | #13 | Link |
French Registered User
Join Date: Aug 2016
Location: France
Posts: 333
|
Thanks !
But I don't like HQx and emulator filters For me, the biggest problem is to get a transparency change of the aspect ratio. So the problem is this : 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/attach...ing-png.34435/ Spline36, Lanczos, Blackman, Sinc, etc., it's bad for me ! 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 |
20th August 2016, 06:28 | #14 | Link |
Registered User
Join Date: Sep 2012
Posts: 47
|
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 nnedi3 doubled three times to 2048x1792, then Catmull-Rom (bicubic b=0, c=1/2) down to target and convert to YUV444 |
20th August 2016, 09:40 | #15 | Link | ||
French Registered User
Join Date: Aug 2016
Location: France
Posts: 333
|
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/...atmull-rom.png Quote:
See here : http://image.noelshack.com/fichiers/...atmull-rom.png Quote:
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 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. |
||
20th August 2016, 10:09 | #17 | Link |
French Registered User
Join Date: Aug 2016
Location: France
Posts: 333
|
No sorry, it's too ugly !
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 I want to find the good balance. I will show you an example after |
20th August 2016, 10:24 | #18 | Link | |
French Registered User
Join Date: Aug 2016
Location: France
Posts: 333
|
This is sweet, but is a good compromise :
Quote:
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) 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). Last edited by SuperLumberjack; 20th August 2016 at 10:37. |
|
20th August 2016, 10:48 | #19 | Link | |
French Registered User
Join Date: Aug 2016
Location: France
Posts: 333
|
A little change :
Quote:
|
|
20th August 2016, 11:18 | #20 | Link | |
French Registered User
Join Date: Aug 2016
Location: France
Posts: 333
|
Do you see what I mean by (almost) natural ?
Quote:
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. Last edited by SuperLumberjack; 20th August 2016 at 11:26. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|