Upscaling video pixel perfect

607 wrote on 7/25/2018, 6:15 AM

What I want to do: upload a low-resolution video (640x400) to YouTube in high quality.

If I upload it rendered to 640x400, it is only available in 360p on YouTube, which gives it low bitrate and appear bad.

If I upscale it to 1920x1200 using VEGAS Pro 14, it becomes slightly blurry.

I've tried using ffmpeg, but it crashes whenever I use the -scale parameter.

Comments

fr0sty wrote on 7/25/2018, 6:50 AM

set it to 720x480 so it will flag youtube's 480p mode.

Systems:

Desktop

AMD Ryzen 7 1800x 8 core 16 thread at stock speed

64GB 3000mhz DDR4

Geforce RTX 3090

Windows 10

Laptop:

ASUS Zenbook Pro Duo 32GB (9980HK CPU, RTX 2060 GPU, dual 4K touch screens, main one OLED HDR)

607 wrote on 7/25/2018, 7:09 AM

Nope, 720x480 isn't a multiple of 640x400, so that would make it worse. I do indeed only need to upscale it to 1280x800, though, as someone told me higher than that is pointless for YouTube.

Kinvermark wrote on 7/25/2018, 11:30 AM

Square peg, round hole - something has to bend. Of course it will get blurry if you upscale. Doubt sticking with integer multiplier is going to gain you anything, but go ahead and try. Next time produce with the delivery format in mind.

Musicvid wrote on 7/25/2018, 12:08 PM

Follow the advice and render 480p, the standard sd format.

The bars are what they are.

607 wrote on 7/25/2018, 12:17 PM

Square peg, round hole - something has to bend. Of course it will get blurry if you upscale. Doubt sticking with integer multiplier is going to gain you anything, but go ahead and try. Next time produce with the delivery format in mind.

Nope, that's not right - in this case, the hole is big enough so the peg will still fit. Try opening an image in Paint.NET. Do Ctrl + R. Input 200%, 300%, or 400%. Choose the 'Nearest Neighbor' algorithm. Click 'OK'. There you have it, upscaling without blurring.

Why would you not be able to do the same with video? A video is made up of frames, and the individual frames are resizeable. Then the entire video should be resizeable as well.

And I am producing with the delivery format in mind. But the resolution of what I'm recording is 320x200. That's too small, as already explained.

Follow the advice and render 480p, the standard sd format.

The bars are what they are.

When using VEGAS, that doesn't help. It will still create blurring, in fact it [I]has[/I] to now, as it's not a multiple of the original resolution. The only reason that could work is that I could then use Windows Live Movie Maker, which, as far as I remember [I]does[/I] upscale video without blurring. But as I don't want the borders, and Windows Live Movie Maker only supports 4:3 and 16:9 aspect ratio, I'm not going for that.

fr0sty wrote on 7/25/2018, 2:01 PM

What you aren't understanding is, Youtube is not going to keep your off-standard resolution. It is going to re-encode the video to either 360p, 480p, 720p, 1080p, or 4K. Those are its only resolution options, so no matter what you do in Vegas, it is getting encoded (and scaled) to those resolutions.

Systems:

Desktop

AMD Ryzen 7 1800x 8 core 16 thread at stock speed

64GB 3000mhz DDR4

Geforce RTX 3090

Windows 10

Laptop:

ASUS Zenbook Pro Duo 32GB (9980HK CPU, RTX 2060 GPU, dual 4K touch screens, main one OLED HDR)

607 wrote on 7/26/2018, 1:11 AM

What you aren't understanding is, Youtube is not going to keep your off-standard resolution. It is going to re-encode the video to either 360p, 480p, 720p, 1080p, or 4K. Those are its only resolution options, so no matter what you do in Vegas, it is getting encoded (and scaled) to those resolutions.

Really? It doesn't look like that to me... (the thumbnail is custom)

john_dennis wrote on 7/26/2018, 2:11 AM

If you don’t care for Vegas Pro resizing, you could try the “nuclear option”.*

1) With your Vegas project properties set to 320 x 200, render a .png still image sequence.

2) Resize your folder of stills to 1920 x 1200 (or whatever resolution you can dream up) with your favorite image editing software as a batch process.

3) Open your newly resized folder of stills in a 1920 x 1200 Vegas Project.

4) Create a custom 1920 x 1200 render template and render your masterpiece.

I have zero interest in what youtube does to your project, but this will get the task done. Any blurriness, you can blame on the photo editing software.

* All my advice comes with a money-back guarantee. If it doesn’t fit your needs, you can get your money back in full.

Kinvermark wrote on 7/26/2018, 2:12 AM

@607

What frame size does it look like to you?

607 wrote on 7/26/2018, 2:24 AM

If you don’t care for Vegas Pro resizing, you could try the “nuclear option”.

1) With your Vegas project properties set to

What?

@607

What frame size does it look like to you?

The aspect ratio is 16:10, so black borders aren't included. If I'd upload at 480p, they would be. But you might be right that it will be vague anyway. In VLC Media Player it looks vague as well, but I suppose the monitor will have to do scaling too.

I guess we can't really get this truly perfect. :)

Which isn't an issue, as I'm content with these videos.

Former user wrote on 7/27/2018, 10:56 PM

@607

What frame size does it look like to you?

The aspect ratio is 16:10, so black borders aren't included. If I'd upload at 480p, they would be.

Yep, 1152x720, downscaled from your upscaled upload of 1280x800. Goes to show we're dumb as posts on this forum 😀. Everyone gave you the wrong answer. Just on this aspect ratio subject YT supports all the portrait aspect ratios and resolutions too now. At first they added black bars & downscaled, then they presented video in correct AR but downscaled really diminishing resolution & now even 4k portrait mode is presented in correct resolution & aspect ratio.