I have been downscaling for years, typically from 4K to 1080p. This saves a lot of space. However, I do not understand why a lossless encode spits out a blurry video. It's obviously the scaler, because no matter the codec or bitrate it pretty much looks the same, just slightly blurry when I zoom in. I always scale like this
-vf scale=1920:-1:flags=lanczos+accurate_rnd
I do get better results if I sharpen
-vf unsharp=7:7:0.3,scale=1920:-1:flags=lanczos+accurate_rnd
Now when I am viewing a 4K video in MPC-HC it scales to my screen perfectly. Even if my with resolution set to 900p. So something isn't right. I can throw 300% more bitrate at the video than what is in the original and it still looks a little blurry. There has to be a better scaler out there. How can I use whatever scaler is in VLC or MPC-HC, I think it uses ffdshow or something? I have used every scaling option in FFMPEG and the above is the best result, yet still not good enough. Of course my end result won't be perfect but I sure as heck don't want to lose fidelity to the scaler. I should only lose it to encoder compression. Can anyone please help me with this? I think 99% of people would say a little blurry when zoomed in is "good enough", I am just not one of those people.
+ Reply to Thread
Results 1 to 11 of 11
-
-
I used a command line similar to yours reducing 1080p to 720p, results look good
Code:ffmpeg -i "S:\videos\demos\1080p demo Sharp Italia Parasols-slower-17-5.mp4" -y -ss 00:00:15 -t 45 -c:v libx264 -f mp4 -vf "scale=1280:-1:flags=lanczos+accurate_rnd" -c:a copy connout7e.mp4
-
Most players are set up to have the graphics card do the scaling by default. In my experience graphics cards usually use Bicubic or Bilinear. Bicubic is the sharper of the two. Lanczos is sharper than both of those.
I recommend the OP post his 4K sample and his downscaled version(s). So we can see if his expectations are realistic. One expects a 2K video to be less sharp than a 4K video (when viewed at 4K). -
I think the reason why it appears MPC-HC playing the original video is more clear than the lossless downscale at a monitor resolution of just 900p is because I am viewing the frame zoomed in about 300% and so the media player is not really downscaling the whole frame. One of the reasons I wanted a lossless 1080p version is so I can compare it to my final version and run a VMAF comparison to see how close I am to the original video. After thinking about it a little while, I might be doing this backwards. I should probably be taking a sample of the original video without scaling and then comparing that to a lossless upscale sample of my final version and calculating the VMAF from that. This is the only way to ensure I am comparing to a near exact version of the original.
-
So, reversing my test strategy really revealed a lot. I compared my encoded file with a lossless upscale to the original file and I can see that both files are very similar. Some of my samples that I previous thought were better appear to be not as good. Now I am comparing more apples to apples it is obvious the player is distorting the files depending on resolution so going forward I think I can make better decisions doing it this way.
-
Similar Threads
-
How To Downscale 4K 2160p HEVC 10 bit Video To 2K 1080p AVC 10bit
By LouieChuckyMerry in forum Video ConversionReplies: 32Last Post: 26th May 2023, 02:07 -
Upscale and downscale = better quality?
By Quantumleap in forum Video ConversionReplies: 5Last Post: 4th Apr 2021, 01:16 -
Windows 10 AviSynth+ frustration
By fedge in forum Newbie / General discussionsReplies: 20Last Post: 16th Jan 2021, 12:27 -
Best Way To Downscale 1080p 30fps Sports Video to 720p for Bluray?
By AndersonJames in forum RestorationReplies: 10Last Post: 18th Jun 2020, 13:25 -
How do I downscale a 4K video to 1080p Bluray quality?
By SomeoneNeutral in forum Authoring (Blu-ray)Replies: 3Last Post: 18th Sep 2019, 18:13