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,403
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,403
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,845
Trophies
3
Location
Gaming Grotto
XP
29,930
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,403
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
  • AncientBoi @ AncientBoi:
    Cholesterol is sorta high, according to my doc
    +1
  • K3Nv2 @ K3Nv2:
    I've been taking fiber pills, eating more grapes, switched to wheat bread in hopes to lower it
    +1
  • BigOnYa @ BigOnYa:
    I like wheat bread, I even like the chunky wheat bread with pieces of whole grain in it.
  • K3Nv2 @ K3Nv2:
    Been getting this honey wheat bread from aldis pretty decent not very sweet to out do it
  • K3Nv2 @ K3Nv2:
    Me making any food at home is an improvement to how I use to be
    +1
  • BigOnYa @ BigOnYa:
    I have an bread machine and use it alot, better than breads you buy, but don't last as long, cause no bs preservatives
  • K3Nv2 @ K3Nv2:
    I got compliments about my weight loss and thought well guess I can pig out again now I'm the piggy
  • BigOnYa @ BigOnYa:
    My biggest prob is alcohol, definitely is fattening
  • K3Nv2 @ K3Nv2:
    I know when to stop at least honestly don't get those that go and go with food
  • BigOnYa @ BigOnYa:
    Or those that order 2 big macs , large fry, ice cream sundie, then a diet coke
  • K3Nv2 @ K3Nv2:
    I might get downing two big macs but nah that's it
  • BigOnYa @ BigOnYa:
    Ok that will be $15.99, cash or charge?
  • K3Nv2 @ K3Nv2:
    My go to orders usually a mcdouble and a mcchicken and I'm happy rarely mess with fries
  • K3Nv2 @ K3Nv2:
    Pro tip ask for that clowns jizzmac sauce on your mcdouble
    +1
  • BigOnYa @ BigOnYa:
    Do they charge extra when you add sauce,etc? I know burger king used to not, but don't know nowadays
  • K3Nv2 @ K3Nv2:
    They may squrit it for free if you ask nice
    +1
  • K3Nv2 @ K3Nv2:
    Last time I got bk it was 35c per sauce fuck you king of my nutsack
    +1
  • K3Nv2 @ K3Nv2:
    I'll buy a bottle of baby rays BBQ for $2 and add it from home out of spite
    +1
  • BigOnYa @ BigOnYa:
    I like baby rays, my favorite is KC masterpiece tho. Figured all you could buy is that there.
  • K3Nv2 @ K3Nv2:
    The metro doesn't discriminate good sauce
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Baby Rays isn't that what killed the crocodile hunter?
  • Psionic Roshambo @ Psionic Roshambo:
    If only he had done an endorsement for them....
  • Psionic Roshambo @ Psionic Roshambo:
    Oy mate don't let a bad bbq sauce kill your party! Baby Rays are killing it!! The flavor hits you right in the chest!
    +1
  • Xdqwerty @ Xdqwerty:
    My phone only has 13% battery so i don't have much time left
  • Xdqwerty @ Xdqwerty:
    Now 12%
    Xdqwerty @ Xdqwerty: Now 12%