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,493
|
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, 19:28 | #3 | 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. |
|
20th August 2016, 14:22 | #4 | Link | ||
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,664
|
Quote:
Code:
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) |
||
20th August 2016, 15:08 | #6 | Link |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,664
|
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
|
20th August 2016, 15:43 | #7 | Link | ||
French Registered User
Join Date: Aug 2016
Location: France
Posts: 333
|
Quote:
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 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 Quote:
YV24 is equivalent to RGB24 no ? But, yes, if I don't need to convert to YV24, I prefer to stay with RGB24 |
||
19th August 2016, 18:59 | #8 | 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:53 | #11 | 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 | #16 | 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 | #17 | 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 | #18 | 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 | #19 | 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. |
||
Thread Tools | Search this Thread |
Display Modes | |
|
|