Upscale video without blurring it?

Kippykip

j e f f
OP
Member
Joined
Mar 30, 2013
Messages
543
Trophies
0
Website
kippykip.com
XP
643
Country
Australia
B58F6315-9E70-4374-91F0-E53351634E35-5218-000003FA3533DC66.jpg


Just need to know what to use...
Anyone got ideas?/programs? :mellow:

LATE EDIT:
Found out if you go in vegas, Render as > Customize template > Rendering quality > Set it to draft, this doesn't put that blurry filter stuff on
 

Kippykip

j e f f
OP
Member
Joined
Mar 30, 2013
Messages
543
Trophies
0
Website
kippykip.com
XP
643
Country
Australia
you can always fix the aspect ratio in something like vegas but the source will always be 320x200 or 320x240 due to it recording that resolution in the first place
I just want it to look pixelated and not blurred
 

migles

All my gbatemp friends are now mods, except for me
Member
Joined
Sep 19, 2013
Messages
8,033
Trophies
0
Location
Earth-chan
XP
5,299
Country
China
you can always fix the aspect ratio in something like vegas but the source will always be 320x200 or 320x240 due to it recording that resolution in the first place
I just want it to look pixelated and not blurred

i think it should be possible if you use x2 upscales... if you have 1 black pixel, and make it 4 black pixels, how can it get blurry?
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,321
Country
United Kingdom
I assume this is related to your capture efforts with older machines.

If you want pixels and not blur you are going to want a nearest neighbour scaling method rather than basically everything else people do to scale things. 320x200 is also a different aspect ratio, assuming same pixel aspect ratio of course, so bear that in mind.

I would also consider a lesser scale and maybe use borders and overlay the thing on a background when you have instead scaled to 720p (or the appropriate aspect ratio and added borders), or scale up the in game text separately and put that beside things.

I am not sure what it would be in commercial video editing world but nearest neighbour is a good search term there. In avisynth it is called PointResize and should be an inbuilt function, you may also like to try spline resize. If you want to get really crazy there are some even better resize options but they will easily double or triple your encode times, there also some other things that will not soften as much like http://avisynth.org.ru/docs/english/externalfilters/simpleresize.htm

However that kind of res to 1080 is a fairly big leap. PAL to 720p and most people would not be able to tell the difference if you handle the interlacing right, I would hold most people would also not be able to tell PAL to 1080p but let us not be too cynical this morning.
 
  • Like
Reactions: Foxi4 and Kippykip

Kippykip

j e f f
OP
Member
Joined
Mar 30, 2013
Messages
543
Trophies
0
Website
kippykip.com
XP
643
Country
Australia
I assume this is related to your capture efforts with older machines.

If you want pixels and not blur you are going to want a nearest neighbour scaling method rather than basically everything else people do to scale things. 320x200 is also a different aspect ratio, assuming same pixel aspect ratio of course, so bear that in mind.

I would also consider a lesser scale and maybe use borders and overlay the thing on a background when you have instead scaled to 720p (or the appropriate aspect ratio and added borders), or scale up the in game text separately and put that beside things.

I am not sure what it would be in commercial video editing world but nearest neighbour is a good search term there. In avisynth it is called PointResize and should be an inbuilt function, you may also like to try spline resize. If you want to get really crazy there are some even better resize options but they will easily double or triple your encode times, there also some other things that will not soften as much like http://avisynth.org.ru/docs/english/externalfilters/simpleresize.htm

However that kind of res to 1080 is a fairly big leap. PAL to 720p and most people would not be able to tell the difference if you handle the interlacing right, I would hold most people would also not be able to tell PAL to 1080p but let us not be too cynical this morning.
I'm looking for the nearest neighbour scaling but can't seem to find it in video editors, only picture editors

I still want it in 1080P though, it will have borders if the aspect ratio is different in this case it is

Heres an example:

This is the original video/screenshot for this explanation
O9MZtZd.png


I want it to look something like:
V249YCy.png


But it comes out like
LaC6yMO.png



So might give the SimpleResize a try, looks decent
So resize it to 1728x1080 (Thats the correct resized aspect) and put the borders through vegas as 1920x1080
Thanks!
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,321
Country
United Kingdom
Avisynth has an addborders function as well, or an overlay function if you want to provide it with something properly custom.

That said I have been watching some youtube videos lately and they do nice things with their borders. One of the nicer ones plays a slightly washed out and scaled up version of the same video in the background. I was going to copy it for my avisynth effects thread ( http://gbatemp.net/threads/be-a-great-video-maker-and-replicate-this-video-effect.360509/ ) but I have yet to get around to setting up avxsynth (the Linux port) on Linux.

The script would be something like
Code:
directshowsource("videocapturevideo.avi")
PointResize(last, 1728, 1080)
addborders(96,0,96,0, $2c233d)
Doing it OOP style
Code:
directshowsource("videocapturevideo.avi").PointResize(1728, 1080).addborders(96,0,96,0, $2c233d)

The $ value is just html style hex notation for the colour, which I pulled from your example images. Gimp and other things should be able to handle that. I do not know if you actually had a gradient there (I am on my knackered old laptop right now) but if you did then imgsource for the image and overlay should be able to handle a lot.
 
  • Like
Reactions: Kippykip

Kippykip

j e f f
OP
Member
Joined
Mar 30, 2013
Messages
543
Trophies
0
Website
kippykip.com
XP
643
Country
Australia
Avisynth has an addborders function as well, or an overlay function if you want to provide it with something properly custom.

That said I have been watching some youtube videos lately and they do nice things with their borders. One of the nicer ones plays a slightly washed out and scaled up version of the same video in the background. I was going to copy it for my avisynth effects thread ( http://gbatemp.net/threads/be-a-great-video-maker-and-replicate-this-video-effect.360509/ ) but I have yet to get around to setting up avxsynth (the Linux port) on Linux.

The script would be something like
Code:
directshowsource("videocapturevideo.avi")
PointResize(last, 1728, 1080)
addborders(96,0,96,0, $2c233d)
Doing it OOP style
Code:
directshowsource("videocapturevideo.avi").PointResize(1728, 1080).addborders(96,0,96,0, $2c233d)

The $ value is just html style hex notation for the colour, which I pulled from your example images. Gimp and other things should be able to handle that.
Oh that's cool! still haven't tried Avisynth just yet but using code is pretty cool!
By the way the watered down effect is pretty cool and I used it in one of my parody videos.
Cool bananas...
I do not know if you actually had a gradient there (I am on my knackered old laptop right now) but if you did then imgsource for the image and overlay should be able to handle a lot.

Also that blue border IS just a simple gradient I made in paint.net :O
 

Foxi4

Endless Trash
Global Moderator
Joined
Sep 13, 2009
Messages
30,825
Trophies
3
Location
Gaming Grotto
XP
29,838
Country
Poland
Most upscalers will blur the video out, so as FAST said, Nearest Neighbour is your only option. It won't look great either way because you are upscaling from a very small resolution, but it's your best bet. As it was mentioned, you'll need to implement letterboxing because the aspect ratios differ. I think you're in good hands here, it would just be nice to know if the upscaling has to be done in real time or are you post-processing video files. ;)
 
  • Like
Reactions: Kippykip

Kippykip

j e f f
OP
Member
Joined
Mar 30, 2013
Messages
543
Trophies
0
Website
kippykip.com
XP
643
Country
Australia
Most upscalers will blur the video out, so as FAST said, Nearest Neighbour is your only option. It won't look great either way because you are upscaling from a very small resolution, but it's your best bet. As it was mentioned, you'll need to implement letterboxing because the aspect ratios differ. I think you're in good hands here, it would just be nice to know if the upscaling has to be done in real time or are you post-processing video files. ;)

Nearest Neighbour is what I want as it looks like what I see on the 98 Monitor :creep:
But yeah i'll have to use borders or it'll look horrible ;)
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,321
Country
United Kingdom
I like avisynth for work like this -- graphical editors have their perks but if you have a lot of things with the same source properties (or even not if you want to get really flash) you can just rename the input file and have it work without having to hope your presets/filter chains work fine, not to mention you have everything you have done in code and so you can change things at any step along the path.
 
  • Like
Reactions: Kippykip

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan @ BakerMan:
    fuck ubisoft, and fuck activision
    +1
  • realtimesave @ realtimesave:
    Nintendo needs to release a new console, switch is getting such shitty little games lately lol it's pathetic
  • Purple_Heart @ Purple_Heart:
    Lmao a new flashcart... The Unlock Switch... I knew it's not fake xD
    +1
  • NinStar @ NinStar:
    A new consoles won't solve that problem
  • NinStar @ NinStar:
    It will actually make it worse
  • The Real Jdbye @ The Real Jdbye:
    well actually
    a new console won't do anything right now, because the games are still in development, that's why there are few games being released
  • The Real Jdbye @ The Real Jdbye:
    it won't make the games finish any faster
  • Veho @ Veho:
    2/3rds of launch titles for the Switch 2 will just be lazy ports of Switch games anyway.
  • The Real Jdbye @ The Real Jdbye:
    probably
  • The Real Jdbye @ The Real Jdbye:
    maybe mario kart 9 will be a launch title
  • The Real Jdbye @ The Real Jdbye:
    i really want a new mario kart
  • Veho @ Veho:
    What, you mean the endless stream of DLCs doesn't count?
  • Veho @ Veho:
    Why develop a new game when you can just sell season passes forever?
  • Veho @ Veho:
    I'm still on MKDS so I'm not bothered :tpi:
  • The Real Jdbye @ The Real Jdbye:
    i like the dlc tbh, i'd like a new game more
  • ZeroT21 @ ZeroT21:
    but the current version is still selling fine at full price
  • SylverReZ @ SylverReZ:
    Hello
  • ZeroT21 @ ZeroT21:
    sup
    +1
  • SylverReZ @ SylverReZ:
    @realtimesave, You seen the Unlock Switch flashcart yet?
  • K3Nv2 @ K3Nv2:
    I'll see the 19.0 update that blocks use ability to it
    +1
  • K3Nv2 @ K3Nv2:
    Lol newegg+
    Screenshot-20240423-053504-Gmail.jpg
  • S @ salazarcosplay:
    does update 19 really block it
  • SylverReZ @ SylverReZ:
    Update 19 never came out yet. Just the 18.1.
    SylverReZ @ SylverReZ: Update 19 never came out yet. Just the 18.1.