Avidemux Forum

Avidemux => Windows => Topic started by: Mohsen on December 27, 2019, 09:55:54 PM

Title: Feature Request: xBR and xBRZ frame resize/upscale
Post by: Mohsen on December 27, 2019, 09:55:54 PM
There should be xBR and xBRZ "Resize Methods" or plugins in future Avidemux releases to enlarge pixel-art or videos of 2D retro games.



ffmpeg does support xBR frame upscale by using the following command...

4xEnlarge example:
ffmpeg -i input.png -vf "xbr=4" output.png

Here are some examples...


Original screenshot:


Nearest Neighbor upscale:
(https://postimg.cc/PCZ9msTk)

Lanczos upscale:
(https://postimg.cc/RWcpW7LS)

xBR upscale:
(https://postimg.cc/67tjn8Md)

xBRZ upscale:
(https://postimg.cc/bDvmVKcr)
Title: Re: Feature Request: xBR and xBRZ frame resize/upscale
Post by: eumagga0x2a on December 27, 2019, 10:13:37 PM
It is impossible to add xBR to the libswscale-based plugin. The feature is provided by a different library – libavfilter – not used by Avidemux. A capable developer would need to port the filter.