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. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
19th June 2021, 07:41 | #1 | Link |
None
Join Date: Jul 2007
Location: The Background
Posts: 307
|
Can AviSynth's BicubicResize look the same as FFmpeg's Bicubic scaler?
I really like the look of FFmpeg's Bicubic scaler. It looks sharper than AviSynth's BicubicResize,
which looks a bit blurry with default values (BicubicResize(960,720,b=1./3.,c=1./3.)). Does anyone know what values of b and c should I use so that it would look exactly the same as FFmpeg's bicubic scaler? Is there a way to find out what exact values FFmpeg's bicubic scaler uses? |
19th June 2021, 11:35 | #2 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
You could test b=0, c=0.5 or 0.6, they are the most common ones I think. It's true that the default values cause a bit soft image.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
19th June 2021, 13:33 | #3 | Link | ||
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
From Wiki:- http://avisynth.nl/index.php/Resize
Quote:
Mitchell-Netravali-Filter:- https://de.wikipedia.org/wiki/Mitchell-Netravali-Filter Spatial anti-aliasing:- https://en.wikipedia.org/wiki/Spatia...asing#Examples Catmull–Rom spline:- https://en.wikipedia.org/wiki/Cubic_...0.93Rom_spline Ringing artifacts:- https://en.wikipedia.org/wiki/Ringing_artifacts VirtualDub's "Precise Bicubic":- http://www.virtualdub.org/blog2/entry_095.html downsizing to half-size or less [suggest see this thread for downsize]:- https://forum.doom9.org/showthread.php?t=172871&page=2 EDIT: A pretty image at bottom of this page:- https://superuser.com/questions/3757...ose-for-videos or here:- EDIT: Quote:
So [as Boulder suggests using] ffmpeg uses [presumably in above image as CATROM], b=0.0, c=0.5
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 19th June 2021 at 16:39. |
||
20th June 2021, 06:35 | #4 | Link |
Registered User
Join Date: Jun 2020
Posts: 303
|
By default, Avidemux uses the ffmpeg default for resizing.
It is stated as being b=0, c=0.6 so a little sharper than CATROM.
__________________
bShaders: realtime Effects/filters for video players |
|
|