Resize/Rescale Support + Native HDR10+ Parsing
Added 3 new parameters for resizing/rescaling videos using ffmpeg's native scale parameter, as well as scale support from the libzimg
library.
As a bonus, I've also integrated HDR10+ parsing directly into the script; no more external dependency needed! Works on all 3 supported operating systems.
What's New
Better support for overriding video filters via -FFMpegExtra
.
All scaling parameters work with custom crop arguments passed via the -FFMpegExtra
parameter. If you wish to override the default cropping function, simply pass crop arguments manually and the script will handle the rest.
-Scale
Upscale/downscale a video between 3 HD resolutions: 720p, 1080p, and 2160p. Accepted arguments are scale
or zscale
(custom compilation required).
-ScaleFilter
Scaling algorithm used. Includes all options available to scale
and zscale
, including lanczos, spline, and bilinear. Note that not all options work with each -Scale
argument. See help docs or README for more info.
-Resolution
Rescale resolution. Accepted arguments are 720p
, 1080p
, or 2160p
. The script will automatically convert to SAR based on crop values.
Native HDR10+ Parsing
As mentioned above, an external binary and PATH are no longer required for HDR10+ parsing. I've included Quietvoid's hdr10lus_tool binaries for Windows, Mac, and Linux, and the script will auto-detect what OS you are using.
Upcoming
I'm currently working on a robust tonemapping feature for HDR -> SDR conversions. Note that this feature will require libzimg
to work properly, so be sure you have that included in your ffmpeg build.